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>
14 
15 class DQMHelper {
16 public:
19 
21  virtual ~DQMHelper();
22 
23  MonitorElement *book1dHisto(
25  MonitorElement *book2dHisto(std::string name,
27  int nx,
28  double xmin,
29  double xmax,
30  int ny,
31  double ymin,
32  double ymax,
35 
36  MonitorElement *book1dHisto(const std::string &name, const std::string &title, int n, double xmin, double xmax);
37  MonitorElement *book2dHisto(const std::string &name,
38  const std::string &title,
39  int nx,
40  double xmin,
41  double xmax,
42  int ny,
43  double ymin,
44  double ymax);
45 
46 private:
48 };
49 
50 #endif
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:23
DQMHelper(DQMStore::IBooker *i)
Definition: DQMHelper.cc:3
dqm::legacy::MonitorElement MonitorElement
Definition: DQMHelper.h:18
dqm::legacy::DQMStore DQMStore
Definition: DQMHelper.h:17
MonitorElement * book1dHisto(std::string name, std::string title, int n, double xmin, double xmax, std::string xaxis, std::string yaxis)
Definition: DQMHelper.cc:7
virtual ~DQMHelper()
Definition: DQMHelper.cc:5
DQMStore::IBooker * ibooker
Definition: DQMHelper.h:47