ATLAS Offline Software
Loading...
Searching...
No Matches
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$
14
15
16#ifndef EGAMMAD3PDMAKER_ELECTRONTRACKPARTICLEASSOCIATIONTOOL_H
17#define EGAMMAD3PDMAKER_ELECTRONTRACKPARTICLEASSOCIATIONTOOL_H
18
19
21#include "xAODEgamma/Electron.h"
23
24
25namespace D3PD {
26
27
32 : public SingleAssociationTool<xAOD::Electron, xAOD::TrackParticle>
33{
34public:
36
37
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
Type-safe wrapper for single associator tools.
ElectronTrackParticleAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
SingleAssociationTool< xAOD::Electron, xAOD::TrackParticle > Base
virtual const xAOD::TrackParticle * get(const xAOD::Electron &p)
Return the target object.
SingleAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Block filler tool for noisy FEB information.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Electron_v1 Electron
Definition of the current "egamma version".