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  protected:
31  void bookME(DQMStore::IBooker &, ObjME& me, const std::string& histname, const std::string& histtitle, unsigned nbins, double xmin, double xmax);
32  void bookME(DQMStore::IBooker &, ObjME& me, const std::string& histname, const std::string& histtitle, const std::vector<double>& binningX);
33  void bookME(DQMStore::IBooker &, ObjME& me, const std::string& histname, const std::string& histtitle, unsigned nbinsX, double xmin, double xmax, double ymin, double ymax);
34  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);
35  void bookME(DQMStore::IBooker &, ObjME& me, const std::string& histname, const std::string& histtitle, const std::vector<double>& binningX, const std::vector<double>& binningY);
36  void setMETitle(ObjME& me, const std::string& titleX, const std::string& titleY);
37 
38  private:
39 
40 };//class
41 
42 #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)