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