ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
BeamEffects
src
BeamSpotFixerAlg.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5
*/
6
8
9
#ifndef BEAMEFFECTS_BEAMSPOTFIXERALG_H
10
#define BEAMEFFECTS_BEAMSPOTFIXERALG_H
11
12
#include <
AthenaBaseComps/AthReentrantAlgorithm.h
>
13
#include <
StoreGate/ReadCondHandleKey.h
>
14
#include <
StoreGate/ReadHandleKey.h
>
15
#include <
StoreGate/WriteHandleKey.h
>
16
17
#include <
BeamSpotConditionsData/BeamSpotData.h
>
18
#include <
xAODEventInfo/EventInfo.h
>
19
20
namespace
Simulation
21
{
22
26
class
BeamSpotFixerAlg
:
public
AthReentrantAlgorithm
27
{
28
public
:
29
//** Constructor with parameters */
30
BeamSpotFixerAlg
(
const
std::string& name, ISvcLocator* pSvcLocator );
31
33
virtual
~BeamSpotFixerAlg
() =
default
;
34
36
virtual
StatusCode
initialize
() override final;
37
39
virtual StatusCode
execute
(
const
EventContext& ctx)
const
override final;
40
41
private
:
42
SG
::ReadCondHandleKey<
InDet
::BeamSpotData>
m_beamSpotKey
{
this
,
"BeamSpotKey"
,
"BeamSpotData"
,
"SG key for beam spot"
};
43
44
SG::ReadHandleKey<xAOD::EventInfo>
m_inputKey
{
this
,
"InputKey"
,
"Input_EventInfo"
,
"ReadHandleKey for Input xAOD::EventInfo"
};
45
SG::WriteHandleKey<xAOD::EventInfo>
m_outputKey
{
this
,
"OutputKey"
,
"EventInfo"
,
"WriteHandleKey for Output xAOD::EventInfo"
};
46
};
47
48
}
49
50
#endif
// BEAMEFFECTS_BEAMSPOTFIXERALG_H
AthReentrantAlgorithm.h
BeamSpotData.h
ReadCondHandleKey.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.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Simulation::BeamSpotFixerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Athena algorithm's interface method execute().
Definition
BeamSpotFixerAlg.cxx:35
Simulation::BeamSpotFixerAlg::m_inputKey
SG::ReadHandleKey< xAOD::EventInfo > m_inputKey
Definition
BeamSpotFixerAlg.h:44
Simulation::BeamSpotFixerAlg::BeamSpotFixerAlg
BeamSpotFixerAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
BeamSpotFixerAlg.cxx:17
Simulation::BeamSpotFixerAlg::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition
BeamSpotFixerAlg.h:42
Simulation::BeamSpotFixerAlg::m_outputKey
SG::WriteHandleKey< xAOD::EventInfo > m_outputKey
Definition
BeamSpotFixerAlg.h:45
Simulation::BeamSpotFixerAlg::initialize
virtual StatusCode initialize() override final
Athena algorithm's interface method initialize().
Definition
BeamSpotFixerAlg.cxx:23
Simulation::BeamSpotFixerAlg::~BeamSpotFixerAlg
virtual ~BeamSpotFixerAlg()=default
Destructor.
const
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
Simulation
Definition
BeamEffectsAlg.cxx:21
private
#define private
Definition
testRead.cxx:27
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0