CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
RawDataHltCnv.h
Go to the documentation of this file.
1//====================================================================
2// RawDataHltCnv.h
3//====================================================================
4//
5// Description:
6// RawDataHltCnv is the concrete converter for
7// the event on the TDS /Event/Hlt
8//
9//--------------------------------------------------------------------
10
11#ifndef RAWDATA_HLT_CNV_H
12#define RAWDATA_HLT_CNV_H
13
14// Include files.
15#include "GaudiKernel/Converter.h"
19
20namespace Event{ class EventHeader; }
21
22// Forward declarations.
23class IOpaqueAddress;
24class DataObject;
25class StatusCode;
27
28// Converter Factory to create instances of this class.
29template <class TYPE> class CnvFactory;
30
32{
33
34 // Declaration of a Converter Factory to create instances of this class.
35 friend class CnvFactory<RawDataHltCnv>;
36protected:
37 // Standard Constructor.
38 RawDataHltCnv(ISvcLocator* svc);
39public:
40 StatusCode initialize();
41
42 // Return the class type of this converter.
43 static const CLID& classID();
44
45 virtual long repSvcType() const {
47 }
48
49 static const unsigned char storageType() {
51 }
52
53 // Create a converted object in the Transient Data Store.
54 StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
55
56 /// override the RawDataBaseCnv version
57 virtual StatusCode updateObj(IOpaqueAddress*, DataObject*);
58
59 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
60
61private:
62 IRawDataInputSvc* m_inputSvc;
63 /// Define the interface to raw data cnv
64 IRawDataCnvSvc* m_RawDataAccess;
65
66};
67
68#endif // RAWDATA_DIGI_CNV_H
unsigned const long PACKEDRAWEVENT_StorageType
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
override the RawDataBaseCnv version
static const unsigned char storageType()
virtual long repSvcType() const
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
RawDataHltCnv(ISvcLocator *svc)
StatusCode initialize()
static const CLID & classID()
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Convert the transient object to the requested representation.
Definition Event.h:21