#include <RecoEgamma/EgammaHLTAlgos/interface/EgammaHLTTrackIsolation.h>
Public Member Functions | |
EgammaHLTTrackIsolation (double egTrkIso_PtMin, double egTrkIso_ConeSize, double egTrkIso_ZSpan, double egTrkIso_RSpan, double egTrkIso_VetoConeSize, double egTrkIso_stripBarrel=0, double egTrkIso_stripEndcap=0) | |
std::pair< int, float > | electronIsolation (const reco::Track *const tr, const reco::TrackCollection *isoTracks) |
Get number of tracks and Pt sum of tracks inside an isolation cone for electrons. More... | |
std::pair< int, float > | electronIsolation (const reco::Track *const tr, const reco::ElectronCollection *allEle, const reco::TrackCollection *isoTracks) |
std::pair< int, float > | electronIsolation (const reco::Track *const tr, const reco::TrackCollection *isoTracks, GlobalPoint vertex) |
float | electronPtSum (const reco::Track *const tr, const reco::TrackCollection *isoTracks) |
Get Pt sum of tracks inside an isolation cone for electrons. More... | |
float | electronPtSum (const reco::Track *const tr, const reco::TrackCollection *isoTracks, GlobalPoint vertex) |
float | electronPtSum (const reco::Track *const tr, const reco::ElectronCollection *allEle, const reco::TrackCollection *isoTracks) |
int | electronTrackCount (const reco::Track *const tr, const reco::TrackCollection *isoTracks) |
Get number of tracks inside an isolation cone for electrons. More... | |
int | electronTrackCount (const reco::Track *const tr, const reco::TrackCollection *isoTracks, GlobalPoint vertex) |
double | getConeSize () |
Get isolation cone size. More... | |
double | getPtMin () |
Get pt cut for itracks. More... | |
double | getRspan () |
Get maximum transverse distance of ivertex from beam line. More... | |
double | getvetoConesize () |
Get veto cone size. More... | |
double | getZspan () |
Get maximum ivertex z-coordinate spread. More... | |
std::pair< int, float > | photonIsolation (const reco::RecoCandidate *const recocand, const reco::TrackCollection *isoTracks, bool useVertex) |
std::pair< int, float > | photonIsolation (const reco::RecoCandidate *const recocand, const reco::TrackCollection *isoTracks, GlobalPoint vertex) |
std::pair< int, float > | photonIsolation (const reco::RecoCandidate *const recocand, const reco::ElectronCollection *allEle, const reco::TrackCollection *isoTracks) |
float | photonPtSum (const reco::RecoCandidate *const recocand, const reco::TrackCollection *isoTracks, bool useVertex) |
float | photonPtSum (const reco::RecoCandidate *const recocand, const reco::TrackCollection *isoTracks, GlobalPoint vertex) |
float | photonPtSum (const reco::RecoCandidate *const recocand, const reco::ElectronCollection *allEle, const reco::TrackCollection *isoTracks) |
int | photonTrackCount (const reco::RecoCandidate *const recocand, const reco::TrackCollection *isoTracks, bool useVertex) |
int | photonTrackCount (const reco::RecoCandidate *const recocand, const reco::TrackCollection *isoTracks, GlobalPoint vertex) |
int | photonTrackCount (const reco::RecoCandidate *const recocand, const reco::ElectronCollection *allEle, const reco::TrackCollection *isoTracks) |
Private Member Functions | |
std::pair< int, float > | findIsoTracks (GlobalVector mom, GlobalPoint vtx, const reco::TrackCollection *isoTracks, bool isElectron, bool useVertex=true) |
std::pair< int, float > | findIsoTracksWithoutEle (GlobalVector mom, GlobalPoint vtx, const reco::ElectronCollection *allEle, const reco::TrackCollection *isoTracks) |
Private Attributes | |
double | conesize |
double | ptMin |
double | rspan |
double | stripBarrel |
double | stripEndcap |
double | vetoConesize |
double | zspan |
Description: Number of tracks inside an isolation cone, with con geometry defined by ptMin, conesize, rspan and zspan. Usage: <usage>
Definition at line 47 of file EgammaHLTTrackIsolation.h.
|
inline |
Definition at line 53 of file EgammaHLTTrackIsolation.h.
References electronIsolation(), photonIsolation(), and VerticesFromLeptons_cfi::useVertex.
std::pair< int, float > EgammaHLTTrackIsolation::electronIsolation | ( | const reco::Track *const | tr, |
const reco::TrackCollection * | isoTracks | ||
) |
Get number of tracks and Pt sum of tracks inside an isolation cone for electrons.
Definition at line 19 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), reco::TrackBase::momentum(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::vertex(), and extraflags_cff::vtx.
Referenced by EgammaHLTTrackIsolation(), electronPtSum(), and electronTrackCount().
std::pair< int, float > EgammaHLTTrackIsolation::electronIsolation | ( | const reco::Track *const | tr, |
const reco::ElectronCollection * | allEle, | ||
const reco::TrackCollection * | isoTracks | ||
) |
Definition at line 37 of file EgammaHLTTrackIsolation.cc.
References findIsoTracksWithoutEle(), reco::TrackBase::momentum(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::vertex(), and extraflags_cff::vtx.
std::pair< int, float > EgammaHLTTrackIsolation::electronIsolation | ( | const reco::Track *const | tr, |
const reco::TrackCollection * | isoTracks, | ||
GlobalPoint | vertex | ||
) |
Definition at line 28 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), reco::TrackBase::momentum(), AlCaHLTBitMon_ParallelJobs::p, extraflags_cff::vtx, and PV3DBase< T, PVType, FrameType >::z().
|
inline |
Get Pt sum of tracks inside an isolation cone for electrons.
Definition at line 110 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
Referenced by egHLT::OffHelper::fillIsolData().
|
inline |
Definition at line 112 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
inline |
Definition at line 114 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
inline |
Get number of tracks inside an isolation cone for electrons.
Definition at line 94 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
inline |
Definition at line 96 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
private |
Definition at line 82 of file EgammaHLTTrackIsolation.cc.
References PVValHelper::dz, PV3DBase< T, PVType, FrameType >::eta(), M_PI, ntrack, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), EnergyCorrector::pt, ptMin, dttmaxenums::R, rspan, mathSSE::sqrt(), stripBarrel, stripEndcap, vetoConesize, PV3DBase< T, PVType, FrameType >::z(), and zspan.
Referenced by electronIsolation(), getvetoConesize(), and photonIsolation().
|
private |
Definition at line 152 of file EgammaHLTTrackIsolation.cc.
References conesize, PVValHelper::dz, PV3DBase< T, PVType, FrameType >::eta(), M_PI, ntrack, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), EnergyCorrector::pt, ptMin, dttmaxenums::R, rspan, mathSSE::sqrt(), stripBarrel, stripEndcap, vetoConesize, PV3DBase< T, PVType, FrameType >::z(), and zspan.
Referenced by electronIsolation(), getvetoConesize(), and photonIsolation().
|
inline |
Get isolation cone size.
Definition at line 131 of file EgammaHLTTrackIsolation.h.
References conesize.
|
inline |
|
inline |
Get maximum transverse distance of ivertex from beam line.
Definition at line 135 of file EgammaHLTTrackIsolation.h.
References rspan.
|
inline |
Get veto cone size.
Definition at line 137 of file EgammaHLTTrackIsolation.h.
References findIsoTracks(), findIsoTracksWithoutEle(), reco::isElectron(), vetoConesize, and extraflags_cff::vtx.
|
inline |
Get maximum ivertex z-coordinate spread.
Definition at line 133 of file EgammaHLTTrackIsolation.h.
References zspan.
std::pair< int, float > EgammaHLTTrackIsolation::photonIsolation | ( | const reco::RecoCandidate *const | recocand, |
const reco::TrackCollection * | isoTracks, | ||
bool | useVertex | ||
) |
Get number of tracks and Pt sum of tracks inside an isolation cone for photons set useVertex=true to use PhotonCandidate vertex from EgammaPhotonVtxFinder set useVertex=false to consider all tracks for isolation
Definition at line 45 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), reco::RecoCandidate::superCluster(), reco::LeafCandidate::vertex(), and extraflags_cff::vtx.
Referenced by EgammaHLTTrackIsolation(), photonPtSum(), and photonTrackCount().
std::pair< int, float > EgammaHLTTrackIsolation::photonIsolation | ( | const reco::RecoCandidate *const | recocand, |
const reco::TrackCollection * | isoTracks, | ||
GlobalPoint | vertex | ||
) |
Definition at line 59 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), reco::RecoCandidate::superCluster(), extraflags_cff::vtx, and PV3DBase< T, PVType, FrameType >::z().
std::pair< int, float > EgammaHLTTrackIsolation::photonIsolation | ( | const reco::RecoCandidate *const | recocand, |
const reco::ElectronCollection * | allEle, | ||
const reco::TrackCollection * | isoTracks | ||
) |
Definition at line 73 of file EgammaHLTTrackIsolation.cc.
References findIsoTracksWithoutEle(), and reco::RecoCandidate::superCluster().
|
inline |
Get Pt sum of tracks inside an isolation cone for photons set useVertex=true to use Photon vertex from EgammaPhotonVtxFinder set useVertex=false to consider all tracks for isolation
Definition at line 120 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
Referenced by egHLT::OffHelper::fillIsolData(), and EgammaHLTPhotonTrackIsolationProducersRegional::produce().
|
inline |
Definition at line 122 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
|
inline |
Definition at line 124 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
|
inline |
Get number of tracks inside an isolation cone for photons set useVertex=true to use Photon vertex from EgammaPhotonVtxFinder set useVertex=false to consider all tracks for isolation
Definition at line 102 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
Referenced by egHLT::OffHelper::fillIsolData(), and EgammaHLTPhotonTrackIsolationProducersRegional::produce().
|
inline |
Definition at line 104 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
|
inline |
Definition at line 106 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
|
private |
Definition at line 146 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracksWithoutEle(), and getConeSize().
|
private |
Definition at line 145 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getPtMin().
|
private |
Definition at line 148 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getRspan().
|
private |
Definition at line 152 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), and findIsoTracksWithoutEle().
|
private |
Definition at line 153 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), and findIsoTracksWithoutEle().
|
private |
Definition at line 149 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getvetoConesize().
|
private |
Definition at line 147 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getZspan().