Go to the documentation of this file.
19 unsigned int nlumi =
l.id().luminosityBlock();
21 if (nlumi + 1 >
DCS.size())
22 DCS.resize(nlumi + 1);
29 if (TH1F* h1 = DCSbyLS_->
getTH1F()) {
32 if (h1->GetBinContent(1) != 0) {
38 DCS[nlumi] = hvStatus;
49 unsigned int nlsmax =
DCS.size();
52 MonitorElement* rpcHVStatus = ibooker.
book2D(
"rpcHVStatus",
"RPC HV Status", nlsmax, 1., nlsmax + 1, 1, 0.5, 1.5);
58 for (
unsigned int i = 0;
i < nlsmax;
i++) {
66 rpcHV->
Fill(lsCounter);
~RPCDcsInfoClient() override
virtual void setCurrentFolder(std::string const &fullpath)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
T getUntrackedParameter(std::string const &, T const &) const
virtual TH1F * getTH1F() const
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
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)