#include <CutBasedElectronID.h>
Public Member Functions | |
double | cicSelection (const reco::GsfElectron *, const edm::Event &, const edm::EventSetup &) |
int | classify (const reco::GsfElectron *) |
bool | compute_cut (double x, double et, double cut_min, double cut_max, bool gtn=false) |
CutBasedElectronID () | |
double | result (const reco::GsfElectron *, const edm::Event &, const edm::EventSetup &) |
double | robustSelection (const reco::GsfElectron *, const edm::Event &, const edm::EventSetup &) |
void | setup (const edm::ParameterSet &conf) |
virtual | ~CutBasedElectronID () |
Public Member Functions inherited from ElectronIDAlgo | |
void | baseSetup (const edm::ParameterSet &conf) |
ElectronIDAlgo () | |
virtual | ~ElectronIDAlgo () |
Private Attributes | |
edm::ParameterSet | cuts_ |
bool | newCategories_ |
std::string | quality_ |
std::string | type_ |
std::string | version_ |
edm::InputTag | verticesCollection_ |
bool | wantBinning_ |
Additional Inherited Members | |
Protected Member Functions inherited from ElectronIDAlgo | |
EcalClusterLazyTools | getClusterShape (const edm::Event &, const edm::EventSetup &) |
Protected Attributes inherited from ElectronIDAlgo | |
edm::InputTag | reducedBarrelRecHitCollection_ |
edm::InputTag | reducedEndcapRecHitCollection_ |
Definition at line 6 of file CutBasedElectronID.h.
|
inline |
Definition at line 10 of file CutBasedElectronID.h.
|
inlinevirtual |
Definition at line 12 of file CutBasedElectronID.h.
double CutBasedElectronID::cicSelection | ( | const reco::GsfElectron * | electron, |
const edm::Event & | e, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 123 of file CutBasedElectronID.cc.
References newFWLiteAna::bin, classify(), compute_cut(), reco::GsfElectron::convDcot(), reco::GsfElectron::convDist(), GOODCOLL_filter_cfg::cut, cutsInCategoriesElectronIdentification_cfi::cutdcotdist, cutsInCategoriesElectronIdentification_cfi::cutet, cutsInCategoriesElectronIdentification_cfi::cuthoe, cutsInCategoriesElectronIdentificationV06_cfi::cuthoel, cuts_, cutsInCategoriesElectronIdentification_cfi::cutsee, cutsInCategoriesElectronIdentificationV06_cfi::cutseel, reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::dr03TkSumPt(), reco::GsfElectron::dr04EcalRecHitSumEt(), reco::GsfElectron::dr04HcalTowerSumEt(), reco::GsfElectron::eSeedClusterOverP(), reco::GsfElectron::eSuperClusterOverP(), eta(), create_public_lumi_plots::exp, reco::GsfElectron::fbrem(), edm::Event::getByLabel(), edm::ParameterSet::getParameter(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hadronicOverEm(), reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), max(), or, funct::pow(), quality_, result(), reco::GsfElectron::sigmaEtaEta(), reco::GsfElectron::sigmaIetaIeta(), funct::sin(), reco::GsfElectron::superCluster(), type_, version_, verticesCollection_, and wantBinning_.
Referenced by result().
int CutBasedElectronID::classify | ( | const reco::GsfElectron * | electron | ) |
Definition at line 53 of file CutBasedElectronID.cc.
References reco::GsfElectron::ecalDrivenSeed(), reco::GsfElectron::eSuperClusterOverP(), eta(), reco::GsfElectron::fbrem(), reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), newCategories_, or, reco::GsfElectron::superCluster(), reco::GsfElectron::trackerDrivenSeed(), and version_.
Referenced by cicSelection().
bool CutBasedElectronID::compute_cut | ( | double | x, |
double | et, | ||
double | cut_min, | ||
double | cut_max, | ||
bool | gtn = false |
||
) |
Definition at line 425 of file CutBasedElectronID.cc.
References accept(), and GOODCOLL_filter_cfg::cut.
Referenced by cicSelection().
|
virtual |
Reimplemented from ElectronIDAlgo.
Definition at line 40 of file CutBasedElectronID.cc.
References cicSelection(), robustSelection(), and type_.
Referenced by cicSelection(), and robustSelection().
double CutBasedElectronID::robustSelection | ( | const reco::GsfElectron * | electron, |
const edm::Event & | e, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 452 of file CutBasedElectronID.cc.
References reco::GsfElectron::convDcot(), reco::GsfElectron::convDist(), GOODCOLL_filter_cfg::cut, cuts_, reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::dr03HcalDepth1TowerSumEt(), reco::GsfElectron::dr03HcalDepth2TowerSumEt(), reco::GsfElectron::dr03HcalTowerSumEt(), reco::GsfElectron::dr03TkSumPt(), reco::GsfElectron::dr04EcalRecHitSumEt(), reco::GsfElectron::dr04HcalDepth1TowerSumEt(), reco::GsfElectron::dr04HcalDepth2TowerSumEt(), reco::GsfElectron::dr04HcalTowerSumEt(), reco::GsfElectron::e1x5(), reco::GsfElectron::e2x5Max(), reco::GsfElectron::e5x5(), reco::GsfElectron::eSuperClusterOverP(), eta(), create_public_lumi_plots::exp, edm::Event::getByLabel(), edm::ParameterSet::getParameter(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hadronicOverEm(), reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), edm::HandleBase::isValid(), max(), or, reco::GsfElectron::p4(), reco::BeamSpot::position(), edm::Handle< T >::product(), quality_, result(), reco::GsfElectron::sigmaEtaEta(), reco::GsfElectron::sigmaIetaIeta(), funct::sin(), reco::GsfElectron::superCluster(), type_, version_, and verticesCollection_.
Referenced by result().
|
virtual |
Reimplemented from ElectronIDAlgo.
Definition at line 11 of file CutBasedElectronID.cc.
References ElectronIDAlgo::baseSetup(), cuts_, edm::hlt::Exception, edm::ParameterSet::getParameter(), newCategories_, or, quality_, AlCaHLTBitMon_QueryRunRegistry::string, type_, version_, verticesCollection_, and wantBinning_.
|
private |
Definition at line 28 of file CutBasedElectronID.h.
Referenced by cicSelection(), robustSelection(), and setup().
|
private |
Definition at line 23 of file CutBasedElectronID.h.
Referenced by classify(), and setup().
|
private |
Definition at line 25 of file CutBasedElectronID.h.
Referenced by cicSelection(), robustSelection(), and setup().
|
private |
Definition at line 24 of file CutBasedElectronID.h.
Referenced by Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), cicSelection(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::insertInto(), RandomRunSource.RandomRunSource::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), result(), robustSelection(), and setup().
|
private |
Definition at line 26 of file CutBasedElectronID.h.
Referenced by cicSelection(), classify(), robustSelection(), and setup().
|
private |
Definition at line 27 of file CutBasedElectronID.h.
Referenced by cicSelection(), robustSelection(), and setup().
|
private |
Definition at line 22 of file CutBasedElectronID.h.
Referenced by cicSelection(), and setup().