ATLAS Offline Software
Loading...
Searching...
No Matches
EventInfoBeamSpotDecoratorAlg.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2//
3// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4//
5#ifndef XAODEVENTINFOCNV_EVENTINFOBEAMSPOTDECORATORALG_H
6#define XAODEVENTINFOCNV_EVENTINFOBEAMSPOTDECORATORALG_H
7
8// EDM include(s).
11
12// Gaudi/Athena include(s).
17
18namespace xAODMaker {
19
28
29 public:
30 // Inherit the base class's constructor.
31 using AthReentrantAlgorithm::AthReentrantAlgorithm;
32
35
37 virtual StatusCode initialize() override;
39 virtual StatusCode execute( const EventContext& ctx ) const override;
40
42
43 private:
46
49 "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };
50
53 "EventInfoKey", "EventInfo" };
54
57 "beamPosXKey", m_eventInfoKey, "beamPosX",
58 "Key for the beamPosX decoration" };
59
61 "beamPosYKey", m_eventInfoKey, "beamPosY",
62 "Key for the beamPosY decoration" };
63
65 "beamPosZKey", m_eventInfoKey, "beamPosZ",
66 "Key for the beamPosZ decoration" };
67
70 "beamPosSigmaXKey", m_eventInfoKey, "beamPosSigmaX",
71 "Key for the beamPosSigmaX decoration" };
72
74 "beamPosSigmaYKey", m_eventInfoKey, "beamPosSigmaY",
75 "Key for the beamPosSigmaY decoration" };
76
78 "beamPosSigmaZKey", m_eventInfoKey, "beamPosSigmaZ",
79 "Key for the beamPosSigmaZ decoration" };
80
82 "beamPosSigmaXYKey", m_eventInfoKey, "beamPosSigmaXY",
83 "Key for the beamPosSigmaXY decoration" };
84
87 "beamTiltXZKey", m_eventInfoKey, "beamTiltXZ",
88 "Key for the beamTiltXZ decoration" };
89
91 "beamTiltYZKey", m_eventInfoKey, "beamTiltYZ",
92 "Key for the beamTiltYZ decoration" };
93
96 "beamStatusKey", m_eventInfoKey, "beamStatus",
97 "Key for the beamStatus decoration" };
98
100
101 }; // class EventInfoBeamSpotDecoratorAlg
102
103} // namespace xAODMaker
104
105#endif // XAODEVENTINFOCNV_EVENTINFOBEAMSPOTDECORATORALG_H
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.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Algorithm for filling the beam position variables on xAOD::EventInfo.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaXKey
Decorator handle for beamPosSigmaX.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosYKey
Decorator handle for beamPosY.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaYKey
Decorator handle for beamPosSigmaY.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Read handle for EventInfo object to be decorated.
virtual StatusCode initialize() override
Function initialising the algorithm.
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Conditions object with the beamspot information.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamStatusKey
Decorator handle for beamStatus.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamTiltXZKey
Decorator handle for beamTiltXZ.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamTiltYZKey
Decorator handle for beamTiltYZ.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosZKey
Decorator handle for beamPosZ.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaXYKey
Decorator handle for beamPosSigmaXY.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaZKey
Decorator handle for beamPosSigmaZ.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosXKey
Decorator handle for beamPosX.