CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMHelper.h
Go to the documentation of this file.
1 #ifndef Validation_EventGenerator_DQMHelper
2 #define Validation_EventGenerator_DQMHelper
3 
4 /* class DQMHelper
5  *
6  * Simple class to configure dqm histograms
7  *
8  */
9 
10 #include <iostream>
15 
16 class DQMHelper{
17  public:
19  virtual ~DQMHelper();
20 
21  MonitorElement* book1dHisto(TString name,TString title,int n,double xmin,double xmax,TString xaxis, TString yaxis);
22  MonitorElement* book2dHisto(TString name,TString title,int nx,double xmin,double xmax,int ny,double ymin,double ymax,TString xaxis, TString yaxis);
23 
24  MonitorElement* book1dHisto(const std::string &name,const std::string &title,int n,double xmin,double xmax);
25  MonitorElement* book2dHisto(const std::string &name,const std::string &title,int nx,double xmin,double xmax,int ny,double ymin,double ymax);
26 
27  private:
29 };
30 
31 #endif
32 
int i
Definition: DBlmapReader.cc:9
MonitorElement * book2dHisto(TString name, TString title, int nx, double xmin, double xmax, int ny, double ymin, double ymax, TString xaxis, TString yaxis)
Definition: DQMHelper.cc:27
DQMHelper(DQMStore::IBooker *i)
Definition: DQMHelper.cc:4
virtual ~DQMHelper()
Definition: DQMHelper.cc:8
DQMStore::IBooker * ibooker
Definition: DQMHelper.h:28
MonitorElement * book1dHisto(TString name, TString title, int n, double xmin, double xmax, TString xaxis, TString yaxis)
Definition: DQMHelper.cc:12