CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMHelper.cc
Go to the documentation of this file.
2 
3 
5 
6 }
7 
9 
10 }
11 
13  MonitorElement* dqm=ibooker->book1D(name,title,n,xmin,xmax);
14  dqm->getTH1()->Sumw2();
15  return dqm;
16 }
17 
18 MonitorElement* DQMHelper::book2dHisto(const std::string &name,const std::string &title,int nx,double xmin,double xmax,int ny,double ymin,double ymax){
19  MonitorElement* dqm=ibooker->book2D(name,title,nx,xmin,xmax,ny,ymin,ymax);
20  dqm->getTH1()->Sumw2();
21  return dqm;
22 }
23 
24 
25 
int i
Definition: DBlmapReader.cc:9
MonitorElement * book2dHisto(const std::string &name, const std::string &title, int nx, double xmin, double xmax, int ny, double ymin, double ymax)
Definition: DQMHelper.cc:18
DQMHelper(DQMStore::IBooker *i)
Definition: DQMHelper.cc:4
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
TH1 * getTH1(void) const
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
virtual ~DQMHelper()
Definition: DQMHelper.cc:8
MonitorElement * book1dHisto(const std::string &name, const std::string &title, int n, double xmin, double xmax)
Definition: DQMHelper.cc:12
DQMStore::IBooker * ibooker
Definition: DQMHelper.h:25