Public Member Functions | |
CandidateType | candidateType () const overridefinal |
void | getEventContent (const edm::EventBase &) overridefinal |
result_type | operator() (const reco::PhotonPtr &) const overridefinal |
PhoAnyPFIsoWithEAAndQuadScalingCut (const edm::ParameterSet &c) | |
void | setConsumes (edm::ConsumesCollector &) overridefinal |
double | value (const reco::CandidatePtr &cand) const overridefinal |
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 |
float | _C3_EE |
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 PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
PhoAnyPFIsoWithEAAndQuadScalingCut::PhoAnyPFIsoWithEAAndQuadScalingCut | ( | const edm::ParameterSet & | c | ) |
Definition at line 50 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
References anyPFIsoWithEA_, CutApplicatorWithEventContentBase::contentTags_, edm::ParameterSet::getParameter(), and rhoString_.
|
inlinefinaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 17 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
References CutApplicatorBase::PHOTON.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 80 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
References _anyPFIsoMap, _rhoHandle, anyPFIsoWithEA_, CutApplicatorWithEventContentBase::contentTags_, edm::EventBase::getByLabel(), and rhoString_.
|
finaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 87 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
References _anyPFIsoMap, _barrelCutOff, _C1_EB, _C1_EE, _C2_EB, _C2_EE, _C3_EB, _C3_EE, _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(), bookConverter::max, EnergyCorrector::pt, rho, and AlCaHLTBitMon_QueryRunRegistry::string.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 71 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
References anyPFIsoWithEA_, edm::ConsumesCollector::consumes(), CutApplicatorWithEventContentBase::contentTags_, CutApplicatorWithEventContentBase::contentTokens_, rho, and rhoString_.
|
finaloverridevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 134 of file PhoAnyPFIsoWithEAAndQuadScalingCut.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(), bookConverter::max, EnergyCorrector::pt, rho, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 35 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 30 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by operator()().
|
private |
Definition at line 23 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by operator()().
|
private |
Definition at line 26 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by operator()().
|
private |
Definition at line 24 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by operator()().
|
private |
Definition at line 27 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by operator()().
|
private |
Definition at line 25 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by operator()().
|
private |
Definition at line 28 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by operator()().
|
private |
Definition at line 33 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by operator()(), and value().
|
private |
Definition at line 37 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 31 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by operator()(), and value().
|
staticprivate |
Definition at line 39 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by getEventContent(), operator()(), PhoAnyPFIsoWithEAAndQuadScalingCut(), setConsumes(), and value().
|
staticprivate |
Definition at line 40 of file PhoAnyPFIsoWithEAAndQuadScalingCut.cc.
Referenced by getEventContent(), PhoAnyPFIsoWithEAAndQuadScalingCut(), and setConsumes().