ATLAS Offline Software
EventInfoBeamSpotDecoratorAlg.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 //
3 // Copyright (C) 2002-2021 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).
16 
17 namespace xAODMaker {
18 
27 
28  public:
29  // Inherit the base class's constructor.
31 
34 
36  virtual StatusCode initialize() override;
38  virtual StatusCode execute( const EventContext& ctx ) const override;
39 
41 
42  private:
45 
48  "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };
49 
52  "beamPosXKey", "EventInfo.beamPosX",
53  "Key for the beamPosX decoration" };
56  "beamPosYKey", "EventInfo.beamPosY",
57  "Key for the beamPosY decoration" };
60  "beamPosZKey", "EventInfo.beamPosZ",
61  "Key for the beamPosZ decoration" };
62 
65  "beamPosSigmaXKey", "EventInfo.beamPosSigmaX",
66  "Key for the beamPosSigmaX decoration" };
69  "beamPosSigmaYKey", "EventInfo.beamPosSigmaY",
70  "Key for the beamPosSigmaY decoration" };
73  "beamPosSigmaZKey", "EventInfo.beamPosSigmaZ",
74  "Key for the beamPosSigmaZ decoration" };
77  "beamPosSigmaXYKey", "EventInfo.beamPosSigmaXY",
78  "Key for the beamPosSigmaXY decoration" };
79 
82  "beamTiltXZKey", "EventInfo.beamTiltXZ",
83  "Key for the beamTiltXZ decoration" };
86  "beamTiltYZKey", "EventInfo.beamTiltYZ",
87  "Key for the beamTiltYZ decoration" };
88 
91  "beamStatusKey", "EventInfo.beamStatus",
92  "Key for the beamStatus decoration" };
93 
95 
96  }; // class EventInfoBeamSpotDecoratorAlg
97 
98 } // namespace xAODMaker
99 
100 #endif // XAODEVENTINFOCNV_EVENTINFOBEAMSPOTDECORATORALG_H
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosSigmaZKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaZKey
Decorator handle for beamPosSigmaZ.
Definition: EventInfoBeamSpotDecoratorAlg.h:72
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosZKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosZKey
Decorator handle for beamPosZ.
Definition: EventInfoBeamSpotDecoratorAlg.h:59
SG::WriteDecorHandleKey< xAOD::EventInfo >
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosXKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosXKey
Decorator handle for beamPosX.
Definition: EventInfoBeamSpotDecoratorAlg.h:51
xAODMaker::EventInfoBeamSpotDecoratorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition: EventInfoBeamSpotDecoratorAlg.cxx:61
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosSigmaYKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaYKey
Decorator handle for beamPosSigmaY.
Definition: EventInfoBeamSpotDecoratorAlg.h:68
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Conditions object with the beamspot information.
Definition: EventInfoBeamSpotDecoratorAlg.h:47
xAODMaker::EventInfoBeamSpotDecoratorAlg
Algorithm for filling the beam position variables on xAOD::EventInfo.
Definition: EventInfoBeamSpotDecoratorAlg.h:26
xAODMaker
Definition: StoreGateSvc.h:72
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamTiltYZKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamTiltYZKey
Decorator handle for beamTiltYZ.
Definition: EventInfoBeamSpotDecoratorAlg.h:85
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosSigmaXKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaXKey
Decorator handle for beamPosSigmaX.
Definition: EventInfoBeamSpotDecoratorAlg.h:64
xAODMaker::EventInfoBeamSpotDecoratorAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition: EventInfoBeamSpotDecoratorAlg.cxx:20
ReadCondHandleKey.h
AthReentrantAlgorithm.h
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosYKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosYKey
Decorator handle for beamPosY.
Definition: EventInfoBeamSpotDecoratorAlg.h:55
EventInfo.h
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosSigmaXYKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaXYKey
Decorator handle for beamPosSigmaXY.
Definition: EventInfoBeamSpotDecoratorAlg.h:76
SG::ReadCondHandleKey< InDet::BeamSpotData >
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamStatusKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamStatusKey
Decorator handle for beamStatus.
Definition: EventInfoBeamSpotDecoratorAlg.h:90
BeamSpotData.h
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamTiltXZKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamTiltXZKey
Decorator handle for beamTiltXZ.
Definition: EventInfoBeamSpotDecoratorAlg.h:81