CMS 3D CMS Logo

GEMDQMEfficiencyClientBase.h
Go to the documentation of this file.
1 #ifndef DQM_GEM_GEMDQMEfficiencyClientBase_h
2 #define DQM_GEM_GEMDQMEfficiencyClientBase_h
3 
13 
15 public:
16  using MEPair = std::pair<const MonitorElement*, const MonitorElement*>;
17 
19 
20  std::tuple<bool, std::string, std::string, bool> parseEfficiencySourceName(std::string);
22 
23  std::map<std::string, MEPair> makeEfficiencySourcePair(DQMStore::IBooker&,
25  const std::string&,
26  const std::string prefix = "");
27  void setBins(TH1F*, const TAxis*);
28  TH1F* projectHistogram(const TH2F*, const unsigned int);
29  bool checkConsistency(const TH1&, const TH1&);
30  TH1F* makeEfficiency(const TH1F*, const TH1F*, const char* name = nullptr, const char* title = nullptr);
31  TH2F* makeEfficiency(const TH2F*, const TH2F*, const char* name = nullptr, const char* title = nullptr);
33 
34  const double kConfidenceLevel_;
36 };
37 
38 #endif // DQM_GEM_GEMDQMEfficiencyClientBase_h
GEMDetId parseGEMLabel(const std::string, const std::string delimiter="-")
TH1F * makeEfficiency(const TH1F *, const TH1F *, const char *name=nullptr, const char *title=nullptr)
GEMDQMEfficiencyClientBase(const edm::ParameterSet &)
void setBins(TH1F *, const TAxis *)
void bookEfficiencyAuto(DQMStore::IBooker &, DQMStore::IGetter &, const std::string &)
bool checkConsistency(const TH1 &, const TH1 &)
TH1F * projectHistogram(const TH2F *, const unsigned int)
std::tuple< bool, std::string, std::string, bool > parseEfficiencySourceName(std::string)
std::map< std::string, MEPair > makeEfficiencySourcePair(DQMStore::IBooker &, DQMStore::IGetter &, const std::string &, const std::string prefix="")
std::pair< const MonitorElement *, const MonitorElement * > MEPair