CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/DTMonitorClient/src/DTTriggerLutTest.h

Go to the documentation of this file.
00001 #ifndef DTTriggerLutTest_H
00002 #define DTTriggerLutTest_H
00003 
00004 
00017 #include "DQM/DTMonitorClient/src/DTLocalTriggerBaseTest.h"
00018 
00019 class TSpectrum;
00020 
00021 class DTTriggerLutTest: public DTLocalTriggerBaseTest{
00022 
00023 public:
00024 
00026   DTTriggerLutTest(const edm::ParameterSet& ps);
00027   
00029   virtual ~DTTriggerLutTest();
00030 
00031 protected:
00032 
00034   void beginJob();
00035 
00037   void beginRun(const edm::Run& r, const edm::EventSetup& c);
00038 
00040   void runClientDiagnostic();
00041 
00042  private:
00043 
00045   int performLutTest(double perc,double threshold1,double threshold2);
00046 
00048   void fillWhPlot(MonitorElement *plot,int sect,int stat, float value, bool lessIsBest = true);
00049 
00050   void bookCmsHistos1d(std::string hTag, std::string folder="");
00051 
00052   double thresholdWarnPhi, thresholdErrPhi;
00053   double thresholdWarnPhiB, thresholdErrPhiB;
00054   double validRange;
00055   bool   detailedAnalysis;      
00056         
00057 };
00058 
00059 #endif