Public Member Functions | |
result_type | asCandidate (const argument_type &) const override final |
EtaMultiRangeCut (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< 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 EtaMultiRangeCut.cc.
|
inline |
Definition at line 5 of file EtaMultiRangeCut.cc.
References _ranges, edm::ParameterSet::getParameterSetVector(), hpstanc_transforms::max, min(), and diffTwoXMLs::ranges.
|
finaloverridevirtual |
Reimplemented from CutApplicatorBase.
Definition at line 32 of file EtaMultiRangeCut.cc.
References _absEta, _ranges, funct::abs(), and mps_fire::result.
Referenced by value().
|
inlinefinaloverridevirtual |
Implements candidate_functions::CandidateCut.
Definition at line 17 of file EtaMultiRangeCut.cc.
References _absEta, funct::abs(), and asCandidate().
|
private |
Definition at line 24 of file EtaMultiRangeCut.cc.
Referenced by asCandidate(), and value().
|
private |
Definition at line 25 of file EtaMultiRangeCut.cc.
Referenced by asCandidate(), and EtaMultiRangeCut().