29 "GsfEleEcalDrivenCut");
41 <<
"error in constructing GsfEleEcalDrivenCut"<<std::endl
43 <<
"allowed values are IGNORE:"<<
IGNORE<<
" FAIL:"<<
FAIL<<
" PASS:"<<
PASS;
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;
result_type operator()(const reco::GsfElectronPtr &) const final
static bool isValidCutVal(int val)
const double barrelCutOff_
double value(const reco::CandidatePtr &cand) const final
Abs< T >::type abs(const T &t)
CandidateType candidateType() const final
SuperClusterRef superCluster() const override
reference to a SuperCluster
GsfEleEcalDrivenCut(const edm::ParameterSet &c)
#define DEFINE_EDM_PLUGIN(factory, type, name)