CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/DQM/DTMonitorClient/src/DTDAQInfo.h

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