ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODEventInfoCnv
src
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).
9
#include "
xAODEventInfo/EventInfo.h
"
10
#include "
BeamSpotConditionsData/BeamSpotData.h
"
11
12
// Gaudi/Athena include(s).
13
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
14
#include "
StoreGate/ReadCondHandleKey.h
"
15
#include "
StoreGate/ReadHandleKey.h
"
16
#include "
StoreGate/WriteDecorHandleKey.h
"
17
18
namespace
xAODMaker
{
19
27
class
EventInfoBeamSpotDecoratorAlg
:
public
AthReentrantAlgorithm
{
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
48
SG::ReadCondHandleKey< InDet::BeamSpotData >
m_beamSpotKey
{
this
,
49
"BeamSpotKey"
,
"BeamSpotData"
,
"SG key for beam spot"
};
50
52
SG::ReadHandleKey< xAOD::EventInfo >
m_eventInfoKey
{
this
,
53
"EventInfoKey"
,
"EventInfo"
};
54
56
SG::WriteDecorHandleKey< xAOD::EventInfo >
m_beamPosXKey
{
this
,
57
"beamPosXKey"
,
m_eventInfoKey
,
"beamPosX"
,
58
"Key for the beamPosX decoration"
};
59
60
SG::WriteDecorHandleKey< xAOD::EventInfo >
m_beamPosYKey
{
this
,
61
"beamPosYKey"
,
m_eventInfoKey
,
"beamPosY"
,
62
"Key for the beamPosY decoration"
};
63
64
SG::WriteDecorHandleKey< xAOD::EventInfo >
m_beamPosZKey
{
this
,
65
"beamPosZKey"
,
m_eventInfoKey
,
"beamPosZ"
,
66
"Key for the beamPosZ decoration"
};
67
69
SG::WriteDecorHandleKey< xAOD::EventInfo >
m_beamPosSigmaXKey
{
this
,
70
"beamPosSigmaXKey"
,
m_eventInfoKey
,
"beamPosSigmaX"
,
71
"Key for the beamPosSigmaX decoration"
};
72
73
SG::WriteDecorHandleKey< xAOD::EventInfo >
m_beamPosSigmaYKey
{
this
,
74
"beamPosSigmaYKey"
,
m_eventInfoKey
,
"beamPosSigmaY"
,
75
"Key for the beamPosSigmaY decoration"
};
76
77
SG::WriteDecorHandleKey< xAOD::EventInfo >
m_beamPosSigmaZKey
{
this
,
78
"beamPosSigmaZKey"
,
m_eventInfoKey
,
"beamPosSigmaZ"
,
79
"Key for the beamPosSigmaZ decoration"
};
80
81
SG::WriteDecorHandleKey< xAOD::EventInfo >
m_beamPosSigmaXYKey
{
this
,
82
"beamPosSigmaXYKey"
,
m_eventInfoKey
,
"beamPosSigmaXY"
,
83
"Key for the beamPosSigmaXY decoration"
};
84
86
SG::WriteDecorHandleKey< xAOD::EventInfo >
m_beamTiltXZKey
{
this
,
87
"beamTiltXZKey"
,
m_eventInfoKey
,
"beamTiltXZ"
,
88
"Key for the beamTiltXZ decoration"
};
89
90
SG::WriteDecorHandleKey< xAOD::EventInfo >
m_beamTiltYZKey
{
this
,
91
"beamTiltYZKey"
,
m_eventInfoKey
,
"beamTiltYZ"
,
92
"Key for the beamTiltYZ decoration"
};
93
95
SG::WriteDecorHandleKey< xAOD::EventInfo >
m_beamStatusKey
{
this
,
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
AthReentrantAlgorithm.h
BeamSpotData.h
ReadCondHandleKey.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadCondHandleKey< InDet::BeamSpotData >
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey< xAOD::EventInfo >
xAODMaker::EventInfoBeamSpotDecoratorAlg
Algorithm for filling the beam position variables on xAOD::EventInfo.
Definition
EventInfoBeamSpotDecoratorAlg.h:27
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosSigmaXKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaXKey
Decorator handle for beamPosSigmaX.
Definition
EventInfoBeamSpotDecoratorAlg.h:69
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosYKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosYKey
Decorator handle for beamPosY.
Definition
EventInfoBeamSpotDecoratorAlg.h:60
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosSigmaYKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaYKey
Decorator handle for beamPosSigmaY.
Definition
EventInfoBeamSpotDecoratorAlg.h:73
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Read handle for EventInfo object to be decorated.
Definition
EventInfoBeamSpotDecoratorAlg.h:52
xAODMaker::EventInfoBeamSpotDecoratorAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition
EventInfoBeamSpotDecoratorAlg.cxx:20
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Conditions object with the beamspot information.
Definition
EventInfoBeamSpotDecoratorAlg.h:48
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamStatusKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamStatusKey
Decorator handle for beamStatus.
Definition
EventInfoBeamSpotDecoratorAlg.h:95
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamTiltXZKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamTiltXZKey
Decorator handle for beamTiltXZ.
Definition
EventInfoBeamSpotDecoratorAlg.h:86
xAODMaker::EventInfoBeamSpotDecoratorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition
EventInfoBeamSpotDecoratorAlg.cxx:62
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamTiltYZKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamTiltYZKey
Decorator handle for beamTiltYZ.
Definition
EventInfoBeamSpotDecoratorAlg.h:90
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosZKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosZKey
Decorator handle for beamPosZ.
Definition
EventInfoBeamSpotDecoratorAlg.h:64
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosSigmaXYKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaXYKey
Decorator handle for beamPosSigmaXY.
Definition
EventInfoBeamSpotDecoratorAlg.h:81
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosSigmaZKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosSigmaZKey
Decorator handle for beamPosSigmaZ.
Definition
EventInfoBeamSpotDecoratorAlg.h:77
xAODMaker::EventInfoBeamSpotDecoratorAlg::m_beamPosXKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_beamPosXKey
Decorator handle for beamPosX.
Definition
EventInfoBeamSpotDecoratorAlg.h:56
xAODMaker
Definition
StoreGateSvc.h:70
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0