00001 /* @version $Revision: 1770 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2012-06-11 16:52:51 +0200 (Mon, 11 Jun 2012) $ */ 00002 /* 00003 * File: DifSoftId.hh 00004 * Author: jacquem 00005 * 00006 * Created on May 8, 2010, 7:35 PM 00007 */ 00008 00009 #ifndef _MTDIFSOFTID_HH 00010 #define _MTDIFSOFTID_HH 00011 00012 #include "TObject.h" 00013 00014 #include <string> 00015 #include <sstream> 00016 00017 00018 class MTDifSoftId { 00019 public: 00020 MTDifSoftId(); 00021 MTDifSoftId(const MTDifSoftId& orig); 00022 ~MTDifSoftId(); 00023 00024 unsigned int GetChamberId() const { return chamberId; } ; 00025 unsigned int GetDifId() const { return difId; }; 00026 std::string toString( ) const; 00027 std::string ToString( ) const { return toString(); }; 00028 00029 void SetValue(unsigned int _chamberId,unsigned int _difId); 00030 00031 00032 protected: 00033 00034 unsigned int chamberId; 00035 unsigned int difId; 00036 00037 00038 ClassDef(MTDifSoftId, 30) 00039 }; 00040 00041 #endif /* _SOFTID_HH */ 00042