CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DQM/RPCMonitorClient/interface/ReadMeFromFile.h

Go to the documentation of this file.
00001 #ifndef ReadMeFromFile_H
00002 #define ReadMeFromFile_H
00003 
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include <FWCore/Framework/interface/EDAnalyzer.h>
00006 #include <FWCore/Framework/interface/ESHandle.h>
00007 #include <FWCore/Framework/interface/Event.h>
00008 #include <FWCore/Framework/interface/Run.h>
00009 #include <FWCore/Framework/interface/MakerMacros.h>
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011 #include <FWCore/Framework/interface/LuminosityBlock.h>
00012 #include "FWCore/ServiceRegistry/interface/Service.h"
00013 
00014 #include "DQMServices/Core/interface/DQMStore.h"
00015 
00016 #include <memory>
00017 #include <string>
00018 
00019 
00020 class ReadMeFromFile:public edm::EDAnalyzer{
00021 
00022 public:
00023 
00025   ReadMeFromFile(const edm::ParameterSet& ps);
00026   
00028   virtual ~ReadMeFromFile();
00029 
00031   void beginJob( );
00032 
00033   //Begin Run
00034    void beginRun(const edm::Run& , const edm::EventSetup& );
00035   
00036   
00038   void beginLuminosityBlock(edm::LuminosityBlock const& , edm::EventSetup const& ) ;
00039 
00041   void analyze(const edm::Event& , const edm::EventSetup& );
00042 
00044   void endLuminosityBlock(edm::LuminosityBlock const& , edm::EventSetup const& );
00045  
00046   //End Run
00047   void endRun(const edm::Run& , const edm::EventSetup& );               
00048   
00050   void endJob();
00051   
00052 private:
00053 
00054   std::string myFile_;
00055 
00056   DQMStore* dbe_;
00057 };
00058 
00059 #endif