Go to the documentation of this file.
5 dcsinfofolder_(ps.getUntrackedParameter<
std::
string>(
"dcsInfoFolder",
"RPC/DCSInfo")),
6 eventinfofolder_(ps.getUntrackedParameter<
std::
string>(
"eventInfoFolder",
"RPC/EventInfo")),
7 dqmprovinfofolder_(ps.getUntrackedParameter<
std::
string>(
"dqmProvInfoFolder",
"Info/EventInfo"))
19 if (!reportSummaryMap)
22 TH2F* h2 = reportSummaryMap->
getTH2F();
24 const int maxLS = reportSummaryMap->
getNbinsX();
27 if ( nLS <= 0 or nLS > maxLS ) {
32 for ( nLS=1; nLS<=maxLS; ++nLS ) {
33 const double dcsBit = h2->GetBinContent(nLS, 1);
34 if ( dcsBit == -1 )
break;
38 MonitorElement* rpcHVStatus = ibooker.
book2D(
"rpcHVStatus",
"RPC HV Status", nLS, 1., nLS+1, 1, 0.5, 1.5);
45 const std::string binLabel = h2->GetYaxis()->GetBinLabel(
i);
46 if ( binLabel ==
"RPC" ) {
51 if ( binRPC == 0 )
return;
55 for (
int i=1;
i<=nLS; ++
i ) {
56 const double dcsBit = h2->GetBinContent(
i, binRPC);
57 const int hvStatus = (dcsBit != -1) ? 1 : 0;
58 if ( hvStatus != 0 ) {
virtual void setCurrentFolder(std::string const &fullpath)
const std::string dqmprovinfofolder_
RPCDcsInfoClient(const edm::ParameterSet &ps)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
virtual int getNbinsY() const
get # of bins in Y-axis
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)
const std::string eventinfofolder_
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 int getNbinsX() const
get # of bins in X-axis
virtual MonitorElement * get(std::string const &fullpath) const
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
virtual TH2F * getTH2F() const