BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/EvtRec/EvtRecEventCnv.h
Go to the documentation of this file.
1#ifndef EvtRecEventCnv_H
2#define EvtRecEventCnv_H
3
4#include "RootCnvSvc/RootEventBaseCnv.h"
5#include "RootCnvSvc/commonData.h"
6#include "RootEventData/TEvtRecEvent.h"
7
8class RootAddress;
9
10extern const CLID& CLID_EvtRecEvent;
11
12// Abstract factory to create the converter
13template <class TYPE> class CnvFactory;
14
16
17 friend class CnvFactory<EvtRecEventCnv>;
18
19public:
20 static const CLID& classID() { return CLID_EvtRecEvent; }
21
22 virtual ~EvtRecEventCnv() {}
23
24protected:
25 EvtRecEventCnv(ISvcLocator* svc);
26
27 /// transformation to root
28 virtual StatusCode DataObjectToTObject(DataObject* obj, RootAddress* addr);
29
30 /// transformation from root
31 virtual StatusCode TObjectToDataObject(DataObject*& obj);
32
33private:
34 /// relational maps
35 commonData m_common;
36
37 TEvtRecEvent* m_evtRecEvent;
38};
39
40#endif
const CLID & CLID_EvtRecEvent
Definition: EventModel.cxx:372
const CLID & CLID_EvtRecEvent
Definition: EventModel.cxx:372
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.