CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/Validation/RecoTau/plugins/DQMHistEffProducer.h

Go to the documentation of this file.
00001 #ifndef ElectroWeakAnalysis_EWKTau_DQMHistEffProducer_h
00002 #define ElectroWeakAnalysis_EWKTau_DQMHistEffProducer_h
00003 
00013 // framework & common header files
00014 #include "FWCore/Framework/interface/EDAnalyzer.h"
00015 #include "FWCore/Framework/interface/Event.h"
00016 #include "FWCore/Framework/interface/EventSetup.h"
00017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00018 
00019 #include <string>
00020 #include <vector>
00021 
00022 class DQMHistEffProducer : public edm::EDAnalyzer
00023 {
00024   struct cfgEntryPlot
00025   {
00026     explicit cfgEntryPlot(const edm::ParameterSet&);
00027     explicit cfgEntryPlot(const std::string&, const std::string&, const std::string&);
00028     std::string numerator_;
00029     std::string denominator_;
00030     std::string efficiency_;
00031   };
00032 
00033  public:
00034   explicit DQMHistEffProducer(const edm::ParameterSet&);
00035   virtual ~DQMHistEffProducer();
00036   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00037   virtual void endJob();  
00038 
00039 private:
00040   std::vector<cfgEntryPlot> cfgEntryPlot_;
00041 };
00042 
00043 #endif
00044 
00045