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
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
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: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
D3PD::TruthParticleProdVertexAssociationTool::get
virtual const xAOD::TruthVertex * get(const xAOD::TruthParticle &p)
Return the target object.
Definition: TruthParticleProdVertexAssociationTool.cxx:42
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:41
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:41
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
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