ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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$
12
13
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
TruthParticleProdVertexAssociationTool.h
Associate from a TruthParticle to its vertex.
D3PD::TruthParticleProdVertexAssociationTool::Base
SingleAssociationTool< xAOD::TruthParticle, xAOD::TruthVertex > Base
Definition
TruthParticleProdVertexAssociationTool.h:35
D3PD::TruthParticleProdVertexAssociationTool::get
virtual const xAOD::TruthVertex * get(const xAOD::TruthParticle &p)
Return the target object.
Definition
TruthParticleProdVertexAssociationTool.cxx:42
D3PD::TruthParticleProdVertexAssociationTool::TruthParticleProdVertexAssociationTool
TruthParticleProdVertexAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
TruthParticleProdVertexAssociationTool.cxx:27
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
xAOD::TruthVertex
TruthVertex_v1 TruthVertex
Typedef to implementation.
Definition
TruthVertex.h:15
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
type
Generated on
for ATLAS Offline Software by
1.17.0