CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootCnvSvc/RootCnvSvc-04-01-15/RootCnvSvc/Hlt/DstHltInfCnv.h
Go to the documentation of this file.
1#ifndef DstHltInfCnv_H
2#define DstHltInfCnv_H 1
3
4#include "RootCnvSvc/RootEventBaseCnv.h"
5#include "RootEventData/TDstHltInf.h"
6#include "RootCnvSvc/commonData.h"
7
8class RootAddress;
9
10extern const CLID& CLID_DstHltInf;
11
12// Abstract factory to create the converter
13template <class TYPE> class CnvFactory;
14
15/** @class DstHltInfCnv
16 * @brief Concrete converter for the DstHltInf
17 *
18 */
19
20class DstHltInfCnv : public RootEventBaseCnv {
21
22 friend class CnvFactory<DstHltInfCnv>;
23
24public:
25 static const CLID& classID()
26 {
27 return CLID_DstHltInf;
28 }
29
30 virtual ~DstHltInfCnv() { };
31
32protected:
33 DstHltInfCnv(ISvcLocator* svc);
34
35 /// transformation to root
36 virtual StatusCode DataObjectToTObject(DataObject* obj, RootAddress* addr);
37
38 /// transformation from root
39 virtual StatusCode TObjectToDataObject(DataObject*& obj);
40
41private:
42
43 /// root object to be read
44 TDstHltInf *m_dstHltInf;
45
46 /// old version flag
47 bool m_old;
48};
49
50#endif // MdcMcCnv_H
const CLID & CLID_DstHltInf
Definition: EventModel.cxx:331
const CLID & CLID_DstHltInf
Definition: EventModel.cxx:331
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
DstHltInfCnv(ISvcLocator *svc)
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
Definition of a Root address, derived from IOpaqueAddress.