/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/RootCnvSvc/RootCnvSvc-02-01-12/src/Rec/RecBTofCalHitCnv.cxx

Go to the documentation of this file.
00001 #ifndef RecBTofCalHitCnv_CXX
00002 #define RecBTofCalHitCnv_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/RecBTofCalHitCnv.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<RecBTofCalHitCnv> s_factory;
00031 //const ICnvFactory& RecBTofCalHitCnvFactory = s_factory;
00032 
00033 RecBTofCalHitCnv::RecBTofCalHitCnv(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(), "RecBTofCalHitCnv");
00039     //log << MSG::DEBUG << "Constructor called for " << objType() << endreq;
00040     //m_rootTreename ="Rec";
00041     m_rootBranchname ="m_RecBTofCalHitCol";
00042     //declareObject(EventModel::Recon::RecBTofCalHitCol, objType(), m_rootTreename, m_rootBranchname);
00043     m_adresses.push_back(&m_mucTrackCol);
00044     m_mucTrackCol=0;
00045 }
00046 
00047 StatusCode RecBTofCalHitCnv::TObjectToDataObject(DataObject*& refpObject) {
00048   // creation of TDS object from root object
00049 
00050 
00051     return StatusCode::SUCCESS;
00052 }
00053 
00054 StatusCode RecBTofCalHitCnv::DataObjectToTObject(DataObject* obj,RootAddress* rootaddr) {
00055  
00056   return StatusCode::SUCCESS;
00057 }
00058 #endif

Generated on Tue Nov 29 22:58:48 2016 for BOSS_7.0.2 by  doxygen 1.4.7