BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootCnvSvc/include/RootCnvSvc/Dst/MdcDedxCnv.h
Go to the documentation of this file.
1#ifndef MdcDedxCnv_H
2#define MdcDedxCnv_H 1
3
4#include "RootCnvSvc/RootEventBaseCnv.h"
5#include "RootCnvSvc/commonData.h"
6
7class RootAddress;
8
9extern const CLID& CLID_DstMdcDedxCol;
10
11// Abstract factory to create the converter
12template <class TYPE> class CnvFactory;
13
15
16 friend class CnvFactory<MdcDedxCnv>;
17
18public:
19 MdcDedxCnv( ISvcLocator* svc );
20 static const CLID& classID() { return CLID_DstMdcDedxCol; }
21
22 virtual ~MdcDedxCnv(){};
23
24 /// transformation to root
25 virtual StatusCode DataObjectToTObject( DataObject* obj, RootAddress* addr );
26
27 /// transformation from root
28 virtual StatusCode TObjectToDataObject( DataObject*& obj );
29
30private:
31 /// relational maps
32 commonData m_common;
33
34 /// root object to be read
35 TObjArray* m_mdcDedxCol;
36};
37
38#endif // MdcDedxCnv_H
const CLID & CLID_DstMdcDedxCol
MdcDedxCnv(ISvcLocator *svc)
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
Definition of a Root address, derived from IOpaqueAddress.
RootEventBaseCnv(const CLID &clid, ISvcLocator *svc)