Public Member Functions | |
const float | getEffectiveArea (float eta) const |
void | newEvent (const edm::Event &, const edm::EventSetup &) |
bool | operator() (const reco::GsfElectron &) const |
void | printEffectiveAreas () const |
ZElectronsSelector (const edm::ParameterSet &, edm::ConsumesCollector &iC) | |
Public Attributes | |
edm::Handle< double > | _rhoHandle |
std::vector< double > | absEtaMax_ |
std::vector< double > | absEtaMin_ |
vector< double > | dEtaInSeedCut |
vector< double > | dPhiInCut |
std::vector< double > | effectiveAreaValues_ |
vector< double > | EInvMinusPInv |
edm::ParameterSet | eleIDWP |
vector< double > | hOverECut |
vector< int > | missHits |
vector< double > | relCombIso |
vector< double > | sigmaIEtaIEtaCut |
edm::EDGetTokenT< reco::GsfElectronCollection > | theGsfEToken |
edm::EDGetTokenT< double > | theRhoToken |
Definition at line 45 of file ZElectronsSelector.cc.
ZElectronsSelector::ZElectronsSelector | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 92 of file ZElectronsSelector.cc.
References absEtaMax_, absEtaMin_, looper::cfg, dEtaInSeedCut, dPhiInCut, effectiveAreaValues_, EInvMinusPInv, eleIDWP, edm::ParameterSet::getParameter(), hOverECut, missHits, relCombIso, and sigmaIEtaIEtaCut.
const float ZElectronsSelector::getEffectiveArea | ( | float | eta | ) | const |
Definition at line 79 of file ZElectronsSelector.cc.
References funct::abs(), PVValHelper::eta, l1tTowerCalibrationProducer_cfi::iEta, L1TMuonDQMOffline_cfi::nEtaBins, and parallelization::uint.
Referenced by operator()().
void ZElectronsSelector::newEvent | ( | const edm::Event & | ev, |
const edm::EventSetup & | |||
) |
Definition at line 109 of file ZElectronsSelector.cc.
References _rhoHandle, makeMEIFBenchmarkPlots::ev, and theRhoToken.
bool ZElectronsSelector::operator() | ( | const reco::GsfElectron & | el | ) | const |
Definition at line 113 of file ZElectronsSelector.cc.
References _rhoHandle, funct::abs(), reco::GsfElectron::deltaEtaSeedClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), dEtaInSeedCut, dPhiInCut, reco::GsfElectron::ecalEnergy(), EInvMinusPInv, reco::GsfElectron::eSuperClusterOverP(), nano_mu_digi_cff::float, reco::GsfElectron::full5x5_sigmaIetaIeta(), edm::Ref< C, T, F >::get(), getEffectiveArea(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hadronicOverEm(), hOverECut, reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), edm::HandleBase::isValid(), SiStripPI::max, missHits, reco::HitPattern::MISSING_INNER_HITS, reco::GsfElectron::pfIsolationVariables(), position, edm::Handle< T >::product(), reco::LeafCandidate::pt(), relCombIso, rho, sigmaIEtaIEtaCut, reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt, reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt, reco::GsfElectron::PflowIsolationVariables::sumPhotonEt, and reco::GsfElectron::superCluster().
void ZElectronsSelector::printEffectiveAreas | ( | ) | const |
Definition at line 72 of file ZElectronsSelector.cc.
References l1tTowerCalibrationProducer_cfi::iEta, L1TMuonDQMOffline_cfi::nEtaBins, and parallelization::uint.
edm::Handle<double> ZElectronsSelector::_rhoHandle |
Definition at line 55 of file ZElectronsSelector.cc.
Referenced by newEvent(), and operator()().
std::vector<double> ZElectronsSelector::absEtaMax_ |
Definition at line 58 of file ZElectronsSelector.cc.
Referenced by ZElectronsSelector().
std::vector<double> ZElectronsSelector::absEtaMin_ |
Definition at line 57 of file ZElectronsSelector.cc.
Referenced by ZElectronsSelector().
vector<double> ZElectronsSelector::dEtaInSeedCut |
Definition at line 65 of file ZElectronsSelector.cc.
Referenced by operator()(), and ZElectronsSelector().
vector<double> ZElectronsSelector::dPhiInCut |
Definition at line 66 of file ZElectronsSelector.cc.
Referenced by operator()(), and ZElectronsSelector().
std::vector<double> ZElectronsSelector::effectiveAreaValues_ |
Definition at line 59 of file ZElectronsSelector.cc.
Referenced by ZElectronsSelector().
vector<double> ZElectronsSelector::EInvMinusPInv |
Definition at line 69 of file ZElectronsSelector.cc.
Referenced by operator()(), and ZElectronsSelector().
edm::ParameterSet ZElectronsSelector::eleIDWP |
Definition at line 61 of file ZElectronsSelector.cc.
Referenced by ZElectronsSelector().
vector<double> ZElectronsSelector::hOverECut |
Definition at line 67 of file ZElectronsSelector.cc.
Referenced by operator()(), and ZElectronsSelector().
vector<int> ZElectronsSelector::missHits |
Definition at line 63 of file ZElectronsSelector.cc.
Referenced by operator()(), and ZElectronsSelector().
vector<double> ZElectronsSelector::relCombIso |
Definition at line 68 of file ZElectronsSelector.cc.
Referenced by operator()(), and ZElectronsSelector().
vector<double> ZElectronsSelector::sigmaIEtaIEtaCut |
Definition at line 64 of file ZElectronsSelector.cc.
Referenced by operator()(), and ZElectronsSelector().
edm::EDGetTokenT<reco::GsfElectronCollection> ZElectronsSelector::theGsfEToken |
Definition at line 54 of file ZElectronsSelector.cc.
edm::EDGetTokenT<double> ZElectronsSelector::theRhoToken |
Definition at line 53 of file ZElectronsSelector.cc.
Referenced by newEvent().