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