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 float eta, const float eopin, const float fbrem) |
bool | PassEoverPCuts (const reco::GsfElectron &ele) |
bool | PassEoverPCuts (const reco::GsfElectronRef &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 | PassTriggerCuts (const TriggerWorkingPoint triggerWorkingPoint, const reco::GsfElectron &ele) |
bool | PassTriggerCuts (const TriggerWorkingPoint triggerWorkingPoint, const reco::GsfElectronRef &ele) |
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 (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 (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::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 (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 (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 |
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 42 of file EGammaCutBasedEleId.h.
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const float | eta, |
const float | eopin, | ||
const float | fbrem | ||
) |
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const reco::GsfElectron & | ele | ) |
Definition at line 62 of file EGammaCutBasedEleId.cc.
References reco::GsfElectron::eSuperClusterOverP(), PVValHelper::eta, reco::GsfElectron::fbrem(), PassEoverPCuts(), and reco::GsfElectron::superCluster().
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const reco::GsfElectronRef & | ele | ) |
Definition at line 72 of file EGammaCutBasedEleId.cc.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze(), and PassEoverPCuts().
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 195 of file EGammaCutBasedEleId.cc.
References gather_cfg::cout, EgHLTOffHistBins_cfi::dEtaIn, EgHLTOffHistBins_cfi::dPhiIn, electrons_cff::hoe, training_settings::idx, DiDispStaMuonMonitor_cfi::pt, TRIGGERTIGHT, and TRIGGERWP70.
bool EgammaCutBasedEleId::PassTriggerCuts | ( | const TriggerWorkingPoint | triggerWorkingPoint, |
const reco::GsfElectron & | ele | ||
) |
Definition at line 41 of file EGammaCutBasedEleId.cc.
References reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), EgHLTOffHistBins_cfi::dEtaIn, EgHLTOffHistBins_cfi::dPhiIn, reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::dr03HcalTowerSumEt(), reco::GsfElectron::dr03TkSumPt(), reco::GsfElectron::hadronicOverEm(), electrons_cff::hoe, reco::GsfElectron::isEB(), PassTriggerCuts(), DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), reco::GsfElectron::sigmaIetaIeta(), and funct::true.
bool EgammaCutBasedEleId::PassTriggerCuts | ( | const TriggerWorkingPoint | triggerWorkingPoint, |
const reco::GsfElectronRef & | ele | ||
) |
Definition at line 58 of file EGammaCutBasedEleId.cc.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze(), and PassTriggerCuts().
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 pwdgSkimBPark_cfi::conversions, PassAll, ZElectronSkim_cff::rho, TestWP(), and singleTopDQM_cfi::workingPoint.
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 28 of file EGammaCutBasedEleId.cc.
References pwdgSkimBPark_cfi::conversions, ZElectronSkim_cff::rho, and singleTopDQM_cfi::workingPoint.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze().
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 153 of file EGammaCutBasedEleId.cc.
References EgHLTOffHistBins_cfi::dEtaIn, EgHLTOffHistBins_cfi::dPhiIn, PVValHelper::eta, electrons_cff::hoe, PassAll, DiDispStaMuonMonitor_cfi::pt, ZElectronSkim_cff::rho, TestWP(), and singleTopDQM_cfi::workingPoint.
void EgammaCutBasedEleId::PrintDebug | ( | unsigned int | mask | ) |
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 74 of file EGammaCutBasedEleId.cc.
References pwdgSkimBPark_cfi::conversions, reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), EgHLTOffHistBins_cfi::dEtaIn, EgHLTOffHistBins_cfi::dPhiIn, reco::GsfElectron::ecalEnergy(), reco::GsfElectron::eSuperClusterOverP(), PVValHelper::eta, reco::GsfElectron::gsfTrack(), reco::GsfElectron::hadronicOverEm(), ConversionTools::hasMatchedConversion(), electrons_cff::hoe, reco::GsfElectron::isEB(), reco::HitPattern::MISSING_INNER_HITS, DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), ZElectronSkim_cff::rho, reco::GsfElectron::sigmaIetaIeta(), reco::GsfElectron::superCluster(), TestWP(), funct::true, badGlobalMuonTaggersAOD_cff::vtx, and singleTopDQM_cfi::workingPoint.
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 138 of file EGammaCutBasedEleId.cc.
References pwdgSkimBPark_cfi::conversions, ZElectronSkim_cff::rho, and singleTopDQM_cfi::workingPoint.
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 267 of file EGammaCutBasedEleId.cc.
References gather_cfg::cout, D0VTX, EgHLTOffHistBins_cfi::dEtaIn, DETAIN, EgHLTOffHistBins_cfi::dPhiIn, DPHIIN, DZVTX, PVValHelper::eta, ElectronEffectiveArea::GetElectronEffectiveArea(), HOE, electrons_cff::hoe, training_settings::idx, ISO, ElectronEffectiveArea::kEleGammaAndNeutralHadronIso03, LOOSE, SiStripPI::max, MEDIUM, MHITS, OOEMOOP, DiDispStaMuonMonitor_cfi::pt, ZElectronSkim_cff::rho, SIGMAIETAIETA, TIGHT, VETO, VTXFIT, and singleTopDQM_cfi::workingPoint.