CMS 3D CMS Logo

CMSSW_4_4_3_patch1/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 #include <string>
00019 
00020 class DTTrigGeomUtils;
00021 
00022 class DTTriggerEfficiencyTest: public DTLocalTriggerBaseTest{
00023 
00024 public:
00025 
00027   DTTriggerEfficiencyTest(const edm::ParameterSet& ps);
00028   
00030   virtual ~DTTriggerEfficiencyTest();
00031 
00032 protected:
00033 
00035   void bookChambHistos(DTChamberId chambId, std::string htype , std::string folder = "");
00036 
00038   void makeEfficiencyME2D(TH2F* numerator, TH2F* denominator, MonitorElement* result);
00039 
00041   void bookWheelHistos(int wheel,std::string hTag,std::string folder);
00042 
00044   std::string getMEName(std::string histoTag, std::string folder, int wh);
00045 
00047   void beginJob();
00048 
00050   void beginRun(const edm::Run& r, const edm::EventSetup& c);
00051 
00053   void runClientDiagnostic();
00054 
00055 
00056 
00057  private:
00058 
00059   std::map<uint32_t,std::map<std::string,MonitorElement*> > chambME;
00060   DTTrigGeomUtils* trigGeomUtils;
00061   bool detailedPlots;
00062 
00063 };
00064 
00065 #endif