ATLAS Offline Software
ElectronxAODHelpers.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: ElectronxAODHelpers.h 768704 2016-08-18 23:43:08Z christos $
8 #ifndef XAOD_ELECTRONXAODHELPERS_H
9 #define XAOD_ELECTRONXAODHELPERS_H
10 #include "xAODEgamma/ElectronFwd.h"
12 #include <cstddef>
13 #include <set>
14 #include <vector>
15 
16 namespace xAOD {
17 
18  namespace EgammaHelpers{
19 
22 
25 
28 
32  //isolation interface,
34  std::set<const xAOD::TrackParticle*> getTrackParticles(const xAOD::Electron* el,
35  bool useBremAssoc = true, bool allParticles = true);
36 
37 
42  std::vector<const xAOD::TrackParticle*> getTrackParticlesVec(const xAOD::Electron* el,
43  bool useBremAssoc = true, bool allParticles = true);
44 
45 
47  std::size_t numberOfSiHits(const xAOD::TrackParticle *tp);
48 
49  } //namaspace EgammaHelpers
50 
51 } // namespace xAOD
52 
53 #endif // XAOD_ELECTRONXAODHELPERS_H
xAOD::EgammaHelpers::getLastMeasurementQoverP
float getLastMeasurementQoverP(const xAOD::TrackParticle *tp)
return parameters for the last measurement for a GSF track particle
Definition: ElectronxAODHelpers.cxx:31
ParticleTest.tp
tp
Definition: ParticleTest.py:25
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::EgammaHelpers::getTrackParticles
std::set< const xAOD::TrackParticle * > getTrackParticles(const xAOD::Egamma *eg, bool useBremAssoc=true, bool allParticles=true)
Return a list of all or only the best TrackParticle associated to the object.
Definition: EgammaxAODHelpers.cxx:120
xAOD::EgammaHelpers::getTrackParticlesVec
std::vector< const xAOD::TrackParticle * > getTrackParticlesVec(const xAOD::Egamma *eg, bool useBremAssoc=true, bool allParticles=true)
Return a list of all or only the best TrackParticle associated to the object.
Definition: EgammaxAODHelpers.cxx:141
ElectronFwd.h
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
xAOD::EgammaHelpers::getOriginalTrackParticleFromGSF
const xAOD::TrackParticle * getOriginalTrackParticleFromGSF(const xAOD::TrackParticle *trkPar)
Helper function for getting the "Original" Track Particle (i.e before GSF) via the GSF Track Particle...
Definition: ElectronxAODHelpers.cxx:22
xAOD::EgammaHelpers::numberOfSiHits
std::size_t numberOfSiHits(const xAOD::TrackParticle *tp)
return the number of Si hits in the track particle
Definition: ElectronxAODHelpers.cxx:66
xAOD::Electron_v1
Definition: Electron_v1.h:34
TrackParticleFwd.h
xAOD::EgammaHelpers::getOriginalTrackParticle
const xAOD::TrackParticle * getOriginalTrackParticle(const xAOD::Electron *el)
Helper function for getting the "Original" Track Particle (i.e before GSF) via the electron.
Definition: ElectronxAODHelpers.cxx:11
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43