BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
RawDataEvtHeaderCnv.h
Go to the documentation of this file.
1#ifndef RAWDATA_EVENTHEADER_CNV_H
2#define RAWDATA_EVENTHEADER_CNV_H
3
4#include "GaudiKernel/Converter.h"
7
8// Forward declarations.
9class IOpaqueAddress;
10class DataObject;
11class StatusCode;
13
14// Converter Factory to create instances of this class.
15template <class TYPE> class CnvFactory;
16
18{
19 // Declaration of a Converter Factory to create instances of this class.
20 friend class CnvFactory<RawDataEvtHeaderCnv>;
21
22protected:
23 // Standard Constructor.
24 RawDataEvtHeaderCnv(ISvcLocator* svc);
25
26public:
27 StatusCode initialize();
28
29 // Return the class type of this converter.
30 static const CLID& classID();
31
32 virtual long repSvcType() const {
34 }
35
36 static const unsigned char storageType() {
38 }
39
40 // Create a converted object in the Transient Data Store.
41 StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
42
43 /// override the RawDataBaseCnv version
44 virtual StatusCode updateObj(IOpaqueAddress*, DataObject*);
45
46private:
47 unsigned long calEts(uint32_t* dptr);
48
49 IRawDataInputSvc* m_inputSvc;
50 /// Define the interface to raw data cnv
51 IRawDataCnvSvc* m_RawDataAccess;
52};
53
54#endif
unsigned const long PACKEDRAWEVENT_StorageType
Definition: ClassID_temp.h:17
unsigned long calEts(const uint32_t *dptr)
Definition: ana_raw.cxx:9
static const unsigned char storageType()
virtual long repSvcType() const
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
override the RawDataBaseCnv version
static const CLID & classID()