CMS 3D CMS Logo

EmDQMPostProcessor.h
Go to the documentation of this file.
1 #ifndef HLTriggerOffline_Egamma_EmDQMPosProcessor_H
2 #define HLTriggerOffline_Egamma_EmDQMPosProcessor_H
3 
4 
7 
9  public:
11  ~EmDQMPostProcessor() override{};
12 
13  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
14 
15  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= "");
16 
17  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= "");
18 
19  private:
20 
23  static void Efficiency(int passing, int total, double level, double &mode, double &lowerBound, double &upperBound);
24 
29  bool noPhiPlots;
32 
36  TH1F *getHistogram(DQMStore::IBooker & ibooker, DQMStore::IGetter & igetter, const std::string &histoPath);
37  TH2F *get2DHistogram(DQMStore::IBooker & ibooker, DQMStore::IGetter & igetter, const std::string &histoPath);
39 
51 };
52 
53 #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
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
static void Efficiency(int passing, int total, double level, double &mode, double &lowerBound, double &upperBound)