00001 #ifndef MdcTrackCnv_H 00002 #define MdcTrackCnv_H 1 00003 00004 #include "RootCnvSvc/RootEventBaseCnv.h" 00005 #include "RootCnvSvc/commonData.h" 00006 00007 class RootAddress; 00008 00009 extern const CLID& CLID_DstMdcTrackCol; 00010 00011 // Abstract factory to create the converter 00012 template <class TYPE> class CnvFactory; 00013 00014 00015 class MdcTrackCnv : public RootEventBaseCnv { 00016 00017 friend class CnvFactory<MdcTrackCnv>; 00018 00019 public: 00020 static const CLID& classID() 00021 { 00022 return CLID_DstMdcTrackCol; 00023 } 00024 00025 virtual ~MdcTrackCnv() { }; 00026 00027 protected: 00028 MdcTrackCnv(ISvcLocator* svc); 00029 00031 virtual StatusCode DataObjectToTObject(DataObject* obj, RootAddress* addr); 00032 00034 virtual StatusCode TObjectToDataObject(DataObject*& obj); 00035 00036 private: 00038 commonData m_common; 00039 00041 TObjArray *m_mdcTrackCol; 00042 }; 00043 00044 00045 00046 #endif // MdcTrackCnv_H