17 LogDebug(
"TriggerDQM") <<
"[TriggerDQM]: ending... ";
40 "runInEventLoop",
false);
53 LogDebug(
"TriggerDQM") <<
"[TriggerDQM]: Begin Job";
101 "efficiency DTCSC vs eta and phi",
"etaphi_DTCSC_and_RPC");
111 "efficiency RPC vs eta and phi",
"etaphi_DTCSC_and_RPC");
157 LogDebug(
"TriggerDQM") <<
"L1TGMTClient: processing..." << std::endl;
168 "etaphi_DTCSC_only");
203 <<
"\nL1TGMTClient::makeRatio1D: monitoring element zero, not able to retrieve histogram"
210 if (hr && h1 && h2) {
211 hr->Divide(h1, h2, 1., 1.,
" ");
226 <<
"L1TGMTClient::makeEfficiency1D: monitoring element zero, not able to retrieve histogram"
233 if (heff && he && hi) {
234 TH1F* hall = (TH1F*) he->Clone(
"hall");
236 heff->Divide(he, hall, 1., 1.,
"B");
252 <<
"\nL1TGMTClient::makeEfficiency2D: monitoring element zero, not able to retrieve histogram"
259 if (heff && he && hi) {
260 TH2F* hall = (TH2F*) he->Clone(
"hall");
262 heff->Divide(he, hall, 1., 1.,
"B");
273 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient: " << meName <<
" NOT FOUND.";
285 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient: " << meName <<
" NOT FOUND.";
301 <<
"\nL1TGMTClient::bookClone1D: booking histogram "
302 << hrefName << std::endl;
303 const unsigned nbx = href->GetNbinsX();
304 const double xmin = href->GetXaxis()->GetXmin();
305 const double xmax = href->GetXaxis()->GetXmax();
306 me =
dbe_->
book1D(name, title, nbx, xmin, xmax);
309 <<
"\nL1TGMTClient::bookClone1D: not able to clone histogram "
310 << hrefName << std::endl;
327 <<
"\nL1TGMTClient::bookClone1DVB: booking histogram "
328 << hrefName << std::endl;
329 int nbx = href->GetNbinsX();
333 for (
int i = 0;
i < nbx;
i++) {
334 xbins[
i] = href->GetBinLowEdge(
i + 1);
336 xbins[nbx] = href->GetXaxis()->GetXmax();
343 <<
"\nL1TGMTClient::bookClone1DVB: not able to clone histogram "
344 << hrefName << std::endl;
361 <<
"\nL1TGMTClient::bookClone2D: booking histogram "
362 << hrefName << std::endl;
363 const unsigned nbx = href->GetNbinsX();
364 const double xmin = href->GetXaxis()->GetXmin();
365 const double xmax = href->GetXaxis()->GetXmax();
366 const unsigned nby = href->GetNbinsY();
367 const double ymin = href->GetYaxis()->GetXmin();
368 const double ymax = href->GetYaxis()->GetXmax();
369 me =
dbe_->
book2D(name, title, nbx, xmin, xmax, nby, ymin, ymax);
372 <<
"\nL1TGMTClient::bookClone2D: not able to clone histogram "
373 << hrefName << std::endl;
T getUntrackedParameter(std::string const &, T const &) const
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
DQM Client Diagnostic.
MonitorElement * bookClone1DVB(const std::string &name, const std::string &title, const std::string &hrefName)
void beginRun(const edm::Run &, const edm::EventSetup &)
BeginRun.
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * eff_eta_rpc
MonitorElement * eff_etaphi_dtcsc
virtual ~L1TGMTClient()
Destructor.
void analyze(const edm::Event &, const edm::EventSetup &)
Fake Analyze.
MonitorElement * eff_etaphi_rpc
void endRun(const edm::Run &, const edm::EventSetup &)
EndRun.
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * eff_phi_rpc
MonitorElement * eff_eta_dtcsc
MonitorElement * eff_phi_dtcsc
void makeEfficiency1D(MonitorElement *meeff, std::string heName, std::string hiName)
TH1F * getTH1F(void) const
L1TGMTClient(const edm::ParameterSet &)
Constructor.
MonitorElement * bookClone1D(const std::string &name, const std::string &title, const std::string &hrefName)
TH1F * get1DHisto(std::string meName, DQMStore *dbi)
void makeRatio1D(MonitorElement *mer, std::string h1Name, std::string h2Name)
MonitorElement * bookClone2D(const std::string &name, const std::string &title, const std::string &hrefName)
void makeEfficiency2D(MonitorElement *meeff, std::string heName, std::string hiName)
TH2F * get2DHisto(std::string meName, DQMStore *dbi)
TH2F * getTH2F(void) const
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)
edm::ParameterSet parameters_