#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 48 of file EgammaHLTTrackIsolation.h.
|
inline |
Definition at line 54 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 20 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), reco::TrackBase::momentum(), L1TEmulatorMonitor_cff::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 38 of file EgammaHLTTrackIsolation.cc.
References findIsoTracksWithoutEle(), reco::TrackBase::momentum(), L1TEmulatorMonitor_cff::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 29 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), reco::TrackBase::momentum(), L1TEmulatorMonitor_cff::p, and PV3DBase< T, PVType, FrameType >::z().
|
inline |
Get Pt sum of tracks inside an isolation cone for electrons.
Definition at line 111 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
Referenced by egHLT::OffHelper::fillIsolData(), and EgammaHLTElectronTrackIsolationProducers::produce().
|
inline |
Definition at line 113 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
inline |
Definition at line 115 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
inline |
Get number of tracks inside an isolation cone for electrons.
Definition at line 95 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
inline |
Definition at line 97 of file EgammaHLTTrackIsolation.h.
References electronIsolation().
|
private |
Definition at line 83 of file EgammaHLTTrackIsolation.cc.
References PV3DBase< T, PVType, FrameType >::eta(), M_PI, ntrack, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), 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 153 of file EgammaHLTTrackIsolation.cc.
References conesize, PV3DBase< T, PVType, FrameType >::eta(), M_PI, ntrack, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), 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 132 of file EgammaHLTTrackIsolation.h.
References conesize.
|
inline |
|
inline |
Get maximum transverse distance of ivertex from beam line.
Definition at line 136 of file EgammaHLTTrackIsolation.h.
References rspan.
|
inline |
Get veto cone size.
Definition at line 138 of file EgammaHLTTrackIsolation.h.
References vetoConesize.
|
inline |
Get maximum ivertex z-coordinate spread.
Definition at line 134 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 46 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), pos, 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 60 of file EgammaHLTTrackIsolation.cc.
References findIsoTracks(), pos, 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 74 of file EgammaHLTTrackIsolation.cc.
References findIsoTracksWithoutEle(), pos, 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 121 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
Referenced by egHLT::OffHelper::fillIsolData(), and EgammaHLTPhotonTrackIsolationProducersRegional::produce().
|
inline |
Definition at line 123 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
|
inline |
Definition at line 125 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 103 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
Referenced by egHLT::OffHelper::fillIsolData(), and EgammaHLTPhotonTrackIsolationProducersRegional::produce().
|
inline |
Definition at line 105 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
|
inline |
Definition at line 107 of file EgammaHLTTrackIsolation.h.
References photonIsolation().
|
private |
Definition at line 147 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracksWithoutEle(), and getConeSize().
|
private |
Definition at line 146 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getPtMin().
|
private |
Definition at line 149 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getRspan().
|
private |
Definition at line 153 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), and findIsoTracksWithoutEle().
|
private |
Definition at line 154 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), and findIsoTracksWithoutEle().
|
private |
Definition at line 150 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getvetoConesize().
|
private |
Definition at line 148 of file EgammaHLTTrackIsolation.h.
Referenced by findIsoTracks(), findIsoTracksWithoutEle(), and getZspan().