BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecTrackCnv.h
Go to the documentation of this file.
1#ifndef EvtRecTrackCnv_H
2#define EvtRecTrackCnv_H
3
6
7class RootAddress;
8
9extern const CLID& CLID_EvtRecTrackCol;
10
11// Abstract factory to create the converter
12template <class TYPE> class CnvFactory;
13
15
16 friend class CnvFactory<EvtRecTrackCnv>;
17
18public:
19 static const CLID& classID() { return CLID_EvtRecTrackCol; }
20
21 virtual ~EvtRecTrackCnv() {}
22
23protected:
24 EvtRecTrackCnv(ISvcLocator* svc);
25
26 /// transformation to root
27 virtual StatusCode DataObjectToTObject(DataObject* obj, RootAddress* addr);
28
29 /// transformation from root
30 virtual StatusCode TObjectToDataObject(DataObject*& obj);
31
32private:
33 /// relational maps
34 commonData m_common;
35
36 TObjArray* m_evtRecTrackCol;
37};
38
39#endif
const CLID & CLID_EvtRecTrackCol
Definition: EventModel.cxx:376
virtual ~EvtRecTrackCnv()
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
static const CLID & classID()
Definition of a Root address, derived from IOpaqueAddress.
Definition: RootAddress.h:21
Base class for all Root Converters.