00001 #ifndef RecETofCalHitCnv_CXX 00002 #define RecETofCalHitCnv_CXX 1 00003 00004 #include "GaudiKernel/MsgStream.h" 00005 #include "GaudiKernel/DataObject.h" 00006 #include "GaudiKernel/ObjectVector.h" 00007 00008 #include "TClonesArray.h" 00009 00010 #include "EventModel/EventModel.h" 00011 00012 #include "ReconEvent/ReconEvent.h" 00013 #include "MucRecEvent/RecMucTrack.h" 00014 00015 //#include "RootEventData/TMucTrack.h" // standard root object 00016 #include "RootEventData/TRecMucTrack.h" // standard root object 00017 //#include "RootEventData/TDstEvent.h" 00018 #include "RootEventData/TRecTrackEvent.h" 00019 00020 #include "RootCnvSvc/Rec/RecTrackCnv.h" 00021 #include "RootCnvSvc/Rec/RecETofCalHitCnv.h" 00022 #include "RootCnvSvc/RootAddress.h" 00023 00024 #include <vector> 00025 00026 using namespace std; 00027 00028 // Instantiation of a static factory class used by clients to create 00029 // instances of this service 00030 //static CnvFactory<RecETofCalHitCnv> s_factory; 00031 //const ICnvFactory& RecETofCalHitCnvFactory = s_factory; 00032 00033 RecETofCalHitCnv::RecETofCalHitCnv(ISvcLocator* svc) 00034 : RootEventBaseCnv(classID(), svc) 00035 { 00036 00037 // Here we associate this converter with the /Event path on the TDS. 00038 MsgStream log(msgSvc(), "RecETofCalHitCnv"); 00039 //log << MSG::DEBUG << "Constructor called for " << objType() << endreq; 00040 //m_rootTreename ="Rec"; 00041 m_rootBranchname ="m_RecETofCalHitCol"; 00042 //declareObject(EventModel::Recon::RecETofCalHitCol, objType(), m_rootTreename, m_rootBranchname); 00043 m_adresses.push_back(&m_mucTrackCol); 00044 m_mucTrackCol=0; 00045 } 00046 00047 StatusCode RecETofCalHitCnv::TObjectToDataObject(DataObject*& refpObject) { 00048 // creation of TDS object from root object 00049 00050 00051 return StatusCode::SUCCESS; 00052 } 00053 00054 StatusCode RecETofCalHitCnv::DataObjectToTObject(DataObject* obj,RootAddress* rootaddr) { 00055 00056 return StatusCode::SUCCESS; 00057 } 00058 #endif