ATLAS Offline Software
Loading...
Searching...
No Matches
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
15
16
17namespace D3PD {
18
19
27 (const std::string& type,
28 const std::string& name,
29 const IInterface* parent)
30 : Base (type, name, parent)
31{
32}
33
34
43{
44 return p.prodVtx();
45}
46
47
48} // namespace D3PD
Associate from a TruthParticle to its vertex.
SingleAssociationTool< xAOD::TruthParticle, xAOD::TruthVertex > Base
virtual const xAOD::TruthVertex * get(const xAOD::TruthParticle &p)
Return the target object.
TruthParticleProdVertexAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Block filler tool for noisy FEB information.
TruthVertex_v1 TruthVertex
Typedef to implementation.
Definition TruthVertex.h:15
TruthParticle_v1 TruthParticle
Typedef to implementation.