CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/DQMOffline/PFTau/plugins/PFClient.h

Go to the documentation of this file.
00001 #ifndef __DQMOffline_PFTau_PFClient__
00002 #define __DQMOffline_PFTau_PFClient__
00003 
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include "FWCore/Framework/interface/EDAnalyzer.h"
00006 
00007 #include "FWCore/Utilities/interface/InputTag.h"
00008 
00009 
00010 class DQMStore;
00011 class MonitorElement;
00012 class PFClient: public edm::EDAnalyzer {
00013  public:
00014   
00015   PFClient(const edm::ParameterSet& parameterSet);
00016   
00017  private:
00018   void beginJob();
00019   void analyze(edm::Event const&, edm::EventSetup const&){;}
00020   void endRun(edm::Run const& run, edm::EventSetup const& eSetup);
00021   void endJob();
00022 
00023   void doSummaries();
00024   void doEfficiency();
00025   void createResolutionPlots(std::string& folder, std::string& name);
00026   void getHistogramParameters(MonitorElement* me_slice, double& avarage, double& rms, 
00027                                                         double& mean, double& sigma);
00028   void createEfficiencyPlots(std::string& folder, std::string& name);
00029      
00030   std::vector<std::string> folderNames_;
00031   std::vector<std::string> histogramNames_;
00032   std::vector<std::string> effHistogramNames_;
00033   bool   efficiencyFlag_;
00034 
00035   DQMStore* dqmStore_;
00036 
00037 };
00038 
00039 #endif