CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
RecCgemSegmentCnv.h
Go to the documentation of this file.
1#ifndef RECCGEMSEGMENTCNV_H
2#define RECCGEMSEGMENTCNV_H
3
6
7class RootAddress;
8
9extern const CLID& CLID_RecCgemSegmentCol;
10
11// Abstract factory to create the converter
12template <class TYPE> class CnvFactory;
13
14
16{
17 friend class CnvFactory<RecCgemSegmentCnv>;
18
19 public:
20
21 static const CLID& classID()
22 {
24 }
25
26 virtual ~RecCgemSegmentCnv() { };
27
28 protected:
29
30 RecCgemSegmentCnv(ISvcLocator* svc);
31
32 virtual StatusCode DataObjectToTObject(DataObject* obj, RootAddress* addr);
33 virtual StatusCode TObjectToDataObject(DataObject*& obj);
34
35 private:
36
37 commonData m_common;
38 TObjArray *m_recCgemSegmentCol;
39};
40#endif
const CLID & CLID_RecCgemSegmentCol
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
Do the concrete conversion from TDS to ROOT.
static const CLID & classID()
virtual StatusCode TObjectToDataObject(DataObject *&obj)
Do the concrete conversion from ROOT to TDS.
RecCgemSegmentCnv(ISvcLocator *svc)
Definition of a Root address, derived from IOpaqueAddress.
Definition RootAddress.h:21
Base class for all Root Converters.