00001 #ifndef DQM_SiPixelMonitorClient_SiPixelCertification_H 00002 #define DQM_SiPixelMonitorClient_SiPixelCertification_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 SiPixelCertification : public edm::EDAnalyzer { 00026 public: 00027 explicit SiPixelCertification(const edm::ParameterSet&); 00028 ~SiPixelCertification(); 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 endRun(const edm::Run&, const edm::EventSetup&) ; 00037 virtual void endJob() ; 00038 00039 DQMStore *dbe_; 00040 00041 MonitorElement * CertificationPixel; 00042 MonitorElement * CertificationBarrel; 00043 MonitorElement * CertificationEndcap; 00044 00045 }; 00046 00047 #endif