CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
RawDataLumiDigiCnv.h
Go to the documentation of this file.
1#ifndef RAWDATA_LUMIDIGI_CNV_H
2#define RAWDATA_LUMIDIGI_CNV_H
3
4// Include files.
5#include "GaudiKernel/Converter.h"
9
10// Forward declarations.
11class IOpaqueAddress;
12class DataObject;
13class StatusCode;
15
16// Converter Factory to create instances of this class.
17template <class TYPE> class CnvFactory;
18
20{
21
22 // Declaration of a Converter Factory to create instances of this class.
23 friend class CnvFactory<RawDataLumiDigiCnv>;
24protected:
25 // Standard Constructor.
26 RawDataLumiDigiCnv(ISvcLocator* svc);
28
29public:
30 StatusCode initialize();
31
32 // Return the class type of this converter.
33 static const CLID& classID();
34
35 virtual long repSvcType() const {
37 }
38
39 static const unsigned char storageType() {
41 }
42
43 // Create a converted object in the Transient Data Store.
44 StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
45
46 /// override the RawDataBaseCnv version
47 virtual StatusCode updateObj(IOpaqueAddress*, DataObject*);
48
49 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
50
51private:
52 IRawDataInputSvc* m_inputSvc;
53 /// Define the interface to raw data cnv
54 PackedRawDataCnvSvc* m_RawDataAccess;
55
56};
57
58#endif // RAWDATA_TOFDIGI_CNV_H
unsigned const long PACKEDRAWEVENT_StorageType
static const CLID & classID()
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
override the RawDataBaseCnv version
RawDataLumiDigiCnv(ISvcLocator *svc)
virtual long repSvcType() const
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Convert the transient object to the requested representation.
static const unsigned char storageType()