File indexing completed on 2023-03-17 10:54:13
0001 #ifndef DTTriggerLutTest_H
0002 #define DTTriggerLutTest_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "DQM/DTMonitorClient/src/DTLocalTriggerBaseTest.h"
0017
0018 class TSpectrum;
0019
0020 class DTTriggerLutTest : public DTLocalTriggerBaseTest {
0021 public:
0022
0023 DTTriggerLutTest(const edm::ParameterSet &ps);
0024
0025
0026 ~DTTriggerLutTest() override;
0027
0028 protected:
0029
0030 void beginRun(const edm::Run &r, const edm::EventSetup &c) override;
0031 void Bookings(DQMStore::IBooker &, DQMStore::IGetter &);
0032
0033
0034 void runClientDiagnostic(DQMStore::IBooker &, DQMStore::IGetter &) override;
0035
0036 const int wheelArrayShift = 3;
0037
0038 private:
0039
0040 int performLutTest(double perc, double threshold1, double threshold2);
0041
0042
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