CGEM BOSS
6.6.5.i
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"
5
#include "
RawDataCnvBase/RawDataBaseCnv.h
"
6
#include "
RawDataCnv/ClassID_temp.h
"
7
8
// Forward declarations.
9
class
IOpaqueAddress;
10
class
DataObject;
11
class
StatusCode;
12
class
IRawDataInputSvc
;
13
14
// Converter Factory to create instances of this class.
15
template
<
class
TYPE>
class
CnvFactory
;
16
17
class
RawDataEvtHeaderCnv
:
public
RawDataBaseCnv
18
{
19
// Declaration of a Converter Factory to create instances of this class.
20
friend
class
CnvFactory
<
RawDataEvtHeaderCnv
>;
21
22
protected
:
23
// Standard Constructor.
24
RawDataEvtHeaderCnv
(ISvcLocator* svc);
25
26
public
:
27
StatusCode
initialize
();
28
29
// Return the class type of this converter.
30
static
const
CLID&
classID
();
31
32
virtual
long
repSvcType
()
const
{
33
return
PACKEDRAWEVENT_StorageType
;
34
}
35
36
static
const
unsigned
char
storageType
() {
37
return
PACKEDRAWEVENT_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
46
private
:
47
IRawDataInputSvc
* m_inputSvc;
48
/// Define the interface to raw data cnv
49
IRawDataCnvSvc
* m_RawDataAccess;
50
};
51
52
#endif
ClassID_temp.h
PACKEDRAWEVENT_StorageType
unsigned const long PACKEDRAWEVENT_StorageType
Definition
ClassID_temp.h:17
RawDataBaseCnv.h
CnvFactory
Definition
RootDedxCalibDataCnv.h:19
IRawDataCnvSvc
Definition
IRawDataCnvSvc.h:16
IRawDataInputSvc
Definition
IRawDataInputSvc.h:21
RawDataBaseCnv
Definition
RawDataBaseCnv.h:25
RawDataEvtHeaderCnv
Definition
RawDataEvtHeaderCnv.h:18
RawDataEvtHeaderCnv::initialize
StatusCode initialize()
Definition
RawDataEvtHeaderCnv.cxx:23
RawDataEvtHeaderCnv::RawDataEvtHeaderCnv
RawDataEvtHeaderCnv(ISvcLocator *svc)
Definition
RawDataEvtHeaderCnv.cxx:15
RawDataEvtHeaderCnv::storageType
static const unsigned char storageType()
Definition
RawDataEvtHeaderCnv.h:36
RawDataEvtHeaderCnv::repSvcType
virtual long repSvcType() const
Definition
RawDataEvtHeaderCnv.h:32
RawDataEvtHeaderCnv::createObj
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Definition
RawDataEvtHeaderCnv.cxx:85
RawDataEvtHeaderCnv::updateObj
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
override the RawDataBaseCnv version
Definition
RawDataEvtHeaderCnv.cxx:78
RawDataEvtHeaderCnv::classID
static const CLID & classID()
Definition
RawDataEvtHeaderCnv.cxx:73
6.6.5.i
Event
RawDataCnv
RawDataCnv-00-04-29-tag
RawDataCnv
RawDataEvtHeaderCnv.h
Generated by
1.12.0