BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/RawDataTrigCnv.h
Go to the documentation of this file.
1#ifndef RAWDATA_TRIG_CNV_H
2#define RAWDATA_TRIG_CNV_H
3
4#include "GaudiKernel/Converter.h"
5#include "RawDataCnvBase/RawDataBaseCnv.h"
6#include "RawDataCnv/ClassID_temp.h"
7#include "RawDataCnv/PackedRawDataCnvSvc.h"
8
9// Forward declarations
10class IOpaqueAddress;
11class DataObject;
12class StatusCode;
14
15template<class TYPE> class CnvFactory;
16
18{
19 // Declaration of a Converter Factory to create instances of this class.
20 friend class CnvFactory<RawDataTrigCnv>;
21protected:
22 // Standard Constructor.
23 RawDataTrigCnv(ISvcLocator* svc);
24
25public:
26 StatusCode init();
27
28 // Return the class type of this converter.
29 static const CLID& classID();
30
31 virtual long repSvcType() const {
33 }
34
35 static const unsigned char storageType() {
37 }
38
39 // Create a converted object in the Transient Data Store.
40 StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
41
42 /// override the RawDataBaseCnv version
43 virtual StatusCode updateObj(IOpaqueAddress*, DataObject*);
44
45 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
46
47private:
48 IRawDataInputSvc* m_inputSvc;
49 /// Define the interface to raw data cnv
50 IRawDataCnvSvc* m_RawDataAccess;
51};
52
53#endif //RAWDATA_TRIG_CNV_H
static const CLID & classID()
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
override the RawDataBaseCnv version
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Convert the transient object to the requested representation.
StatusCode init()