ATLAS Offline Software
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$
16 #ifndef TRUTHD3PDMAKER_TRUTHPARTICLEPRODVERTEXASSOCIATIONTOOL_H
17 #define TRUTHD3PDMAKER_TRUTHPARTICLEPRODVERTEXASSOCIATIONTOOL_H
18 
19 
22 #include "xAODTruth/TruthVertex.h"
23 
24 
25 namespace D3PD {
26 
27 
32  : public SingleAssociationTool<xAOD::TruthParticle, xAOD::TruthVertex>
33 {
34 public:
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
D3PD::TruthParticleProdVertexAssociationTool::Base
SingleAssociationTool< xAOD::TruthParticle, xAOD::TruthVertex > Base
Definition: TruthParticleProdVertexAssociationTool.h:35
D3PD::SingleAssociationTool
Type-safe wrapper for single associator tools.
Definition: SingleAssociationTool.h:133
SingleAssociationTool.h
Type-safe wrapper for single associator tools.
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
TruthVertex.h
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
D3PD::TruthParticleProdVertexAssociationTool
Associate from a TruthParticle to its GenVertex production vertex.
Definition: TruthParticleProdVertexAssociationTool.h:33
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TruthParticle.h