CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EmDQMPostProcessor.h
Go to the documentation of this file.
1 #ifndef HLTriggerOffline_Egamma_EmDQMPosProcessor_H
2 #define HLTriggerOffline_Egamma_EmDQMPosProcessor_H
3 
6 
8 public:
10  ~EmDQMPostProcessor() override{};
11 
12  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
13 
14  TProfile *dividehistos(DQMStore::IBooker &ibooker,
15  DQMStore::IGetter &igetter,
16  const std::string &num,
17  const std::string &denom,
18  const std::string &out,
19  const std::string &label,
20  const std::string &titel = "");
21 
22  TH2F *dividehistos2D(DQMStore::IBooker &ibooker,
23  DQMStore::IGetter &igetter,
24  const std::string &num,
25  const std::string &denom,
26  const std::string &out,
27  const std::string &label,
28  const std::string &titel = "");
29 
30 private:
34  static void Efficiency(int passing, int total, double level, double &mode, double &lowerBound, double &upperBound);
35 
40  bool noPhiPlots;
43 
47  TH1F *getHistogram(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &histoPath);
48  TH2F *get2DHistogram(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &histoPath);
50 
62 };
63 
64 #endif
TH2F * get2DHistogram(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &histoPath)
TH1F * getHistogram(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &histoPath)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
char const * label
TProfile * dividehistos(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &num, const std::string &denom, const std::string &out, const std::string &label, const std::string &titel="")
TH2F * dividehistos2D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &num, const std::string &denom, const std::string &out, const std::string &label, const std::string &titel="")
EmDQMPostProcessor(const edm::ParameterSet &pset)
~EmDQMPostProcessor() override
tuple level
Definition: testEve_cfg.py:47
static void Efficiency(int passing, int total, double level, double &mode, double &lowerBound, double &upperBound)