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