CMS 3D CMS Logo

TriggerDQMBase.h
Go to the documentation of this file.
1 #ifndef DQMOffline_Trigger_TriggerDQMBase_H
2 #define DQMOffline_Trigger_TriggerDQMBase_H
3 
7 
9 {
10  public:
11  TriggerDQMBase()= default;;
12  virtual ~TriggerDQMBase()= default;;
13 
14  struct MEbinning {
15  unsigned nbins;
16  double xmin;
17  double xmax;
18  };
19 
20  struct ObjME {
23  };
24 
29 
30  void bookME(DQMStore::IBooker &, ObjME& me, const std::string& histname, const std::string& histtitle, unsigned nbins, double xmin, double xmax);
31  void bookME(DQMStore::IBooker &, ObjME& me, const std::string& histname, const std::string& histtitle, const std::vector<double>& binningX);
32  void bookME(DQMStore::IBooker &, ObjME& me, const std::string& histname, const std::string& histtitle, unsigned nbinsX, double xmin, double xmax, double ymin, double ymax);
33  void bookME(DQMStore::IBooker &, ObjME& me, const std::string& histname, const std::string& histtitle, unsigned nbinsX, double xmin, double xmax, unsigned nbinsY, double ymin, double ymax);
34  void bookME(DQMStore::IBooker &, ObjME& me, const std::string& histname, const std::string& histtitle, const std::vector<double>& binningX, const std::vector<double>& binningY);
35  void setMETitle(ObjME& me, const std::string& titleX, const std::string& titleY);
36 
37  protected:
38 
39  private:
40 
41 };//class
42 
43 #endif //DQMOffline_Trigger_TriggerDQMBase_H
TriggerDQMBase()=default
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
static MEbinning getHistoLSPSet(const edm::ParameterSet &pset)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
virtual ~TriggerDQMBase()=default
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, unsigned nbins, double xmin, double xmax)