CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/DQM/DTMonitorClient/src/DTLocalTriggerEfficiencyTest.h

Go to the documentation of this file.
00001 #ifndef DTLocalTriggerEfficiencyTest_H
00002 #define DTLocalTriggerEfficiencyTest_H
00003 
00004 
00016 #include "DQM/DTMonitorClient/src/DTLocalTriggerBaseTest.h"
00017 
00018 
00019 class DTTrigGeomUtils;
00020 
00021 class DTLocalTriggerEfficiencyTest: public DTLocalTriggerBaseTest{
00022 
00023 public:
00024 
00026   DTLocalTriggerEfficiencyTest(const edm::ParameterSet& ps);
00027   
00029   virtual ~DTLocalTriggerEfficiencyTest();
00030 
00031 protected:
00032 
00034   void bookChambHistos(DTChamberId chambId, std::string htype );
00035 
00037   void makeEfficiencyME(TH1D* numerator, TH1D* denominator, MonitorElement* result);
00038 
00040   void makeEfficiencyME2D(TH2F* numerator, TH2F* denominator, MonitorElement* result);
00041 
00043   void beginRun(const edm::Run& r, const edm::EventSetup& c);
00044 
00046   void runClientDiagnostic();
00047 
00048 
00049 
00050  private:
00051 
00052   std::map<uint32_t,std::map<std::string,MonitorElement*> > chambME;
00053   DTTrigGeomUtils *trigGeomUtils;
00054 
00055 };
00056 
00057 #endif