Public Member Functions | |
result_type | asCandidate (const argument_type &) const override final |
MinPtCutInEtaRanges (const edm::ParameterSet &c) | |
double | value (const reco::CandidatePtr &cand) const override final |
Public Member Functions inherited from CutApplicatorBase | |
virtual CandidateType | candidateType () 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 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 bool | _absEta |
std::vector< double > | _minPt |
std::vector< std::pair< double, double > > | _ranges |
Additional Inherited Members | |
Public Types inherited from CutApplicatorBase | |
enum | CandidateType { NONE, ELECTRON, MUON, PHOTON, TAU, PATELECTRON, PATMUON, PATPHOTON, PATTAU } |
Definition at line 3 of file MinPtCutInEtaRanges.cc.
|
inline |
Definition at line 5 of file MinPtCutInEtaRanges.cc.
References _minPt, _ranges, edm::ParameterSet::getParameterSetVector(), maxEta, cutBasedElectronID_CSA14_50ns_V0_cff::minEta, lostTracks_cfi::minPt, and diffTwoXMLs::ranges.
|
finaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 36 of file MinPtCutInEtaRanges.cc.
References _absEta, _minPt, _ranges, funct::abs(), mps_fire::i, and mps_fire::result.
Referenced by value().
|
inlinefinaloverridevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 19 of file MinPtCutInEtaRanges.cc.
References asCandidate().
|
private |
Definition at line 26 of file MinPtCutInEtaRanges.cc.
Referenced by asCandidate().
|
private |
Definition at line 28 of file MinPtCutInEtaRanges.cc.
Referenced by asCandidate(), and MinPtCutInEtaRanges().
|
private |
Definition at line 27 of file MinPtCutInEtaRanges.cc.
Referenced by asCandidate(), and MinPtCutInEtaRanges().