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();
54 MonitorElement* rpcHVStatus = ibooker.
book2D(
"rpcHVStatus",
"RPC HV Status", nlsmax, 1., nlsmax+1, 1, 0.5, 1.5);
60 for (
unsigned int i = 0 ;
i < nlsmax ;
i++ ) {
68 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)
~RPCDcsInfoClient() override
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
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)
void setCurrentFolder(std::string const &fullpath)
std::string dcsinfofolder_
MonitorElement * get(std::string const &path)
MonitorElement * book2D(Args &&...args)
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)