00001 #ifndef __PXXDOMID8B__H__ 00002 #define __PXXDOMID8B__H__ 00003 00013 00014 #include "payloads-unpacker/base/PXXObject.h" 00015 #include "payloads-unpacker/payloads/PXXIDOMID.h" 00016 #include <string> 00017 using namespace std; 00018 00019 class PXXDOMID8B : public PXXObject, public PXXIDOMID 00020 { 00021 public: 00022 00023 SET_LOGGER("PXXDOMID8B"); 00024 00025 /* 00026 * Constructor. Must be instanciated as an attribute class object so that 00027 * it should be protected. 00028 */ 00029 PXXDOMID8B(Long64b_t domid = -1); 00030 //------------------------------------------------------------------------------ 00031 00032 /* 00033 * Destructor 00034 */ 00035 virtual ~PXXDOMID8B() {} 00036 //------------------------------------------------------------------------------ 00037 00041 virtual Long64b_t GetDomIDAsLong64b() const; 00042 00043 //------------------------------------------------------------------------------ 00047 virtual void SetDomIDAsLong64b(Long64b_t id) { fLDOMID_ = id; } 00048 //------------------------------------------------------------------------------ 00049 00054 virtual string GetDomIDAsString() const; 00055 //------------------------------------------------------------------------------ 00056 00057 private: 00058 00059 Long64b_t fLDOMID_; 00060 00061 ClassDef(PXXDOMID8B, 0) // interface of SourceID 00062 }; 00063 00064 #ifdef __USEROOT__ // compile with ROOT 00065 typedef PXXDOMID8B* PXXDOMID8BPtr; 00066 #else // compile with IceTray 00067 typedef shared_ptr<PXXDOMID8B> PXXDOMID8BPtr; 00068 #endif 00069 00070 #endif // __PXXDOMID8B__H__