19 : currentPedestals_(nullptr), channelStatus_(nullptr) {
21 ps.
getParameter<std::vector<std::string> >(
"ChannelStatusToExclude"));
36 float kBarrelSize = 61200;
37 float kEndcapSize = 2 * 7324;
38 float skipped_channels_EB = 0;
39 float skipped_channels_EE = 0;
42 std::string hname =
dqmDir_ +
"/EB/" + std::to_string(
int(
i / 100)) +
"/eb_" + std::to_string(
i);
45 edm::LogWarning(
"MissingMonitorElement") <<
"failed to find MonitorElement " << hname;
68 skipped_channels_EB++;
81 std::string hname =
dqmDir_ +
"/EE/" + std::to_string(
int(
i / 100)) +
"/ee_" + std::to_string(
i);
85 edm::LogWarning(
"MissingMonitorElement") <<
"failed to find MonitorElement " << hname;
108 skipped_channels_EE++;
117 pedestals.
setValue(
id.rawId(), ped);
120 bool enough_stat =
false;
132 edm::LogError(
"Large Variations found wrt to old pedestals, no file created");
144 throw std::runtime_error(
"PoolDBService required.");
196 uint32_t nAnomaliesEB = 0;
197 uint32_t nAnomaliesEE = 0;
228 MonitorElement* pmeb = ibooker.
book2D(
"meaneb",
"Pedestal Means EB", 360, 1., 361., 171, -85., 86.);
229 MonitorElement* preb = ibooker.
book2D(
"rmseb",
"Pedestal RMS EB ", 360, 1., 361., 171, -85., 86.);
231 MonitorElement* pmeep = ibooker.
book2D(
"meaneep",
"Pedestal Means EEP", 100, 1, 101, 100, 1, 101);
234 MonitorElement* pmeem = ibooker.
book2D(
"meaneem",
"Pedestal Means EEM", 100, 1, 101, 100, 1, 101);
237 MonitorElement* pmebd = ibooker.
book2D(
"meanebdiff",
"Abs Rel Pedestal Means Diff EB", 360, 1., 361., 171, -85., 86.);
238 MonitorElement* prebd = ibooker.
book2D(
"rmsebdiff",
"Abs Rel Pedestal RMS Diff E ", 360, 1., 361., 171, -85., 86.);
240 MonitorElement* pmeepd = ibooker.
book2D(
"meaneepdiff",
"Abs Rel Pedestal Means Diff EEP", 100, 1, 101, 100, 1, 101);
241 MonitorElement* preepd = ibooker.
book2D(
"rmseepdiff",
"Abs Rel Pedestal RMS Diff EEP", 100, 1, 101, 100, 1, 101);
243 MonitorElement* pmeemd = ibooker.
book2D(
"meaneemdiff",
"Abs Rel Pedestal Means Diff EEM", 100, 1, 101, 100, 1, 101);
244 MonitorElement* preemd = ibooker.
book2D(
"rmseemdiff",
"Abs RelPedestal RMS Diff EEM", 100, 1, 101, 100, 1, 101);
255 float mean = newpeds[di].mean_x12;
256 float rms = newpeds[di].rms_x12;
258 float cmean = (*currentPedestals_)[di].mean_x12;
259 float crms = (*currentPedestals_)[di].rms_x12;
276 float mean = newpeds[di].mean_x12;
277 float rms = newpeds[di].rms_x12;
278 float cmean = (*currentPedestals_)[di].mean_x12;
279 float crms = (*currentPedestals_)[di].rms_x12;
284 if (di.
zside() > 0) {