Typedefs | |
typedef std::vector < edm::Handle< edm::ValueMap < reco::IsoDeposit > > > | IsoDepositMaps |
typedef std::vector < edm::Handle< edm::ValueMap < double > > > | IsoDepositVals |
Enumerations | |
enum | CutType { DETAIN = (1<<0), DPHIIN = (1<<1), SIGMAIETAIETA = (1<<2), HOE = (1<<3), OOEMOOP = (1<<4), D0VTX = (1<<5), DZVTX = (1<<6), ISO = (1<<7), VTXFIT = (1<<8), MHITS = (1<<9) } |
enum | TriggerWorkingPoint { TRIGGERTIGHT, TRIGGERWP70 } |
enum | WorkingPoint { VETO, LOOSE, MEDIUM, TIGHT } |
Functions | |
bool | PassEoverPCuts (const reco::GsfElectronRef &ele) |
bool | PassEoverPCuts (const reco::GsfElectron &ele) |
bool | PassEoverPCuts (const float eta, const float eopin, const float fbrem) |
bool | PassTriggerCuts (const TriggerWorkingPoint triggerWorkingPoint, const reco::GsfElectronRef &ele) |
bool | PassTriggerCuts (const TriggerWorkingPoint triggerWorkingPoint, const reco::GsfElectron &ele) |
bool | PassTriggerCuts (const TriggerWorkingPoint triggerWorkingPoint, const bool isEB, const float pt, const float dEtaIn, const float dPhiIn, const float sigmaIEtaIEta, const float hoe, const float trackIso, const float ecalIso, const float hcalIso) |
bool | PassWP (const WorkingPoint workingPoint, const reco::GsfElectronRef &ele, const edm::Handle< reco::ConversionCollection > &conversions, const reco::BeamSpot &beamspot, const edm::Handle< reco::VertexCollection > &vtxs, const double &iso_ch, const double &iso_em, const double &iso_nh, const double &rho, ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget) |
bool | PassWP (const WorkingPoint workingPoint, const reco::GsfElectron &ele, const edm::Handle< reco::ConversionCollection > &conversions, const reco::BeamSpot &beamspot, const edm::Handle< reco::VertexCollection > &vtxs, const double &iso_ch, const double &iso_em, const double &iso_nh, const double &rho, ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget) |
bool | PassWP (WorkingPoint workingPoint, const bool isEB, const float pt, const float eta, const float dEtaIn, const float dPhiIn, const float sigmaIEtaIEta, const float hoe, const float ooemoop, const float d0vtx, const float dzvtx, const float iso_ch, const float iso_em, const float iso_nh, const bool vtxFitConversion, const unsigned int mHits, const double rho, ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget) |
void | PrintDebug (unsigned int mask) |
unsigned int | TestWP (const WorkingPoint workingPoint, const reco::GsfElectronRef &ele, const edm::Handle< reco::ConversionCollection > &conversions, const reco::BeamSpot &beamspot, const edm::Handle< reco::VertexCollection > &vtxs, const double &iso_ch, const double &iso_em, const double &iso_nh, const double &rho, ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget) |
unsigned int | TestWP (const WorkingPoint workingPoint, const reco::GsfElectron &ele, const edm::Handle< reco::ConversionCollection > &conversions, const reco::BeamSpot &beamspot, const edm::Handle< reco::VertexCollection > &vtxs, const double &iso_ch, const double &iso_em, const double &iso_nh, const double &rho, ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget) |
unsigned int | TestWP (WorkingPoint workingPoint, const bool isEB, const float pt, const float eta, const float dEtaIn, const float dPhiIn, const float sigmaIEtaIEta, const float hoe, const float ooemoop, const float d0vtx, const float dzvtx, const float iso_ch, const float iso_em, const float iso_nh, const bool vtxFitConversion, const unsigned int mHits, const double rho, ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget) |
Variables | |
static const unsigned int | PassAll = DETAIN | DPHIIN | SIGMAIETAIETA | HOE | OOEMOOP | D0VTX | DZVTX | ISO | VTXFIT | MHITS |
typedef std::vector< edm::Handle< edm::ValueMap<reco::IsoDeposit> > > EgammaCutBasedEleId::IsoDepositMaps |
Definition at line 27 of file EGammaCutBasedEleId.h.
typedef std::vector< edm::Handle< edm::ValueMap<double> > > EgammaCutBasedEleId::IsoDepositVals |
Definition at line 28 of file EGammaCutBasedEleId.h.
Enumerator | |
---|---|
DETAIN | |
DPHIIN | |
SIGMAIETAIETA | |
HOE | |
OOEMOOP | |
D0VTX | |
DZVTX | |
ISO | |
VTXFIT | |
MHITS |
Definition at line 50 of file EGammaCutBasedEleId.h.
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const reco::GsfElectronRef & | ele | ) |
Definition at line 80 of file EGammaCutBasedEleId.cc.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze(), and PassEoverPCuts().
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const reco::GsfElectron & | ele | ) |
Definition at line 67 of file EGammaCutBasedEleId.cc.
References reco::GsfElectron::eSuperClusterOverP(), eta(), reco::GsfElectron::fbrem(), PassEoverPCuts(), and reco::GsfElectron::superCluster().
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const float | eta, |
const float | eopin, | ||
const float | fbrem | ||
) |
Definition at line 212 of file EGammaCutBasedEleId.cc.
bool EgammaCutBasedEleId::PassTriggerCuts | ( | const TriggerWorkingPoint | triggerWorkingPoint, |
const reco::GsfElectronRef & | ele | ||
) |
Definition at line 62 of file EGammaCutBasedEleId.cc.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze(), and PassTriggerCuts().
bool EgammaCutBasedEleId::PassTriggerCuts | ( | const TriggerWorkingPoint | triggerWorkingPoint, |
const reco::GsfElectron & | ele | ||
) |
Definition at line 43 of file EGammaCutBasedEleId.cc.
References reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::dr03HcalTowerSumEt(), reco::GsfElectron::dr03TkSumPt(), reco::GsfElectron::hadronicOverEm(), reco::GsfElectron::isEB(), PassTriggerCuts(), EnergyCorrector::pt, reco::LeafCandidate::pt(), and reco::GsfElectron::sigmaIetaIeta().
bool EgammaCutBasedEleId::PassTriggerCuts | ( | const TriggerWorkingPoint | triggerWorkingPoint, |
const bool | isEB, | ||
const float | pt, | ||
const float | dEtaIn, | ||
const float | dPhiIn, | ||
const float | sigmaIEtaIEta, | ||
const float | hoe, | ||
const float | trackIso, | ||
const float | ecalIso, | ||
const float | hcalIso | ||
) |
Definition at line 163 of file EGammaCutBasedEleId.cc.
References gather_cfg::cout, customizeTrackingMonitorSeedNumber::idx, TRIGGERTIGHT, and TRIGGERWP70.
bool EgammaCutBasedEleId::PassWP | ( | const WorkingPoint | workingPoint, |
const reco::GsfElectronRef & | ele, | ||
const edm::Handle< reco::ConversionCollection > & | conversions, | ||
const reco::BeamSpot & | beamspot, | ||
const edm::Handle< reco::VertexCollection > & | vtxs, | ||
const double & | iso_ch, | ||
const double & | iso_em, | ||
const double & | iso_nh, | ||
const double & | rho, | ||
ElectronEffectiveArea::ElectronEffectiveAreaTarget | EAtarget | ||
) |
Definition at line 29 of file EGammaCutBasedEleId.cc.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze().
bool EgammaCutBasedEleId::PassWP | ( | const WorkingPoint | workingPoint, |
const reco::GsfElectron & | ele, | ||
const edm::Handle< reco::ConversionCollection > & | conversions, | ||
const reco::BeamSpot & | beamspot, | ||
const edm::Handle< reco::VertexCollection > & | vtxs, | ||
const double & | iso_ch, | ||
const double & | iso_em, | ||
const double & | iso_nh, | ||
const double & | rho, | ||
ElectronEffectiveArea::ElectronEffectiveAreaTarget | EAtarget | ||
) |
Definition at line 9 of file EGammaCutBasedEleId.cc.
References PassAll, and TestWP().
bool EgammaCutBasedEleId::PassWP | ( | WorkingPoint | workingPoint, |
const bool | isEB, | ||
const float | pt, | ||
const float | eta, | ||
const float | dEtaIn, | ||
const float | dPhiIn, | ||
const float | sigmaIEtaIEta, | ||
const float | hoe, | ||
const float | ooemoop, | ||
const float | d0vtx, | ||
const float | dzvtx, | ||
const float | iso_ch, | ||
const float | iso_em, | ||
const float | iso_nh, | ||
const bool | vtxFitConversion, | ||
const unsigned int | mHits, | ||
const double | rho, | ||
ElectronEffectiveArea::ElectronEffectiveAreaTarget | EAtarget | ||
) |
Definition at line 151 of file EGammaCutBasedEleId.cc.
References PassAll, and TestWP().
void EgammaCutBasedEleId::PrintDebug | ( | unsigned int | mask | ) |
Definition at line 335 of file EGammaCutBasedEleId.cc.
References HWWFunctions::wp2012::D0VTX, HWWFunctions::wp2012::DETAIN, HWWFunctions::wp2012::DPHIIN, HWWFunctions::wp2012::DZVTX, HWWFunctions::wp2012::HOE, HWWFunctions::wp2012::ISO, HWWFunctions::wp2012::MHITS, HWWFunctions::wp2012::OOEMOOP, HWWFunctions::wp2012::SIGMAIETAIETA, and HWWFunctions::wp2012::VTXFIT.
unsigned int EgammaCutBasedEleId::TestWP | ( | const WorkingPoint | workingPoint, |
const reco::GsfElectronRef & | ele, | ||
const edm::Handle< reco::ConversionCollection > & | conversions, | ||
const reco::BeamSpot & | beamspot, | ||
const edm::Handle< reco::VertexCollection > & | vtxs, | ||
const double & | iso_ch, | ||
const double & | iso_em, | ||
const double & | iso_nh, | ||
const double & | rho, | ||
ElectronEffectiveArea::ElectronEffectiveAreaTarget | EAtarget | ||
) |
Definition at line 135 of file EGammaCutBasedEleId.cc.
Referenced by PassWP(), and TestWP().
unsigned int EgammaCutBasedEleId::TestWP | ( | const WorkingPoint | workingPoint, |
const reco::GsfElectron & | ele, | ||
const edm::Handle< reco::ConversionCollection > & | conversions, | ||
const reco::BeamSpot & | beamspot, | ||
const edm::Handle< reco::VertexCollection > & | vtxs, | ||
const double & | iso_ch, | ||
const double & | iso_em, | ||
const double & | iso_nh, | ||
const double & | rho, | ||
ElectronEffectiveArea::ElectronEffectiveAreaTarget | EAtarget | ||
) |
Definition at line 85 of file EGammaCutBasedEleId.cc.
References reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::eSuperClusterOverP(), eta(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hadronicOverEm(), ConversionTools::hasMatchedConversion(), reco::GsfElectron::isEB(), reco::HitPattern::MISSING_INNER_HITS, reco::BeamSpot::position(), EnergyCorrector::pt, reco::LeafCandidate::pt(), reco::GsfElectron::sigmaIetaIeta(), reco::GsfElectron::superCluster(), and TestWP().
unsigned int EgammaCutBasedEleId::TestWP | ( | WorkingPoint | workingPoint, |
const bool | isEB, | ||
const float | pt, | ||
const float | eta, | ||
const float | dEtaIn, | ||
const float | dPhiIn, | ||
const float | sigmaIEtaIEta, | ||
const float | hoe, | ||
const float | ooemoop, | ||
const float | d0vtx, | ||
const float | dzvtx, | ||
const float | iso_ch, | ||
const float | iso_em, | ||
const float | iso_nh, | ||
const bool | vtxFitConversion, | ||
const unsigned int | mHits, | ||
const double | rho, | ||
ElectronEffectiveArea::ElectronEffectiveAreaTarget | EAtarget | ||
) |
Definition at line 219 of file EGammaCutBasedEleId.cc.
References gather_cfg::cout, HWWFunctions::wp2012::D0VTX, HWWFunctions::wp2012::DETAIN, HWWFunctions::wp2012::DPHIIN, HWWFunctions::wp2012::DZVTX, ElectronEffectiveArea::GetElectronEffectiveArea(), HWWFunctions::wp2012::HOE, customizeTrackingMonitorSeedNumber::idx, HWWFunctions::wp2012::ISO, ElectronEffectiveArea::kEleGammaAndNeutralHadronIso03, LOOSE, bookConverter::max, MEDIUM, HWWFunctions::wp2012::MHITS, HWWFunctions::wp2012::OOEMOOP, HWWFunctions::wp2012::SIGMAIETAIETA, TIGHT, funct::true, VETO, and HWWFunctions::wp2012::VTXFIT.