ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
TruthD3PDMaker
src
TruthParticleProdVertexAssociationTool.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
14
15
16
#ifndef TRUTHD3PDMAKER_TRUTHPARTICLEPRODVERTEXASSOCIATIONTOOL_H
17
#define TRUTHD3PDMAKER_TRUTHPARTICLEPRODVERTEXASSOCIATIONTOOL_H
18
19
20
#include "
D3PDMakerUtils/SingleAssociationTool.h
"
21
#include "
xAODTruth/TruthParticle.h
"
22
#include "
xAODTruth/TruthVertex.h
"
23
24
25
namespace
D3PD
{
26
27
31
class
TruthParticleProdVertexAssociationTool
32
:
public
SingleAssociationTool
<xAOD::TruthParticle, xAOD::TruthVertex>
33
{
34
public
:
35
typedef
SingleAssociationTool<xAOD::TruthParticle, xAOD::TruthVertex>
Base
;
36
37
44
TruthParticleProdVertexAssociationTool
(
const
std::string&
type
,
45
const
std::string& name,
46
const
IInterface* parent);
47
48
55
virtual
const
xAOD::TruthVertex
*
get
(
const
xAOD::TruthParticle
& p);
56
};
57
58
59
}
// namespace D3PD
60
61
62
63
#endif
// not TRUTHD3PDMAKER_TRUTHPARTICLEPRODVERTEXASSOCIATIONTOOL_H
TruthParticle.h
SingleAssociationTool.h
Type-safe wrapper for single associator tools.
TruthVertex.h
D3PD::SingleAssociationTool< xAOD::TruthParticle, xAOD::TruthVertex >::SingleAssociationTool
SingleAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
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