CMS 3D CMS Logo

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 
22  MonitorElement* book2dHisto(std::string name,std::string title,int nx,double xmin,double xmax,int ny,double ymin,double ymax,std::string xaxis, std::string 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 
MonitorElement * book2dHisto(std::string name, std::string title, int nx, double xmin, double xmax, int ny, double ymin, double ymax, std::string xaxis, std::string yaxis)
Definition: DQMHelper.cc:27
DQMHelper(DQMStore::IBooker *i)
Definition: DQMHelper.cc:4
MonitorElement * book1dHisto(std::string name, std::string title, int n, double xmin, double xmax, std::string xaxis, std::string yaxis)
Definition: DQMHelper.cc:12
virtual ~DQMHelper()
Definition: DQMHelper.cc:8
DQMStore::IBooker * ibooker
Definition: DQMHelper.h:28