00001 #ifndef DstHltInfCnv_H 00002 #define DstHltInfCnv_H 1 00003 00004 #include "RootCnvSvc/RootEventBaseCnv.h" 00005 #include "RootEventData/TDstHltInf.h" 00006 #include "RootCnvSvc/commonData.h" 00007 00008 class RootAddress; 00009 00010 extern const CLID& CLID_DstHltInf; 00011 00012 // Abstract factory to create the converter 00013 template <class TYPE> class CnvFactory; 00014 00020 class DstHltInfCnv : public RootEventBaseCnv { 00021 00022 friend class CnvFactory<DstHltInfCnv>; 00023 00024 public: 00025 static const CLID& classID() 00026 { 00027 return CLID_DstHltInf; 00028 } 00029 00030 virtual ~DstHltInfCnv() { }; 00031 00032 protected: 00033 DstHltInfCnv(ISvcLocator* svc); 00034 00036 virtual StatusCode DataObjectToTObject(DataObject* obj, RootAddress* addr); 00037 00039 virtual StatusCode TObjectToDataObject(DataObject*& obj); 00040 00041 private: 00042 00044 TDstHltInf *m_dstHltInf; 00045 00047 bool m_old; 00048 }; 00049 00050 #endif // MdcMcCnv_H