CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/DQM/RPCMonitorClient/interface/RPCDCSSummary.h

Go to the documentation of this file.
00001 #ifndef RPCMonitorClient_RPCDCSSummary_H
00002 #define RPCMonitorClient_RPCDCSSummary_H
00003 
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include "FWCore/Framework/interface/EDAnalyzer.h"
00006 
00007 #include <map>
00008 
00009 class DQMStore;
00010 class MonitorElement;
00011 
00012 class RPCDCSSummary : public edm::EDAnalyzer {
00013 public:
00015   RPCDCSSummary(const edm::ParameterSet& pset);
00016 
00018   virtual ~RPCDCSSummary();
00019 
00020   // Operations
00021 
00022 protected:
00023   
00024 private:
00025   virtual void beginJob();
00026   void beginRun(const edm::Run& , const edm::EventSetup& );
00027   virtual void beginLuminosityBlock(const edm::LuminosityBlock& lumi, const  edm::EventSetup& setup);
00028   virtual void analyze(const edm::Event& event, const edm::EventSetup& setup);
00029   virtual void endLuminosityBlock(const edm::LuminosityBlock& lumi, const  edm::EventSetup& setup);
00030   virtual void endJob() ;
00031   
00032   DQMStore *theDbe;  
00033   MonitorElement*    DCSMap_;
00034   MonitorElement*  totalDCSFraction;
00035   MonitorElement* dcsWheelFractions[5];
00036   MonitorElement* dcsDiskFractions[10];
00037   std::pair<int, int> FEDRange_;
00038   int numberOfDisks_;  
00039   int NumberOfFeds_;
00040 
00041 };
00042 
00043 
00044 #endif