ATLAS Offline Software
Loading...
Searching...
No Matches
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
18#include "GaudiKernel/ToolHandle.h"
19#include "GaudiKernel/ServiceHandle.h"
20
21class ISvcLocator;
22class StatusCode;
23class Identifier;
24class StoreGateSvc;
25
27
33
34
43
44
46{
47
48public:
49
50 ZdcRecRun3(const std::string& name, ISvcLocator* pSvcLocator);
52
53 StatusCode initialize() override;
54 StatusCode execute() override;
55 StatusCode finalize() override;
56
57
58private:
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
70 { this, "ZdcModuleContainerName", "ZdcModules", "" };
71
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Define enumerations for event-level ZDC data.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
The Athena Transient Store API.
ZdcRecRun3(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< unsigned int > m_DAQMode
Definition ZdcRecRun3.h:62
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Definition ZdcRecRun3.h:73
ToolHandleArray< ZDC::IZdcAnalysisTool > m_zdcTools
Definition ZdcRecRun3.h:86
StatusCode execute() override
Gaudi::Property< std::string > m_configuration
Definition ZdcRecRun3.h:60
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition ZdcRecRun3.h:75
Gaudi::Property< int > m_ownPolicy
Definition ZdcRecRun3.h:67
SG::WriteDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcDAQMode
Definition ZdcRecRun3.h:80
SG::WriteDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcBCIDOverride
Definition ZdcRecRun3.h:84
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition ZdcRecRun3.h:76
SG::WriteDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcEventType
Definition ZdcRecRun3.h:78
StatusCode initialize() override
StatusCode finalize() override
Gaudi::Property< unsigned int > m_forcedEventType
Definition ZdcRecRun3.h:64
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
Definition ZdcRecRun3.h:70
@ OWN_ELEMENTS
this data object owns its elements