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 |
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.
Enumerator | |
---|---|
VETO | |
LOOSE | |
MEDIUM | |
TIGHT |
Definition at line 34 of file EGammaCutBasedEleId.h.
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const reco::GsfElectronRef & | ele | ) |
Definition at line 73 of file EGammaCutBasedEleId.cc.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze(), and PassEoverPCuts().
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const reco::GsfElectron & | ele | ) |
Definition at line 63 of file EGammaCutBasedEleId.cc.
References reco::GsfElectron::eSuperClusterOverP(), PVValHelper::eta, reco::GsfElectron::fbrem(), PassEoverPCuts(), and reco::GsfElectron::superCluster().
bool EgammaCutBasedEleId::PassEoverPCuts | ( | const float | eta, |
const float | eopin, | ||
const float | fbrem | ||
) |
Definition at line 260 of file EGammaCutBasedEleId.cc.
References PVValHelper::eta.
bool EgammaCutBasedEleId::PassTriggerCuts | ( | const TriggerWorkingPoint | triggerWorkingPoint, |
const reco::GsfElectronRef & | ele | ||
) |
Definition at line 59 of file EGammaCutBasedEleId.cc.
Referenced by EGammaCutBasedEleIdAnalyzer::analyze(), and PassTriggerCuts().
bool EgammaCutBasedEleId::PassTriggerCuts | ( | const TriggerWorkingPoint | triggerWorkingPoint, |
const reco::GsfElectron & | ele | ||
) |
Definition at line 42 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 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 196 of file EGammaCutBasedEleId.cc.
References gather_cfg::cout, EgHLTOffHistBins_cfi::dEtaIn, EgHLTOffHistBins_cfi::dPhiIn, electrons_cff::hoe, heavyIonCSV_trainingSettings::idx, DiDispStaMuonMonitor_cfi::pt, 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.
References pwdgSkimBPark_cfi::conversions, IsoPhotonEBSkim_cff::rho, and singleTopDQM_cfi::workingPoint.
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 10 of file EGammaCutBasedEleId.cc.
References pwdgSkimBPark_cfi::conversions, gpuClustering::pixelStatus::mask, PassAll, IsoPhotonEBSkim_cff::rho, TestWP(), and singleTopDQM_cfi::workingPoint.
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 154 of file EGammaCutBasedEleId.cc.
References EgHLTOffHistBins_cfi::dEtaIn, EgHLTOffHistBins_cfi::dPhiIn, PVValHelper::eta, electrons_cff::hoe, gpuClustering::pixelStatus::mask, PassAll, DiDispStaMuonMonitor_cfi::pt, IsoPhotonEBSkim_cff::rho, TestWP(), and singleTopDQM_cfi::workingPoint.
void EgammaCutBasedEleId::PrintDebug | ( | unsigned int | mask | ) |
Definition at line 442 of file EGammaCutBasedEleId.cc.
References D0VTX, DETAIN, DPHIIN, DZVTX, HOE, ISO, gpuClustering::pixelStatus::mask, MHITS, OOEMOOP, SIGMAIETAIETA, and 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 139 of file EGammaCutBasedEleId.cc.
References pwdgSkimBPark_cfi::conversions, IsoPhotonEBSkim_cff::rho, and singleTopDQM_cfi::workingPoint.
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 75 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(), gpuClustering::pixelStatus::mask, reco::HitPattern::MISSING_INNER_HITS, DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), IsoPhotonEBSkim_cff::rho, reco::GsfElectron::sigmaIetaIeta(), reco::GsfElectron::superCluster(), TestWP(), funct::true, extraflags_cff::vtx, 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 268 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, heavyIonCSV_trainingSettings::idx, ISO, ElectronEffectiveArea::kEleGammaAndNeutralHadronIso03, LOOSE, gpuClustering::pixelStatus::mask, SiStripPI::max, MEDIUM, MHITS, OOEMOOP, DiDispStaMuonMonitor_cfi::pt, IsoPhotonEBSkim_cff::rho, SIGMAIETAIETA, TIGHT, VETO, VTXFIT, and singleTopDQM_cfi::workingPoint.
|
static |
Definition at line 59 of file EGammaCutBasedEleId.h.
Referenced by PassWP().