ATLAS Offline Software
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 
16 
19 
20 namespace Simulation
21 {
22 
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey< xAOD::EventInfo >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
Simulation::BeamSpotFixerAlg::m_inputKey
SG::ReadHandleKey< xAOD::EventInfo > m_inputKey
Definition: BeamSpotFixerAlg.h:44
SG::WriteHandleKey< xAOD::EventInfo >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Simulation::BeamSpotFixerAlg::BeamSpotFixerAlg
BeamSpotFixerAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: BeamSpotFixerAlg.cxx:17
Simulation::BeamSpotFixerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Athena algorithm's interface method execute()
Definition: BeamSpotFixerAlg.cxx:35
ReadCondHandleKey.h
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
Simulation::BeamSpotFixerAlg::initialize
virtual StatusCode initialize() override final
Athena algorithm's interface method initialize()
Definition: BeamSpotFixerAlg.cxx:23
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Simulation::BeamSpotFixerAlg::m_outputKey
SG::WriteHandleKey< xAOD::EventInfo > m_outputKey
Definition: BeamSpotFixerAlg.h:45
EventInfo.h
Simulation::BeamSpotFixerAlg
Definition: BeamSpotFixerAlg.h:27
Simulation
Definition: BeamEffectsAlg.cxx:21
BeamSpotData.h
Simulation::BeamSpotFixerAlg::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition: BeamSpotFixerAlg.h:42
Simulation::BeamSpotFixerAlg::~BeamSpotFixerAlg
virtual ~BeamSpotFixerAlg()=default
Destructor.