ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcRec
ZdcRec
ZdcRecRun3Decode.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// ZdcRecRun3Decode.h, (c) ATLAS Detector software
8
9
#ifndef ZDCRECRun3DECODE_H
10
#define ZDCRECRun3DECODE_H
11
12
#include <string>
13
#include <map>
14
15
#include "
AthenaBaseComps/AthAlgorithm.h
"
16
#include "
StoreGate/WriteHandleKey.h
"
17
#include "
StoreGate/ReadHandleKey.h
"
18
#include "GaudiKernel/ToolHandle.h"
19
#include "GaudiKernel/ServiceHandle.h"
20
21
class
ISvcLocator;
22
class
StatusCode
;
23
class
Identifier
;
24
class
StoreGateSvc
;
25
26
class
ZdcRecChannelToolLucrod
;
27
#include "
ZdcByteStream/ZdcLucrodDataContainer.h
"
28
#include "
xAODForward/ZdcModuleContainer.h
"
29
#include "
xAODForward/ZdcModuleAuxContainer.h
"
30
#include "
ZdcAnalysis/ZdcAnalysisTool.h
"
31
#include "
xAODEventInfo/EventInfo.h
"
32
40
41
42
class
ZdcRecRun3Decode
:
public
AthAlgorithm
43
{
44
45
public
:
46
47
ZdcRecRun3Decode
(
const
std::string& name, ISvcLocator* pSvcLocator);
48
~ZdcRecRun3Decode
();
49
50
StatusCode
initialize
()
override
;
51
StatusCode
execute
(
const
EventContext& ctx)
override
;
52
StatusCode
finalize
()
override
;
53
54
private
:
55
56
int
m_ownPolicy
;
57
int
m_DecodeRunMode
;
// 0 = ZDC+RPD (default), 1 = LIS only, 2 = ZDC+RPD + LIS
58
Gaudi::Property<unsigned int>
m_nFragments
{
this
,
"NFragments"
,6,
"Number of expected LUCROD fragments"
};
59
60
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EventInfoKey"
,
"EventInfo"
};
61
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_eventInfoDecorKey
{
this
,
"eventInfoDecorKey"
,
m_eventInfoKey
,
"forwardDetFlags"
,
"Key for EventInfo decoration object"
};
62
63
SG::ReadHandleKey<ZdcLucrodDataContainer>
m_zldContainerName
64
{
this
,
"ZdcLucrodDataContainerKey"
,
"ZdcLucrodDataContainer"
,
""
};
65
66
SG::WriteHandleKey<xAOD::ZdcModuleContainer>
m_zdcModuleContainerName
67
{
this
,
"ZdcModuleContainerName"
,
"ZdcModules"
,
""
};
68
69
SG::WriteHandleKey<xAOD::ZdcModuleContainer>
m_zdcSumContainerName
70
{
this
,
"ZdcSumContainerName"
,
"ZdcSums"
,
""
};
71
72
ToolHandle<ZdcRecChannelToolLucrod>
m_ChannelTool
73
{
this
,
"ChannelTool"
,
"ZdcRecChannelToolLucrod"
,
""
};
74
75
76
};
77
78
#endif
AthAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ZdcAnalysisTool.h
ZdcLucrodDataContainer.h
ZdcModuleAuxContainer.h
ZdcModuleContainer.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
ZdcRecChannelToolLucrod
Definition
ZdcRecChannelToolLucrod.h:31
ZdcRecRun3Decode::m_ownPolicy
int m_ownPolicy
Definition
ZdcRecRun3Decode.h:56
ZdcRecRun3Decode::ZdcRecRun3Decode
ZdcRecRun3Decode(const std::string &name, ISvcLocator *pSvcLocator)
Definition
ZdcRecRun3Decode.cxx:30
ZdcRecRun3Decode::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
ZdcRecRun3Decode.h:60
ZdcRecRun3Decode::initialize
StatusCode initialize() override
Definition
ZdcRecRun3Decode.cxx:47
ZdcRecRun3Decode::finalize
StatusCode finalize() override
Definition
ZdcRecRun3Decode.cxx:212
ZdcRecRun3Decode::m_zldContainerName
SG::ReadHandleKey< ZdcLucrodDataContainer > m_zldContainerName
Definition
ZdcRecRun3Decode.h:64
ZdcRecRun3Decode::~ZdcRecRun3Decode
~ZdcRecRun3Decode()
Definition
ZdcRecRun3Decode.cxx:43
ZdcRecRun3Decode::execute
StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
ZdcRecRun3Decode.cxx:94
ZdcRecRun3Decode::m_zdcSumContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Definition
ZdcRecRun3Decode.h:70
ZdcRecRun3Decode::m_eventInfoDecorKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition
ZdcRecRun3Decode.h:61
ZdcRecRun3Decode::m_nFragments
Gaudi::Property< unsigned int > m_nFragments
Definition
ZdcRecRun3Decode.h:58
ZdcRecRun3Decode::m_ChannelTool
ToolHandle< ZdcRecChannelToolLucrod > m_ChannelTool
Definition
ZdcRecRun3Decode.h:73
ZdcRecRun3Decode::m_DecodeRunMode
int m_DecodeRunMode
Definition
ZdcRecRun3Decode.h:57
ZdcRecRun3Decode::m_zdcModuleContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
Definition
ZdcRecRun3Decode.h:67
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Identifier
Definition
IdentifierFieldParser.cxx:14
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0