#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 42 of file EgammaHLTTrackIsolation.h.
|
inline |
Definition at line 44 of file EgammaHLTTrackIsolation.h.
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 18 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), reco::TrackBase::momentum(), AlCaHLTBitMon_ParallelJobs::p, and reco::TrackBase::vertex().
Referenced by 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 36 of file EgammaHLTTrackIsolation.cc.
References findIsoTracksWithoutEle(), reco::TrackBase::momentum(), AlCaHLTBitMon_ParallelJobs::p, and reco::TrackBase::vertex().
std::pair< int, float > EgammaHLTTrackIsolation::electronIsolation | ( | const reco::Track *const | tr, |
const reco::TrackCollection * | isoTracks, | ||
GlobalPoint | vertex | ||
) |
Definition at line 26 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), reco::TrackBase::momentum(), AlCaHLTBitMon_ParallelJobs::p, and PV3DBase< T, PVType, FrameType >::z().
|
inline |
Get Pt sum of tracks inside an isolation cone for electrons.
Definition at line 119 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
Referenced by egHLT::OffHelper::fillIsolData().
|
inline |
Definition at line 122 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
inline |
Definition at line 125 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
inline |
Get number of tracks inside an isolation cone for electrons.
Definition at line 92 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
inline |
Definition at line 95 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
private |
Definition at line 78 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(), DiDispStaMuonMonitor_cfi::pt, ptMin, dttmaxenums::R, rspan, mathSSE::sqrt(), stripBarrel, stripEndcap, vetoConesize, PV3DBase< T, PVType, FrameType >::z(), and zspan.
Referenced by electronIsolation(), and photonIsolation().
|
private |
Definition at line 146 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(), DiDispStaMuonMonitor_cfi::pt, ptMin, dttmaxenums::R, rspan, mathSSE::sqrt(), stripBarrel, stripEndcap, vetoConesize, PV3DBase< T, PVType, FrameType >::z(), and zspan.
Referenced by electronIsolation(), and photonIsolation().
|
inline |
Get isolation cone size.
Definition at line 151 of file EgammaHLTTrackIsolation.h.
References conesize.
|
inline |
|
inline |
Get maximum transverse distance of ivertex from beam line.
Definition at line 155 of file EgammaHLTTrackIsolation.h.
References rspan.
|
inline |
Get veto cone size.
Definition at line 157 of file EgammaHLTTrackIsolation.h.
References vetoConesize.
|
inline |
Get maximum ivertex z-coordinate spread.
Definition at line 153 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(), and reco::LeafCandidate::vertex().
Referenced by photonPtSum(), and photonTrackCount().
std::pair< int, float > EgammaHLTTrackIsolation::photonIsolation | ( | const reco::RecoCandidate *const | recocand, |
const reco::TrackCollection * | isoTracks, | ||
GlobalPoint | vertex | ||
) |
Definition at line 58 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), reco::RecoCandidate::superCluster(), 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 70 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 134 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
Referenced by egHLT::OffHelper::fillIsolData(), and EgammaHLTPhotonTrackIsolationProducersRegional::produce().
|
inline |
Definition at line 137 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
|
inline |
Definition at line 142 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 107 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
|
inline |
Definition at line 112 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
|
private |
Definition at line 173 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracksWithoutEle(), and getConeSize().
|
private |
Definition at line 172 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getPtMin().
|
private |
Definition at line 175 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getRspan().
|
private |
Definition at line 179 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), and findIsoTracksWithoutEle().
|
private |
Definition at line 180 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), and findIsoTracksWithoutEle().
|
private |
Definition at line 176 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getvetoConesize().
|
private |
Definition at line 174 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getZspan().