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