30 barrelCutOff_(
c.getParameter<double>(
"barrelCutOff")) {
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)
46 return !
cand->ecalDriven();
47 else if (ecalDrivenRequirement ==
PASS)
48 return cand->ecalDriven();
51 <<
"default option should not be reached, code has been updated "
52 "without changing the logic, this needs to be fixed";