11 int Elow, Ehigh, Tlow, Thigh, lut;
12 int ERatLow, ERatHigh;
14 int COMP3, COMP2, COMP1, COMP0;
33 for (
unsigned int i = 0;
i < add_out.size();
i++) {
34 ERatLow = add_out[
i] * Tlow >> 7;
37 ERatHigh = add_out[
i] * Thigh >> 7;
40 if (add_out[
i] > 0XFF)
45 if (maxof2_out[
i] >= ERatLow)
49 if (maxof2_out[
i] >= ERatHigh)
62 int ilut = (COMP3 << 3) + (COMP2 << 2) + (COMP1 << 1) + COMP0;
63 int mask = 1 << (ilut);
76 if (it != groupmap.end()) {
87 edm::LogWarning(
"EcalTPG") <<
" could not find EcalTPGGroupsMap entry for " << towid;