CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DQM/DTMonitorClient/src/DTTriggerEfficiencyTest.h

Go to the documentation of this file.
00001 #ifndef DTTriggerEfficiencyTest_H
00002 #define DTTriggerEfficiencyTest_H
00003 
00004 
00016 #include "DQM/DTMonitorClient/src/DTLocalTriggerBaseTest.h"
00017 
00018 class DTTrigGeomUtils;
00019 
00020 class DTTriggerEfficiencyTest: public DTLocalTriggerBaseTest{
00021 
00022 public:
00023 
00025   DTTriggerEfficiencyTest(const edm::ParameterSet& ps);
00026   
00028   virtual ~DTTriggerEfficiencyTest();
00029 
00030 protected:
00031 
00033   void bookChambHistos(DTChamberId chambId, std::string htype , std::string folder = "");
00034 
00036   void makeEfficiencyME2D(TH2F* numerator, TH2F* denominator, MonitorElement* result);
00037 
00039   void beginJob();
00040 
00042   void beginRun(const edm::Run& r, const edm::EventSetup& c);
00043 
00045   void runClientDiagnostic();
00046 
00047 
00048 
00049  private:
00050 
00051   std::map<uint32_t,std::map<std::string,MonitorElement*> > chambME;
00052   DTTrigGeomUtils* trigGeomUtils;
00053   bool detailedPlots;
00054 
00055 };
00056 
00057 #endif