Public Member Functions | |
CandidateType | candidateType () const override final |
void | getEventContent (const edm::EventBase &) override final |
result_type | operator() (const reco::PhotonPtr &) const override final |
PhoAnyPFIsoWithEAAndExpoScalingEBCut (const edm::ParameterSet &c) | |
void | setConsumes (edm::ConsumesCollector &) override final |
double | value (const reco::CandidatePtr &cand) const override final |
Public Member Functions inherited from CutApplicatorWithEventContentBase | |
CutApplicatorWithEventContentBase () | |
CutApplicatorWithEventContentBase (const edm::ParameterSet &c) | |
CutApplicatorWithEventContentBase (const CutApplicatorWithEventContentBase &)=delete | |
CutApplicatorWithEventContentBase & | operator= (const CutApplicatorWithEventContentBase &)=delete |
virtual | ~CutApplicatorWithEventContentBase () |
Destructor. More... | |
Public Member Functions inherited from CutApplicatorBase | |
virtual result_type | asCandidate (const argument_type &) const |
CutApplicatorBase () | |
CutApplicatorBase (const edm::ParameterSet &c) | |
CutApplicatorBase (const CutApplicatorBase &)=delete | |
virtual const std::string & | name () const |
virtual result_type | operator() (const argument_type &) const final |
virtual result_type | operator() (const reco::GsfElectronPtr &) const |
virtual result_type | operator() (const pat::ElectronPtr &) const |
virtual result_type | operator() (const pat::PhotonPtr &) const |
virtual result_type | operator() (const reco::MuonPtr &) const |
virtual result_type | operator() (const pat::MuonPtr &) const |
virtual result_type | operator() (const reco::PFTauPtr &) const |
virtual result_type | operator() (const pat::TauPtr &) const |
CutApplicatorBase & | operator= (const CutApplicatorBase &)=delete |
virtual | ~CutApplicatorBase () |
Destructor. More... | |
Public Member Functions inherited from candidate_functions::CandidateCut | |
CandidateCut () | |
virtual | ~CandidateCut () |
Private Attributes | |
edm::Handle< edm::ValueMap< float > > | _anyPFIsoMap |
float | _barrelCutOff |
float | _C1_EB |
float | _C1_EE |
float | _C2_EB |
float | _C2_EE |
float | _C3_EB |
EffectiveAreas | _effectiveAreas |
edm::Handle< double > | _rhoHandle |
bool | _useRelativeIso |
Static Private Attributes | |
static char | anyPFIsoWithEA_ [] = "anyPFIsoWithEA" |
static char | rhoString_ [] = "rho" |
Additional Inherited Members | |
Public Types inherited from CutApplicatorBase | |
enum | CandidateType { NONE, ELECTRON, MUON, PHOTON, TAU, PATELECTRON, PATMUON, PATPHOTON, PATTAU } |
Protected Attributes inherited from CutApplicatorWithEventContentBase | |
std::unordered_map< std::string, edm::InputTag > | contentTags_ |
std::unordered_map< std::string, edm::EDGetToken > | contentTokens_ |
Definition at line 6 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
PhoAnyPFIsoWithEAAndExpoScalingEBCut::PhoAnyPFIsoWithEAAndExpoScalingEBCut | ( | const edm::ParameterSet & | c | ) |
Definition at line 49 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
References anyPFIsoWithEA_, CutApplicatorWithEventContentBase::contentTags_, edm::ParameterSet::getParameter(), rhoString_, and HiL1Corrector_cff::rhoTag.
|
inlinefinaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 17 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
References CutApplicatorBase::PHOTON.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 78 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
References _anyPFIsoMap, _rhoHandle, anyPFIsoWithEA_, CutApplicatorWithEventContentBase::contentTags_, edm::EventBase::getByLabel(), operator()(), and rhoString_.
|
finaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 85 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
References _anyPFIsoMap, _barrelCutOff, _C1_EB, _C1_EE, _C2_EB, _C2_EE, _C3_EB, _effectiveAreas, _rhoHandle, _useRelativeIso, funct::abs(), anyPFIsoWithEA_, edm::ValueMap< T >::begin(), edm::ValueMap< T >::contains(), CutApplicatorWithEventContentBase::contentTags_, JetChargeProducer_cfi::exp, EffectiveAreas::getEffectiveArea(), edm::Ptr< T >::id(), edm::ValueMap< T >::idSize(), edm::HandleBase::isValid(), edm::Ptr< T >::key(), hpstanc_transforms::max, EnergyCorrector::pt, reco::LeafCandidate::pt(), rho, AlCaHLTBitMon_QueryRunRegistry::string, reco::Photon::superCluster(), pat::PATObject< ObjectType >::userFloat(), and value().
Referenced by getEventContent().
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 69 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
References anyPFIsoWithEA_, edm::ConsumesCollector::consumes(), CutApplicatorWithEventContentBase::contentTags_, CutApplicatorWithEventContentBase::contentTokens_, rho, and rhoString_.
|
finaloverridevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 132 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
References _anyPFIsoMap, _effectiveAreas, _rhoHandle, _useRelativeIso, funct::abs(), anyPFIsoWithEA_, edm::ValueMap< T >::begin(), edm::ValueMap< T >::contains(), CutApplicatorWithEventContentBase::contentTags_, EffectiveAreas::getEffectiveArea(), edm::Ptr< T >::id(), edm::ValueMap< T >::idSize(), edm::HandleBase::isValid(), edm::Ptr< T >::key(), hpstanc_transforms::max, EnergyCorrector::pt, reco::LeafCandidate::pt(), rho, AlCaHLTBitMon_QueryRunRegistry::string, reco::Photon::superCluster(), and pat::PATObject< ObjectType >::userFloat().
Referenced by operator()().
|
private |
Definition at line 34 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 29 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by operator()().
|
private |
Definition at line 23 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by operator()().
|
private |
Definition at line 26 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by operator()().
|
private |
Definition at line 24 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by operator()().
|
private |
Definition at line 27 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by operator()().
|
private |
Definition at line 25 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by operator()().
|
private |
Definition at line 32 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by operator()(), and value().
|
private |
Definition at line 36 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 30 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by operator()(), and value().
|
staticprivate |
Definition at line 38 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by getEventContent(), operator()(), PhoAnyPFIsoWithEAAndExpoScalingEBCut(), setConsumes(), and value().
|
staticprivate |
Definition at line 39 of file PhoAnyPFIsoWithEAAndExpoScalingEBCut.cc.
Referenced by getEventContent(), PhoAnyPFIsoWithEAAndExpoScalingEBCut(), and setConsumes().