CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/DQM/RPCMonitorClient/interface/RPCDaqInfo.h

Go to the documentation of this file.
00001 #ifndef DQM_RPCMonitorClient_DQMDaqInfo_H
00002 # define DQM_RPCMonitorClient_DQMDaqInfo_H
00003 
00004 // system include files
00005 #include <memory>
00006 #include <iostream>
00007 #include <fstream>
00008 
00009 // FWCore
00010 #include "FWCore/Framework/interface/Frameworkfwd.h"
00011 #include "FWCore/Framework/interface/LuminosityBlock.h"
00012 #include "FWCore/Framework/interface/EDAnalyzer.h"
00013 #include "FWCore/Framework/interface/Event.h"
00014 #include "FWCore/Framework/interface/MakerMacros.h"
00015 #include "FWCore/Framework/interface/ESHandle.h"
00016 #include "FWCore/Framework/interface/EventSetup.h"
00017 #include "FWCore/ServiceRegistry/interface/Service.h"
00018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00019 
00020 //DQM
00021 #include "DQMServices/Core/interface/DQMStore.h"
00022 #include "DQMServices/Core/interface/MonitorElement.h"
00023 
00024 
00025 class RPCDaqInfo : public edm::EDAnalyzer {
00026 public:
00027   explicit RPCDaqInfo(const edm::ParameterSet&);
00028   ~RPCDaqInfo();
00029   
00030 
00031 private:
00032   virtual void beginJob() ;
00033   virtual void beginLuminosityBlock(const edm::LuminosityBlock& , const  edm::EventSetup&);
00034   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00035   virtual void endLuminosityBlock(const edm::LuminosityBlock& , const  edm::EventSetup&);
00036   virtual void endJob() ;
00037   
00038   DQMStore *dbe_;  
00039   
00040   MonitorElement*  DaqFraction_;
00041   MonitorElement * DaqMap_;
00042   MonitorElement* daqWheelFractions[5];
00043   MonitorElement* daqDiskFractions[10];
00044 
00045   std::pair<int,int> FEDRange_;
00046 
00047   int  numberOfDisks_,NumberOfFeds_;
00048  
00049 };
00050 
00051 #endif