Go to the documentation of this file.
22 unsigned int nlsmax =
DCS.size();
26 if (!reportSummaryMap_)
29 if (TH2F* h2 = reportSummaryMap_->
getTH2F()) {
32 const char* label_name =
"RPC";
33 unsigned int rpc_num = 0;
34 if (nlsmax >
DCS.size())
37 for (
int ybin = 0; ybin < h2->GetNbinsY(); ++ybin) {
38 if (strcmp(h2->GetYaxis()->GetBinLabel(ybin + 1), label_name) == 0)
42 for (
unsigned int nlumi = 0; nlumi < nlsmax; ++nlumi) {
43 int rpc_dcsbit = h2->GetBinContent(nlumi + 1, rpc_num);
44 if (rpc_dcsbit != -1) {
49 DCS[nlumi] = hvStatus;
54 unsigned int dcssize =
DCS.size();
55 MonitorElement* rpcHVStatus = ibooker.
book2D(
"rpcHVStatus",
"RPC HV Status", dcssize, 1., dcssize + 1, 1, 0.5, 1.5);
61 for (
unsigned int i = 0;
i < nlsmax;
i++) {
69 rpcHV->
Fill(lsCounter);
~RPCDcsInfoClient() override
virtual void setCurrentFolder(std::string const &fullpath)
T getUntrackedParameter(std::string const &, T const &) const
std::string dqmprovinfofolder_
RPCDcsInfoClient(const edm::ParameterSet &ps)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::string dcsinfofolder_
MonitorElement * bookInt(TString const &name, FUNC onbooking=NOOP())
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 void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
virtual MonitorElement * get(std::string const &fullpath) const
std::string eventinfofolder_
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
virtual TH2F * getTH2F() const