CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 #ifndef RPCMonitorClient_RPCDataCertification_H
00002 #define RPCMonitorClient_RPCDataCertification_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 RPCDataCertification : public edm::EDAnalyzer {
00013 public:
00015   RPCDataCertification(const edm::ParameterSet& pset);
00016 
00018   virtual ~RPCDataCertification();
00019 
00020   // Operations
00021 
00022 protected:
00023   
00024 private:
00025   virtual void beginJob();
00026   virtual void beginRun(const edm::Run& r, const edm::EventSetup& setup);
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*    CertMap_;
00034   MonitorElement*  totalCertFraction;
00035   MonitorElement* certWheelFractions[5];
00036   MonitorElement* certDiskFractions[10];
00037  std::pair<int, int> FEDRange_;
00038   int numberOfDisks_;  
00039   int NumberOfFeds_;
00040 
00041 };
00042 
00043 
00044 #endif