Public Member Functions | |
CandidateType | candidateType () const overridefinal |
void | getEventContent (const edm::EventBase &) overridefinal |
GsfEleDeltaBetaIsoCut (const edm::ParameterSet &c) | |
result_type | operator() (const reco::GsfElectronPtr &) const overridefinal |
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 pat::ElectronPtr &) const |
virtual result_type | operator() (const reco::PhotonPtr &) 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 | |
const float | _barrelCutOff |
edm::Handle< edm::ValueMap < float > > | _chad_iso |
const float | _deltaBetaConstant |
const float | _isoCutEBHighPt |
const float | _isoCutEBLowPt |
const float | _isoCutEEHighPt |
const float | _isoCutEELowPt |
edm::Handle< edm::ValueMap < float > > | _nhad_iso |
edm::Handle< edm::ValueMap < float > > | _ph_iso |
const float | _ptCutOff |
edm::Handle< edm::ValueMap < float > > | _PUchad_iso |
bool | _relativeIso |
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 8 of file GsfEleDeltaBetaIsoCut.cc.
GsfEleDeltaBetaIsoCut::GsfEleDeltaBetaIsoCut | ( | const edm::ParameterSet & | c | ) |
Definition at line 34 of file GsfEleDeltaBetaIsoCut.cc.
References CutApplicatorWithEventContentBase::contentTags_, and edm::ParameterSet::getParameter().
|
inlinefinaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 19 of file GsfEleDeltaBetaIsoCut.cc.
References CutApplicatorBase::ELECTRON.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 69 of file GsfEleDeltaBetaIsoCut.cc.
References _chad_iso, _nhad_iso, _ph_iso, _PUchad_iso, CutApplicatorWithEventContentBase::contentTags_, and edm::EventBase::getByLabel().
|
finaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 78 of file GsfEleDeltaBetaIsoCut.cc.
References _barrelCutOff, _chad_iso, _deltaBetaConstant, _isoCutEBHighPt, _isoCutEBLowPt, _isoCutEEHighPt, _isoCutEELowPt, _nhad_iso, _ph_iso, _ptCutOff, _PUchad_iso, _relativeIso, funct::abs(), edm::ValueMap< T >::begin(), edm::ValueMap< T >::contains(), f, edm::Ptr< T >::id(), edm::ValueMap< T >::idSize(), edm::HandleBase::isValid(), edm::Ptr< T >::key(), bookConverter::max, reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt, reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt, reco::GsfElectron::PflowIsolationVariables::sumPhotonEt, and reco::GsfElectron::PflowIsolationVariables::sumPUPt.
|
finaloverridevirtual |
Implements CutApplicatorWithEventContentBase.
Definition at line 54 of file GsfEleDeltaBetaIsoCut.cc.
References edm::ConsumesCollector::consumes(), CutApplicatorWithEventContentBase::contentTags_, and CutApplicatorWithEventContentBase::contentTokens_.
|
finaloverridevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 129 of file GsfEleDeltaBetaIsoCut.cc.
References _chad_iso, _deltaBetaConstant, _nhad_iso, _ph_iso, _PUchad_iso, _relativeIso, edm::ValueMap< T >::begin(), edm::ValueMap< T >::contains(), f, edm::Ptr< T >::id(), edm::ValueMap< T >::idSize(), edm::HandleBase::isValid(), edm::Ptr< T >::key(), bookConverter::max, reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt, reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt, reco::GsfElectron::PflowIsolationVariables::sumPhotonEt, and reco::GsfElectron::PflowIsolationVariables::sumPUPt.
|
private |
Definition at line 25 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 27 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 25 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by operator()(), and value().
|
private |
Definition at line 24 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 24 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 24 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 24 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 27 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 27 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 25 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by operator()().
|
private |
Definition at line 27 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by getEventContent(), operator()(), and value().
|
private |
Definition at line 26 of file GsfEleDeltaBetaIsoCut.cc.
Referenced by operator()(), and value().