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){
9  // get the store
11  label_ =prefix+"/"+label;
12  setDir(label_);
13 }
14 
17 }
18 
19 
20 void HistoProviderDQM::setDir(const std::string& name){
22 }
23 
25  const std::string &title,
26  const int& nchX, const double& lowX, const double& highX) {
27  return (dqmStore_->book1D (name, title, nchX,lowX,highX));
28 
29 }
30 
31 
33  const std::string &title,
34  const int& nchX, float *xbinsize){
35  return (dqmStore_->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 (dqmStore_->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 (dqmStore_->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 (dqmStore_->bookProfile (name,title, nchX,lowX,highX, nchY, lowY, highY));
59 
60 }
61 
63 return dqmStore_->get(label_+"/"+name);
64 }
65 
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:717
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)
DQMStore * dqmStore_
virtual MonitorElement * book1D(const std::string &name, const std::string &title, const int &nchX, const double &lowX, const double &highX)
HistoProviderDQM(const std::string &prefix, const std::string &label)
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1031
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
Definition: DQMStore.cc:1468
void setDir(const std::string &)
std::string label_
virtual MonitorElement * access(const std::string &name)
void showDirStructure(void) const
Definition: DQMStore.cc:2761
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:845
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429