BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/Digi/MucDigiCnv.h
Go to the documentation of this file.
1#ifndef MucDigiCnv_H
2#define MucDigiCnv_H 1
3
4#include "RootCnvSvc/RootEventBaseCnv.h"
5#include "RootCnvSvc/commonData.h"
6
7class RootAddress;
8
9extern const CLID& CLID_MucDigiCol;
10
11// Abstract factory to create the converter
12template <class TYPE> class CnvFactory;
13
14
16
17 friend class CnvFactory<MucDigiCnv>;
18
19public:
20 static const CLID& classID()
21 {
22 return CLID_MucDigiCol;
23 }
24
25 virtual ~MucDigiCnv() { };
26
27protected:
28 MucDigiCnv(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_mucDigiCol;
42};
43
44
45
46#endif // MucDigiCnv_H
47
48
49
50
51
52
53
54
55
const CLID & CLID_MucDigiCol
Definition: EventModel.cxx:244
const CLID & CLID_MucDigiCol
Definition: EventModel.cxx:244
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
Definition: MucDigiCnv.cxx:38
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
Definition: MucDigiCnv.cxx:74
Definition of a Root address, derived from IOpaqueAddress.