22 if (nlumi+1 >
DCS.size())
DCS.resize(nlumi+1);
27 if ( !DCSbyLS_ )
return;
29 if ( TH1F * h1 = DCSbyLS_->
getTH1F()) {
32 if ( h1->GetBinContent(1) != 0 ) {
38 DCS[nlumi] = hvStatus;
51 unsigned int nlsmax =
DCS.size();
52 if (nlsmax > 900 ) nlsmax = 900;
55 MonitorElement* rpcHVStatus = ibooker.
book2D(
"rpcHVStatus",
"RPC HV Status", nlsmax, 1., nlsmax+1, 1, 0.5, 1.5);
61 for (
unsigned int i = 0 ;
i < nlsmax ;
i++ ) {
69 rpcHV ->
Fill(lsCounter);
LuminosityBlockID id() const
T getUntrackedParameter(std::string const &, T const &) const
void setBinContent(int binx, double content)
set content of bin (1-D)
RPCDcsInfoClient(const edm::ParameterSet &ps)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
MonitorElement * get(const std::string &path)
MonitorElement * bookInt(Args &&...args)
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)
std::string dcsinfofolder_
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
TH1F * getTH1F(void) const
LuminosityBlockNumber_t luminosityBlock() const
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)