Public Member Functions | |
const float | getEffectiveArea (float eta) const |
IsoPhotonEBSelector (const edm::ParameterSet &, edm::ConsumesCollector &iC) | |
void | newEvent (const edm::Event &, const edm::EventSetup &) |
bool | operator() (const reco::Photon &) const |
void | printEffectiveAreas () const |
Public Attributes | |
const std::vector< double > | absEtaMax_ |
const std::vector< double > | absEtaMin_ |
const std::vector< double > | effectiveAreaValues_ |
const vector< double > | hOverECut_ |
const edm::ParameterSet | phIDWP_ |
const vector< double > | relCombIso_ |
edm::Handle< double > | rhoHandle_ |
const vector< double > | sigmaIEtaIEtaCut_ |
const edm::EDGetTokenT< double > | theRhoToken_ |
Definition at line 42 of file IsoPhotonEBSelector.cc.
IsoPhotonEBSelector::IsoPhotonEBSelector | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 84 of file IsoPhotonEBSelector.cc.
const float IsoPhotonEBSelector::getEffectiveArea | ( | float | eta | ) | const |
Definition at line 71 of file IsoPhotonEBSelector.cc.
References funct::abs(), PVValHelper::eta, l1tPhase2CaloJetEmulator_cfi::iEta, L1TMuonDQMOffline_cfi::nEtaBins, and parallelization::uint.
Referenced by operator()().
void IsoPhotonEBSelector::newEvent | ( | const edm::Event & | ev, |
const edm::EventSetup & | |||
) |
Definition at line 96 of file IsoPhotonEBSelector.cc.
References makeMEIFBenchmarkPlots::ev, rhoHandle_, and theRhoToken_.
bool IsoPhotonEBSelector::operator() | ( | const reco::Photon & | ph | ) | const |
Definition at line 100 of file IsoPhotonEBSelector.cc.
References ALCARECOEcalPhiSym_cff::float, getEffectiveArea(), hOverECut_, edm::HandleBase::isValid(), WZElectronSkims53X_cff::max, position, edm::Handle< T >::product(), relCombIso_, rho, rhoHandle_, and sigmaIEtaIEtaCut_.
void IsoPhotonEBSelector::printEffectiveAreas | ( | ) | const |
Definition at line 64 of file IsoPhotonEBSelector.cc.
References l1tPhase2CaloJetEmulator_cfi::iEta, L1TMuonDQMOffline_cfi::nEtaBins, and parallelization::uint.
const std::vector<double> IsoPhotonEBSelector::absEtaMax_ |
Definition at line 54 of file IsoPhotonEBSelector.cc.
const std::vector<double> IsoPhotonEBSelector::absEtaMin_ |
Definition at line 53 of file IsoPhotonEBSelector.cc.
const std::vector<double> IsoPhotonEBSelector::effectiveAreaValues_ |
Definition at line 55 of file IsoPhotonEBSelector.cc.
const vector<double> IsoPhotonEBSelector::hOverECut_ |
Definition at line 60 of file IsoPhotonEBSelector.cc.
Referenced by operator()().
const edm::ParameterSet IsoPhotonEBSelector::phIDWP_ |
Definition at line 57 of file IsoPhotonEBSelector.cc.
const vector<double> IsoPhotonEBSelector::relCombIso_ |
Definition at line 61 of file IsoPhotonEBSelector.cc.
Referenced by operator()().
edm::Handle<double> IsoPhotonEBSelector::rhoHandle_ |
Definition at line 51 of file IsoPhotonEBSelector.cc.
Referenced by newEvent(), and operator()().
const vector<double> IsoPhotonEBSelector::sigmaIEtaIEtaCut_ |
Definition at line 59 of file IsoPhotonEBSelector.cc.
Referenced by operator()().
const edm::EDGetTokenT<double> IsoPhotonEBSelector::theRhoToken_ |
Definition at line 50 of file IsoPhotonEBSelector.cc.
Referenced by newEvent().