BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecPrimaryVertexCnv.h
Go to the documentation of this file.
1#ifndef EvtRecPrimaryVertexCnv_H
2#define EvtRecPrimaryVertexCnv_H
3
7
8class RootAddress;
9
10extern const CLID& CLID_EvtRecPrimaryVertex;
11
12// Abstract factory to create the converter
13template <class TYPE> class CnvFactory;
14
16
18
19public:
20 static const CLID& classID() { return CLID_EvtRecPrimaryVertex; }
21
23
24protected:
25 EvtRecPrimaryVertexCnv(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 TEvtRecPrimaryVertex* m_evtRecPrimaryVertex;
38};
39
40#endif
const CLID & CLID_EvtRecPrimaryVertex
Definition: EventModel.cxx:373
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
static const CLID & classID()
Definition of a Root address, derived from IOpaqueAddress.
Definition: RootAddress.h:21
Base class for all Root Converters.