1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#ifndef DTTriggerLutTest_H
#define DTTriggerLutTest_H
/** \class DTTriggerLutTest
* *
* DQM Test Client to monitor Local Trigger
* position / direction assignement
*
* \author D.Fasanella - INFN Bologna
*
* threadsafe version (//-) oct/nov 2014 - WATWanAbdullah -ncpp-um-my
*
*
*/
#include "DQM/DTMonitorClient/src/DTLocalTriggerBaseTest.h"
class TSpectrum;
class DTTriggerLutTest : public DTLocalTriggerBaseTest {
public:
/// Constructor
DTTriggerLutTest(const edm::ParameterSet &ps);
/// Destructor
~DTTriggerLutTest() override;
protected:
/// BeginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c) override;
void Bookings(DQMStore::IBooker &, DQMStore::IGetter &);
/// Run client analysis
void runClientDiagnostic(DQMStore::IBooker &, DQMStore::IGetter &) override;
const int wheelArrayShift = 3;
private:
/// Perform Lut Test logical operations
int performLutTest(double perc, double threshold1, double threshold2);
/// Fill summary plots managing double MB4 chambers
void fillWhPlot(MonitorElement *plot, int sect, int stat, float value, bool lessIsBest = true);
void bookCmsHistos1d(DQMStore::IBooker &, std::string hTag, std::string folder = "");
double thresholdWarnPhi, thresholdErrPhi;
double thresholdWarnPhiB, thresholdErrPhiB;
double validRange;
bool detailedAnalysis;
bool bookingdone;
};
#endif
|