ATLAS Offline Software
Loading...
Searching...
No Matches
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
20namespace 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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle 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.
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual StatusCode execute(const EventContext &ctx) const override final
Athena algorithm's interface method execute()
SG::ReadHandleKey< xAOD::EventInfo > m_inputKey
BeamSpotFixerAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
SG::WriteHandleKey< xAOD::EventInfo > m_outputKey
virtual StatusCode initialize() override final
Athena algorithm's interface method initialize()
virtual ~BeamSpotFixerAlg()=default
Destructor.
Primary Vertex Finder.
Forward declaration.
#define private