41 int elClass =
electron->classification();
67 edm::LogError(
"PTDRElectronID") <<
"Error: unrecognized electron classification ";
77 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"EoverPInMax");
78 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"EoverPInMin");
79 if (
value < mincut[icut] ||
value > maxcut[icut])
85 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"deltaEtaIn");
86 if (fabs(
value) > maxcut[icut])
92 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"deltaPhiIn");
93 if (fabs(
value) > maxcut[icut])
100 if (
value > maxcut[icut])
106 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"EoverPOutMax");
107 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"EoverPOutMin");
108 if (
value < mincut[icut] ||
value > maxcut[icut])
114 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"deltaPhiOut");
115 if (fabs(
value) > maxcut[icut])
121 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"invEMinusInvP");
122 if (
value > maxcut[icut])
128 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"bremFraction");
129 if (
value < mincut[icut])
139 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"E9overE25");
140 if (fabs(
value) < mincut[icut])
145 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"sigmaEtaEtaMax");
146 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"sigmaEtaEtaMin");
147 if (
electron->sigmaIetaIeta() < mincut[icut] ||
electron->sigmaIetaIeta() > maxcut[icut])
152 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"sigmaPhiPhiMin");
153 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"sigmaPhiPhiMax");
154 if (
electron->sigmaIphiIphi() < mincut[icut] ||
electron->sigmaIphiIphi() > maxcut[icut])