ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
LUCID
LUCID_Cnv
LUCID_RawDataByteStreamCnv
LUCID_RawDataByteStreamCnv
LUCID_DigitByteStreamCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// *************************************************************************
6
//
7
// This package is unashameless based on the same
8
// a equivalent package for the BCM.
9
//
10
// *************************************************************************
11
12
#ifndef LUCID_DIGITBYTESTREAMCNV_H
13
#define LUCID_DIGITBYTESTREAMCNV_H
14
15
#include "GaudiKernel/Converter.h"
16
#include "GaudiKernel/ServiceHandle.h"
17
#include "
AthenaBaseComps/AthMessaging.h
"
18
#include "
ByteStreamData/RawEvent.h
"
//for RawEventWrite typedef
19
#include "GaudiKernel/StatusCode.h"
20
#include "
ByteStreamCnvSvcBase/IByteStreamEventAccess.h
"
21
#include "
ByteStreamCnvSvcBase/FullEventAssembler.h
"
22
#include "
ByteStreamCnvSvcBase/SrcIdMap.h
"
23
24
class
DataObject;
25
class
StoreGateSvc
;
26
class
LUCID_DigitContainer
;
27
28
class
LUCID_DigitByteStreamCnv
:
public
Converter
,
public
AthMessaging
{
29
30
public
:
31
32
LUCID_DigitByteStreamCnv
(ISvcLocator* svcloc);
33
34
virtual
StatusCode
initialize
()
override
;
35
36
// create the RawEvent fragments for LUCID
37
virtual
StatusCode
createRep
(DataObject* pObj, IOpaqueAddress*& pAddr)
override
;
38
39
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
40
static
long
storageType
();
41
static
CLID
classID
();
42
43
StatusCode
fillFEA
(
LUCID_DigitContainer
* RDO_container,
RawEventWrite
*
re
);
44
45
unsigned
short
RodBlockVersion
(
void
) {
return
m_RodBlockVersion
; }
46
int
BCs_per_LVL1ID
(
void
) {
return
m_BCs_per_LVL1ID
; }
47
48
unsigned
int
getSourceID
() {
return
0x00820000; }
49
50
private
:
51
52
ServiceHandle<IByteStreamEventAccess>
m_ByteStreamEventAccess
;
53
54
FullEventAssembler<SrcIdMap>
m_fea
;
55
unsigned
short
m_RodBlockVersion
;
56
int
m_BCs_per_LVL1ID
;
57
};
58
#endif
re
const std::regex re(r_e)
AthMessaging.h
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
FullEventAssembler.h
IByteStreamEventAccess.h
RawEvent.h
RawEventWrite
OFFLINE_FRAGMENTS_NAMESPACE_WRITE::FullEventFragment RawEventWrite
data type for writing raw event
Definition
RawEvent.h:39
SrcIdMap.h
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
Converter::Converter
Converter()
Definition
Converter.h:29
FullEventAssembler
Template class for assembling a full atlas raw event from subfragments.
Definition
FullEventAssembler.h:38
LUCID_DigitByteStreamCnv::getSourceID
unsigned int getSourceID()
Definition
LUCID_DigitByteStreamCnv.h:48
LUCID_DigitByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition
LUCID_DigitByteStreamCnv.cxx:29
LUCID_DigitByteStreamCnv::storageType
static long storageType()
Definition
LUCID_DigitByteStreamCnv.cxx:42
LUCID_DigitByteStreamCnv::BCs_per_LVL1ID
int BCs_per_LVL1ID(void)
Definition
LUCID_DigitByteStreamCnv.h:46
LUCID_DigitByteStreamCnv::m_fea
FullEventAssembler< SrcIdMap > m_fea
Definition
LUCID_DigitByteStreamCnv.h:54
LUCID_DigitByteStreamCnv::m_BCs_per_LVL1ID
int m_BCs_per_LVL1ID
Definition
LUCID_DigitByteStreamCnv.h:56
LUCID_DigitByteStreamCnv::m_ByteStreamEventAccess
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Definition
LUCID_DigitByteStreamCnv.h:52
LUCID_DigitByteStreamCnv::LUCID_DigitByteStreamCnv
LUCID_DigitByteStreamCnv(ISvcLocator *svcloc)
Definition
LUCID_DigitByteStreamCnv.cxx:19
LUCID_DigitByteStreamCnv::classID
static CLID classID()
Definition
LUCID_DigitByteStreamCnv.cxx:37
LUCID_DigitByteStreamCnv::repSvcType
virtual long repSvcType() const override
Definition
LUCID_DigitByteStreamCnv.h:39
LUCID_DigitByteStreamCnv::fillFEA
StatusCode fillFEA(LUCID_DigitContainer *RDO_container, RawEventWrite *re)
Definition
LUCID_DigitByteStreamCnv.cxx:78
LUCID_DigitByteStreamCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
Definition
LUCID_DigitByteStreamCnv.cxx:47
LUCID_DigitByteStreamCnv::m_RodBlockVersion
unsigned short m_RodBlockVersion
Definition
LUCID_DigitByteStreamCnv.h:55
LUCID_DigitByteStreamCnv::RodBlockVersion
unsigned short RodBlockVersion(void)
Definition
LUCID_DigitByteStreamCnv.h:45
LUCID_DigitContainer
Definition
LUCID_DigitContainer.h:13
ServiceHandle
Definition
ClusterMakerTool.h:36
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
Generated on
for ATLAS Offline Software by
1.17.0