BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
RecBTofCalHitCnv.cxx
Go to the documentation of this file.
1#ifndef RecBTofCalHitCnv_CXX
2#define RecBTofCalHitCnv_CXX 1
3
4#include "GaudiKernel/MsgStream.h"
5#include "GaudiKernel/DataObject.h"
6#include "GaudiKernel/ObjectVector.h"
7
8#include "TClonesArray.h"
9
10#include "EventModel/EventModel.h"
11
12#include "ReconEvent/ReconEvent.h"
13#include "MucRecEvent/RecMucTrack.h"
14
15//#include "RootEventData/TMucTrack.h" // standard root object
16#include "RootEventData/TRecMucTrack.h" // standard root object
17//#include "RootEventData/TDstEvent.h"
18#include "RootEventData/TRecTrackEvent.h"
19
20#include "RootCnvSvc/Rec/RecTrackCnv.h"
21#include "RootCnvSvc/Rec/RecBTofCalHitCnv.h"
22#include "RootCnvSvc/RootAddress.h"
23
24#include <vector>
25
26using namespace std;
27
28// Instantiation of a static factory class used by clients to create
29// instances of this service
30//static CnvFactory<RecBTofCalHitCnv> s_factory;
31//const ICnvFactory& RecBTofCalHitCnvFactory = s_factory;
32
34: RootEventBaseCnv(classID(), svc)
35{
36
37 // Here we associate this converter with the /Event path on the TDS.
38 MsgStream log(msgSvc(), "RecBTofCalHitCnv");
39 //log << MSG::DEBUG << "Constructor called for " << objType() << endreq;
40 //m_rootTreename ="Rec";
41 m_rootBranchname ="m_RecBTofCalHitCol";
42 //declareObject(EventModel::Recon::RecBTofCalHitCol, objType(), m_rootTreename, m_rootBranchname);
43 m_adresses.push_back(&m_mucTrackCol);
44 m_mucTrackCol=0;
45}
46
47StatusCode RecBTofCalHitCnv::TObjectToDataObject(DataObject*& refpObject) {
48 // creation of TDS object from root object
49
50
51 return StatusCode::SUCCESS;
52}
53
54StatusCode RecBTofCalHitCnv::DataObjectToTObject(DataObject* obj,RootAddress* rootaddr) {
55
56 return StatusCode::SUCCESS;
57}
58#endif
RecBTofCalHitCnv(ISvcLocator *svc)
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
Definition of a Root address, derived from IOpaqueAddress.
std::vector< void * > m_adresses
each converter knows the corresponding adresses
std::string m_rootBranchname
root branchname (may be concatenated of severals)