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