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