BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootCnvSvc/RootCnvSvc-02-01-11/RootCnvSvc/EvtRec/EvtRecPi0Cnv.h
Go to the documentation of this file.
1#ifndef EvtRecPi0Cnv_H
2#define EvtRecPi0Cnv_H
3
4#include "RootCnvSvc/RootEventBaseCnv.h"
5#include "RootCnvSvc/commonData.h"
6
7class RootAddress;
8
9extern const CLID& CLID_EvtRecPi0Col;
10
11// Abstract factory to create the converter
12template <class TYPE> class CnvFactory;
13
15
16 friend class CnvFactory<EvtRecPi0Cnv>;
17
18public:
19 static const CLID& classID() { return CLID_EvtRecPi0Col; }
20
21 virtual ~EvtRecPi0Cnv() {}
22
23protected:
24 EvtRecPi0Cnv(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_evtRecPi0Col;
37};
38
39#endif
const CLID & CLID_EvtRecPi0Col
Definition: EventModel.cxx:382
const CLID & CLID_EvtRecPi0Col
Definition: EventModel.cxx:382
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.