BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
RawDataTrigGTDCnv.h
Go to the documentation of this file.
1// RawDataTrigGTDCnv is the concrete converter for the TrigGTD
2// @ the TDS /Event/Trig/TrigGTD
3
4#ifndef RAWDATA_TRIG_GTD_CNV_H
5#define RAWDATA_TRIG_GTD_CNV_H
6
7#include "GaudiKernel/Converter.h"
9#include "RawDataCnv/ClassID_temp.h" //PACKEDRAWEVENT_StorageType
11
12// Forward declarations
13class IOpaqueAddress;
14class DataObject;
15class StatusCode;
17
18// Converter Factory to create instances of this class.
19template<class TYPE> class CnvFactory;
20
22{
23 // Declaration of a Converter Factory to create instances of this class.
24 friend class CnvFactory<RawDataTrigGTDCnv>;
25
26protected:
27 // Standard constructor
28 RawDataTrigGTDCnv(ISvcLocator* svc);
29public:
30 StatusCode init();
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#endif // RAWDATA_TRIG_GTD_CNV_H
unsigned const long PACKEDRAWEVENT_StorageType
Definition: ClassID_temp.h:17
static const CLID & classID()
static const unsigned char storageType()
virtual long repSvcType() const
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Convert the transient object to the requested representation.