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 
9  // get the store
10  label_ =prefix+"/"+label;
11  setDir(label_);
12 }
13 
15  //ibook_.showDirStructure();
16  std::cout<<"No showDirStructure() avaialble with DQMStore::IBooker: obsolete method!"<<std::endl;
17 }
18 
19 
22 }
23 
25  const std::string &title,
26  const int& nchX, const double& lowX, const double& highX) {
27  return (ibook_.book1D (name, title, nchX,lowX,highX));
28 
29 }
30 
31 
33  const std::string &title,
34  const int& nchX, float *xbinsize){
35  return (ibook_.book1D (name, title,nchX, xbinsize));
36 }
37 
39  const std::string &title,
40  const int& nchX, const double& lowX, const double& highX,
41  const int& nchY, const double& lowY, const double& highY) {
42  return (ibook_.book2D (name, title, nchX,lowX,highX, nchY, lowY, highY));
43 
44 }
45 
46 
48  const std::string &title,
49  const int& nchX, float *xbinsize,
50  const int& nchY, float *ybinsize){
51  return (ibook_.book2D (name, title,nchX, xbinsize, nchY, ybinsize));
52 }
53 
55  const std::string &title,
56  int nchX, double lowX, double highX,
57  int nchY, double lowY, double highY) {
58  return (ibook_.bookProfile (name,title, nchX,lowX,highX, nchY, lowY, highY));
59 
60 }
61 
63  //return ibook_.get(label_+"/"+name);
64  std::cout<<"'get' forbidden with DQMStore::IBooker: obsolete method!"<<std::endl;
65  return 0;
66 }
67 
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:155
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:113
void setDir(const std::string &)
std::string label_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:131
tuple cout
Definition: gather_cfg.py:121
virtual MonitorElement * access(const std::string &name)