29 "GsfEleEcalDrivenCut");
41 <<
"error in constructing GsfEleEcalDrivenCut"<<std::endl
43 <<
"allowed values are IGNORE:"<<
IGNORE<<
" FAIL:"<<
FAIL<<
" PASS:"<<
PASS;
47 CutApplicatorBase::result_type
52 if(ecalDrivenRequirement==
IGNORE)
return true;
57 <<
"error in "<<__FILE__<<
" line "<<__LINE__<<std::endl
58 <<
"default option should not be reached, code has been updated without changing the logic, this needs to be fixed";
69 if(val==
IGNORE)
return true;
70 if(val==
FAIL)
return true;
71 if(val==
PASS)
return true;
double value(const reco::CandidatePtr &cand) const override final
static bool isValidCutVal(int val)
const double barrelCutOff_
CandidateType candidateType() const override final
virtual SuperClusterRef superCluster() const
reference to a SuperCluster
Abs< T >::type abs(const T &t)
result_type operator()(const reco::GsfElectronPtr &) const override final
GsfEleEcalDrivenCut(const edm::ParameterSet &c)
#define DEFINE_EDM_PLUGIN(factory, type, name)