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