18 frontEndMap_(nullptr) {
21 for (
unsigned iPSet = 0; iPSet < sz; iPSet++) {
23 const std::vector<double>&
params =
pset.getParameter<std::vector<double> >(
"pulseShapeParameters");
36 for (
int iRm = 0; iRm < sz; iRm++) {
44 for (
unsigned i = 0;
i < sz;
i++)
50 edm::LogError(
"HBHEStatusBitSetter") <<
"No HcalFrontEndMap in rememberHit";
65 edm::LogError(
"HBHEStatusBitSetter") <<
"No HcalFrontEndMap in SetFlagsFromDigi";
74 double nominal_charge_total = 0.0;
75 double charge_max3 = -100.0;
76 double charge_late3 = -100.0;
77 unsigned int slice_max3 = 0;
84 for (
unsigned int iSlice = 0; iSlice <
size; iSlice++) {
92 double qsum3 = digi[iSlice].nominal_fC() + digi[iSlice - 1].nominal_fC() + digi[iSlice - 2].nominal_fC() -
94 if (qsum3 > charge_max3) {
100 if ((4 + slice_max3) >
size)
102 charge_late3 = digi[slice_max3 + 1].nominal_fC() + digi[slice_max3 + 2].nominal_fC() +
122 edm::LogError(
"HBHEStatusBitSetter") <<
"No HcalFrontEndMap in SetFlagsFromRecHits";