ATLAS Offline Software
Loading...
Searching...
No Matches
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
12#include <cstddef>
13#include <set>
14#include <vector>
15
16namespace 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
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.
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.
float getLastMeasurementQoverP(const xAOD::TrackParticle *tp)
return parameters for the last measurement for a GSF track particle
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...
std::size_t numberOfSiHits(const xAOD::TrackParticle *tp)
return the number of Si hits in the track particle
const xAOD::TrackParticle * getOriginalTrackParticle(const xAOD::Electron *el)
Helper function for getting the "Original" Track Particle (i.e before GSF) via the electron.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Electron_v1 Electron
Definition of the current "egamma version".