#include <ElectronTkIsolation.h>
Public Member Functions | |
ElectronTkIsolation (double extRadius, double intRadius, double ptLow, double lip, double drb, const reco::TrackCollection *trackCollection, reco::TrackBase::Point beamPoint) | |
ElectronTkIsolation (double extRadius, double intRadiusBarrel, double intRadiusEndcap, double stripBarrel, double stripEndcap, double ptLow, double lip, double drb, const reco::TrackCollection *trackCollection, reco::TrackBase::Point beamPoint) | |
ElectronTkIsolation (double extRadius, double intRadiusBarrel, double intRadiusEndcap, double stripBarrel, double stripEndcap, double ptLow, double lip, double drb, const reco::TrackCollection *, reco::TrackBase::Point beamPoint, const std::string &) | |
std::pair< int, double > | getIso (const reco::GsfElectron *) const |
std::pair< int, double > | getIso (const reco::Track *) const |
int | getNumberTracks (const reco::GsfElectron *) const |
double | getPtTracks (const reco::GsfElectron *) const |
void | setDzOption (const std::string &s) |
~ElectronTkIsolation () | |
Private Member Functions | |
bool | passAlgo (const reco::TrackBase &trk) const |
void | setAlgosToReject () |
Private Attributes | |
std::vector< int > | algosToReject_ |
reco::TrackBase::Point | beamPoint_ |
double | drb_ |
int | dzOption_ |
double | extRadius_ |
double | intRadiusBarrel_ |
double | intRadiusEndcap_ |
double | lip_ |
double | ptLow_ |
double | stripBarrel_ |
double | stripEndcap_ |
const reco::TrackCollection * | trackCollection_ |
Definition at line 27 of file ElectronTkIsolation.h.
|
inline |
Definition at line 31 of file ElectronTkIsolation.h.
References setAlgosToReject(), and setDzOption().
Referenced by ElectronTkIsolation().
|
inline |
Definition at line 53 of file ElectronTkIsolation.h.
References ElectronTkIsolation(), electronEcalRecHitIsolationLcone_cfi::extRadius, electronEcalRecHitIsolationLcone_cfi::intRadiusBarrel, electronEcalRecHitIsolationLcone_cfi::intRadiusEndcap, btvTracks_cfi::lip, setAlgosToReject(), setDzOption(), AlCaHLTBitMon_QueryRunRegistry::string, electronTrackIsolationLcone_cfi::stripBarrel, electronTrackIsolationLcone_cfi::stripEndcap, and ~ElectronTkIsolation().
ElectronTkIsolation::ElectronTkIsolation | ( | double | extRadius, |
double | intRadiusBarrel, | ||
double | intRadiusEndcap, | ||
double | stripBarrel, | ||
double | stripEndcap, | ||
double | ptLow, | ||
double | lip, | ||
double | drb, | ||
const reco::TrackCollection * | trackCollection, | ||
reco::TrackBase::Point | beamPoint, | ||
const std::string & | dzOptionString | ||
) |
Definition at line 26 of file ElectronTkIsolation.cc.
References setAlgosToReject(), and setDzOption().
ElectronTkIsolation::~ElectronTkIsolation | ( | ) |
std::pair< int, double > ElectronTkIsolation::getIso | ( | const reco::GsfElectron * | electron | ) | const |
Definition at line 55 of file ElectronTkIsolation.cc.
References reco::GsfElectron::gsfTrack().
Referenced by getNumberTracks(), getPtTracks(), EgammaHLTElectronTrackIsolationProducers::produce(), and setDzOption().
std::pair< int, double > ElectronTkIsolation::getIso | ( | const reco::Track * | tmpTrack | ) | const |
Definition at line 60 of file ElectronTkIsolation.cc.
References funct::abs(), beamPoint_, egammaisolation::EgammaTrackSelector::bs, counter, HiRegitMuonDetachedTripletStep_cff::DeltaR, runTauDisplay::dr, drb_, egammaisolation::EgammaTrackSelector::dz, pfChMet_cfi::dzCut, dzOption_, electronHcalTowerIsolationLcone_cfi::intRadius, intRadiusBarrel_, intRadiusEndcap_, gedGsfElectrons_cfi::isBarrel, lip_, passAlgo(), ptLow_, digi_MixPreMix_cfi::strip, stripBarrel_, stripEndcap_, reco::TrackBase::vertex(), egammaisolation::EgammaTrackSelector::vtx, and egammaisolation::EgammaTrackSelector::vz.
int ElectronTkIsolation::getNumberTracks | ( | const reco::GsfElectron * | electron | ) | const |
Definition at line 109 of file ElectronTkIsolation.cc.
References getIso().
Referenced by EgammaElectronTkNumIsolationProducer::produce(), and setDzOption().
double ElectronTkIsolation::getPtTracks | ( | const reco::GsfElectron * | electron | ) | const |
Definition at line 115 of file ElectronTkIsolation.cc.
References getIso().
Referenced by GsfElectronAlgo::createElectron(), EgammaElectronTkIsolationProducer::produce(), and setDzOption().
|
private |
Definition at line 121 of file ElectronTkIsolation.cc.
References patPFMETCorrections_cff::algo, reco::TrackBase::algo(), and algosToReject_.
Referenced by getIso(), and setDzOption().
|
private |
Definition at line 129 of file ElectronTkIsolation.cc.
References algosToReject_, and reco::TrackBase::jetCoreRegionalStep.
Referenced by ElectronTkIsolation(), and setDzOption().
|
inline |
Definition at line 95 of file ElectronTkIsolation.h.
References egammaisolation::EgammaTrackSelector::bs, egammaisolation::EgammaTrackSelector::dz, dzOption_, getIso(), getNumberTracks(), getPtTracks(), passAlgo(), setAlgosToReject(), egammaisolation::EgammaTrackSelector::vtx, and egammaisolation::EgammaTrackSelector::vz.
Referenced by ElectronTkIsolation().
|
private |
Definition at line 120 of file ElectronTkIsolation.h.
Referenced by passAlgo(), and setAlgosToReject().
|
private |
Definition at line 122 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 119 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 124 of file ElectronTkIsolation.h.
Referenced by getIso(), and setDzOption().
|
private |
Definition at line 112 of file ElectronTkIsolation.h.
|
private |
Definition at line 113 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 114 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 118 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 117 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 115 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 116 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 121 of file ElectronTkIsolation.h.