00001 #ifndef TopHLTDiMuonDQMClient_H 00002 #define TopHLTDiMuonDQMClient_H 00003 00004 /* 00005 * $Date: 2010/08/13 09:12:05 $ 00006 * $Revision: 1.1 $ 00007 * \author M. Marienfeld - DESY Hamburg 00008 */ 00009 00010 #include <string> 00011 00012 #include "FWCore/Framework/interface/EDAnalyzer.h" 00013 #include "FWCore/Framework/interface/Event.h" 00014 #include "FWCore/Framework/interface/EventSetup.h" 00015 #include "FWCore/Framework/interface/Frameworkfwd.h" 00016 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00017 #include "FWCore/Utilities/interface/InputTag.h" 00018 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00019 #include "FWCore/ServiceRegistry/interface/Service.h" 00020 #include "FWCore/Utilities/interface/EDMException.h" 00021 00022 #include "DQMServices/Core/interface/DQMStore.h" 00023 #include "DQMServices/Core/interface/MonitorElement.h" 00024 00025 class TopHLTDiMuonDQMClient : public edm::EDAnalyzer { 00026 00027 public: 00028 00029 TopHLTDiMuonDQMClient( const edm::ParameterSet& ); 00030 ~TopHLTDiMuonDQMClient(); 00031 00032 protected: 00033 00034 void beginJob(); 00035 void beginRun(const edm::Run&, const edm::EventSetup&); 00036 void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&); 00037 00038 void analyze(const edm::Event&, const edm::EventSetup&); 00039 00040 void endLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&); 00041 void endRun(const edm::Run&, const edm::EventSetup&); 00042 void endJob(); 00043 00044 private: 00045 00046 DQMStore * dbe_; 00047 std::string monitorName_; 00048 00049 MonitorElement * TriggerEfficiencies; 00050 MonitorElement * TriggerEfficiencies_sig; 00051 MonitorElement * TriggerEfficiencies_trig; 00052 00053 MonitorElement * MuonEfficiency_pT; 00054 MonitorElement * MuonEfficiency_pT_sig; 00055 MonitorElement * MuonEfficiency_pT_trig; 00056 00057 MonitorElement * MuonEfficiency_pT_LOGX; 00058 MonitorElement * MuonEfficiency_pT_LOGX_sig; 00059 MonitorElement * MuonEfficiency_pT_LOGX_trig; 00060 00061 MonitorElement * MuonEfficiency_eta; 00062 MonitorElement * MuonEfficiency_eta_sig; 00063 MonitorElement * MuonEfficiency_eta_trig; 00064 00065 MonitorElement * MuonEfficiency_phi; 00066 MonitorElement * MuonEfficiency_phi_sig; 00067 MonitorElement * MuonEfficiency_phi_trig; 00068 00069 }; 00070 00071 #endif