BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecDTagCnv.h
Go to the documentation of this file.
1#ifndef EvtRecDTagCnv_H
2#define EvtRecDTagCnv_H
3
6
7class RootAddress;
8
9extern const CLID& CLID_EvtRecDTagCol;
10
11// Abstract factory to create the converter
12template <class TYPE> class CnvFactory;
13
15
16 friend class CnvFactory<EvtRecDTagCnv>;
17
18public:
19 static const CLID& classID() { return CLID_EvtRecDTagCol; }
20
21 virtual ~EvtRecDTagCnv() {}
22
23protected:
24 EvtRecDTagCnv(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_evtRecDTagCol;
37};
38
39#endif
const CLID & CLID_EvtRecDTagCol
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
EvtRecDTagCnv(ISvcLocator *svc)
virtual ~EvtRecDTagCnv()
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.