CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
RecETofCalHitCnv.cxx
Go to the documentation of this file.
1#ifndef RecETofCalHitCnv_CXX
2#define RecETofCalHitCnv_CXX 1
3
4#include "GaudiKernel/MsgStream.h"
5#include "GaudiKernel/DataObject.h"
6#include "GaudiKernel/ObjectVector.h"
7
8#include "TClonesArray.h"
9
11
14
15//#include "RootEventData/TMucTrack.h" // standard root object
16#include "RootEventData/TRecMucTrack.h" // standard root object
17//#include "RootEventData/TDstEvent.h"
19
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<RecETofCalHitCnv> s_factory;
31//const ICnvFactory& RecETofCalHitCnvFactory = 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(), "RecETofCalHitCnv");
39 //log << MSG::DEBUG << "Constructor called for " << objType() << endreq;
40 //m_rootTreename ="Rec";
41 m_rootBranchname ="m_RecETofCalHitCol";
42 //declareObject(EventModel::Recon::RecETofCalHitCol, objType(), m_rootTreename, m_rootBranchname);
43 m_adresses.push_back(&m_mucTrackCol);
44 m_mucTrackCol=0;
45}
46
47StatusCode RecETofCalHitCnv::TObjectToDataObject(DataObject*& refpObject) {
48 // creation of TDS object from root object
49
50
51 return StatusCode::SUCCESS;
52}
53
54StatusCode RecETofCalHitCnv::DataObjectToTObject(DataObject* obj,RootAddress* rootaddr) {
55
56 return StatusCode::SUCCESS;
57}
58#endif
IMessageSvc * msgSvc()
RecETofCalHitCnv(ISvcLocator *svc)
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
Definition of a Root address, derived from IOpaqueAddress.
Definition RootAddress.h:21
Base class for all Root Converters.
std::vector< void * > m_adresses
each converter knows the corresponding adresses
std::string m_rootBranchname
root branchname (may be concatenated of severals)