/
L1TStage2uGMT.h
205 lines (178 loc) · 6.56 KB
/
L1TStage2uGMT.h
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
#ifndef DQM_L1TMonitor_L1TStage2uGMT_h
#define DQM_L1TMonitor_L1TStage2uGMT_h
#include "DataFormats/L1Trigger/interface/Muon.h"
#include "DataFormats/L1TMuon/interface/RegionalMuonCand.h"
#include "L1Trigger/L1TMuon/interface/MicroGMTConfiguration.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
class L1TStage2uGMT : public DQMEDAnalyzer {
public:
L1TStage2uGMT(const edm::ParameterSet& ps);
~L1TStage2uGMT() override;
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
protected:
void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
void analyze(const edm::Event&, const edm::EventSetup&) override;
private:
l1t::tftype getTfOrigin(const int tfMuonIndex);
edm::EDGetTokenT<l1t::RegionalMuonCandBxCollection> ugmtBMTFToken;
edm::EDGetTokenT<l1t::RegionalMuonCandBxCollection> ugmtOMTFToken;
edm::EDGetTokenT<l1t::RegionalMuonCandBxCollection> ugmtEMTFToken;
edm::EDGetTokenT<l1t::MuonBxCollection> ugmtMuonToken;
std::string monitorDir;
bool emul;
bool verbose;
bool displacedQuantities_;
const float etaScale_;
const float phiScale_;
MonitorElement* ugmtBMTFBX;
MonitorElement* ugmtBMTFnMuons;
MonitorElement* ugmtBMTFhwPt;
MonitorElement* ugmtBMTFhwPtUnconstrained;
MonitorElement* ugmtBMTFhwDXY;
MonitorElement* ugmtBMTFhwEta;
MonitorElement* ugmtBMTFhwPhi;
MonitorElement* ugmtBMTFglbPhi;
MonitorElement* ugmtBMTFProcvshwPhi;
MonitorElement* ugmtBMTFhwSign;
MonitorElement* ugmtBMTFhwSignValid;
MonitorElement* ugmtBMTFhwQual;
MonitorElement* ugmtBMTFlink;
MonitorElement* ugmtBMTFMuMuDEta;
MonitorElement* ugmtBMTFMuMuDPhi;
MonitorElement* ugmtBMTFMuMuDR;
MonitorElement* ugmtOMTFBX;
MonitorElement* ugmtOMTFnMuons;
MonitorElement* ugmtOMTFhwPt;
MonitorElement* ugmtOMTFhwEta;
MonitorElement* ugmtOMTFhwPhiPos;
MonitorElement* ugmtOMTFhwPhiNeg;
MonitorElement* ugmtOMTFglbPhiPos;
MonitorElement* ugmtOMTFglbPhiNeg;
MonitorElement* ugmtOMTFProcvshwPhiPos;
MonitorElement* ugmtOMTFProcvshwPhiNeg;
MonitorElement* ugmtOMTFhwSign;
MonitorElement* ugmtOMTFhwSignValid;
MonitorElement* ugmtOMTFhwQual;
MonitorElement* ugmtOMTFlink;
MonitorElement* ugmtOMTFMuMuDEta;
MonitorElement* ugmtOMTFMuMuDPhi;
MonitorElement* ugmtOMTFMuMuDR;
MonitorElement* ugmtEMTFBX;
MonitorElement* ugmtEMTFnMuons;
MonitorElement* ugmtEMTFhwPt;
MonitorElement* ugmtEMTFhwPtUnconstrained;
MonitorElement* ugmtEMTFhwDXY;
MonitorElement* ugmtEMTFhwEta;
MonitorElement* ugmtEMTFhwPhiPos;
MonitorElement* ugmtEMTFhwPhiNeg;
MonitorElement* ugmtEMTFglbPhiPos;
MonitorElement* ugmtEMTFglbPhiNeg;
MonitorElement* ugmtEMTFProcvshwPhiPos;
MonitorElement* ugmtEMTFProcvshwPhiNeg;
MonitorElement* ugmtEMTFhwSign;
MonitorElement* ugmtEMTFhwSignValid;
MonitorElement* ugmtEMTFhwQual;
MonitorElement* ugmtEMTFlink;
MonitorElement* ugmtEMTFMuMuDEta;
MonitorElement* ugmtEMTFMuMuDPhi;
MonitorElement* ugmtEMTFMuMuDR;
MonitorElement* ugmtBOMTFposMuMuDEta;
MonitorElement* ugmtBOMTFposMuMuDPhi;
MonitorElement* ugmtBOMTFposMuMuDR;
MonitorElement* ugmtBOMTFnegMuMuDEta;
MonitorElement* ugmtBOMTFnegMuMuDPhi;
MonitorElement* ugmtBOMTFnegMuMuDR;
MonitorElement* ugmtEOMTFposMuMuDEta;
MonitorElement* ugmtEOMTFposMuMuDPhi;
MonitorElement* ugmtEOMTFposMuMuDR;
MonitorElement* ugmtEOMTFnegMuMuDEta;
MonitorElement* ugmtEOMTFnegMuMuDPhi;
MonitorElement* ugmtEOMTFnegMuMuDR;
MonitorElement* ugmtBMTFBXvsProcessor;
MonitorElement* ugmtOMTFBXvsProcessor;
MonitorElement* ugmtEMTFBXvsProcessor;
MonitorElement* ugmtBXvsLink;
MonitorElement* ugmtMuonBX;
MonitorElement* ugmtnMuons;
MonitorElement* ugmtMuonIndex;
MonitorElement* ugmtMuonhwPt;
MonitorElement* ugmtMuonhwPtUnconstrained;
MonitorElement* ugmtMuonhwDXY;
MonitorElement* ugmtMuonhwEta;
MonitorElement* ugmtMuonhwPhi;
MonitorElement* ugmtMuonhwEtaAtVtx;
MonitorElement* ugmtMuonhwPhiAtVtx;
MonitorElement* ugmtMuonhwCharge;
MonitorElement* ugmtMuonhwChargeValid;
MonitorElement* ugmtMuonhwQual;
MonitorElement* ugmtMuonhwIso;
MonitorElement* ugmtMuonPt;
MonitorElement* ugmtMuonPtUnconstrained;
MonitorElement* ugmtMuonEta;
MonitorElement* ugmtMuonPhi;
MonitorElement* ugmtMuonEtaAtVtx;
MonitorElement* ugmtMuonPhiAtVtx;
MonitorElement* ugmtMuonCharge;
MonitorElement* ugmtMuonPhiBmtf;
MonitorElement* ugmtMuonPhiOmtf;
MonitorElement* ugmtMuonPhiEmtf;
MonitorElement* ugmtMuonDEtavsPtBmtf;
MonitorElement* ugmtMuonDPhivsPtBmtf;
MonitorElement* ugmtMuonDEtavsPtOmtf;
MonitorElement* ugmtMuonDPhivsPtOmtf;
MonitorElement* ugmtMuonDEtavsPtEmtf;
MonitorElement* ugmtMuonDPhivsPtEmtf;
MonitorElement* ugmtMuonPtvsEta;
MonitorElement* ugmtMuonPtvsPhi;
MonitorElement* ugmtMuonPhivsEta;
MonitorElement* ugmtMuonPhiAtVtxvsEtaAtVtx;
MonitorElement* ugmtMuonBXvsLink;
MonitorElement* ugmtMuonBXvshwPt;
MonitorElement* ugmtMuonBXvshwEta;
MonitorElement* ugmtMuonBXvshwPhi;
MonitorElement* ugmtMuonBXvshwCharge;
MonitorElement* ugmtMuonBXvshwChargeValid;
MonitorElement* ugmtMuonBXvshwQual;
MonitorElement* ugmtMuonBXvshwIso;
MonitorElement* ugmtMuonChargevsLink;
// muon correlations
MonitorElement* ugmtMuMuInvMass;
MonitorElement* ugmtMuMuInvMassAtVtx;
MonitorElement* ugmtMuMuDEta;
MonitorElement* ugmtMuMuDPhi;
MonitorElement* ugmtMuMuDR;
MonitorElement* ugmtMuMuDEtaBOpos;
MonitorElement* ugmtMuMuDPhiBOpos;
MonitorElement* ugmtMuMuDRBOpos;
MonitorElement* ugmtMuMuDEtaBOneg;
MonitorElement* ugmtMuMuDPhiBOneg;
MonitorElement* ugmtMuMuDRBOneg;
MonitorElement* ugmtMuMuDEtaEOpos;
MonitorElement* ugmtMuMuDPhiEOpos;
MonitorElement* ugmtMuMuDREOpos;
MonitorElement* ugmtMuMuDEtaEOneg;
MonitorElement* ugmtMuMuDPhiEOneg;
MonitorElement* ugmtMuMuDREOneg;
MonitorElement* ugmtMuMuDEtaB;
MonitorElement* ugmtMuMuDPhiB;
MonitorElement* ugmtMuMuDRB;
MonitorElement* ugmtMuMuDEtaOpos;
MonitorElement* ugmtMuMuDPhiOpos;
MonitorElement* ugmtMuMuDROpos;
MonitorElement* ugmtMuMuDEtaOneg;
MonitorElement* ugmtMuMuDPhiOneg;
MonitorElement* ugmtMuMuDROneg;
MonitorElement* ugmtMuMuDEtaEpos;
MonitorElement* ugmtMuMuDPhiEpos;
MonitorElement* ugmtMuMuDREpos;
MonitorElement* ugmtMuMuDEtaEneg;
MonitorElement* ugmtMuMuDPhiEneg;
MonitorElement* ugmtMuMuDREneg;
};
#endif