BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootCnvSvc/include/RootCnvSvc/Rec/RecZddChannelCnv.h
Go to the documentation of this file.
1#ifndef RecZddChannelCnv_H
2#define RecZddChannelCnv_H
3
4#include "RootCnvSvc/RootEventBaseCnv.h"
5#include "RootCnvSvc/commonData.h"
6
7class RootAddress;
8
9extern const CLID& CLID_RecZddChannelCol;
10
11// Abstract factory to create the converter
12template <class TYPE> class CnvFactory;
13
15 friend class CnvFactory<RecZddChannelCnv>;
16
17public:
18 static const CLID& classID() { return CLID_RecZddChannelCol; }
19
20 virtual ~RecZddChannelCnv() {}
21
22 RecZddChannelCnv( ISvcLocator* svc );
23
24protected:
25 /// transformation to root
26 virtual StatusCode DataObjectToTObject( DataObject* obj, RootAddress* addr );
27
28 /// transformation from root
29 virtual StatusCode TObjectToDataObject( DataObject*& obj );
30
31private:
32 /// relational maps
33 commonData m_common;
34
35 TObjArray* m_recZddChannelCol;
36};
37
38#endif
const CLID & CLID_RecZddChannelCol
RecZddChannelCnv(ISvcLocator *svc)
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
Definition of a Root address, derived from IOpaqueAddress.
RootEventBaseCnv(const CLID &clid, ISvcLocator *svc)