Public Member Functions | |
CandidateType | candidateType () const overridefinal |
void | getEventContent (const edm::EventBase &) overridefinal |
result_type | operator() (const reco::PhotonPtr &) const overridefinal |
PhoAnyPFIsoWithEACut (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 |
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 PhoAnyPFIsoWithEACut.cc.
PhoAnyPFIsoWithEACut::PhoAnyPFIsoWithEACut | ( | const edm::ParameterSet & | c | ) |
Definition at line 48 of file PhoAnyPFIsoWithEACut.cc.
References anyPFIsoWithEA_, CutApplicatorWithEventContentBase::contentTags_, edm::ParameterSet::getParameter(), and rhoString_.
|
inlinefinaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 17 of file PhoAnyPFIsoWithEACut.cc.
References CutApplicatorBase::PHOTON.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 76 of file PhoAnyPFIsoWithEACut.cc.
References _anyPFIsoMap, _rhoHandle, anyPFIsoWithEA_, CutApplicatorWithEventContentBase::contentTags_, edm::EventBase::getByLabel(), and rhoString_.
|
finaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 83 of file PhoAnyPFIsoWithEACut.cc.
References _anyPFIsoMap, _barrelCutOff, _C1_EB, _C1_EE, _C2_EB, _C2_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, rho, and AlCaHLTBitMon_QueryRunRegistry::string.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 67 of file PhoAnyPFIsoWithEACut.cc.
References anyPFIsoWithEA_, edm::ConsumesCollector::consumes(), CutApplicatorWithEventContentBase::contentTags_, CutApplicatorWithEventContentBase::contentTokens_, rho, and rhoString_.
|
finaloverridevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 124 of file PhoAnyPFIsoWithEACut.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, rho, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 33 of file PhoAnyPFIsoWithEACut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 28 of file PhoAnyPFIsoWithEACut.cc.
Referenced by operator()().
|
private |
Definition at line 23 of file PhoAnyPFIsoWithEACut.cc.
Referenced by operator()().
|
private |
Definition at line 25 of file PhoAnyPFIsoWithEACut.cc.
Referenced by operator()().
|
private |
Definition at line 24 of file PhoAnyPFIsoWithEACut.cc.
Referenced by operator()().
|
private |
Definition at line 26 of file PhoAnyPFIsoWithEACut.cc.
Referenced by operator()().
|
private |
Definition at line 31 of file PhoAnyPFIsoWithEACut.cc.
Referenced by operator()(), and value().
|
private |
Definition at line 35 of file PhoAnyPFIsoWithEACut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 29 of file PhoAnyPFIsoWithEACut.cc.
Referenced by operator()(), and value().
|
staticprivate |
Definition at line 37 of file PhoAnyPFIsoWithEACut.cc.
Referenced by getEventContent(), operator()(), PhoAnyPFIsoWithEACut(), setConsumes(), and value().
|
staticprivate |
Definition at line 38 of file PhoAnyPFIsoWithEACut.cc.
Referenced by getEventContent(), PhoAnyPFIsoWithEACut(), and setConsumes().