Public Member Functions | |
CandidateType | candidateType () const final |
GsfEleEcalDrivenCut (const edm::ParameterSet &c) | |
result_type | operator() (const reco::GsfElectronPtr &) const final |
double | value (const reco::CandidatePtr &cand) const final |
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 Types | |
enum | EcalDrivenCode { IGNORE =-1, FAIL =0, PASS =1 } |
Static Private Member Functions | |
static bool | isValidCutVal (int val) |
Private Attributes | |
const double | barrelCutOff_ |
const int | ecalDrivenEB_ |
const int | ecalDrivenEE_ |
Additional Inherited Members | |
Public Types inherited from CutApplicatorBase | |
enum | CandidateType { NONE, ELECTRON, MUON, PHOTON, TAU, PATELECTRON, PATMUON, PATPHOTON, PATTAU } |
Definition at line 5 of file GsfEleEcalDrivenCut.cc.
|
private |
GsfEleEcalDrivenCut::GsfEleEcalDrivenCut | ( | const edm::ParameterSet & | c | ) |
Definition at line 33 of file GsfEleEcalDrivenCut.cc.
References edm::errors::Configuration, ecalDrivenEB_, ecalDrivenEE_, Exception, FAIL, IGNORE, isValidCutVal(), operator()(), and PASS.
|
inlinefinalvirtual |
Reimplemented from CutApplicatorBase.
Definition at line 13 of file GsfEleEcalDrivenCut.cc.
References CutApplicatorBase::ELECTRON, isValidCutVal(), and heppy_batch::val.
|
staticprivate |
Definition at line 67 of file GsfEleEcalDrivenCut.cc.
References FAIL, IGNORE, and PASS.
Referenced by candidateType(), and GsfEleEcalDrivenCut().
|
finalvirtual |
Reimplemented from CutApplicatorBase.
Definition at line 49 of file GsfEleEcalDrivenCut.cc.
References funct::abs(), barrelCutOff_, reco::GsfElectron::ecalDriven(), ecalDrivenEB_, ecalDrivenEE_, Exception, FAIL, IGNORE, edm::errors::LogicError, PASS, and reco::GsfElectron::superCluster().
Referenced by GsfEleEcalDrivenCut().
|
finalvirtual |
Implements candidate_functions::CandidateCut.
Definition at line 62 of file GsfEleEcalDrivenCut.cc.
References reco::GsfElectron::ecalDriven().
|
private |
Definition at line 23 of file GsfEleEcalDrivenCut.cc.
Referenced by operator()().
|
private |
Definition at line 22 of file GsfEleEcalDrivenCut.cc.
Referenced by GsfEleEcalDrivenCut(), and operator()().
|
private |
Definition at line 22 of file GsfEleEcalDrivenCut.cc.
Referenced by GsfEleEcalDrivenCut(), and operator()().