00001 #ifndef DTMonitorClient_DTCertificationSummary_H 00002 #define DTMonitorClient_DTCertificationSummary_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 DTCertificationSummary : public edm::EDAnalyzer { 00021 public: 00023 DTCertificationSummary(const edm::ParameterSet& pset); 00024 00026 virtual ~DTCertificationSummary(); 00027 00028 // Operations 00029 00030 protected: 00031 00032 private: 00033 virtual void beginJob(); 00034 virtual void beginRun(const edm::Run& run, const edm::EventSetup& setup); 00035 virtual void beginLuminosityBlock(const edm::LuminosityBlock& lumi, const edm::EventSetup& setup); 00036 virtual void analyze(const edm::Event& event, const edm::EventSetup& setup); 00037 virtual void endLuminosityBlock(const edm::LuminosityBlock& lumi, const edm::EventSetup& setup); 00038 virtual void endRun(const edm::Run& run, const edm::EventSetup& setup); 00039 virtual void endJob() ; 00040 00041 DQMStore *theDbe; 00042 00043 MonitorElement* totalCertFraction; 00044 MonitorElement* certMap; 00045 std::map<int, MonitorElement*> certFractions; 00046 00047 }; 00048 00049 00050 #endif 00051