BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/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"
5#include "RawDataCnvBase/RawDataBaseCnv.h"
6#include "RawDataCnv/ClassID_temp.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 IRawDataInputSvc* m_inputSvc;
48 /// Define the interface to raw data cnv
49 IRawDataCnvSvc* m_RawDataAccess;
50};
51
52#endif
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
override the RawDataBaseCnv version
static const CLID & classID()