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