33 <<
"error in constructing GsfEleEcalDrivenCut" << std::endl
36 <<
"allowed values are IGNORE:" <<
IGNORE <<
" FAIL:" <<
FAIL <<
" PASS:" <<
PASS;
41 const auto ecalDrivenRequirement =
43 if (ecalDrivenRequirement ==
IGNORE)
45 else if (ecalDrivenRequirement ==
FAIL)
47 else if (ecalDrivenRequirement ==
PASS)
51 <<
"default option should not be reached, code has been updated " 52 "without changing the logic, this needs to be fixed";
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)