Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:41

0001 #ifndef DTTriggerLutTest_H
0002 #define DTTriggerLutTest_H
0003 
0004 /** \class DTTriggerLutTest
0005  * *
0006  *  DQM Test Client to monitor Local Trigger
0007  *  position / direction assignement
0008  *
0009  *  \author  D.Fasanella - INFN Bologna
0010  *
0011  *  threadsafe version (//-) oct/nov 2014 - WATWanAbdullah -ncpp-um-my
0012  *
0013  *   
0014  */
0015 
0016 #include "DQM/DTMonitorClient/src/DTLocalTriggerBaseTest.h"
0017 
0018 class TSpectrum;
0019 
0020 class DTTriggerLutTest : public DTLocalTriggerBaseTest {
0021 public:
0022   /// Constructor
0023   DTTriggerLutTest(const edm::ParameterSet &ps);
0024 
0025   /// Destructor
0026   ~DTTriggerLutTest() override;
0027 
0028 protected:
0029   /// BeginRun
0030   void beginRun(const edm::Run &r, const edm::EventSetup &c) override;
0031   void Bookings(DQMStore::IBooker &, DQMStore::IGetter &);
0032 
0033   /// Run client analysis
0034   void runClientDiagnostic(DQMStore::IBooker &, DQMStore::IGetter &) override;
0035 
0036   const int wheelArrayShift = 3;
0037 
0038 private:
0039   /// Perform Lut Test logical operations
0040   int performLutTest(double perc, double threshold1, double threshold2);
0041 
0042   /// Fill summary plots managing double MB4 chambers
0043   void fillWhPlot(MonitorElement *plot, int sect, int stat, float value, bool lessIsBest = true);
0044 
0045   void bookCmsHistos1d(DQMStore::IBooker &, std::string hTag, std::string folder = "");
0046 
0047   double thresholdWarnPhi, thresholdErrPhi;
0048   double thresholdWarnPhiB, thresholdErrPhiB;
0049   double validRange;
0050   bool detailedAnalysis;
0051 
0052   bool bookingdone;
0053 };
0054 
0055 #endif