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"
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
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
ClassID_temp.h
PACKEDRAWEVENT_StorageType
unsigned const long PACKEDRAWEVENT_StorageType
Definition:
ClassID_temp.h:17
RawDataBaseCnv.h
calEts
unsigned long calEts(const uint32_t *dptr)
Definition:
ana_raw.cxx:9
CnvFactory
Definition:
RootCorrectedETSCnv.h:20
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:27
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:91
RawDataEvtHeaderCnv::updateObj
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
override the RawDataBaseCnv version
Definition:
RawDataEvtHeaderCnv.cxx:84
RawDataEvtHeaderCnv::classID
static const CLID & classID()
Definition:
RawDataEvtHeaderCnv.cxx:79
source
Event
RawDataCnv
RawDataCnv-00-05-11
RawDataCnv
RawDataEvtHeaderCnv.h
Generated by
1.9.6