CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HistoProviderDQM.cc
Go to the documentation of this file.
2 
6 
7 
8 HistoProviderDQM::HistoProviderDQM(const std::string& prefix, const std::string& label, DQMStore::IBooker & ibook): ibook_(ibook){
9  // get the store
10  label_ =prefix+"/"+label;
11  setDir(label_);
12 }
13 
16 }
17 
19  const std::string &title,
20  const int& nchX, const double& lowX, const double& highX) {
21  return (ibook_.book1D (name, title, nchX,lowX,highX));
22 }
23 
24 
26  const std::string &title,
27  const int& nchX, float *xbinsize){
28  return (ibook_.book1D (name, title,nchX, xbinsize));
29 }
30 
32  const std::string &title,
33  const int& nchX, const double& lowX, const double& highX,
34  const int& nchY, const double& lowY, 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, float *xbinsize,
41  const int& nchY, float *ybinsize){
42  return (ibook_.book2D (name, title,nchX, xbinsize, nchY, ybinsize));
43 }
44 
46  const std::string &title,
47  int nchX, double lowX, double highX,
48  int nchY, double lowY, double highY) {
49  return (ibook_.bookProfile (name,title, nchX,lowX,highX, nchY, lowY, highY));
50 }
51 
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
virtual MonitorElement * bookProfile(const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
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)
HistoProviderDQM(const std::string &prefix, const std::string &label, DQMStore::IBooker &ibook)
virtual MonitorElement * book1D(const std::string &name, const std::string &title, const int &nchX, const double &lowX, const double &highX)
DQMStore::IBooker & ibook_
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
void setDir(const std::string &)
std::string label_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133