Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:41:50

0001 #ifndef DTLocalTriggerLutTest_H
0002 #define DTLocalTriggerLutTest_H
0003 
0004 /** \class DTLocalTriggerLutTest
0005  * *
0006  *  DQM Test Client
0007  *
0008  *  \author  C. Battilana S. Marcellini - INFN Bologna
0009  *   
0010  *
0011  *  threadsafe version (//-) oct/nov 2014 - WATWanAbdullah -ncpp-um-my
0012  *
0013  */
0014 
0015 #include "DQM/DTMonitorClient/src/DTLocalTriggerBaseTest.h"
0016 
0017 class DTLocalTriggerLutTest : public DTLocalTriggerBaseTest {
0018 public:
0019   /// Constructor
0020   DTLocalTriggerLutTest(const edm::ParameterSet& ps);
0021 
0022   /// Destructor
0023   ~DTLocalTriggerLutTest() override;
0024 
0025 protected:
0026   /// BeginRun
0027   void beginRun(const edm::Run& r, const edm::EventSetup& c) override;
0028 
0029   /// Run client analysis
0030 
0031   void runClientDiagnostic(DQMStore::IBooker& ibooker, DQMStore::IGetter& igetter) override;
0032   void Bookings(DQMStore::IBooker&, DQMStore::IGetter&);
0033 
0034   const int wheelArrayShift = 3;
0035 
0036 private:
0037   /// Perform Lut Test logical operations
0038   int performLutTest(double mean, double RMS, double thresholdMean, double thresholdRMS);
0039 
0040   /// Fill summary plots managing double MB4 chambers
0041   void fillWhPlot(MonitorElement* plot, int sect, int stat, float value, bool lessIsBest = true);
0042 
0043   double thresholdPhiMean, thresholdPhibMean;
0044   double thresholdPhiRMS, thresholdPhibRMS;
0045   bool doCorrStudy;
0046 
0047   bool bookingdone;
0048 };
0049 
0050 #endif