CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/HLTriggerOffline/Egamma/interface/EmDQMPostProcessor.h

Go to the documentation of this file.
00001 #ifndef HLTriggerOffline_Egamma_EmDQMPosProcessor_H
00002 #define HLTriggerOffline_Egamma_EmDQMPosProcessor_H
00003 
00004 
00005 #include "FWCore/Framework/interface/Frameworkfwd.h"
00006 #include "FWCore/Framework/interface/EDAnalyzer.h"
00007 #include "DQMServices/Core/interface/DQMStore.h"
00008 
00009 class EmDQMPostProcessor : public edm::EDAnalyzer {
00010  public:
00011   EmDQMPostProcessor(const edm::ParameterSet& pset);
00012   ~EmDQMPostProcessor() {};
00013 
00014   void analyze(const edm::Event& event, const edm::EventSetup& eventSetup) {};
00015   void endRun(edm::Run const&, edm::EventSetup const&);
00016   TProfile* dividehistos(DQMStore * dqm, const std::string& num, const std::string& denom, const std::string& out,const std::string& label, const std::string& titel= "");
00017 
00018  private:
00019   
00022   static void Efficiency(int passing, int total, double level, double &mode, double &lowerBound, double &upperBound);
00023 
00028   bool noPhiPlots;
00029   bool normalizeToReco;
00030 
00034   TH1F *getHistogram(DQMStore *dqm, const std::string &histoPath);
00035 
00036   std::string subDir_;
00037   
00048   std::string dataSet_;
00049 };
00050 
00051 #endif