ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
BeamEffects
src
MatchingBkgVertexPositioner.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef BEAMEFFECTS_MATCHINGBKGVERTEXPOSITIONER_H
6
#define BEAMEFFECTS_MATCHINGBKGVERTEXPOSITIONER_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
HepMC_Interfaces/ILorentzVectorGenerator.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
xAODTracking/VertexContainer.h
"
12
#include "
GeneratorObjects/McEventCollection.h
"
13
14
// STL includes
15
#include <string>
16
17
namespace
Simulation
{
18
24
25
class
MatchingBkgVertexPositioner
26
:
public
extends<AthAlgTool, ILorentzVectorGenerator> {
27
28
public
:
29
MatchingBkgVertexPositioner
(
const
std::string &t,
const
std::string &n,
30
const
IInterface *p);
31
virtual
~MatchingBkgVertexPositioner
() =
default
;
32
33
StatusCode
initialize
() override final;
34
35
CLHEP
::HepLorentzVector *
generate
(
36
const
EventContext &ctx)
const
override final;
37
38
private
:
39
SG
::ReadHandleKey<
xAOD
::VertexContainer>
m_vertexContainerKey
{
40
this
,
"PrimaryVertexContainerName"
,
""
};
41
SG::ReadHandleKey<McEventCollection>
m_mcEventKey
{
42
this
,
"McEventCollectionName"
,
""
,
"Use MC collection (typically Bkg_TruthEvent) as source of vertex position"
};
43
};
44
45
}
// namespace Simulation
46
47
#endif
AthAlgTool.h
ILorentzVectorGenerator.h
McEventCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
VertexContainer.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
Simulation::MatchingBkgVertexPositioner::m_mcEventKey
SG::ReadHandleKey< McEventCollection > m_mcEventKey
Definition
MatchingBkgVertexPositioner.h:41
Simulation::MatchingBkgVertexPositioner::MatchingBkgVertexPositioner
MatchingBkgVertexPositioner(const std::string &t, const std::string &n, const IInterface *p)
Definition
MatchingBkgVertexPositioner.cxx:12
Simulation::MatchingBkgVertexPositioner::m_vertexContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
Definition
MatchingBkgVertexPositioner.h:39
Simulation::MatchingBkgVertexPositioner::initialize
StatusCode initialize() override final
Definition
MatchingBkgVertexPositioner.cxx:17
Simulation::MatchingBkgVertexPositioner::~MatchingBkgVertexPositioner
virtual ~MatchingBkgVertexPositioner()=default
const
CLHEP
STD'S.
Definition
CaloNoiseCompCondAlg.h:57
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
Simulation
Definition
BeamEffectsAlg.cxx:21
generate
Definition
generate.cxx:28
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0