26 if (nlumi+1 >
DCS.size())
DCS.resize(nlumi+1);
31 if ( !DCSbyLS_ )
return;
33 if ( TH1F * h1 = DCSbyLS_->
getTH1F()) {
36 if ( h1->GetBinContent(1) != 0 ) {
42 DCS[nlumi] = hvStatus;
54 unsigned int nlsmax =
DCS.size();
55 if (nlsmax > 900 ) nlsmax = 900;
61 rpcHVStatus =
dbe_->
book2D(
"rpcHVStatus",
"RPC HV Status", nlsmax, 1., nlsmax+1, 1, 0.5, 1.5);
67 for (
unsigned int i = 0 ;
i < nlsmax ;
i++ ) {
77 rpcHV ->
Fill(lsCounter);
LuminosityBlockID id() const
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
void setBinContent(int binx, double content)
set content of bin (1-D)
void analyze(const edm::Event &e, const edm::EventSetup &c)
RPCDcsInfoClient(const edm::ParameterSet &ps)
void cd(void)
go to top directory (ie. root)
void beginRun(const edm::Run &r, const edm::EventSetup &c)
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 endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
void removeElement(const std::string &name)
std::string dcsinfofolder_
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
TH1F * getTH1F(void) const
LuminosityBlockNumber_t luminosityBlock() const
void endRun(const edm::Run &r, const edm::EventSetup &c)
MonitorElement * bookInt(const char *name)
Book int.
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void setCurrentFolder(const std::string &fullpath)