CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/DQM/DTMonitorClient/src/DTDCSSummary.h

Go to the documentation of this file.
00001 #ifndef DTMonitorClient_DTDCSSummary_H
00002 #define DTMonitorClient_DTDCSSummary_H
00003 
00012 #include "FWCore/Framework/interface/Frameworkfwd.h"
00013 #include "FWCore/Framework/interface/EDAnalyzer.h"
00014 
00015 #include <map>
00016 
00017 class DQMStore;
00018 class MonitorElement;
00019 
00020 class DTDCSSummary : public edm::EDAnalyzer {
00021 public:
00023   DTDCSSummary(const edm::ParameterSet& pset);
00024 
00026   virtual ~DTDCSSummary();
00027 
00028   // Operations
00029 
00030 protected:
00031   
00032 private:
00033   virtual void beginJob();
00034   virtual void beginLuminosityBlock(const edm::LuminosityBlock& lumi, const  edm::EventSetup& setup);
00035   virtual void analyze(const edm::Event& event, const edm::EventSetup& setup);
00036   virtual void endLuminosityBlock(const edm::LuminosityBlock& lumi, const  edm::EventSetup& setup);
00037   virtual void endJob() ;
00038   
00039   DQMStore *theDbe;  
00040   
00041   MonitorElement*  totalDCSFraction;
00042   std::map<int, MonitorElement*> dcsFractions;
00043 
00044 };
00045 
00046 
00047 #endif
00048