CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/DQM/RPCMonitorClient/interface/RPCDcsInfoClient.h

Go to the documentation of this file.
00001 #ifndef RPCDCSINFOCLIENT_H
00002 #define RPCDCSINFOCLIENT_H
00003 
00004 #include <FWCore/Framework/interface/EDAnalyzer.h>
00005 #include <FWCore/Framework/interface/Event.h>
00006 #include <FWCore/Framework/interface/Run.h>
00007 #include <FWCore/Framework/interface/MakerMacros.h>
00008 #include <FWCore/ParameterSet/interface/ParameterSet.h>
00009 #include <FWCore/ServiceRegistry/interface/Service.h>
00010 
00011 #include <DQMServices/Core/interface/DQMStore.h>
00012 #include <DQMServices/Core/interface/MonitorElement.h>
00013 
00014 class RPCDcsInfoClient : public edm::EDAnalyzer {
00015 public:
00016   RPCDcsInfoClient( const edm::ParameterSet& ps);
00017   ~RPCDcsInfoClient();
00018 
00019 protected:
00020 
00021   void beginRun(const edm::Run& r, const edm::EventSetup& c);
00022   void analyze(const edm::Event& e, const edm::EventSetup& c);
00023   void endLuminosityBlock(const edm::LuminosityBlock& l, const edm::EventSetup& c);
00024   void endRun(const edm::Run& r, const edm::EventSetup& c);
00025 
00026 private:
00027 
00028   std::string dcsinfofolder_;
00029 
00030   DQMStore * dbe_;
00031 
00032   std::vector<int> DCS;
00033 };
00034 
00035 #endif