CMS 3D CMS Logo

HistoProviderDQM.cc
Go to the documentation of this file.
2 
5 
7  : ibook_(ibook) {
8  // get the store
9  label_ = prefix + "/" + label;
10  setDir(label_);
11 }
12 
14 
16  const std::string& name, const std::string& title, const int& nchX, const double& lowX, const double& highX) {
17  return ibook_.book1D(name, title, nchX, lowX, highX);
18 }
19 
21  const std::string& title,
22  const int& nchX,
23  float* xbinsize) {
24  return ibook_.book1D(name, title, nchX, xbinsize);
25 }
26 
28  const std::string& title,
29  const int& nchX,
30  const double& lowX,
31  const double& highX,
32  const int& nchY,
33  const double& lowY,
34  const double& highY) {
35  return ibook_.book2D(name, title, nchX, lowX, highX, nchY, lowY, highY);
36 }
37 
39  const std::string& title,
40  const int& nchX,
41  float* xbinsize,
42  const int& nchY,
43  float* ybinsize) {
44  return ibook_.book2D(name, title, nchX, xbinsize, nchY, ybinsize);
45 }
46 
48  const std::string& title,
49  int nchX,
50  double lowX,
51  double highX,
52  int nchY,
53  double lowY,
54  double highY) {
55  return ibook_.bookProfile(name, title, nchX, lowX, highX, nchY, lowY, highY);
56 }
HistoProviderDQM::bookProfile
virtual MonitorElement * bookProfile(const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Definition: HistoProviderDQM.cc:47
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
HistoProviderDQM::ibook_
DQMStore::IBooker & ibook_
Definition: HistoProviderDQM.h:50
Service.h
dqm::implementation::IBooker::bookProfile
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:322
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HistoProviderDQM.h
HistoProviderDQM::book1D
virtual MonitorElement * book1D(const std::string &name, const std::string &title, const int &nchX, const double &lowX, const double &highX)
Definition: HistoProviderDQM.cc:15
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
HistoProviderDQM::setDir
void setDir(const std::string &)
Definition: HistoProviderDQM.cc:13
HistoProviderDQM::HistoProviderDQM
HistoProviderDQM(const std::string &prefix, const std::string &label, DQMStore::IBooker &ibook)
Definition: HistoProviderDQM.cc:6
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
HistoProviderDQM::book2D
virtual MonitorElement * book2D(const std::string &name, const std::string &title, const int &nchX, const double &lowX, const double &highX, const int &nchY, const double &lowY, const double &highY)
Definition: HistoProviderDQM.cc:27
label
const char * label
Definition: PFTauDecayModeTools.cc:11
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
ZMuMuAnalysisNtupler_cff.prefix
prefix
Definition: ZMuMuAnalysisNtupler_cff.py:14
HistoProviderDQM::label_
std::string label_
Definition: HistoProviderDQM.h:49