5 : dcsinfofolder_(ps.getUntrackedParameter<
std::
string>(
"dcsInfoFolder",
"RPC/DCSInfo")),
6 eventinfofolder_(ps.getUntrackedParameter<
std::
string>(
"eventInfoFolder",
"RPC/EventInfo")),
7 dqmprovinfofolder_(ps.getUntrackedParameter<
std::
string>(
"dqmProvInfoFolder",
"Info/EventInfo")) {}
17 if (!reportSummaryMap)
20 TH2F* h2 = reportSummaryMap->
getTH2F();
23 const int maxLS = reportSummaryMap->
getNbinsX();
26 if (nLS <= 0 or nLS > maxLS) {
31 for (nLS = 1; nLS <= maxLS; ++nLS) {
32 const double dcsBit = h2->GetBinContent(nLS, 1);
38 MonitorElement* rpcHVStatus = ibooker.
book2D(
"rpcHVStatus",
"RPC HV Status", nLS, 1., nLS + 1, 1, 0.5, 1.5);
45 const std::string binLabel = h2->GetYaxis()->GetBinLabel(
i);
46 if (binLabel ==
"RPC") {
56 for (
int i = 1;
i <= nLS; ++
i) {
57 const double dcsBit = h2->GetBinContent(
i, binRPC);
58 const int hvStatus = (dcsBit != -1) ? 1 : 0;