ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
BeamEffects
src
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"
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "
HepMC_Interfaces/IGenEventManipulator.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
AthAlgTool.h
IGenEventManipulator.h
Simulation::GenEventVertexPositioner::finalize
StatusCode finalize() override final
Athena algtool's Hooks.
Definition
GenEventVertexPositioner.cxx:42
Simulation::GenEventVertexPositioner::GenEventVertexPositioner
GenEventVertexPositioner(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition
GenEventVertexPositioner.cxx:21
Simulation::GenEventVertexPositioner::initialize
StatusCode initialize() override final
Athena algtool's Hooks.
Definition
GenEventVertexPositioner.cxx:29
Simulation::GenEventVertexPositioner::m_vertexShifters
ToolHandleArray< ILorentzVectorGenerator > m_vertexShifters
Vertex Shifters applied in the given order.
Definition
GenEventVertexPositioner.h:44
Simulation::GenEventVertexPositioner::manipulate
StatusCode manipulate(HepMC::GenEvent &ge, const EventContext &ctx) const override final
modifies (displaces) the given GenEvent
Definition
GenEventVertexPositioner.cxx:49
Simulation::ILorentzVectorGenerator
Interface definition for an AthenaTool creating a HepLorentzVector.
Definition
ILorentzVectorGenerator.h:28
HepMC::GenEvent
HepMC3::GenEvent GenEvent
Definition
GenEvent.h:39
Simulation
Definition
BeamEffectsAlg.cxx:21
Generated on
for ATLAS Offline Software by
1.17.0