#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 19 of file ElectronTkIsolation.h.
|
inline |
Definition at line 22 of file ElectronTkIsolation.h.
References setAlgosToReject(), and setDzOption().
|
inline |
Definition at line 43 of file ElectronTkIsolation.h.
References setAlgosToReject(), and setDzOption().
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 14 of file ElectronTkIsolation.cc.
References setAlgosToReject(), and setDzOption().
ElectronTkIsolation::~ElectronTkIsolation | ( | ) |
Definition at line 39 of file ElectronTkIsolation.cc.
std::pair< int, double > ElectronTkIsolation::getIso | ( | const reco::GsfElectron * | electron | ) | const |
Definition at line 41 of file ElectronTkIsolation.cc.
References HPSPFTauProducerPuppi_cfi::electron.
Referenced by getNumberTracks(), getPtTracks(), and EgammaHLTElectronTrackIsolationProducers::produce().
std::pair< int, double > ElectronTkIsolation::getIso | ( | const reco::Track * | tmpTrack | ) | const |
Definition at line 46 of file ElectronTkIsolation.cc.
References funct::abs(), beamPoint_, egammaisolation::EgammaTrackSelector::bs, counter, electronAnalyzer_cfi::DeltaR, flavorHistoryFilter_cfi::dr, drb_, egammaisolation::EgammaTrackSelector::dz, TrackSplittingMonitor_cfi::dzCut, dzOption_, electronHcalTowerIsolationLcone_cfi::intRadius, intRadiusBarrel_, intRadiusEndcap_, PixelPluginsPhase0_cfi::isBarrel, lip_, passAlgo(), ptLow_, digitizers_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 100 of file ElectronTkIsolation.cc.
References HPSPFTauProducerPuppi_cfi::electron, and getIso().
double ElectronTkIsolation::getPtTracks | ( | const reco::GsfElectron * | electron | ) | const |
Definition at line 105 of file ElectronTkIsolation.cc.
References HPSPFTauProducerPuppi_cfi::electron, and getIso().
Referenced by EgammaElectronTkIsolationProducer::produce().
|
private |
Definition at line 107 of file ElectronTkIsolation.cc.
References reco::TrackBase::algo(), algosToReject_, and reco::TrackBase::originalAlgo().
Referenced by getIso().
|
private |
Definition at line 117 of file ElectronTkIsolation.cc.
References algosToReject_, reco::TrackBase::jetCoreRegionalStep, and jetUpdater_cfi::sort.
Referenced by ElectronTkIsolation().
|
inline |
Definition at line 84 of file ElectronTkIsolation.h.
References egammaisolation::EgammaTrackSelector::bs, egammaisolation::EgammaTrackSelector::dz, dzOption_, alignCSCRings::s, egammaisolation::EgammaTrackSelector::vtx, and egammaisolation::EgammaTrackSelector::vz.
Referenced by ElectronTkIsolation().
|
private |
Definition at line 113 of file ElectronTkIsolation.h.
Referenced by passAlgo(), and setAlgosToReject().
|
private |
Definition at line 115 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 112 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 117 of file ElectronTkIsolation.h.
Referenced by getIso(), and setDzOption().
|
private |
Definition at line 105 of file ElectronTkIsolation.h.
|
private |
Definition at line 106 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 107 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 111 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 110 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 108 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 109 of file ElectronTkIsolation.h.
Referenced by getIso().
|
private |
Definition at line 114 of file ElectronTkIsolation.h.