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