00001 #ifndef DT2DSegmentClients_H 00002 #define DT2DSegmentClients_H 00003 00013 #include <FWCore/Framework/interface/EDAnalyzer.h> 00014 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00015 #include <FWCore/Framework/interface/Event.h> 00016 #include "FWCore/Framework/interface/ESHandle.h" 00017 #include <FWCore/Framework/interface/EventSetup.h> 00018 #include "DQMServices/Core/interface/MonitorElement.h" 00019 #include "DQMServices/Core/interface/DQMStore.h" 00020 #include "FWCore/ServiceRegistry/interface/Service.h" 00021 00022 class DQMStore; 00023 class MonitorElement; 00024 00025 class DT2DSegmentClients: public edm::EDAnalyzer{ 00026 00027 public: 00028 00030 DT2DSegmentClients(const edm::ParameterSet& ps); 00031 00033 virtual ~DT2DSegmentClients(); 00034 void analyze(const edm::Event& e, const edm::EventSetup& c); 00035 void endJob(); 00036 void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, 00037 edm::EventSetup const& c); 00038 00039 protected: 00040 00042 00043 private: 00044 00045 DQMStore* dbe; 00046 00047 MonitorElement *summaryHisto; 00048 MonitorElement *glbSummaryHisto; 00049 }; 00050 00051 #endif