BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootCnvSvc/include/RootCnvSvc/Hlt/HltRawCnv.h
Go to the documentation of this file.
1#ifndef HltRawCnv_H
2#define HltRawCnv_H 1
3
4#include "RootCnvSvc/RootEventBaseCnv.h"
5#include "RootCnvSvc/commonData.h"
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
20
21 friend class CnvFactory<HltRawCnv>;
22
23public:
24 static const CLID& classID() { return CLID_HltRawCol; }
25
26 virtual ~HltRawCnv(){};
27
28 HltRawCnv( 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_hltRawCol;
42};
43
44#endif // HltRawCnv_H
const CLID & CLID_HltRawCol
HltRawCnv(ISvcLocator *svc)
Definition HltRawCnv.cxx:24
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
Definition HltRawCnv.cxx:74
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
Definition HltRawCnv.cxx:34
Definition of a Root address, derived from IOpaqueAddress.
RootEventBaseCnv(const CLID &clid, ISvcLocator *svc)