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-2026 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
#include "Gaudi/Property.h"
21
#include "
AthContainers/OwnershipPolicy.h
"
22
23
class
ISvcLocator;
24
class
StatusCode
;
25
class
Identifier
;
26
class
StoreGateSvc
;
27
28
class
ZdcRecChannelToolLucrod
;
29
#include "
ZdcByteStream/ZdcLucrodDataContainer.h
"
30
#include "
xAODForward/ZdcModuleContainer.h
"
31
#include "
xAODForward/ZdcModuleAuxContainer.h
"
32
#include "
ZdcAnalysis/ZdcAnalysisTool.h
"
33
#include "
xAODEventInfo/EventInfo.h
"
34
42
43
44
class
ZdcRecRun3Decode
:
public
AthAlgorithm
45
{
46
47
public
:
48
49
ZdcRecRun3Decode
(
const
std::string& name, ISvcLocator* pSvcLocator);
50
~ZdcRecRun3Decode
();
51
52
StatusCode
initialize
()
override
;
53
StatusCode
execute
(
const
EventContext& ctx)
override
;
54
StatusCode
finalize
()
override
;
55
56
private
:
57
58
Gaudi::Property<int>
m_ownPolicy
{
this
,
"OwnPolicy"
,
static_cast<
int
>
(
SG::OWN_ELEMENTS
)};
59
Gaudi::Property<int>
m_DecodeRunMode
{
this
,
"DecodeRunMode"
, 0};
// 0 = ZDC+RPD (default), 1 = LIS only, 2 = ZDC+RPD + LIS
60
Gaudi::Property<unsigned int>
m_nFragments
{
this
,
"NFragments"
,6,
"Number of expected LUCROD fragments"
};
61
62
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EventInfoKey"
,
"EventInfo"
};
63
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_eventInfoDecorKey
{
this
,
"eventInfoDecorKey"
,
m_eventInfoKey
,
"forwardDetFlags"
,
"Key for EventInfo decoration object"
};
64
65
SG::ReadHandleKey<ZdcLucrodDataContainer>
m_zldContainerName
66
{
this
,
"ZdcLucrodDataContainerKey"
,
"ZdcLucrodDataContainer"
,
""
};
67
68
SG::WriteHandleKey<xAOD::ZdcModuleContainer>
m_zdcModuleContainerName
69
{
this
,
"ZdcModuleContainerName"
,
"ZdcModules"
,
""
};
70
71
SG::WriteHandleKey<xAOD::ZdcModuleContainer>
m_zdcSumContainerName
72
{
this
,
"ZdcSumContainerName"
,
"ZdcSums"
,
""
};
73
74
ToolHandle<ZdcRecChannelToolLucrod>
m_ChannelTool
75
{
this
,
"ChannelTool"
,
"ZdcRecChannelToolLucrod"
,
""
};
76
77
78
};
79
80
#endif
AthAlgorithm.h
OwnershipPolicy.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:113
ZdcRecChannelToolLucrod
Definition
ZdcRecChannelToolLucrod.h:31
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:62
ZdcRecRun3Decode::initialize
StatusCode initialize() override
Definition
ZdcRecRun3Decode.cxx:43
ZdcRecRun3Decode::finalize
StatusCode finalize() override
Definition
ZdcRecRun3Decode.cxx:208
ZdcRecRun3Decode::m_zldContainerName
SG::ReadHandleKey< ZdcLucrodDataContainer > m_zldContainerName
Definition
ZdcRecRun3Decode.h:66
ZdcRecRun3Decode::~ZdcRecRun3Decode
~ZdcRecRun3Decode()
Definition
ZdcRecRun3Decode.cxx:39
ZdcRecRun3Decode::execute
StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
ZdcRecRun3Decode.cxx:90
ZdcRecRun3Decode::m_zdcSumContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Definition
ZdcRecRun3Decode.h:72
ZdcRecRun3Decode::m_eventInfoDecorKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition
ZdcRecRun3Decode.h:63
ZdcRecRun3Decode::m_DecodeRunMode
Gaudi::Property< int > m_DecodeRunMode
Definition
ZdcRecRun3Decode.h:59
ZdcRecRun3Decode::m_ownPolicy
Gaudi::Property< int > m_ownPolicy
Definition
ZdcRecRun3Decode.h:58
ZdcRecRun3Decode::m_nFragments
Gaudi::Property< unsigned int > m_nFragments
Definition
ZdcRecRun3Decode.h:60
ZdcRecRun3Decode::m_ChannelTool
ToolHandle< ZdcRecChannelToolLucrod > m_ChannelTool
Definition
ZdcRecRun3Decode.h:75
ZdcRecRun3Decode::m_zdcModuleContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
Definition
ZdcRecRun3Decode.h:69
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Identifier
Definition
IdentifierFieldParser.cxx:14
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition
OwnershipPolicy.h:17
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0