ATLAS Offline Software
PhysicsAnalysis
D3PDMaker
TruthD3PDMaker
src
TruthParticleProdVertexAssociationTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id$
14
#include "
TruthParticleProdVertexAssociationTool.h
"
15
16
17
namespace
D3PD
{
18
19
26
TruthParticleProdVertexAssociationTool::TruthParticleProdVertexAssociationTool
27
(
const
std::string&
type
,
28
const
std::string&
name
,
29
const
IInterface*
parent
)
30
:
Base
(
type
,
name
,
parent
)
31
{
32
}
33
34
41
const
xAOD::TruthVertex
*
42
TruthParticleProdVertexAssociationTool::get
(
const
xAOD::TruthParticle
&
p
)
43
{
44
return
p
.prodVtx();
45
}
46
47
48
}
// namespace D3PD
python.PerfMonSerializer.p
def p
Definition:
PerfMonSerializer.py:743
D3PD::SingleAssociationTool< xAOD::TruthParticle, xAOD::TruthVertex >
D3PD
Block filler tool for noisy FEB information.
Definition:
InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
D3PD::TruthParticleProdVertexAssociationTool::get
virtual const xAOD::TruthVertex * get(const xAOD::TruthParticle &p)
Return the target object.
Definition:
TruthParticleProdVertexAssociationTool.cxx:42
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:41
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
D3PD::TruthParticleProdVertexAssociationTool::TruthParticleProdVertexAssociationTool
TruthParticleProdVertexAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition:
TruthParticleProdVertexAssociationTool.cxx:27
xAOD::TruthVertex_v1
Class describing a truth vertex in the MC record.
Definition:
TruthVertex_v1.h:41
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
TruthParticleProdVertexAssociationTool.h
Associate from a TruthParticle to its vertex.
Generated on Thu Jul 4 2024 21:32:09 for ATLAS Offline Software by
1.8.18