ATLAS Offline Software
GenEventVertexPositioner.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef BEAMEFFECTS_GENEVENTVERTEXPOSITIONER_H
6 #define BEAMEFFECTS_GENEVENTVERTEXPOSITIONER_H 1
7 
8 // FrameWork includes
9 #include "GaudiKernel/ToolHandle.h"
12 
13 
14 namespace Simulation {
15 
16  // forward declarations
17  class ILorentzVectorGenerator;
18 
29  class GenEventVertexPositioner : public extends<AthAlgTool, IGenEventManipulator> {
30 
31  public:
33  GenEventVertexPositioner( const std::string& t, const std::string& n, const IInterface* p );
34 
36  StatusCode initialize() override final;
37  StatusCode finalize() override final;
38 
40  StatusCode manipulate(HepMC::GenEvent& ge, const EventContext& ctx) const override final;
41 
42  private:
44  ToolHandleArray<ILorentzVectorGenerator> m_vertexShifters{this, "VertexShifters", {}};
45  };
46 
47 }
48 
49 #endif //> !BEAMEFFECTS_GENEVENTVERTEXPOSITIONER_H
Simulation::GenEventVertexPositioner::GenEventVertexPositioner
GenEventVertexPositioner(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: GenEventVertexPositioner.cxx:21
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
Simulation::GenEventVertexPositioner
Definition: GenEventVertexPositioner.h:29
Simulation::GenEventVertexPositioner::finalize
StatusCode finalize() override final
Athena algtool's Hooks.
Definition: GenEventVertexPositioner.cxx:42
Simulation::GenEventVertexPositioner::m_vertexShifters
ToolHandleArray< ILorentzVectorGenerator > m_vertexShifters
Vertex Shifters applied in the given order.
Definition: GenEventVertexPositioner.h:44
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Simulation::GenEventVertexPositioner::initialize
StatusCode initialize() override final
Athena algtool's Hooks.
Definition: GenEventVertexPositioner.cxx:29
IGenEventManipulator.h
Simulation::GenEventVertexPositioner::manipulate
StatusCode manipulate(HepMC::GenEvent &ge, const EventContext &ctx) const override final
modifies (displaces) the given GenEvent
Definition: GenEventVertexPositioner.cxx:49
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Simulation
Definition: BeamEffectsAlg.cxx:21