BOSS 7.0.5
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
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/RecETofCalHitCnv.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<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
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.
std::vector< void * > m_adresses
each converter knows the corresponding adresses
std::string m_rootBranchname
root branchname (may be concatenated of severals)