ATLAS Offline Software
ElectronTrackParticleAssociationTool.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 EGAMMAD3PDMAKER_ELECTRONTRACKPARTICLEASSOCIATIONTOOL_H
17 #define EGAMMAD3PDMAKER_ELECTRONTRACKPARTICLEASSOCIATIONTOOL_H
18 
19 
21 #include "xAODEgamma/Electron.h"
23 
24 
25 namespace D3PD {
26 
27 
32  : public SingleAssociationTool<xAOD::Electron, xAOD::TrackParticle>
33 {
34 public:
36 
37 
44  ElectronTrackParticleAssociationTool (const std::string& type,
45  const std::string& name,
46  const IInterface* parent);
47 
48 
55  virtual const xAOD::TrackParticle* get (const xAOD::Electron& p);
56 };
57 
58 
59 } // namespace D3PD
60 
61 
62 
63 #endif // not EGAMMAD3PDMAKER_ELECTRONTRACKPARTICLEASSOCIATIONTOOL_H
D3PD::ElectronTrackParticleAssociationTool
Associate from an egamma to its TrackParticle.
Definition: ElectronTrackParticleAssociationTool.h:33
D3PD::SingleAssociationTool
Type-safe wrapper for single associator tools.
Definition: SingleAssociationTool.h:133
D3PD::ElectronTrackParticleAssociationTool::get
virtual const xAOD::TrackParticle * get(const xAOD::Electron &p)
Return the target object.
Definition: ElectronTrackParticleAssociationTool.cxx:42
SingleAssociationTool.h
Type-safe wrapper for single associator tools.
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PD::ElectronTrackParticleAssociationTool::ElectronTrackParticleAssociationTool
ElectronTrackParticleAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: ElectronTrackParticleAssociationTool.cxx:27
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
xAOD::Electron_v1
Definition: Electron_v1.h:34
D3PD::ElectronTrackParticleAssociationTool::Base
SingleAssociationTool< xAOD::Electron, xAOD::TrackParticle > Base
Definition: ElectronTrackParticleAssociationTool.h:35
TrackParticle.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Electron.h
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43