4 : dcsinfofolder_(ps.getUntrackedParameter<
std::
string>(
"dcsInfoFolder",
"RPC/DCSInfo")),
5 eventinfofolder_(ps.getUntrackedParameter<
std::
string>(
"eventInfoFolder",
"RPC/EventInfo")),
6 dqmprovinfofolder_(ps.getUntrackedParameter<
std::
string>(
"dqmProvInfoFolder",
"Info/EventInfo")) {}
16 if (!reportSummaryMap)
19 TH2F* h2 = reportSummaryMap->
getTH2F();
22 const int maxLS = reportSummaryMap->
getNbinsX();
25 if (nLS <= 0 or nLS > maxLS) {
30 for (nLS = 1; nLS <= maxLS; ++nLS) {
31 const double dcsBit = h2->GetBinContent(nLS, 1);
37 MonitorElement* rpcHVStatus = ibooker.
book2D(
"rpcHVStatus",
"RPC HV Status", nLS, 1., nLS + 1, 1, 0.5, 1.5);
44 const std::string binLabel = h2->GetYaxis()->GetBinLabel(
i);
45 if (binLabel ==
"RPC") {
55 for (
int i = 1;
i <= nLS; ++
i) {
56 const double dcsBit = h2->GetBinContent(
i, binRPC);
57 const int hvStatus = (dcsBit != -1) ? 1 : 0;
RPCDcsInfoClient(const edm::ParameterSet &ps)
virtual void setCurrentFolder(std::string const &fullpath)
virtual TH2F * getTH2F() const
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
virtual int getNbinsY() const
get # of bins in Y-axis
const std::string dqmprovinfofolder_
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
const std::string eventinfofolder_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * bookInt(TString const &name, FUNC onbooking=NOOP())
virtual MonitorElement * get(std::string const &fullpath) const
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
virtual int getNbinsX() const
get # of bins in X-axis
const std::string dcsinfofolder_
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
virtual int64_t getIntValue() const