ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcRec
ZdcRec
ZdcRecRun3.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
// ZdcRecRun3.h, (c) ATLAS Detector software
8
9
#ifndef ZDCRECRun3_H
10
#define ZDCRECRun3_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
28
#include "
xAODForward/ZdcModuleContainer.h
"
29
#include "
xAODForward/ZdcModuleAuxContainer.h
"
30
#include "
xAODEventInfo/EventInfo.h
"
31
#include "
ZdcAnalysis/IZdcAnalysisTool.h
"
32
#include "
ZdcUtils/ZdcEventInfo.h
"
33
34
43
44
45
class
ZdcRecRun3
:
public
AthAlgorithm
46
{
47
48
public
:
49
50
ZdcRecRun3
(
const
std::string& name, ISvcLocator* pSvcLocator);
51
~ZdcRecRun3
();
52
53
StatusCode
initialize
()
override
;
54
StatusCode
execute
(
const
EventContext& ctx)
override
;
55
StatusCode
finalize
()
override
;
56
57
58
private
:
59
60
Gaudi::Property<std::string>
m_configuration
{
this
,
"Configuration"
,
"none"
,
"ZDC reconstruction configuration"
};
61
62
Gaudi::Property<unsigned int>
m_DAQMode
{
this
,
"DAQMode"
,
static_cast<
unsigned
int
>
(
ZdcEventInfo::CombinedPhysics
),
"DAQ mode"
};
63
64
Gaudi::Property<unsigned int>
m_forcedEventType
{
this
,
"ForcedEventType"
,
static_cast<
unsigned
int
>
(
ZdcEventInfo::ZdcEventUnknown
),
65
"if not ZdcEventUnknown, Use forced event type true/false"
};
66
67
Gaudi::Property<int>
m_ownPolicy
{
this
,
"OwnPolicy"
,
static_cast<
int
>
(
SG::OWN_ELEMENTS
),
"Ownership policy"
};
68
69
SG::ReadHandleKey<xAOD::ZdcModuleContainer>
m_zdcModuleContainerName
70
{
this
,
"ZdcModuleContainerName"
,
"ZdcModules"
,
""
};
71
72
SG::ReadHandleKey<xAOD::ZdcModuleContainer>
m_zdcSumContainerName
73
{
this
,
"ZdcSumContainerName"
,
"ZdcSums"
,
""
};
74
75
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EventInfoKey"
,
"EventInfo"
,
"Location of the event info."
};
76
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_eventInfoDecorKey
{
this
,
"eventInfoDecorKey"
,
m_eventInfoKey
,
"forwardDetFlags"
,
"Key for EventInfo decoration object"
};
77
78
SG::WriteDecorHandleKey<xAOD::ZdcModuleContainer>
m_ZdcEventType
{
this
,
"ZdcEventTypeKey"
,
""
,
"ZDC event Type"
};
79
80
SG::WriteDecorHandleKey<xAOD::ZdcModuleContainer>
m_ZdcDAQMode
{
this
,
"ZdcDAQModeKey"
,
""
,
"ZDC DAQ mode"
};
81
82
// Override bad BCID in standalone data using BCID from ROB header(s)
83
//
84
SG::WriteDecorHandleKey<xAOD::ZdcModuleContainer>
m_ZdcBCIDOverride
{
this
,
"ZdcBCIDOverride"
,
""
,
"BCID with override"
};
85
86
ToolHandleArray<ZDC::IZdcAnalysisTool>
m_zdcTools
{
this
,
"ZdcAnalysisTools"
,{} };
87
88
};
89
90
#endif
AthAlgorithm.h
IZdcAnalysisTool.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.
ZdcEventInfo.h
Define enumerations for event-level ZDC data.
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
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
ZdcRecChannelToolLucrod
Definition
ZdcRecChannelToolLucrod.h:31
ZdcRecRun3::ZdcRecRun3
ZdcRecRun3(const std::string &name, ISvcLocator *pSvcLocator)
Definition
ZdcRecRun3.cxx:31
ZdcRecRun3::m_DAQMode
Gaudi::Property< unsigned int > m_DAQMode
Definition
ZdcRecRun3.h:62
ZdcRecRun3::m_zdcSumContainerName
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Definition
ZdcRecRun3.h:73
ZdcRecRun3::m_zdcTools
ToolHandleArray< ZDC::IZdcAnalysisTool > m_zdcTools
Definition
ZdcRecRun3.h:86
ZdcRecRun3::m_configuration
Gaudi::Property< std::string > m_configuration
Definition
ZdcRecRun3.h:60
ZdcRecRun3::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
ZdcRecRun3.h:75
ZdcRecRun3::m_ownPolicy
Gaudi::Property< int > m_ownPolicy
Definition
ZdcRecRun3.h:67
ZdcRecRun3::m_ZdcDAQMode
SG::WriteDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcDAQMode
Definition
ZdcRecRun3.h:80
ZdcRecRun3::m_ZdcBCIDOverride
SG::WriteDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcBCIDOverride
Definition
ZdcRecRun3.h:84
ZdcRecRun3::m_eventInfoDecorKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition
ZdcRecRun3.h:76
ZdcRecRun3::~ZdcRecRun3
~ZdcRecRun3()
Definition
ZdcRecRun3.cxx:38
ZdcRecRun3::m_ZdcEventType
SG::WriteDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcEventType
Definition
ZdcRecRun3.h:78
ZdcRecRun3::execute
StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
ZdcRecRun3.cxx:89
ZdcRecRun3::initialize
StatusCode initialize() override
Definition
ZdcRecRun3.cxx:42
ZdcRecRun3::finalize
StatusCode finalize() override
Definition
ZdcRecRun3.cxx:196
ZdcRecRun3::m_forcedEventType
Gaudi::Property< unsigned int > m_forcedEventType
Definition
ZdcRecRun3.h:64
ZdcRecRun3::m_zdcModuleContainerName
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
Definition
ZdcRecRun3.h:70
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
ZdcEventInfo::ZdcEventUnknown
@ ZdcEventUnknown
Definition
ZdcEventInfo.h:16
ZdcEventInfo::CombinedPhysics
@ CombinedPhysics
Definition
ZdcEventInfo.h:17
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0