CMS 3D CMS Logo

DQMHelper.cc
Go to the documentation of this file.
2 
4 
6 
9  MonitorElement* dqm = ibooker->book1D(name, title, n, xmin, xmax, [](TH1* th1) { th1->Sumw2(); });
10  dqm->setAxisTitle(xaxis, 1);
11  dqm->setAxisTitle(yaxis, 2);
12  return dqm;
13 }
14 
16  const std::string& name, const std::string& title, int n, double xmin, double xmax) {
17  MonitorElement* dqm = ibooker->book1D(name, title, n, xmin, xmax, [](TH1* th1) { th1->Sumw2(); });
18  return dqm;
19 }
20 
23  int nx,
24  double xmin,
25  double xmax,
26  int ny,
27  double ymin,
28  double ymax,
31  MonitorElement* dqm = ibooker->book2D(name, title, nx, xmin, xmax, ny, ymin, ymax, [](TH1* th1) { th1->Sumw2(); });
32  dqm->setAxisTitle(xaxis, 1);
33  dqm->setAxisTitle(yaxis, 2);
34  return dqm;
35 }
36 
38  const std::string& title,
39  int nx,
40  double xmin,
41  double xmax,
42  int ny,
43  double ymin,
44  double ymax) {
45  MonitorElement* dqm = ibooker->book2D(name, title, nx, xmin, xmax, ny, ymin, ymax, [](TH1* th1) { th1->Sumw2(); });
46  return dqm;
47 }
mps_fire.i
i
Definition: mps_fire.py:355
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
TimingClient_cfi.yaxis
yaxis
Definition: TimingClient_cfi.py:52
DQMHelper.h
L1TOccupancyClient_cfi.ymax
ymax
Definition: L1TOccupancyClient_cfi.py:43
DQMHelper::~DQMHelper
virtual ~DQMHelper()
Definition: DQMHelper.cc:5
DQMHelper::book2dHisto
MonitorElement * book2dHisto(std::string name, std::string title, int nx, double xmin, double xmax, int ny, double ymin, double ymax, std::string xaxis, std::string yaxis)
Definition: DQMHelper.cc:21
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMHelper::book1dHisto
MonitorElement * book1dHisto(std::string name, std::string title, int n, double xmin, double xmax, std::string xaxis, std::string yaxis)
Definition: DQMHelper.cc:7
DQMHelper::ibooker
DQMStore::IBooker * ibooker
Definition: DQMHelper.h:47
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
L1TOccupancyClient_cfi.ymin
ymin
Definition: L1TOccupancyClient_cfi.py:43
TrackerOfflineValidation_Dqm_cff.xmax
xmax
Definition: TrackerOfflineValidation_Dqm_cff.py:11
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
dqm::implementation::IBooker
Definition: DQMStore.h:43
dqm
Definition: DQMStore.h:18
LaserClient_cfi.xaxis
xaxis
Definition: LaserClient_cfi.py:49
DQMHelper::DQMHelper
DQMHelper(DQMStore::IBooker *i)
Definition: DQMHelper.cc:3
TrackerOfflineValidation_Dqm_cff.xmin
xmin
Definition: TrackerOfflineValidation_Dqm_cff.py:10
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98