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
D3PD::SingleAssociationTool< xAOD::TruthParticle, xAOD::TruthVertex >
D3PD
Block filler tool for noisy FEB information.
Definition:
CaloCellDetailsFillerTool.cxx:29
D3PD::TruthParticleProdVertexAssociationTool::get
virtual const xAOD::TruthVertex * get(const xAOD::TruthParticle &p)
Return the target object.
Definition:
TruthParticleProdVertexAssociationTool.cxx:42
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
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:37
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
TruthParticleProdVertexAssociationTool.h
Associate from a TruthParticle to its vertex.
Generated on Tue Dec 24 2024 21:22:17 for ATLAS Offline Software by
1.8.18