53 m_maskChamberWithError_((
config.getUntrackedParameter<
bool>(
"maskChamberWithError"))),
54 m_GEMOHStatusCollectionToken_(
56 m_GEMVFATStatusCollectionToken_(
58 m_GEMAMCStatusCollectionToken_(
60 LogTrace(
"DQMOffline|MuonDPG|GEMTnPEfficiencyTask") <<
"[GEMTnPEfficiencyTask]: Constructor" << std::endl;
66 LogTrace(
"DQMOffline|MuonDPG|GEMTnPEfficiencyTask")
67 <<
"[GEMTnPEfficiencyTask]: analyzed " <<
m_nEvents <<
" events" << std::endl;
75 LogTrace(
"DQMOffline|MuonDPG|GEMTnPEfficiencyTask") <<
"[GEMTnPEfficiencyTask]: bookHistograms" << std::endl;
80 iBooker.
book2D(
"GE11_nPassingProbe_Ch_region",
"GE11_nPassingProbe_Ch_region", 2, -1.5, 1.5, 36, 1, 37);
82 iBooker.
book2D(
"GE11_nFailingProbe_Ch_region",
"GE11_nFailingProbe_Ch_region", 2, -1.5, 1.5, 36, 1, 37);
84 iBooker.
book2D(
"GE21_nPassingProbe_Ch_region",
"GE21_nPassingProbe_Ch_region", 2, -1.5, 1.5, 36, 1, 37);
86 iBooker.
book2D(
"GE21_nFailingProbe_Ch_region",
"GE21_nFailingProbe_Ch_region", 2, -1.5, 1.5, 36, 1, 37);
88 iBooker.
book2D(
"GEM_nPassingProbe_Ch_region_GE1",
"GEM_nPassingProbe_Ch_region_GE1", 4, 0, 4, 36, 1, 37);
90 iBooker.
book2D(
"GEM_nFailingProbe_Ch_region_GE1",
"GEM_nFailingProbe_Ch_region_GE1", 4, 0, 4, 36, 1, 37);
92 iBooker.
book2D(
"GEM_nPassingProbe_Ch_region_GE1_NoL",
"GEM_nPassingProbe_Ch_region_GE1_NoL", 2, 0, 2, 36, 1, 37);
94 iBooker.
book2D(
"GEM_nFailingProbe_Ch_region_GE1_NoL",
"GEM_nFailingProbe_Ch_region_GE1_NoL", 2, 0, 2, 36, 1, 37);
96 iBooker.
book2D(
"GE11_nPassingProbe_Ch_ieta",
"GE11_nPassingProbe_Ch_ieta", 8, 1, 9, 36, 1, 37);
98 iBooker.
book2D(
"GE11_nFailingProbe_Ch_ieta",
"GE11_nFailingProbe_Ch_ieta", 8, 1, 9, 36, 1, 37);
100 "GE11_nPassingProbe_Ch_phi",
"GE11_nPassingProbe_Ch_phi", 20, -
TMath::Pi(),
TMath::Pi(), 36, 1, 37);
102 "GE11_nFailingProbe_Ch_phi",
"GE11_nFailingProbe_Ch_phi", 20, -
TMath::Pi(),
TMath::Pi(), 36, 1, 37);
104 iBooker.
book1D(
"GE11_nPassingProbe_allCh_1D",
"GE11_nPassingProbe_allCh_1D", 2, -1.5, 1.5);
106 iBooker.
book1D(
"GE11_nFailingProbe_allCh_1D",
"GE11_nFailingProbe_allCh_1D", 2, -1.5, 1.5);
108 iBooker.
book1D(
"GE11_nPassingProbe_chamber_1D",
"GE11_nPassingProbe_chamber_1D", 36, 1, 37);
110 iBooker.
book1D(
"GE11_nFailingProbe_chamber_1D",
"GE11_nFailingProbe_chamber_1D", 36, 1, 37);
112 iBooker.
book2D(
"GE21_nPassingProbe_Ch_ieta",
"GE21_nPassingProbe_Ch_ieta", 16, 1, 17, 18, 1, 19);
114 iBooker.
book2D(
"GE21_nFailingProbe_Ch_ieta",
"GE21_nFailingProbe_Ch_ieta", 16, 1, 17, 18, 1, 19);
116 "GE21_nPassingProbe_Ch_phi",
"GE21_nPassingProbe_Ch_phi", 20, -
TMath::Pi(),
TMath::Pi(), 18, 1, 19);
118 "GE21_nFailingProbe_Ch_phi",
"GE21_nFailingProbe_Ch_phi", 20, -
TMath::Pi(),
TMath::Pi(), 18, 1, 19);
120 iBooker.
book1D(
"GE21_nPassingProbe_allCh_1D",
"GE21_nPassingProbe_allCh_1D", 2, -1.5, 1.5);
122 iBooker.
book1D(
"GE21_nFailingProbe_allCh_1D",
"GE21_nFailingProbe_allCh_1D", 2, -1.5, 1.5);
124 iBooker.
book1D(
"GE21_nPassingProbe_chamber_1D",
"GE21_nPassingProbe_chamber_1D", 18, 1, 19);
126 iBooker.
book1D(
"GE21_nFailingProbe_chamber_1D",
"GE21_nFailingProbe_chamber_1D", 18, 1, 19);
128 iBooker.
book1D(
"GEM_nPassingProbe_chamber_p1_1D",
"GEM_nPassingProbe_chamber_p1_1D", 36, 1, 37);
130 iBooker.
book1D(
"GEM_nFailingProbe_chamber_p1_1D",
"GEM_nFailingProbe_chamber_p1_1D", 36, 1, 37);
132 iBooker.
book1D(
"GEM_nPassingProbe_chamber_p2_1D",
"GEM_nPassingProbe_chamber_p2_1D", 36, 1, 37);
134 iBooker.
book1D(
"GEM_nFailingProbe_chamber_p2_1D",
"GEM_nFailingProbe_chamber_p2_1D", 36, 1, 37);
136 iBooker.
book1D(
"GEM_nPassingProbe_chamber_n1_1D",
"GEM_nPassingProbe_chamber_n1_1D", 36, 1, 37);
138 iBooker.
book1D(
"GEM_nFailingProbe_chamber_n1_1D",
"GEM_nFailingProbe_chamber_n1_1D", 36, 1, 37);
140 iBooker.
book1D(
"GEM_nPassingProbe_chamber_n2_1D",
"GEM_nPassingProbe_chamber_n2_1D", 36, 1, 37);
142 iBooker.
book1D(
"GEM_nFailingProbe_chamber_n2_1D",
"GEM_nFailingProbe_chamber_n2_1D", 36, 1, 37);
144 MonitorElement* me_GEM_pass_pt_1D = iBooker.
book1D(
"GEM_nPassingProbe_pt_1D",
"GEM_nPassingProbe_pt_1D", 20, 0, 100);
145 MonitorElement* me_GEM_fail_pt_1D = iBooker.
book1D(
"GEM_nFailingProbe_pt_1D",
"GEM_nFailingProbe_pt_1D", 20, 0, 100);
147 iBooker.
book1D(
"GEM_nPassingProbe_eta_1D",
"GEM_nPassingProbe_eta_1D", 24, 0, 2.4);
149 iBooker.
book1D(
"GEM_nFailingProbe_eta_1D",
"GEM_nFailingProbe_eta_1D", 24, 0, 2.4);
156 iBooker.
book1D(
"GEM_nPassingProbe_pt_p1_1D",
"GEM_nPassingProbe_pt_p1_1D", 20, 0, 100);
158 iBooker.
book1D(
"GEM_nFailingProbe_pt_p1_1D",
"GEM_nFailingProbe_pt_p1_1D", 20, 0, 100);
160 iBooker.
book1D(
"GEM_nPassingProbe_eta_p1_1D",
"GEM_nPassingProbe_eta_p1_1D", 24, 0, 2.4);
162 iBooker.
book1D(
"GEM_nFailingProbe_eta_p1_1D",
"GEM_nFailingProbe_eta_p1_1D", 24, 0, 2.4);
168 iBooker.
book1D(
"GEM_nPassingProbe_pt_p2_1D",
"GEM_nPassingProbe_pt_p2_1D", 20, 0, 100);
170 iBooker.
book1D(
"GEM_nFailingProbe_pt_p2_1D",
"GEM_nFailingProbe_pt_p2_1D", 20, 0, 100);
172 iBooker.
book1D(
"GEM_nPassingProbe_eta_p2_1D",
"GEM_nPassingProbe_eta_p2_1D", 24, 0, 2.4);
174 iBooker.
book1D(
"GEM_nFailingProbe_eta_p2_1D",
"GEM_nFailingProbe_eta_p2_1D", 24, 0, 2.4);
180 iBooker.
book1D(
"GEM_nPassingProbe_pt_n1_1D",
"GEM_nPassingProbe_pt_n1_1D", 20, 0, 100);
182 iBooker.
book1D(
"GEM_nFailingProbe_pt_n1_1D",
"GEM_nFailingProbe_pt_n1_1D", 20, 0, 100);
184 iBooker.
book1D(
"GEM_nPassingProbe_eta_n1_1D",
"GEM_nPassingProbe_eta_n1_1D", 24, 0, 2.4);
186 iBooker.
book1D(
"GEM_nFailingProbe_eta_n1_1D",
"GEM_nFailingProbe_eta_n1_1D", 24, 0, 2.4);
192 iBooker.
book1D(
"GEM_nPassingProbe_pt_n2_1D",
"GEM_nPassingProbe_pt_n2_1D", 20, 0, 100);
194 iBooker.
book1D(
"GEM_nFailingProbe_pt_n2_1D",
"GEM_nFailingProbe_pt_n2_1D", 20, 0, 100);
196 iBooker.
book1D(
"GEM_nPassingProbe_eta_n2_1D",
"GEM_nPassingProbe_eta_n2_1D", 24, 0, 2.4);
198 iBooker.
book1D(
"GEM_nFailingProbe_eta_n2_1D",
"GEM_nFailingProbe_eta_n2_1D", 24, 0, 2.4);
204 iBooker.
book2D(
"GE11_nPassingProbe_Ch_ieta_p1",
"GE11_nPassingProbe_Ch_ieta_p1", 8, 1, 9, 36, 1, 37);
206 iBooker.
book2D(
"GE11_nFailingProbe_Ch_ieta_p1",
"GE11_nFailingProbe_Ch_ieta_p1", 8, 1, 9, 36, 1, 37);
208 iBooker.
book2D(
"GE11_nPassingProbe_Ch_ieta_p2",
"GE11_nPassingProbe_Ch_ieta_p2", 8, 1, 9, 36, 1, 37);
210 iBooker.
book2D(
"GE11_nFailingProbe_Ch_ieta_p2",
"GE11_nFailingProbe_Ch_ieta_p2", 8, 1, 9, 36, 1, 37);
212 iBooker.
book2D(
"GE11_nPassingProbe_Ch_ieta_n1",
"GE11_nPassingProbe_Ch_ieta_n1", 8, 1, 9, 36, 1, 37);
214 iBooker.
book2D(
"GE11_nFailingProbe_Ch_ieta_n1",
"GE11_nFailingProbe_Ch_ieta_n1", 8, 1, 9, 36, 1, 37);
216 iBooker.
book2D(
"GE11_nPassingProbe_Ch_ieta_n2",
"GE11_nPassingProbe_Ch_ieta_n2", 8, 1, 9, 36, 1, 37);
218 iBooker.
book2D(
"GE11_nFailingProbe_Ch_ieta_n2",
"GE11_nFailingProbe_Ch_ieta_n2", 8, 1, 9, 36, 1, 37);
222 iBooker.
book1D(
"ME0_nPassingProbe_chamber_1D",
"ME0_nPassingProbe_chamber_1D", 18, 1, 19);
224 iBooker.
book1D(
"ME0_nFailingProbe_chamber_1D",
"ME0_nFailingProbe_chamber_1D", 18, 1, 19);
226 "GEM_nPassingProbe_Ch_region_layer_phase2",
"GEM_nPassingProbe_Ch_region_layer_phase2", 10, 0, 10, 36, 1, 37);
228 "GEM_nFailingProbe_Ch_region_layer_phase2",
"GEM_nFailingProbe_Ch_region_layer_phase2", 10, 0, 10, 36, 1, 37);
231 iBooker.
book1D(
"GE11_nPassingProbe_OHmissing_allCh_1D",
"GE11_nPassingProbe_OHmissing_allCh_1D", 2, -1.5, 1.5);
233 iBooker.
book1D(
"GE11_nFailingProbe_OHmissing_allCh_1D",
"GE11_nFailingProbe_OHmissing_allCh_1D", 2, -1.5, 1.5);
235 "GEM_nPassingProbe_OHmissing_chamber_p1_1D",
"GEM_nPassingProbe_OHmissing_chamber_p1_1D", 36, 1, 37);
237 "GEM_nFailingProbe_OHmissing_chamber_p1_1D",
"GEM_nFailingProbe_OHmissing_chamber_p1_1D", 36, 1, 37);
239 "GEM_nPassingProbe_OHmissing_chamber_p2_1D",
"GEM_nPassingProbe_OHmissing_chamber_p2_1D", 36, 1, 37);
241 "GEM_nFailingProbe_OHmissing_chamber_p2_1D",
"GEM_nFailingProbe_OHmissing_chamber_p2_1D", 36, 1, 37);
243 "GEM_nPassingProbe_OHmissing_chamber_n1_1D",
"GEM_nPassingProbe_OHmissing_chamber_n1_1D", 36, 1, 37);
245 "GEM_nFailingProbe_OHmissing_chamber_n1_1D",
"GEM_nFailingProbe_OHmissing_chamber_n1_1D", 36, 1, 37);
247 "GEM_nPassingProbe_OHmissing_chamber_n2_1D",
"GEM_nPassingProbe_OHmissing_chamber_n2_1D", 36, 1, 37);
249 "GEM_nFailingProbe_OHmissing_chamber_n2_1D",
"GEM_nFailingProbe_OHmissing_chamber_n2_1D", 36, 1, 37);
251 iBooker.
book1D(
"GEM_nPassingProbe_OHmissing_pt_1D",
"GEM_nPassingProbe_OHmissing_pt_1D", 20, 0, 100);
253 iBooker.
book1D(
"GEM_nFailingProbe_OHmissing_pt_1D",
"GEM_nFailingProbe_OHmissing_pt_1D", 20, 0, 100);
255 iBooker.
book1D(
"GEM_nPassingProbe_OHmissing_eta_1D",
"GEM_nPassingProbe_OHmissing_eta_1D", 24, 0, 2.4);
257 iBooker.
book1D(
"GEM_nFailingProbe_OHmissing_eta_1D",
"GEM_nFailingProbe_OHmissing_eta_1D", 24, 0, 2.4);
259 "GEM_nPassingProbe_OHmissing_phi_1D",
"GEM_nPassingProbe_OHmissing_phi_1D", 20, -
TMath::Pi(),
TMath::Pi());
261 "GEM_nFailingProbe_OHmissing_phi_1D",
"GEM_nFailingProbe_OHmissing_phi_1D", 20, -
TMath::Pi(),
TMath::Pi());
263 "GE11_nPassingProbe_OHmissing_Ch_ieta_p1",
"GE11_nPassingProbe_OHmissing_Ch_ieta_p1", 8, 1, 9, 36, 1, 37);
265 "GE11_nFailingProbe_OHmissing_Ch_ieta_p1",
"GE11_nFailingProbe_OHmissing_Ch_ieta_p1", 8, 1, 9, 36, 1, 37);
267 "GE11_nPassingProbe_OHmissing_Ch_ieta_p2",
"GE11_nPassingProbe_OHmissing_Ch_ieta_p2", 8, 1, 9, 36, 1, 37);
269 "GE11_nFailingProbe_OHmissing_Ch_ieta_p2",
"GE11_nFailingProbe_OHmissing_Ch_ieta_p2", 8, 1, 9, 36, 1, 37);
271 "GE11_nPassingProbe_OHmissing_Ch_ieta_n1",
"GE11_nPassingProbe_OHmissing_Ch_ieta_n1", 8, 1, 9, 36, 1, 37);
273 "GE11_nFailingProbe_OHmissing_Ch_ieta_n1",
"GE11_nFailingProbe_OHmissing_Ch_ieta_n1", 8, 1, 9, 36, 1, 37);
275 "GE11_nPassingProbe_OHmissing_Ch_ieta_n2",
"GE11_nPassingProbe_OHmissing_Ch_ieta_n2", 8, 1, 9, 36, 1, 37);
277 "GE11_nFailingProbe_OHmissing_Ch_ieta_n2",
"GE11_nFailingProbe_OHmissing_Ch_ieta_n2", 8, 1, 9, 36, 1, 37);
279 OHmissing_me_GE11_pass_allCh_1D->
setBinLabel(1,
"GE-11", 1);
280 OHmissing_me_GE11_pass_allCh_1D->
setBinLabel(2,
"GE+11", 1);
281 OHmissing_me_GE11_pass_allCh_1D->
setAxisTitle(
"Number of passing probes", 2);
283 OHmissing_me_GE11_fail_allCh_1D->
setBinLabel(1,
"GE-11", 1);
284 OHmissing_me_GE11_fail_allCh_1D->
setBinLabel(2,
"GE+11", 1);
285 OHmissing_me_GE11_fail_allCh_1D->
setAxisTitle(
"Number of failing probes", 2);
287 OHmissing_me_GEM_pass_chamber_p1_1D->
setAxisTitle(
"Chamber", 1);
288 OHmissing_me_GEM_pass_chamber_p1_1D->
setAxisTitle(
"Number of passing probes", 2);
289 OHmissing_me_GEM_fail_chamber_p1_1D->
setAxisTitle(
"Chamber", 1);
290 OHmissing_me_GEM_fail_chamber_p1_1D->
setAxisTitle(
"Number of failing probes", 2);
292 OHmissing_me_GEM_pass_chamber_p2_1D->
setAxisTitle(
"Chamber", 1);
293 OHmissing_me_GEM_pass_chamber_p2_1D->
setAxisTitle(
"Number of passing probes", 2);
294 OHmissing_me_GEM_fail_chamber_p2_1D->
setAxisTitle(
"Chamber", 1);
295 OHmissing_me_GEM_fail_chamber_p2_1D->
setAxisTitle(
"Number of failing probes", 2);
297 OHmissing_me_GEM_pass_chamber_n1_1D->
setAxisTitle(
"Chamber", 1);
298 OHmissing_me_GEM_pass_chamber_n1_1D->
setAxisTitle(
"Number of passing probes", 2);
299 OHmissing_me_GEM_fail_chamber_n1_1D->
setAxisTitle(
"Chamber", 1);
300 OHmissing_me_GEM_fail_chamber_n1_1D->
setAxisTitle(
"Number of failing probes", 2);
302 OHmissing_me_GEM_pass_chamber_n2_1D->
setAxisTitle(
"Chamber", 1);
303 OHmissing_me_GEM_pass_chamber_n2_1D->
setAxisTitle(
"Number of passing probes", 2);
304 OHmissing_me_GEM_fail_chamber_n2_1D->
setAxisTitle(
"Chamber", 1);
305 OHmissing_me_GEM_fail_chamber_n2_1D->
setAxisTitle(
"Number of failing probes", 2);
308 OHmissing_me_GEM_pass_pt_1D->
setAxisTitle(
"Number of passing probes", 2);
310 OHmissing_me_GEM_fail_pt_1D->
setAxisTitle(
"Number of failing probes", 2);
313 OHmissing_me_GEM_pass_eta_1D->
setAxisTitle(
"Number of passing probes", 2);
315 OHmissing_me_GEM_fail_eta_1D->
setAxisTitle(
"Number of failing probes", 2);
318 OHmissing_me_GEM_pass_phi_1D->
setAxisTitle(
"Number of passing probes", 2);
320 OHmissing_me_GEM_fail_phi_1D->
setAxisTitle(
"Number of failing probes", 2);
322 for (
int i = 1;
i < 37; ++
i) {
325 for (
int i = 1;
i < 9; ++
i) {
328 OHmissing_me_GE11_fail_Ch_ieta_p1->
setAxisTitle(
"#ieta", 1);
329 OHmissing_me_GE11_fail_Ch_ieta_p1->
setAxisTitle(
"Chamber", 2);
330 OHmissing_me_GE11_fail_Ch_ieta_p1->
setAxisTitle(
"Number of failing probes", 3);
332 for (
int i = 1;
i < 37; ++
i) {
335 for (
int i = 1;
i < 9; ++
i) {
338 OHmissing_me_GE11_pass_Ch_ieta_p1->
setAxisTitle(
"#ieta", 1);
339 OHmissing_me_GE11_pass_Ch_ieta_p1->
setAxisTitle(
"Chamber", 2);
340 OHmissing_me_GE11_pass_Ch_ieta_p1->
setAxisTitle(
"Number of passing probes", 3);
342 for (
int i = 1;
i < 37; ++
i) {
345 for (
int i = 1;
i < 9; ++
i) {
348 OHmissing_me_GE11_fail_Ch_ieta_p2->
setAxisTitle(
"#ieta", 1);
349 OHmissing_me_GE11_fail_Ch_ieta_p2->
setAxisTitle(
"Chamber", 2);
350 OHmissing_me_GE11_fail_Ch_ieta_p2->
setAxisTitle(
"Number of failing probes", 3);
352 for (
int i = 1;
i < 37; ++
i) {
355 for (
int i = 1;
i < 9; ++
i) {
358 OHmissing_me_GE11_pass_Ch_ieta_p2->
setAxisTitle(
"#ieta", 1);
359 OHmissing_me_GE11_pass_Ch_ieta_p2->
setAxisTitle(
"Chamber", 2);
360 OHmissing_me_GE11_pass_Ch_ieta_p2->
setAxisTitle(
"Number of passing probes", 3);
362 for (
int i = 1;
i < 37; ++
i) {
365 for (
int i = 1;
i < 9; ++
i) {
368 OHmissing_me_GE11_fail_Ch_ieta_n1->
setAxisTitle(
"#ieta", 1);
369 OHmissing_me_GE11_fail_Ch_ieta_n1->
setAxisTitle(
"Chamber", 2);
370 OHmissing_me_GE11_fail_Ch_ieta_n1->
setAxisTitle(
"Number of failing probes", 3);
372 for (
int i = 1;
i < 37; ++
i) {
375 for (
int i = 1;
i < 9; ++
i) {
378 OHmissing_me_GE11_pass_Ch_ieta_n1->
setAxisTitle(
"#ieta", 1);
379 OHmissing_me_GE11_pass_Ch_ieta_n1->
setAxisTitle(
"Chamber", 2);
380 OHmissing_me_GE11_pass_Ch_ieta_n1->
setAxisTitle(
"Number of passing probes", 3);
382 for (
int i = 1;
i < 37; ++
i) {
385 for (
int i = 1;
i < 9; ++
i) {
388 OHmissing_me_GE11_fail_Ch_ieta_n2->
setAxisTitle(
"#ieta", 1);
389 OHmissing_me_GE11_fail_Ch_ieta_n2->
setAxisTitle(
"Chamber", 2);
390 OHmissing_me_GE11_fail_Ch_ieta_n2->
setAxisTitle(
"Number of failing probes", 3);
392 for (
int i = 1;
i < 37; ++
i) {
395 for (
int i = 1;
i < 9; ++
i) {
398 OHmissing_me_GE11_pass_Ch_ieta_n2->
setAxisTitle(
"#ieta", 1);
399 OHmissing_me_GE11_pass_Ch_ieta_n2->
setAxisTitle(
"Chamber", 2);
400 OHmissing_me_GE11_pass_Ch_ieta_n2->
setAxisTitle(
"Number of passing probes", 3);
405 iBooker.
book1D(
"GE11_nPassingProbe_OHerror_allCh_1D",
"GE11_nPassingProbe_OHerror_allCh_1D", 2, -1.5, 1.5);
407 iBooker.
book1D(
"GE11_nFailingProbe_OHerror_allCh_1D",
"GE11_nFailingProbe_OHerror_allCh_1D", 2, -1.5, 1.5);
409 iBooker.
book1D(
"GEM_nPassingProbe_OHerror_chamber_p1_1D",
"GEM_nPassingProbe_OHerror_chamber_p1_1D", 36, 1, 37);
411 iBooker.
book1D(
"GEM_nFailingProbe_OHerror_chamber_p1_1D",
"GEM_nFailingProbe_OHerror_chamber_p1_1D", 36, 1, 37);
413 iBooker.
book1D(
"GEM_nPassingProbe_OHerror_chamber_p2_1D",
"GEM_nPassingProbe_OHerror_chamber_p2_1D", 36, 1, 37);
415 iBooker.
book1D(
"GEM_nFailingProbe_OHerror_chamber_p2_1D",
"GEM_nFailingProbe_OHerror_chamber_p2_1D", 36, 1, 37);
417 iBooker.
book1D(
"GEM_nPassingProbe_OHerror_chamber_n1_1D",
"GEM_nPassingProbe_OHerror_chamber_n1_1D", 36, 1, 37);
419 iBooker.
book1D(
"GEM_nFailingProbe_OHerror_chamber_n1_1D",
"GEM_nFailingProbe_OHerror_chamber_n1_1D", 36, 1, 37);
421 iBooker.
book1D(
"GEM_nPassingProbe_OHerror_chamber_n2_1D",
"GEM_nPassingProbe_OHerror_chamber_n2_1D", 36, 1, 37);
423 iBooker.
book1D(
"GEM_nFailingProbe_OHerror_chamber_n2_1D",
"GEM_nFailingProbe_OHerror_chamber_n2_1D", 36, 1, 37);
425 iBooker.
book1D(
"GEM_nPassingProbe_OHerror_pt_1D",
"GEM_nPassingProbe_OHerror_pt_1D", 20, 0, 100);
427 iBooker.
book1D(
"GEM_nFailingProbe_OHerror_pt_1D",
"GEM_nFailingProbe_OHerror_pt_1D", 20, 0, 100);
429 iBooker.
book1D(
"GEM_nPassingProbe_OHerror_eta_1D",
"GEM_nPassingProbe_OHerror_eta_1D", 24, 0, 2.4);
431 iBooker.
book1D(
"GEM_nFailingProbe_OHerror_eta_1D",
"GEM_nFailingProbe_OHerror_eta_1D", 24, 0, 2.4);
433 "GEM_nPassingProbe_OHerror_phi_1D",
"GEM_nPassingProbe_OHerror_phi_1D", 20, -
TMath::Pi(),
TMath::Pi());
435 "GEM_nFailingProbe_OHerror_phi_1D",
"GEM_nFailingProbe_OHerror_phi_1D", 20, -
TMath::Pi(),
TMath::Pi());
437 "GE11_nPassingProbe_OHerror_Ch_ieta_p1",
"GE11_nPassingProbe_OHerror_Ch_ieta_p1", 8, 1, 9, 36, 1, 37);
439 "GE11_nFailingProbe_OHerror_Ch_ieta_p1",
"GE11_nFailingProbe_OHerror_Ch_ieta_p1", 8, 1, 9, 36, 1, 37);
441 "GE11_nPassingProbe_OHerror_Ch_ieta_p2",
"GE11_nPassingProbe_OHerror_Ch_ieta_p2", 8, 1, 9, 36, 1, 37);
443 "GE11_nFailingProbe_OHerror_Ch_ieta_p2",
"GE11_nFailingProbe_OHerror_Ch_ieta_p2", 8, 1, 9, 36, 1, 37);
445 "GE11_nPassingProbe_OHerror_Ch_ieta_n1",
"GE11_nPassingProbe_OHerror_Ch_ieta_n1", 8, 1, 9, 36, 1, 37);
447 "GE11_nFailingProbe_OHerror_Ch_ieta_n1",
"GE11_nFailingProbe_OHerror_Ch_ieta_n1", 8, 1, 9, 36, 1, 37);
449 "GE11_nPassingProbe_OHerror_Ch_ieta_n2",
"GE11_nPassingProbe_OHerror_Ch_ieta_n2", 8, 1, 9, 36, 1, 37);
451 "GE11_nFailingProbe_OHerror_Ch_ieta_n2",
"GE11_nFailingProbe_OHerror_Ch_ieta_n2", 8, 1, 9, 36, 1, 37);
453 OHerror_me_GE11_pass_allCh_1D->
setBinLabel(1,
"GE-11", 1);
454 OHerror_me_GE11_pass_allCh_1D->
setBinLabel(2,
"GE+11", 1);
455 OHerror_me_GE11_pass_allCh_1D->
setAxisTitle(
"Number of passing probes", 2);
457 OHerror_me_GE11_fail_allCh_1D->
setBinLabel(1,
"GE-11", 1);
458 OHerror_me_GE11_fail_allCh_1D->
setBinLabel(2,
"GE+11", 1);
459 OHerror_me_GE11_fail_allCh_1D->
setAxisTitle(
"Number of failing probes", 2);
461 OHerror_me_GEM_pass_chamber_p1_1D->
setAxisTitle(
"Chamber", 1);
462 OHerror_me_GEM_pass_chamber_p1_1D->
setAxisTitle(
"Number of passing probes", 2);
463 OHerror_me_GEM_fail_chamber_p1_1D->
setAxisTitle(
"Chamber", 1);
464 OHerror_me_GEM_fail_chamber_p1_1D->
setAxisTitle(
"Number of failing probes", 2);
466 OHerror_me_GEM_pass_chamber_p2_1D->
setAxisTitle(
"Chamber", 1);
467 OHerror_me_GEM_pass_chamber_p2_1D->
setAxisTitle(
"Number of passing probes", 2);
468 OHerror_me_GEM_fail_chamber_p2_1D->
setAxisTitle(
"Chamber", 1);
469 OHerror_me_GEM_fail_chamber_p2_1D->
setAxisTitle(
"Number of failing probes", 2);
471 OHerror_me_GEM_pass_chamber_n1_1D->
setAxisTitle(
"Chamber", 1);
472 OHerror_me_GEM_pass_chamber_n1_1D->
setAxisTitle(
"Number of passing probes", 2);
473 OHerror_me_GEM_fail_chamber_n1_1D->
setAxisTitle(
"Chamber", 1);
474 OHerror_me_GEM_fail_chamber_n1_1D->
setAxisTitle(
"Number of failing probes", 2);
476 OHerror_me_GEM_pass_chamber_n2_1D->
setAxisTitle(
"Chamber", 1);
477 OHerror_me_GEM_pass_chamber_n2_1D->
setAxisTitle(
"Number of passing probes", 2);
478 OHerror_me_GEM_fail_chamber_n2_1D->
setAxisTitle(
"Chamber", 1);
479 OHerror_me_GEM_fail_chamber_n2_1D->
setAxisTitle(
"Number of failing probes", 2);
482 OHerror_me_GEM_pass_pt_1D->
setAxisTitle(
"Number of passing probes", 2);
484 OHerror_me_GEM_fail_pt_1D->
setAxisTitle(
"Number of failing probes", 2);
487 OHerror_me_GEM_pass_eta_1D->
setAxisTitle(
"Number of passing probes", 2);
489 OHerror_me_GEM_fail_eta_1D->
setAxisTitle(
"Number of failing probes", 2);
492 OHerror_me_GEM_pass_phi_1D->
setAxisTitle(
"Number of passing probes", 2);
494 OHerror_me_GEM_fail_phi_1D->
setAxisTitle(
"Number of failing probes", 2);
495 for (
int i = 1;
i < 37; ++
i) {
498 for (
int i = 1;
i < 9; ++
i) {
501 OHerror_me_GE11_fail_Ch_ieta_p1->
setAxisTitle(
"#ieta", 1);
502 OHerror_me_GE11_fail_Ch_ieta_p1->
setAxisTitle(
"Chamber", 2);
503 OHerror_me_GE11_fail_Ch_ieta_p1->
setAxisTitle(
"Number of failing probes", 3);
505 for (
int i = 1;
i < 37; ++
i) {
508 for (
int i = 1;
i < 9; ++
i) {
511 OHerror_me_GE11_pass_Ch_ieta_p1->
setAxisTitle(
"#ieta", 1);
512 OHerror_me_GE11_pass_Ch_ieta_p1->
setAxisTitle(
"Chamber", 2);
513 OHerror_me_GE11_pass_Ch_ieta_p1->
setAxisTitle(
"Number of passing probes", 3);
515 for (
int i = 1;
i < 37; ++
i) {
518 for (
int i = 1;
i < 9; ++
i) {
521 OHerror_me_GE11_fail_Ch_ieta_p2->
setAxisTitle(
"#ieta", 1);
522 OHerror_me_GE11_fail_Ch_ieta_p2->
setAxisTitle(
"Chamber", 2);
523 OHerror_me_GE11_fail_Ch_ieta_p2->
setAxisTitle(
"Number of failing probes", 3);
525 for (
int i = 1;
i < 37; ++
i) {
528 for (
int i = 1;
i < 9; ++
i) {
531 OHerror_me_GE11_pass_Ch_ieta_p2->
setAxisTitle(
"#ieta", 1);
532 OHerror_me_GE11_pass_Ch_ieta_p2->
setAxisTitle(
"Chamber", 2);
533 OHerror_me_GE11_pass_Ch_ieta_p2->
setAxisTitle(
"Number of passing probes", 3);
535 for (
int i = 1;
i < 37; ++
i) {
538 for (
int i = 1;
i < 9; ++
i) {
541 OHerror_me_GE11_fail_Ch_ieta_n1->
setAxisTitle(
"#ieta", 1);
542 OHerror_me_GE11_fail_Ch_ieta_n1->
setAxisTitle(
"Chamber", 2);
543 OHerror_me_GE11_fail_Ch_ieta_n1->
setAxisTitle(
"Number of failing probes", 3);
545 for (
int i = 1;
i < 37; ++
i) {
548 for (
int i = 1;
i < 9; ++
i) {
551 OHerror_me_GE11_pass_Ch_ieta_n1->
setAxisTitle(
"#ieta", 1);
552 OHerror_me_GE11_pass_Ch_ieta_n1->
setAxisTitle(
"Chamber", 2);
553 OHerror_me_GE11_pass_Ch_ieta_n1->
setAxisTitle(
"Number of passing probes", 3);
555 for (
int i = 1;
i < 37; ++
i) {
558 for (
int i = 1;
i < 9; ++
i) {
561 OHerror_me_GE11_fail_Ch_ieta_n2->
setAxisTitle(
"#ieta", 1);
562 OHerror_me_GE11_fail_Ch_ieta_n2->
setAxisTitle(
"Chamber", 2);
563 OHerror_me_GE11_fail_Ch_ieta_n2->
setAxisTitle(
"Number of failing probes", 3);
565 for (
int i = 1;
i < 37; ++
i) {
568 for (
int i = 1;
i < 9; ++
i) {
571 OHerror_me_GE11_pass_Ch_ieta_n2->
setAxisTitle(
"#ieta", 1);
572 OHerror_me_GE11_pass_Ch_ieta_n2->
setAxisTitle(
"Chamber", 2);
573 OHerror_me_GE11_pass_Ch_ieta_n2->
setAxisTitle(
"Number of passing probes", 3);
578 iBooker.
book1D(
"GE11_nPassingProbe_VFATMask_allCh_1D",
"GE11_nPassingProbe_VFATMask_allCh_1D", 2, -1.5, 1.5);
580 iBooker.
book1D(
"GE11_nFailingProbe_VFATMask_allCh_1D",
"GE11_nFailingProbe_VFATMask_allCh_1D", 2, -1.5, 1.5);
582 iBooker.
book1D(
"GEM_nPassingProbe_VFATMask_chamber_p1_1D",
"GEM_nPassingProbe_VFATMask_chamber_p1_1D", 36, 1, 37);
584 iBooker.
book1D(
"GEM_nFailingProbe_VFATMask_chamber_p1_1D",
"GEM_nFailingProbe_VFATMask_chamber_p1_1D", 36, 1, 37);
586 iBooker.
book1D(
"GEM_nPassingProbe_VFATMask_chamber_p2_1D",
"GEM_nPassingProbe_VFATMask_chamber_p2_1D", 36, 1, 37);
588 iBooker.
book1D(
"GEM_nFailingProbe_VFATMask_chamber_p2_1D",
"GEM_nFailingProbe_VFATMask_chamber_p2_1D", 36, 1, 37);
590 iBooker.
book1D(
"GEM_nPassingProbe_VFATMask_chamber_n1_1D",
"GEM_nPassingProbe_VFATMask_chamber_n1_1D", 36, 1, 37);
592 iBooker.
book1D(
"GEM_nFailingProbe_VFATMask_chamber_n1_1D",
"GEM_nFailingProbe_VFATMask_chamber_n1_1D", 36, 1, 37);
594 iBooker.
book1D(
"GEM_nPassingProbe_VFATMask_chamber_n2_1D",
"GEM_nPassingProbe_VFATMask_chamber_n2_1D", 36, 1, 37);
596 iBooker.
book1D(
"GEM_nFailingProbe_VFATMask_chamber_n2_1D",
"GEM_nFailingProbe_VFATMask_chamber_n2_1D", 36, 1, 37);
598 iBooker.
book1D(
"GEM_nPassingProbe_VFATMask_pt_1D",
"GEM_nPassingProbe_VFATMask_pt_1D", 20, 0, 100);
600 iBooker.
book1D(
"GEM_nFailingProbe_VFATMask_pt_1D",
"GEM_nFailingProbe_VFATMask_pt_1D", 20, 0, 100);
602 iBooker.
book1D(
"GEM_nPassingProbe_VFATMask_eta_1D",
"GEM_nPassingProbe_VFATMask_eta_1D", 24, 0, 2.4);
604 iBooker.
book1D(
"GEM_nFailingProbe_VFATMask_eta_1D",
"GEM_nFailingProbe_VFATMask_eta_1D", 24, 0, 2.4);
606 "GEM_nPassingProbe_VFATMask_phi_1D",
"GEM_nPassingProbe_VFATMask_phi_1D", 20, -
TMath::Pi(),
TMath::Pi());
608 "GEM_nFailingProbe_VFATMask_phi_1D",
"GEM_nFailingProbe_VFATMask_phi_1D", 20, -
TMath::Pi(),
TMath::Pi());
610 "GE11_nPassingProbe_VFATMask_Ch_ieta_p1",
"GE11_nPassingProbe_VFATMask_Ch_ieta_p1", 8, 1, 9, 36, 1, 37);
612 "GE11_nFailingProbe_VFATMask_Ch_ieta_p1",
"GE11_nFailingProbe_VFATMask_Ch_ieta_p1", 8, 1, 9, 36, 1, 37);
614 "GE11_nPassingProbe_VFATMask_Ch_ieta_p2",
"GE11_nPassingProbe_VFATMask_Ch_ieta_p2", 8, 1, 9, 36, 1, 37);
616 "GE11_nFailingProbe_VFATMask_Ch_ieta_p2",
"GE11_nFailingProbe_VFATMask_Ch_ieta_p2", 8, 1, 9, 36, 1, 37);
618 "GE11_nPassingProbe_VFATMask_Ch_ieta_n1",
"GE11_nPassingProbe_VFATMask_Ch_ieta_n1", 8, 1, 9, 36, 1, 37);
620 "GE11_nFailingProbe_VFATMask_Ch_ieta_n1",
"GE11_nFailingProbe_VFATMask_Ch_ieta_n1", 8, 1, 9, 36, 1, 37);
622 "GE11_nPassingProbe_VFATMask_Ch_ieta_n2",
"GE11_nPassingProbe_VFATMask_Ch_ieta_n2", 8, 1, 9, 36, 1, 37);
624 "GE11_nFailingProbe_VFATMask_Ch_ieta_n2",
"GE11_nFailingProbe_VFATMask_Ch_ieta_n2", 8, 1, 9, 36, 1, 37);
626 VFATMask_me_GE11_pass_allCh_1D->
setBinLabel(1,
"GE-11", 1);
627 VFATMask_me_GE11_pass_allCh_1D->
setBinLabel(2,
"GE+11", 1);
628 VFATMask_me_GE11_pass_allCh_1D->
setAxisTitle(
"Number of passing probes", 2);
630 VFATMask_me_GE11_fail_allCh_1D->
setBinLabel(1,
"GE-11", 1);
631 VFATMask_me_GE11_fail_allCh_1D->
setBinLabel(2,
"GE+11", 1);
632 VFATMask_me_GE11_fail_allCh_1D->
setAxisTitle(
"Number of failing probes", 2);
634 VFATMask_me_GEM_pass_chamber_p1_1D->
setAxisTitle(
"Chamber", 1);
635 VFATMask_me_GEM_pass_chamber_p1_1D->
setAxisTitle(
"Number of passing probes", 2);
636 VFATMask_me_GEM_fail_chamber_p1_1D->
setAxisTitle(
"Chamber", 1);
637 VFATMask_me_GEM_fail_chamber_p1_1D->
setAxisTitle(
"Number of failing probes", 2);
639 VFATMask_me_GEM_pass_chamber_p2_1D->
setAxisTitle(
"Chamber", 1);
640 VFATMask_me_GEM_pass_chamber_p2_1D->
setAxisTitle(
"Number of passing probes", 2);
641 VFATMask_me_GEM_fail_chamber_p2_1D->
setAxisTitle(
"Chamber", 1);
642 VFATMask_me_GEM_fail_chamber_p2_1D->
setAxisTitle(
"Number of failing probes", 2);
644 VFATMask_me_GEM_pass_chamber_n1_1D->
setAxisTitle(
"Chamber", 1);
645 VFATMask_me_GEM_pass_chamber_n1_1D->
setAxisTitle(
"Number of passing probes", 2);
646 VFATMask_me_GEM_fail_chamber_n1_1D->
setAxisTitle(
"Chamber", 1);
647 VFATMask_me_GEM_fail_chamber_n1_1D->
setAxisTitle(
"Number of failing probes", 2);
649 VFATMask_me_GEM_pass_chamber_n2_1D->
setAxisTitle(
"Chamber", 1);
650 VFATMask_me_GEM_pass_chamber_n2_1D->
setAxisTitle(
"Number of passing probes", 2);
651 VFATMask_me_GEM_fail_chamber_n2_1D->
setAxisTitle(
"Chamber", 1);
652 VFATMask_me_GEM_fail_chamber_n2_1D->
setAxisTitle(
"Number of failing probes", 2);
655 VFATMask_me_GEM_pass_pt_1D->
setAxisTitle(
"Number of passing probes", 2);
657 VFATMask_me_GEM_fail_pt_1D->
setAxisTitle(
"Number of failing probes", 2);
660 VFATMask_me_GEM_pass_eta_1D->
setAxisTitle(
"Number of passing probes", 2);
662 VFATMask_me_GEM_fail_eta_1D->
setAxisTitle(
"Number of failing probes", 2);
665 VFATMask_me_GEM_pass_phi_1D->
setAxisTitle(
"Number of passing probes", 2);
667 VFATMask_me_GEM_fail_phi_1D->
setAxisTitle(
"Number of failing probes", 2);
669 for (
int i = 1;
i < 37; ++
i) {
672 for (
int i = 1;
i < 9; ++
i) {
675 VFATMask_me_GE11_fail_Ch_ieta_p1->
setAxisTitle(
"#ieta", 1);
676 VFATMask_me_GE11_fail_Ch_ieta_p1->
setAxisTitle(
"Chamber", 2);
677 VFATMask_me_GE11_fail_Ch_ieta_p1->
setAxisTitle(
"Number of failing probes", 3);
679 for (
int i = 1;
i < 37; ++
i) {
682 for (
int i = 1;
i < 9; ++
i) {
685 VFATMask_me_GE11_pass_Ch_ieta_p1->
setAxisTitle(
"#ieta", 1);
686 VFATMask_me_GE11_pass_Ch_ieta_p1->
setAxisTitle(
"Chamber", 2);
687 VFATMask_me_GE11_pass_Ch_ieta_p1->
setAxisTitle(
"Number of passing probes", 3);
689 for (
int i = 1;
i < 37; ++
i) {
692 for (
int i = 1;
i < 9; ++
i) {
695 VFATMask_me_GE11_fail_Ch_ieta_p2->
setAxisTitle(
"#ieta", 1);
696 VFATMask_me_GE11_fail_Ch_ieta_p2->
setAxisTitle(
"Chamber", 2);
697 VFATMask_me_GE11_fail_Ch_ieta_p2->
setAxisTitle(
"Number of failing probes", 3);
699 for (
int i = 1;
i < 37; ++
i) {
702 for (
int i = 1;
i < 9; ++
i) {
705 VFATMask_me_GE11_pass_Ch_ieta_p2->
setAxisTitle(
"#ieta", 1);
706 VFATMask_me_GE11_pass_Ch_ieta_p2->
setAxisTitle(
"Chamber", 2);
707 VFATMask_me_GE11_pass_Ch_ieta_p2->
setAxisTitle(
"Number of passing probes", 3);
709 for (
int i = 1;
i < 37; ++
i) {
712 for (
int i = 1;
i < 9; ++
i) {
715 VFATMask_me_GE11_fail_Ch_ieta_n1->
setAxisTitle(
"#ieta", 1);
716 VFATMask_me_GE11_fail_Ch_ieta_n1->
setAxisTitle(
"Chamber", 2);
717 VFATMask_me_GE11_fail_Ch_ieta_n1->
setAxisTitle(
"Number of failing probes", 3);
719 for (
int i = 1;
i < 37; ++
i) {
722 for (
int i = 1;
i < 9; ++
i) {
725 VFATMask_me_GE11_pass_Ch_ieta_n1->
setAxisTitle(
"#ieta", 1);
726 VFATMask_me_GE11_pass_Ch_ieta_n1->
setAxisTitle(
"Chamber", 2);
727 VFATMask_me_GE11_pass_Ch_ieta_n1->
setAxisTitle(
"Number of passing probes", 3);
729 for (
int i = 1;
i < 37; ++
i) {
732 for (
int i = 1;
i < 9; ++
i) {
735 VFATMask_me_GE11_fail_Ch_ieta_n2->
setAxisTitle(
"#ieta", 1);
736 VFATMask_me_GE11_fail_Ch_ieta_n2->
setAxisTitle(
"Chamber", 2);
737 VFATMask_me_GE11_fail_Ch_ieta_n2->
setAxisTitle(
"Number of failing probes", 3);
739 for (
int i = 1;
i < 37; ++
i) {
742 for (
int i = 1;
i < 9; ++
i) {
745 VFATMask_me_GE11_pass_Ch_ieta_n2->
setAxisTitle(
"#ieta", 1);
746 VFATMask_me_GE11_pass_Ch_ieta_n2->
setAxisTitle(
"Chamber", 2);
747 VFATMask_me_GE11_pass_Ch_ieta_n2->
setAxisTitle(
"Number of passing probes", 3);
751 me_GE11_pass_allCh_1D->
setAxisTitle(
"Number of passing probes", 2);
755 me_GE11_fail_allCh_1D->
setAxisTitle(
"Number of failing probes", 2);
758 me_GE11_pass_chamber_1D->
setAxisTitle(
"Number of passing probes", 2);
760 me_GE11_fail_chamber_1D->
setAxisTitle(
"Number of failing probes", 2);
764 me_GE21_pass_allCh_1D->
setAxisTitle(
"Number of passing probes", 2);
768 me_GE21_fail_allCh_1D->
setAxisTitle(
"Number of failing probes", 2);
771 me_GE21_pass_chamber_1D->
setAxisTitle(
"Number of passing probes", 2);
773 me_GE21_fail_chamber_1D->
setAxisTitle(
"Number of failing probes", 2);
776 me_GEM_pass_chamber_p1_1D->
setAxisTitle(
"Number of passing probes", 2);
778 me_GEM_fail_chamber_p1_1D->
setAxisTitle(
"Number of failing probes", 2);
781 me_GEM_pass_chamber_p2_1D->
setAxisTitle(
"Number of passing probes", 2);
783 me_GEM_fail_chamber_p2_1D->
setAxisTitle(
"Number of failing probes", 2);
786 me_GEM_pass_chamber_n1_1D->
setAxisTitle(
"Number of passing probes", 2);
788 me_GEM_fail_chamber_n1_1D->
setAxisTitle(
"Number of failing probes", 2);
791 me_GEM_pass_chamber_n2_1D->
setAxisTitle(
"Number of passing probes", 2);
793 me_GEM_fail_chamber_n2_1D->
setAxisTitle(
"Number of failing probes", 2);
796 me_GEM_pass_pt_1D->
setAxisTitle(
"Number of passing probes", 2);
798 me_GEM_fail_pt_1D->
setAxisTitle(
"Number of failing probes", 2);
801 me_GEM_pass_eta_1D->
setAxisTitle(
"Number of passing probes", 2);
803 me_GEM_fail_eta_1D->
setAxisTitle(
"Number of failing probes", 2);
806 me_GEM_pass_phi_1D->
setAxisTitle(
"Number of passing probes", 2);
808 me_GEM_fail_phi_1D->
setAxisTitle(
"Number of failing probes", 2);
811 me_GEM_pass_pt_p1_1D->
setAxisTitle(
"Number of passing probes", 2);
813 me_GEM_fail_pt_p1_1D->
setAxisTitle(
"Number of failing probes", 2);
816 me_GEM_pass_eta_p1_1D->
setAxisTitle(
"Number of passing probes", 2);
818 me_GEM_fail_eta_p1_1D->
setAxisTitle(
"Number of failing probes", 2);
821 me_GEM_pass_phi_p1_1D->
setAxisTitle(
"Number of passing probes", 2);
823 me_GEM_fail_phi_p1_1D->
setAxisTitle(
"Number of failing probes", 2);
826 me_GEM_pass_pt_p2_1D->
setAxisTitle(
"Number of passing probes", 2);
828 me_GEM_fail_pt_p2_1D->
setAxisTitle(
"Number of failing probes", 2);
831 me_GEM_pass_eta_p2_1D->
setAxisTitle(
"Number of passing probes", 2);
833 me_GEM_fail_eta_p2_1D->
setAxisTitle(
"Number of failing probes", 2);
836 me_GEM_pass_phi_p2_1D->
setAxisTitle(
"Number of passing probes", 2);
838 me_GEM_fail_phi_p2_1D->
setAxisTitle(
"Number of failing probes", 2);
841 me_GEM_pass_pt_n1_1D->
setAxisTitle(
"Number of passing probes", 2);
843 me_GEM_fail_pt_n1_1D->
setAxisTitle(
"Number of failing probes", 2);
846 me_GEM_pass_eta_n1_1D->
setAxisTitle(
"Number of passing probes", 2);
848 me_GEM_fail_eta_n1_1D->
setAxisTitle(
"Number of failing probes", 2);
851 me_GEM_pass_phi_n1_1D->
setAxisTitle(
"Number of passing probes", 2);
853 me_GEM_fail_phi_n1_1D->
setAxisTitle(
"Number of failing probes", 2);
856 me_GEM_pass_pt_n2_1D->
setAxisTitle(
"Number of passing probes", 2);
858 me_GEM_fail_pt_n2_1D->
setAxisTitle(
"Number of failing probes", 2);
861 me_GEM_pass_eta_n2_1D->
setAxisTitle(
"Number of passing probes", 2);
863 me_GEM_fail_eta_n2_1D->
setAxisTitle(
"Number of failing probes", 2);
866 me_GEM_pass_phi_n2_1D->
setAxisTitle(
"Number of passing probes", 2);
868 me_GEM_fail_phi_n2_1D->
setAxisTitle(
"Number of failing probes", 2);
870 me_GE11_fail_Ch_region->
setBinLabel(1,
"GE-11", 1);
871 me_GE11_fail_Ch_region->
setBinLabel(2,
"GE+11", 1);
872 for (
int i = 1;
i < 37; ++
i) {
876 me_GE11_fail_Ch_region->
setAxisTitle(
"Number of failing probes", 3);
878 me_GE11_pass_Ch_region->
setBinLabel(1,
"GE-11", 1);
879 me_GE11_pass_Ch_region->
setBinLabel(2,
"GE+11", 1);
880 for (
int i = 1;
i < 37; ++
i) {
884 me_GE11_pass_Ch_region->
setAxisTitle(
"Number of passing probes", 3);
886 me_GE21_fail_Ch_region->
setBinLabel(1,
"GE-21", 1);
887 me_GE21_fail_Ch_region->
setBinLabel(2,
"GE+21", 1);
888 for (
int i = 1;
i < 19; ++
i) {
892 me_GE21_fail_Ch_region->
setAxisTitle(
"Number of failing probes", 3);
894 me_GE21_pass_Ch_region->
setBinLabel(1,
"GE-21", 1);
895 me_GE21_pass_Ch_region->
setBinLabel(2,
"GE+21", 1);
896 for (
int i = 1;
i < 19; ++
i) {
900 me_GE21_pass_Ch_region->
setAxisTitle(
"Number of passing probes", 3);
902 me_GEM_fail_Ch_region_GE1->
setBinLabel(1,
"GE-1/1_L2", 1);
903 me_GEM_fail_Ch_region_GE1->
setBinLabel(2,
"GE-1/1_L1", 1);
904 me_GEM_fail_Ch_region_GE1->
setBinLabel(3,
"GE+1/1_L1", 1);
905 me_GEM_fail_Ch_region_GE1->
setBinLabel(4,
"GE+1/1_L2", 1);
906 for (
int i = 1;
i < 37; ++
i) {
910 me_GEM_fail_Ch_region_GE1->
setAxisTitle(
"Number of passing probes", 3);
912 me_GEM_pass_Ch_region_GE1->
setBinLabel(1,
"GE-1/1_L2", 1);
913 me_GEM_pass_Ch_region_GE1->
setBinLabel(2,
"GE-1/1_L1", 1);
914 me_GEM_pass_Ch_region_GE1->
setBinLabel(3,
"GE+1/1_L1", 1);
915 me_GEM_pass_Ch_region_GE1->
setBinLabel(4,
"GE+1/1_L2", 1);
916 for (
int i = 1;
i < 37; ++
i) {
920 me_GEM_pass_Ch_region_GE1->
setAxisTitle(
"Number of passing probes", 3);
922 me_GEM_fail_Ch_region_GE1_NoL->
setBinLabel(1,
"GE-1", 1);
923 me_GEM_fail_Ch_region_GE1_NoL->
setBinLabel(2,
"GE+1", 1);
924 for (
int i = 1;
i < 37; ++
i) {
927 me_GEM_fail_Ch_region_GE1_NoL->
setAxisTitle(
"Chamber", 2);
928 me_GEM_fail_Ch_region_GE1_NoL->
setAxisTitle(
"Number of passing probes", 3);
930 me_GEM_pass_Ch_region_GE1_NoL->
setBinLabel(1,
"GE-1", 1);
931 me_GEM_pass_Ch_region_GE1_NoL->
setBinLabel(2,
"GE+1", 1);
932 for (
int i = 1;
i < 37; ++
i) {
935 me_GEM_pass_Ch_region_GE1_NoL->
setAxisTitle(
"Chamber", 2);
936 me_GEM_pass_Ch_region_GE1_NoL->
setAxisTitle(
"Number of passing probes", 3);
938 for (
int i = 1;
i < 37; ++
i) {
941 for (
int i = 1;
i < 9; ++
i) {
946 me_GE11_fail_Ch_ieta->
setAxisTitle(
"Number of failing probes", 3);
948 for (
int i = 1;
i < 37; ++
i) {
951 for (
int i = 1;
i < 9; ++
i) {
956 me_GE11_pass_Ch_ieta->
setAxisTitle(
"Number of passing probes", 3);
958 for (
int i = 1;
i < 37; ++
i) {
963 me_GE11_fail_Ch_phi->
setAxisTitle(
"Number of failing probes", 3);
965 for (
int i = 1;
i < 37; ++
i) {
970 me_GE11_pass_Ch_phi->
setAxisTitle(
"Number of passing probes", 3);
972 for (
int i = 1;
i < 19; ++
i) {
975 for (
int i = 1;
i < 17; ++
i) {
980 me_GE21_fail_Ch_ieta->
setAxisTitle(
"Number of failing probes", 3);
982 for (
int i = 1;
i < 19; ++
i) {
985 for (
int i = 1;
i < 17; ++
i) {
990 me_GE21_pass_Ch_ieta->
setAxisTitle(
"Number of passing probes", 3);
992 for (
int i = 1;
i < 19; ++
i) {
997 me_GE21_fail_Ch_phi->
setAxisTitle(
"Number of failing probes", 3);
999 for (
int i = 1;
i < 19; ++
i) {
1004 me_GE21_pass_Ch_phi->
setAxisTitle(
"Number of passing probes", 3);
1006 for (
int i = 1;
i < 19; ++
i) {
1010 me_ME0_pass_chamber_1D->
setAxisTitle(
"Number of passing probes", 2);
1011 for (
int i = 1;
i < 19; ++
i) {
1015 me_ME0_fail_chamber_1D->
setAxisTitle(
"Number of failing probes", 2);
1017 me_GEM_fail_Ch_region_layer_phase2->
setBinLabel(1,
"GE-2/1_L2", 1);
1018 me_GEM_fail_Ch_region_layer_phase2->
setBinLabel(2,
"GE-2/1_L1", 1);
1019 me_GEM_fail_Ch_region_layer_phase2->
setBinLabel(3,
"GE-1/1_L2", 1);
1020 me_GEM_fail_Ch_region_layer_phase2->
setBinLabel(4,
"GE-1/1_L1", 1);
1021 me_GEM_fail_Ch_region_layer_phase2->
setBinLabel(5,
"GE0-", 1);
1022 me_GEM_fail_Ch_region_layer_phase2->
setBinLabel(6,
"GE0+", 1);
1023 me_GEM_fail_Ch_region_layer_phase2->
setBinLabel(7,
"GE+1/1_L1", 1);
1024 me_GEM_fail_Ch_region_layer_phase2->
setBinLabel(8,
"GE+1/1_L2", 1);
1025 me_GEM_fail_Ch_region_layer_phase2->
setBinLabel(9,
"GE+2/1_L1", 1);
1026 me_GEM_fail_Ch_region_layer_phase2->
setBinLabel(10,
"GE+2/1_L2", 1);
1027 for (
int i = 1;
i < 37; ++
i) {
1030 me_GEM_fail_Ch_region_layer_phase2->
setAxisTitle(
"Chamber", 2);
1031 me_GEM_fail_Ch_region_layer_phase2->
setAxisTitle(
"Number of passing probes", 3);
1033 me_GEM_pass_Ch_region_layer_phase2->
setBinLabel(1,
"GE-2/1_L2", 1);
1034 me_GEM_pass_Ch_region_layer_phase2->
setBinLabel(2,
"GE-2/1_L1", 1);
1035 me_GEM_pass_Ch_region_layer_phase2->
setBinLabel(3,
"GE-1/1_L2", 1);
1036 me_GEM_pass_Ch_region_layer_phase2->
setBinLabel(4,
"GE-1/1_L1", 1);
1037 me_GEM_pass_Ch_region_layer_phase2->
setBinLabel(5,
"GE0-", 1);
1038 me_GEM_pass_Ch_region_layer_phase2->
setBinLabel(6,
"GE0+", 1);
1039 me_GEM_pass_Ch_region_layer_phase2->
setBinLabel(7,
"GE+1/1_L1", 1);
1040 me_GEM_pass_Ch_region_layer_phase2->
setBinLabel(8,
"GE+1/1_L2", 1);
1041 me_GEM_pass_Ch_region_layer_phase2->
setBinLabel(9,
"GE+2/1_L1", 1);
1042 me_GEM_pass_Ch_region_layer_phase2->
setBinLabel(10,
"GE+2/1_L2", 1);
1044 for (
int i = 1;
i < 37; ++
i) {
1047 me_GEM_pass_Ch_region_layer_phase2->
setAxisTitle(
"Chamber", 2);
1048 me_GEM_pass_Ch_region_layer_phase2->
setAxisTitle(
"Number of passing probes", 3);
1050 for (
int i = 1;
i < 37; ++
i) {
1053 for (
int i = 1;
i < 9; ++
i) {
1058 me_GE11_fail_Ch_ieta_p1->
setAxisTitle(
"Number of failing probes", 3);
1060 for (
int i = 1;
i < 37; ++
i) {
1063 for (
int i = 1;
i < 9; ++
i) {
1068 me_GE11_pass_Ch_ieta_p1->
setAxisTitle(
"Number of passing probes", 3);
1070 for (
int i = 1;
i < 37; ++
i) {
1073 for (
int i = 1;
i < 9; ++
i) {
1078 me_GE11_fail_Ch_ieta_p2->
setAxisTitle(
"Number of failing probes", 3);
1080 for (
int i = 1;
i < 37; ++
i) {
1083 for (
int i = 1;
i < 9; ++
i) {
1088 me_GE11_pass_Ch_ieta_p2->
setAxisTitle(
"Number of passing probes", 3);
1090 for (
int i = 1;
i < 37; ++
i) {
1093 for (
int i = 1;
i < 9; ++
i) {
1098 me_GE11_fail_Ch_ieta_n1->
setAxisTitle(
"Number of failing probes", 3);
1100 for (
int i = 1;
i < 37; ++
i) {
1103 for (
int i = 1;
i < 9; ++
i) {
1108 me_GE11_pass_Ch_ieta_n1->
setAxisTitle(
"Number of passing probes", 3);
1110 for (
int i = 1;
i < 37; ++
i) {
1113 for (
int i = 1;
i < 9; ++
i) {
1118 me_GE11_fail_Ch_ieta_n2->
setAxisTitle(
"Number of failing probes", 3);
1120 for (
int i = 1;
i < 37; ++
i) {
1123 for (
int i = 1;
i < 9; ++
i) {
1128 me_GE11_pass_Ch_ieta_n2->
setAxisTitle(
"Number of passing probes", 3);
1130 m_histos[
"GE11_nPassingProbe_Ch_region"] = me_GE11_pass_Ch_region;
1131 m_histos[
"GE11_nFailingProbe_Ch_region"] = me_GE11_fail_Ch_region;
1132 m_histos[
"GE21_nPassingProbe_Ch_region"] = me_GE21_pass_Ch_region;
1133 m_histos[
"GE21_nFailingProbe_Ch_region"] = me_GE21_fail_Ch_region;
1134 m_histos[
"GEM_nPassingProbe_Ch_region_GE1"] = me_GEM_pass_Ch_region_GE1;
1135 m_histos[
"GEM_nFailingProbe_Ch_region_GE1"] = me_GEM_fail_Ch_region_GE1;
1136 m_histos[
"GEM_nPassingProbe_Ch_region_GE1_NoL"] = me_GEM_pass_Ch_region_GE1_NoL;
1137 m_histos[
"GEM_nFailingProbe_Ch_region_GE1_NoL"] = me_GEM_fail_Ch_region_GE1_NoL;
1138 m_histos[
"GE11_nPassingProbe_Ch_ieta"] = me_GE11_pass_Ch_ieta;
1139 m_histos[
"GE11_nFailingProbe_Ch_ieta"] = me_GE11_fail_Ch_ieta;
1140 m_histos[
"GE11_nPassingProbe_Ch_phi"] = me_GE11_pass_Ch_phi;
1141 m_histos[
"GE11_nFailingProbe_Ch_phi"] = me_GE11_fail_Ch_phi;
1142 m_histos[
"GE21_nPassingProbe_Ch_ieta"] = me_GE21_pass_Ch_ieta;
1143 m_histos[
"GE21_nFailingProbe_Ch_ieta"] = me_GE21_fail_Ch_ieta;
1144 m_histos[
"GE21_nPassingProbe_Ch_phi"] = me_GE21_pass_Ch_phi;
1145 m_histos[
"GE21_nFailingProbe_Ch_phi"] = me_GE21_fail_Ch_phi;
1146 m_histos[
"GE11_nPassingProbe_allCh_1D"] = me_GE11_pass_allCh_1D;
1147 m_histos[
"GE11_nFailingProbe_allCh_1D"] = me_GE11_fail_allCh_1D;
1148 m_histos[
"GE21_nPassingProbe_allCh_1D"] = me_GE21_pass_allCh_1D;
1149 m_histos[
"GE21_nFailingProbe_allCh_1D"] = me_GE21_fail_allCh_1D;
1150 m_histos[
"GE11_nPassingProbe_chamber_1D"] = me_GE11_pass_chamber_1D;
1151 m_histos[
"GE11_nFailingProbe_chamber_1D"] = me_GE11_fail_chamber_1D;
1152 m_histos[
"GE21_nPassingProbe_chamber_1D"] = me_GE21_pass_chamber_1D;
1153 m_histos[
"GE21_nFailingProbe_chamber_1D"] = me_GE21_fail_chamber_1D;
1154 m_histos[
"GEM_nPassingProbe_chamber_p1_1D"] = me_GEM_pass_chamber_p1_1D;
1155 m_histos[
"GEM_nFailingProbe_chamber_p1_1D"] = me_GEM_fail_chamber_p1_1D;
1156 m_histos[
"GEM_nPassingProbe_chamber_p2_1D"] = me_GEM_pass_chamber_p2_1D;
1157 m_histos[
"GEM_nFailingProbe_chamber_p2_1D"] = me_GEM_fail_chamber_p2_1D;
1158 m_histos[
"GEM_nPassingProbe_chamber_n1_1D"] = me_GEM_pass_chamber_n1_1D;
1159 m_histos[
"GEM_nFailingProbe_chamber_n1_1D"] = me_GEM_fail_chamber_n1_1D;
1160 m_histos[
"GEM_nPassingProbe_chamber_n2_1D"] = me_GEM_pass_chamber_n2_1D;
1161 m_histos[
"GEM_nFailingProbe_chamber_n2_1D"] = me_GEM_fail_chamber_n2_1D;
1162 m_histos[
"GEM_nPassingProbe_pt_1D"] = me_GEM_pass_pt_1D;
1163 m_histos[
"GEM_nFailingProbe_pt_1D"] = me_GEM_fail_pt_1D;
1164 m_histos[
"GEM_nPassingProbe_eta_1D"] = me_GEM_pass_eta_1D;
1165 m_histos[
"GEM_nFailingProbe_eta_1D"] = me_GEM_fail_eta_1D;
1166 m_histos[
"GEM_nPassingProbe_phi_1D"] = me_GEM_pass_phi_1D;
1167 m_histos[
"GEM_nFailingProbe_phi_1D"] = me_GEM_fail_phi_1D;
1168 m_histos[
"GEM_nPassingProbe_pt_p1_1D"] = me_GEM_pass_pt_p1_1D;
1169 m_histos[
"GEM_nFailingProbe_pt_p1_1D"] = me_GEM_fail_pt_p1_1D;
1170 m_histos[
"GEM_nPassingProbe_eta_p1_1D"] = me_GEM_pass_eta_p1_1D;
1171 m_histos[
"GEM_nFailingProbe_eta_p1_1D"] = me_GEM_fail_eta_p1_1D;
1172 m_histos[
"GEM_nPassingProbe_phi_p1_1D"] = me_GEM_pass_phi_p1_1D;
1173 m_histos[
"GEM_nFailingProbe_phi_p1_1D"] = me_GEM_fail_phi_p1_1D;
1174 m_histos[
"GEM_nPassingProbe_pt_p2_1D"] = me_GEM_pass_pt_p2_1D;
1175 m_histos[
"GEM_nFailingProbe_pt_p2_1D"] = me_GEM_fail_pt_p2_1D;
1176 m_histos[
"GEM_nPassingProbe_eta_p2_1D"] = me_GEM_pass_eta_p2_1D;
1177 m_histos[
"GEM_nFailingProbe_eta_p2_1D"] = me_GEM_fail_eta_p2_1D;
1178 m_histos[
"GEM_nPassingProbe_phi_p2_1D"] = me_GEM_pass_phi_p2_1D;
1179 m_histos[
"GEM_nFailingProbe_phi_p2_1D"] = me_GEM_fail_phi_p2_1D;
1180 m_histos[
"GEM_nPassingProbe_pt_n1_1D"] = me_GEM_pass_pt_n1_1D;
1181 m_histos[
"GEM_nFailingProbe_pt_n1_1D"] = me_GEM_fail_pt_n1_1D;
1182 m_histos[
"GEM_nPassingProbe_eta_n1_1D"] = me_GEM_pass_eta_n1_1D;
1183 m_histos[
"GEM_nFailingProbe_eta_n1_1D"] = me_GEM_fail_eta_n1_1D;
1184 m_histos[
"GEM_nPassingProbe_phi_n1_1D"] = me_GEM_pass_phi_n1_1D;
1185 m_histos[
"GEM_nFailingProbe_phi_n1_1D"] = me_GEM_fail_phi_n1_1D;
1186 m_histos[
"GEM_nPassingProbe_pt_n2_1D"] = me_GEM_pass_pt_n2_1D;
1187 m_histos[
"GEM_nFailingProbe_pt_n2_1D"] = me_GEM_fail_pt_n2_1D;
1188 m_histos[
"GEM_nPassingProbe_eta_n2_1D"] = me_GEM_pass_eta_n2_1D;
1189 m_histos[
"GEM_nFailingProbe_eta_n2_1D"] = me_GEM_fail_eta_n2_1D;
1190 m_histos[
"GEM_nPassingProbe_phi_n2_1D"] = me_GEM_pass_phi_n2_1D;
1191 m_histos[
"GEM_nFailingProbe_phi_n2_1D"] = me_GEM_fail_phi_n2_1D;
1192 m_histos[
"ME0_nPassingProbe_chamber_1D"] = me_ME0_pass_chamber_1D;
1193 m_histos[
"ME0_nFailingProbe_chamber_1D"] = me_ME0_fail_chamber_1D;
1194 m_histos[
"GEM_nPassingProbe_Ch_region_layer_phase2"] = me_GEM_pass_Ch_region_layer_phase2;
1195 m_histos[
"GEM_nFailingProbe_Ch_region_layer_phase2"] = me_GEM_fail_Ch_region_layer_phase2;
1196 m_histos[
"GE11_nPassingProbe_Ch_ieta_p1"] = me_GE11_pass_Ch_ieta_p1;
1197 m_histos[
"GE11_nFailingProbe_Ch_ieta_p1"] = me_GE11_fail_Ch_ieta_p1;
1198 m_histos[
"GE11_nPassingProbe_Ch_ieta_p2"] = me_GE11_pass_Ch_ieta_p2;
1199 m_histos[
"GE11_nFailingProbe_Ch_ieta_p2"] = me_GE11_fail_Ch_ieta_p2;
1200 m_histos[
"GE11_nPassingProbe_Ch_ieta_n1"] = me_GE11_pass_Ch_ieta_n1;
1201 m_histos[
"GE11_nFailingProbe_Ch_ieta_n1"] = me_GE11_fail_Ch_ieta_n1;
1202 m_histos[
"GE11_nPassingProbe_Ch_ieta_n2"] = me_GE11_pass_Ch_ieta_n2;
1203 m_histos[
"GE11_nFailingProbe_Ch_ieta_n2"] = me_GE11_fail_Ch_ieta_n2;
1205 m_histos[
"GE11_nPassingProbe_OHmissing_allCh_1D"] = OHmissing_me_GE11_pass_allCh_1D;
1206 m_histos[
"GE11_nFailingProbe_OHmissing_allCh_1D"] = OHmissing_me_GE11_fail_allCh_1D;
1207 m_histos[
"GEM_nPassingProbe_OHmissing_chamber_p1_1D"] = OHmissing_me_GEM_pass_chamber_p1_1D;
1208 m_histos[
"GEM_nFailingProbe_OHmissing_chamber_p1_1D"] = OHmissing_me_GEM_fail_chamber_p1_1D;
1209 m_histos[
"GEM_nPassingProbe_OHmissing_chamber_p2_1D"] = OHmissing_me_GEM_pass_chamber_p2_1D;
1210 m_histos[
"GEM_nFailingProbe_OHmissing_chamber_p2_1D"] = OHmissing_me_GEM_fail_chamber_p2_1D;
1211 m_histos[
"GEM_nPassingProbe_OHmissing_chamber_n1_1D"] = OHmissing_me_GEM_pass_chamber_n1_1D;
1212 m_histos[
"GEM_nFailingProbe_OHmissing_chamber_n1_1D"] = OHmissing_me_GEM_fail_chamber_n1_1D;
1213 m_histos[
"GEM_nPassingProbe_OHmissing_chamber_n2_1D"] = OHmissing_me_GEM_pass_chamber_n2_1D;
1214 m_histos[
"GEM_nFailingProbe_OHmissing_chamber_n2_1D"] = OHmissing_me_GEM_fail_chamber_n2_1D;
1215 m_histos[
"GEM_nPassingProbe_OHmissing_pt_1D"] = OHmissing_me_GEM_pass_pt_1D;
1216 m_histos[
"GEM_nFailingProbe_OHmissing_pt_1D"] = OHmissing_me_GEM_fail_pt_1D;
1217 m_histos[
"GEM_nPassingProbe_OHmissing_eta_1D"] = OHmissing_me_GEM_pass_eta_1D;
1218 m_histos[
"GEM_nFailingProbe_OHmissing_eta_1D"] = OHmissing_me_GEM_fail_eta_1D;
1219 m_histos[
"GEM_nPassingProbe_OHmissing_phi_1D"] = OHmissing_me_GEM_pass_phi_1D;
1220 m_histos[
"GEM_nFailingProbe_OHmissing_phi_1D"] = OHmissing_me_GEM_fail_phi_1D;
1221 m_histos[
"GE11_nPassingProbe_OHmissing_Ch_ieta_p1"] = OHmissing_me_GE11_pass_Ch_ieta_p1;
1222 m_histos[
"GE11_nFailingProbe_OHmissing_Ch_ieta_p1"] = OHmissing_me_GE11_fail_Ch_ieta_p1;
1223 m_histos[
"GE11_nPassingProbe_OHmissing_Ch_ieta_p2"] = OHmissing_me_GE11_pass_Ch_ieta_p2;
1224 m_histos[
"GE11_nFailingProbe_OHmissing_Ch_ieta_p2"] = OHmissing_me_GE11_fail_Ch_ieta_p2;
1225 m_histos[
"GE11_nPassingProbe_OHmissing_Ch_ieta_n1"] = OHmissing_me_GE11_pass_Ch_ieta_n1;
1226 m_histos[
"GE11_nFailingProbe_OHmissing_Ch_ieta_n1"] = OHmissing_me_GE11_fail_Ch_ieta_n1;
1227 m_histos[
"GE11_nPassingProbe_OHmissing_Ch_ieta_n2"] = OHmissing_me_GE11_pass_Ch_ieta_n2;
1228 m_histos[
"GE11_nFailingProbe_OHmissing_Ch_ieta_n2"] = OHmissing_me_GE11_fail_Ch_ieta_n2;
1230 m_histos[
"GE11_nPassingProbe_OHerror_allCh_1D"] = OHerror_me_GE11_pass_allCh_1D;
1231 m_histos[
"GE11_nFailingProbe_OHerror_allCh_1D"] = OHerror_me_GE11_fail_allCh_1D;
1232 m_histos[
"GEM_nPassingProbe_OHerror_chamber_p1_1D"] = OHerror_me_GEM_pass_chamber_p1_1D;
1233 m_histos[
"GEM_nFailingProbe_OHerror_chamber_p1_1D"] = OHerror_me_GEM_fail_chamber_p1_1D;
1234 m_histos[
"GEM_nPassingProbe_OHerror_chamber_p2_1D"] = OHerror_me_GEM_pass_chamber_p2_1D;
1235 m_histos[
"GEM_nFailingProbe_OHerror_chamber_p2_1D"] = OHerror_me_GEM_fail_chamber_p2_1D;
1236 m_histos[
"GEM_nPassingProbe_OHerror_chamber_n1_1D"] = OHerror_me_GEM_pass_chamber_n1_1D;
1237 m_histos[
"GEM_nFailingProbe_OHerror_chamber_n1_1D"] = OHerror_me_GEM_fail_chamber_n1_1D;
1238 m_histos[
"GEM_nPassingProbe_OHerror_chamber_n2_1D"] = OHerror_me_GEM_pass_chamber_n2_1D;
1239 m_histos[
"GEM_nFailingProbe_OHerror_chamber_n2_1D"] = OHerror_me_GEM_fail_chamber_n2_1D;
1240 m_histos[
"GEM_nPassingProbe_OHerror_pt_1D"] = OHerror_me_GEM_pass_pt_1D;
1241 m_histos[
"GEM_nFailingProbe_OHerror_pt_1D"] = OHerror_me_GEM_fail_pt_1D;
1242 m_histos[
"GEM_nPassingProbe_OHerror_eta_1D"] = OHerror_me_GEM_pass_eta_1D;
1243 m_histos[
"GEM_nFailingProbe_OHerror_eta_1D"] = OHerror_me_GEM_fail_eta_1D;
1244 m_histos[
"GEM_nPassingProbe_OHerror_phi_1D"] = OHerror_me_GEM_pass_phi_1D;
1245 m_histos[
"GEM_nFailingProbe_OHerror_phi_1D"] = OHerror_me_GEM_fail_phi_1D;
1246 m_histos[
"GE11_nPassingProbe_OHerror_Ch_ieta_p1"] = OHerror_me_GE11_pass_Ch_ieta_p1;
1247 m_histos[
"GE11_nFailingProbe_OHerror_Ch_ieta_p1"] = OHerror_me_GE11_fail_Ch_ieta_p1;
1248 m_histos[
"GE11_nPassingProbe_OHerror_Ch_ieta_p2"] = OHerror_me_GE11_pass_Ch_ieta_p2;
1249 m_histos[
"GE11_nFailingProbe_OHerror_Ch_ieta_p2"] = OHerror_me_GE11_fail_Ch_ieta_p2;
1250 m_histos[
"GE11_nPassingProbe_OHerror_Ch_ieta_n1"] = OHerror_me_GE11_pass_Ch_ieta_n1;
1251 m_histos[
"GE11_nFailingProbe_OHerror_Ch_ieta_n1"] = OHerror_me_GE11_fail_Ch_ieta_n1;
1252 m_histos[
"GE11_nPassingProbe_OHerror_Ch_ieta_n2"] = OHerror_me_GE11_pass_Ch_ieta_n2;
1253 m_histos[
"GE11_nFailingProbe_OHerror_Ch_ieta_n2"] = OHerror_me_GE11_fail_Ch_ieta_n2;
1255 m_histos[
"GE11_nPassingProbe_VFATMask_allCh_1D"] = VFATMask_me_GE11_pass_allCh_1D;
1256 m_histos[
"GE11_nFailingProbe_VFATMask_allCh_1D"] = VFATMask_me_GE11_fail_allCh_1D;
1257 m_histos[
"GEM_nPassingProbe_VFATMask_chamber_p1_1D"] = VFATMask_me_GEM_pass_chamber_p1_1D;
1258 m_histos[
"GEM_nFailingProbe_VFATMask_chamber_p1_1D"] = VFATMask_me_GEM_fail_chamber_p1_1D;
1259 m_histos[
"GEM_nPassingProbe_VFATMask_chamber_p2_1D"] = VFATMask_me_GEM_pass_chamber_p2_1D;
1260 m_histos[
"GEM_nFailingProbe_VFATMask_chamber_p2_1D"] = VFATMask_me_GEM_fail_chamber_p2_1D;
1261 m_histos[
"GEM_nPassingProbe_VFATMask_chamber_n1_1D"] = VFATMask_me_GEM_pass_chamber_n1_1D;
1262 m_histos[
"GEM_nFailingProbe_VFATMask_chamber_n1_1D"] = VFATMask_me_GEM_fail_chamber_n1_1D;
1263 m_histos[
"GEM_nPassingProbe_VFATMask_chamber_n2_1D"] = VFATMask_me_GEM_pass_chamber_n2_1D;
1264 m_histos[
"GEM_nFailingProbe_VFATMask_chamber_n2_1D"] = VFATMask_me_GEM_fail_chamber_n2_1D;
1265 m_histos[
"GEM_nPassingProbe_VFATMask_pt_1D"] = VFATMask_me_GEM_pass_pt_1D;
1266 m_histos[
"GEM_nFailingProbe_VFATMask_pt_1D"] = VFATMask_me_GEM_fail_pt_1D;
1267 m_histos[
"GEM_nPassingProbe_VFATMask_eta_1D"] = VFATMask_me_GEM_pass_eta_1D;
1268 m_histos[
"GEM_nFailingProbe_VFATMask_eta_1D"] = VFATMask_me_GEM_fail_eta_1D;
1269 m_histos[
"GEM_nPassingProbe_VFATMask_phi_1D"] = VFATMask_me_GEM_pass_phi_1D;
1270 m_histos[
"GEM_nFailingProbe_VFATMask_phi_1D"] = VFATMask_me_GEM_fail_phi_1D;
1271 m_histos[
"GE11_nPassingProbe_VFATMask_Ch_ieta_p1"] = VFATMask_me_GE11_pass_Ch_ieta_p1;
1272 m_histos[
"GE11_nFailingProbe_VFATMask_Ch_ieta_p1"] = VFATMask_me_GE11_fail_Ch_ieta_p1;
1273 m_histos[
"GE11_nPassingProbe_VFATMask_Ch_ieta_p2"] = VFATMask_me_GE11_pass_Ch_ieta_p2;
1274 m_histos[
"GE11_nFailingProbe_VFATMask_Ch_ieta_p2"] = VFATMask_me_GE11_fail_Ch_ieta_p2;
1275 m_histos[
"GE11_nPassingProbe_VFATMask_Ch_ieta_n1"] = VFATMask_me_GE11_pass_Ch_ieta_n1;
1276 m_histos[
"GE11_nFailingProbe_VFATMask_Ch_ieta_n1"] = VFATMask_me_GE11_fail_Ch_ieta_n1;
1277 m_histos[
"GE11_nPassingProbe_VFATMask_Ch_ieta_n2"] = VFATMask_me_GE11_pass_Ch_ieta_n2;
1278 m_histos[
"GE11_nFailingProbe_VFATMask_Ch_ieta_n2"] = VFATMask_me_GE11_fail_Ch_ieta_n2;
1282 m_histos[
"GEMseg_dx_ME0"] = iBooker.
book1D(
"GEMseg_dx_ME0",
"GEMseg_dx;probe dx [cm];Events", 100, 0., 20.);
1283 m_histos[
"GEMhit_dx_GE1"] = iBooker.
book1D(
"GEMhit_dx_GE1",
"GEMhit_dx;probe dx [cm];Events", 100, 0., 10.);
1284 m_histos[
"GEMhit_dx_GE2"] = iBooker.
book1D(
"GEMhit_dx_GE2",
"GEMhit_dx;probe dx [cm];Events", 100, 0., 10.);
1286 m_histos[
"GEMseg_x_ME0"] = iBooker.
book1D(
"GEMhit_x_ME0",
"GEMhit_x;probe x [cm];Events", 100, -10., 10.);
1287 m_histos[
"GEMhit_x_GE1"] = iBooker.
book1D(
"GEMhit_x_GE1",
"GEMhit_x;probe x [cm];Events", 100, -10., 10.);
1288 m_histos[
"GEMhit_x_GE2"] = iBooker.
book1D(
"GEMhit_x_GE2",
"GEMhit_x;probe x [cm];Events", 100, -10., 10.);
1289 m_histos[
"Cham_x_ME0"] = iBooker.
book1D(
"Cham_x_ME0",
"Cham_x;probe x [cm];Events", 100, -10., 10.);
1290 m_histos[
"Cham_x_GE1"] = iBooker.
book1D(
"Cham_x_GE1",
"Cham_x;probe x [cm];Events", 100, -10., 10.);
1291 m_histos[
"Cham_x_GE2"] = iBooker.
book1D(
"Cham_x_GE2",
"Cham_x;probe x [cm];Events", 100, -10., 10.);
1292 m_histos[
"xyErr_GE1"] = iBooker.
book2D(
"xyErr_GE1",
"xyErr_GE1", 50, 0., 5., 50, 0., 5.);
1298 uint16_t oh_warning = 0;
1299 bool oh_exists =
false;
1300 for (
auto iter = oh_status_collection->
begin(); iter != oh_status_collection->
end(); iter++) {
1301 const auto [oh_id,
range] = (*iter);
1305 for (
auto oh_status =
range.first; oh_status !=
range.second; oh_status++) {
1307 if (oh_status->isBad()) {
1308 oh_warning = oh_warning | (1 << 1);
1311 uint32_t vfatmask = oh_status->vfatMask();
1312 if (vfatmask != 16777215) {
1314 if (!((vfatmask >> (8 -
ieta) & 1) && (vfatmask >> (16 -
ieta) & 1) &&
1315 (vfatmask >> (24 -
ieta) & 1))) {
1316 oh_warning = oh_warning | (1 << 2);
1322 oh_warning = oh_warning | 1;
1329 const float bordercut) {
1332 float wideWidth =
bounds->width();
1333 float narrowWidth = 2.f *
bounds->widthAtHalfLength() - wideWidth;
1334 float length =
bounds->length();
1335 float tangent = (wideWidth - narrowWidth) / (2.
f * length);
1336 float halfWidthAtY = tangent * localPoint.
y() + 0.25f * (narrowWidth + wideWidth);
1337 float distanceY =
std::abs(localPoint.
y()) - 0.5
f * length;
1338 float distanceX =
std::abs(localPoint.
x()) - halfWidthAtY;
1339 if (distanceX < bordercut && distanceY < bordercut) {
1355 oh_status = *oh_status_collection;
1357 LogTrace(
"DQMOffline|MuonDPG|BaseTnPEfficiencyTask") <<
"failed to get GEMOHStatusCollection" << std::endl;
1373 std::vector<std::vector<int>> probe_coll_GE11_region;
1374 std::vector<std::vector<int>> probe_coll_GE11_lay;
1375 std::vector<std::vector<int>> probe_coll_GE11_chamber;
1376 std::vector<std::vector<float>> probe_coll_GE11_pt;
1377 std::vector<std::vector<float>> probe_coll_GE11_eta;
1378 std::vector<std::vector<float>> probe_coll_GE11_ieta;
1379 std::vector<std::vector<float>> probe_coll_GE11_phi;
1380 std::vector<std::vector<int>> probe_coll_GE11_sta;
1381 std::vector<std::vector<float>> probe_coll_GE11_dx;
1382 std::vector<std::vector<uint16_t>> probe_coll_GE11_warnings;
1385 std::vector<std::vector<int>> probe_coll_GE21_region;
1386 std::vector<std::vector<int>> probe_coll_GE21_lay;
1387 std::vector<std::vector<int>> probe_coll_GE21_chamber;
1388 std::vector<std::vector<float>> probe_coll_GE21_pt;
1389 std::vector<std::vector<float>> probe_coll_GE21_eta;
1390 std::vector<std::vector<float>> probe_coll_GE21_ieta;
1391 std::vector<std::vector<float>> probe_coll_GE21_phi;
1392 std::vector<std::vector<int>> probe_coll_GE21_sta;
1393 std::vector<std::vector<float>> probe_coll_GE21_dx;
1394 std::vector<std::vector<uint16_t>> probe_coll_GE21_warnings;
1396 std::vector<uint8_t> probe_coll_GEM_staMatch;
1399 std::vector<std::vector<int>> probe_coll_ME0_region;
1400 std::vector<std::vector<int>> probe_coll_ME0_roll;
1401 std::vector<std::vector<int>> probe_coll_ME0_lay;
1402 std::vector<std::vector<int>> probe_coll_ME0_chamber;
1403 std::vector<std::vector<float>> probe_coll_ME0_pt;
1404 std::vector<std::vector<float>> probe_coll_ME0_eta;
1405 std::vector<std::vector<float>> probe_coll_ME0_ieta;
1406 std::vector<std::vector<float>> probe_coll_ME0_phi;
1407 std::vector<std::vector<int>> probe_coll_ME0_sta;
1408 std::vector<std::vector<float>> probe_coll_ME0_dx;
1409 std::vector<std::vector<uint16_t>> probe_coll_ME0_warnings;
1411 std::vector<unsigned> probe_indices;
1416 for (
const auto i : probe_indices) {
1418 std::vector<int> probe_GE11_region;
1419 std::vector<int> probe_GE11_sta;
1420 std::vector<int> probe_GE11_lay;
1421 std::vector<int> probe_GE11_chamber;
1422 std::vector<float> probe_GE11_pt;
1423 std::vector<float> probe_GE11_eta;
1424 std::vector<float> probe_GE11_ieta;
1425 std::vector<float> probe_GE11_phi;
1426 std::vector<float> probe_GE11_dx;
1427 std::vector<uint16_t> probe_GE11_warnings;
1429 std::vector<int> probe_GE21_region;
1430 std::vector<int> probe_GE21_sta;
1431 std::vector<int> probe_GE21_lay;
1432 std::vector<int> probe_GE21_chamber;
1433 std::vector<float> probe_GE21_pt;
1434 std::vector<float> probe_GE21_eta;
1435 std::vector<float> probe_GE21_ieta;
1436 std::vector<float> probe_GE21_phi;
1437 std::vector<float> probe_GE21_dx;
1438 std::vector<uint16_t> probe_GE21_warnings;
1440 uint8_t GEM_stationMatching = 0;
1442 std::vector<int> probe_ME0_region;
1443 std::vector<int> probe_ME0_roll;
1444 std::vector<int> probe_ME0_sta;
1445 std::vector<int> probe_ME0_lay;
1446 std::vector<int> probe_ME0_chamber;
1447 std::vector<float> probe_ME0_pt;
1448 std::vector<float> probe_ME0_eta;
1449 std::vector<float> probe_ME0_ieta;
1450 std::vector<float> probe_ME0_phi;
1451 std::vector<float> probe_ME0_dx;
1452 std::vector<uint16_t> probe_ME0_warnings;
1454 bool gem_matched =
false;
1456 for (
const auto& chambMatch : (*muons).at(
i).matches()) {
1458 bool hit_matched =
false;
1463 GEMDetId chId(chambMatch.id.rawId());
1465 const int roll = chId.roll();
1466 const int region = chId.region();
1467 const int station = chId.station();
1468 const int layer = chId.layer();
1469 const int chamber = chId.chamber();
1470 const float pt = (*muons).at(
i).pt();
1471 const float eta = (*muons).at(
i).eta();
1472 const float phi = (*muons).at(
i).phi();
1474 GEM_stationMatching = GEM_stationMatching | (1 <<
station);
1481 if (
const GEMChamber* gemChamber = dynamic_cast<const GEMChamber*>(geomDet)) {
1482 for (
const GEMEtaPartition* eta_partition : gemChamber->etaPartitions())
1484 ieta = eta_partition->id().ieta();
1491 double smallestDx = 99999.;
1492 double matched_GEMHit_x = 99999.;
1494 for (
auto& gemHit : chambMatch.gemHitMatches) {
1495 float dx =
std::abs(chambMatch.x - gemHit.x);
1496 if (
dx < smallestDx) {
1498 closest_matchedHit = gemHit;
1499 matched_GEMHit_x = gemHit.
x;
1505 probe_GE11_region.push_back(
region);
1506 probe_GE11_sta.push_back(
station);
1507 probe_GE11_lay.push_back(
layer);
1508 probe_GE11_chamber.push_back(
chamber);
1509 probe_GE11_ieta.push_back(
ieta);
1510 probe_GE11_pt.push_back(
pt);
1511 probe_GE11_eta.push_back(
eta);
1512 probe_GE11_phi.push_back(
phi);
1513 probe_GE11_dx.push_back(smallestDx);
1514 probe_GE11_warnings.push_back(
warnings);
1518 probe_GE21_region.push_back(
region);
1519 probe_GE21_sta.push_back(
station);
1520 probe_GE21_lay.push_back(
layer);
1521 probe_GE21_chamber.push_back(
chamber);
1522 probe_GE21_ieta.push_back(
ieta);
1523 probe_GE21_pt.push_back(
pt);
1524 probe_GE21_eta.push_back(
eta);
1525 probe_GE21_phi.push_back(
phi);
1526 probe_GE21_dx.push_back(smallestDx);
1527 probe_GE21_warnings.push_back(
warnings);
1531 m_histos.find(
"GEMhit_dx_GE1")->second->Fill(smallestDx);
1532 m_histos.find(
"GEMhit_x_GE1")->second->Fill(matched_GEMHit_x);
1533 m_histos.find(
"Cham_x_GE1")->second->Fill(chambMatch.x);
1534 m_histos.find(
"xyErr_GE1")->second->Fill(chambMatch.xErr, chambMatch.yErr);
1537 m_histos.find(
"GEMhit_dx_GE2")->second->Fill(smallestDx);
1538 m_histos.find(
"GEMhit_x_GE2")->second->Fill(matched_GEMHit_x);
1539 m_histos.find(
"Cham_x_GE2")->second->Fill(chambMatch.x);
1546 double smallestDx_seg = 99999.;
1548 for (
auto& seg : chambMatch.gemMatches) {
1549 float dx_seg =
std::abs(chambMatch.x - seg.x);
1550 if (dx_seg < smallestDx_seg) {
1551 smallestDx_seg = dx_seg;
1552 closest_matchedSegment = seg;
1557 probe_ME0_region.push_back(
region);
1558 probe_ME0_roll.push_back(
roll);
1559 probe_ME0_sta.push_back(
station);
1560 probe_ME0_lay.push_back(
layer);
1561 probe_ME0_chamber.push_back(
chamber);
1562 probe_ME0_ieta.push_back(
ieta);
1563 probe_ME0_pt.push_back(
pt);
1564 probe_ME0_eta.push_back(
eta);
1565 probe_ME0_phi.push_back(
phi);
1566 probe_ME0_dx.push_back(smallestDx_seg);
1567 probe_ME0_warnings.push_back(
warnings);
1570 m_histos.find(
"GEMseg_dx_ME0")->second->Fill(smallestDx_seg);
1571 m_histos.find(
"GEMseg_x_ME0")->second->Fill(closest_matchedSegment.
x);
1572 m_histos.find(
"Cham_x_ME0")->second->Fill(chambMatch.x);
1582 m_histos.find(
"probeEta")->second->Fill((*muons).at(
i).eta());
1583 m_histos.find(
"probePhi")->second->Fill((*muons).at(
i).phi());
1584 m_histos.find(
"probeNumberOfMatchedStations")->second->Fill((*muons).at(
i).numberOfMatchedStations());
1585 m_histos.find(
"probePt")->second->Fill((*muons).at(
i).pt());
1594 probe_coll_GE11_region.push_back(probe_GE11_region);
1595 probe_coll_GE11_sta.push_back(probe_GE11_sta);
1596 probe_coll_GE11_lay.push_back(probe_GE11_lay);
1597 probe_coll_GE11_chamber.push_back(probe_GE11_chamber);
1598 probe_coll_GE11_ieta.push_back(probe_GE11_ieta);
1599 probe_coll_GE11_pt.push_back(probe_GE11_pt);
1600 probe_coll_GE11_eta.push_back(probe_GE11_eta);
1601 probe_coll_GE11_phi.push_back(probe_GE11_phi);
1602 probe_coll_GE11_dx.push_back(probe_GE11_dx);
1603 probe_coll_GE11_warnings.push_back(probe_GE11_warnings);
1605 probe_coll_GEM_staMatch.push_back(GEM_stationMatching);
1608 probe_coll_GE21_region.push_back(probe_GE21_region);
1609 probe_coll_GE21_sta.push_back(probe_GE21_sta);
1610 probe_coll_GE21_lay.push_back(probe_GE21_lay);
1611 probe_coll_GE21_chamber.push_back(probe_GE21_chamber);
1612 probe_coll_GE21_ieta.push_back(probe_GE21_ieta);
1613 probe_coll_GE21_pt.push_back(probe_GE21_pt);
1614 probe_coll_GE21_eta.push_back(probe_GE21_eta);
1615 probe_coll_GE21_phi.push_back(probe_GE21_phi);
1616 probe_coll_GE21_dx.push_back(probe_GE21_dx);
1617 probe_coll_GE21_warnings.push_back(probe_GE21_warnings);
1620 probe_coll_ME0_region.push_back(probe_ME0_region);
1621 probe_coll_ME0_roll.push_back(probe_ME0_roll);
1622 probe_coll_ME0_sta.push_back(probe_ME0_sta);
1623 probe_coll_ME0_lay.push_back(probe_ME0_lay);
1624 probe_coll_ME0_chamber.push_back(probe_ME0_chamber);
1625 probe_coll_ME0_ieta.push_back(probe_ME0_ieta);
1626 probe_coll_ME0_pt.push_back(probe_ME0_pt);
1627 probe_coll_ME0_eta.push_back(probe_ME0_eta);
1628 probe_coll_ME0_phi.push_back(probe_ME0_phi);
1629 probe_coll_ME0_dx.push_back(probe_ME0_dx);
1630 probe_coll_ME0_warnings.push_back(probe_ME0_warnings);
1635 for (
unsigned i = 0;
i < probe_indices.size(); ++
i) {
1639 unsigned nME0_matches = probe_coll_ME0_region.at(
i).size();
1640 for (
unsigned j = 0;
j < nME0_matches; ++
j) {
1642 int ME0_region = probe_coll_ME0_region.at(
i).at(
j);
1646 int ME0_chamber = probe_coll_ME0_chamber.at(
i).at(
j);
1648 float ME0_dx = probe_coll_ME0_dx.at(
i).at(
j);
1653 m_histos.find(
"ME0_nPassingProbe_chamber_1D")->second->Fill(ME0_chamber);
1655 m_histos.find(
"GEM_nPassingProbe_Ch_region_layer_phase2")->second->Fill(4, ME0_chamber);
1656 else if (ME0_region > 0)
1657 m_histos.find(
"GEM_nPassingProbe_Ch_region_layer_phase2")->second->Fill(5, ME0_chamber);
1659 m_histos.find(
"ME0_nFailingProbe_chamber_1D")->second->Fill(ME0_chamber);
1661 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(4, ME0_chamber);
1662 else if (ME0_region > 0)
1663 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(5, ME0_chamber);
1669 unsigned nGE11_matches = probe_coll_GE11_region.at(
i).size();
1670 for (
unsigned j = 0;
j < nGE11_matches; ++
j) {
1672 int GEM_region = probe_coll_GE11_region.at(
i).at(
j);
1673 int GEM_sta = probe_coll_GE11_sta.at(
i).at(
j);
1674 int GEM_lay = probe_coll_GE11_lay.at(
i).at(
j);
1675 int GEM_chamber = probe_coll_GE11_chamber.at(
i).at(
j);
1676 int GEM_ieta = probe_coll_GE11_ieta.at(
i).at(
j);
1677 float GEM_pt = probe_coll_GE11_pt.at(
i).at(
j);
1678 float GEM_dx = probe_coll_GE11_dx.at(
i).at(
j);
1679 float GEM_eta = probe_coll_GE11_eta.at(
i).at(
j);
1680 float GEM_phi = probe_coll_GE11_phi.at(
i).at(
j);
1682 uint16_t GEM_warning = probe_coll_GE11_warnings.at(
i).at(
j);
1685 m_histos.find(
"GE11_nPassingProbe_Ch_region")->second->Fill(GEM_region, GEM_chamber);
1686 m_histos.find(
"GE11_nPassingProbe_Ch_ieta")->second->Fill(GEM_ieta, GEM_chamber);
1687 m_histos.find(
"GE11_nPassingProbe_Ch_phi")->second->Fill(GEM_phi, GEM_chamber);
1688 m_histos.find(
"GE11_nPassingProbe_allCh_1D")->second->Fill(GEM_region);
1689 if (~GEM_warning & 1) {
1690 m_histos.find(
"GE11_nPassingProbe_OHmissing_allCh_1D")->second->Fill(GEM_region);
1691 if (~GEM_warning >> 1 & 1) {
1692 m_histos.find(
"GE11_nPassingProbe_OHerror_allCh_1D")->second->Fill(GEM_region);
1693 if (~GEM_warning >> 2 & 1) {
1694 m_histos.find(
"GE11_nPassingProbe_VFATMask_allCh_1D")->second->Fill(GEM_region);
1699 m_histos.find(
"GE11_nPassingProbe_chamber_1D")->second->Fill(GEM_chamber);
1700 if (GEM_region < 0) {
1702 m_histos.find(
"GEM_nPassingProbe_Ch_region_layer_phase2")->second->Fill(2, GEM_chamber);
1703 else if (GEM_lay == 1)
1704 m_histos.find(
"GEM_nPassingProbe_Ch_region_layer_phase2")->second->Fill(3, GEM_chamber);
1706 if (GEM_region > 0) {
1708 m_histos.find(
"GEM_nPassingProbe_Ch_region_layer_phase2")->second->Fill(6, GEM_chamber);
1709 else if (GEM_lay == 2)
1710 m_histos.find(
"GEM_nPassingProbe_Ch_region_layer_phase2")->second->Fill(7, GEM_chamber);
1712 if (GEM_region == -1) {
1713 m_histos.find(
"GEM_nPassingProbe_Ch_region_GE1_NoL")->second->Fill(0, GEM_chamber);
1714 }
else if (GEM_region == 1) {
1715 m_histos.find(
"GEM_nPassingProbe_Ch_region_GE1_NoL")->second->Fill(1, GEM_chamber);
1718 if (GEM_region == 1 && GEM_lay == 1) {
1719 m_histos.find(
"GEM_nPassingProbe_chamber_p1_1D")->second->Fill(GEM_chamber);
1720 if (~GEM_warning & 1) {
1721 m_histos.find(
"GEM_nPassingProbe_OHmissing_chamber_p1_1D")->second->Fill(GEM_chamber);
1722 if (~GEM_warning >> 1 & 1) {
1723 m_histos.find(
"GEM_nPassingProbe_OHerror_chamber_p1_1D")->second->Fill(GEM_chamber);
1724 if (~GEM_warning >> 2 & 1) {
1725 m_histos.find(
"GEM_nPassingProbe_VFATMask_chamber_p1_1D")->second->Fill(GEM_chamber);
1730 m_histos.find(
"GE11_nPassingProbe_Ch_ieta_p1")->second->Fill(GEM_ieta, GEM_chamber);
1731 if (~GEM_warning & 1) {
1732 m_histos.find(
"GE11_nPassingProbe_OHmissing_Ch_ieta_p1")->second->Fill(GEM_ieta, GEM_chamber);
1733 if (~GEM_warning >> 1 & 1) {
1734 m_histos.find(
"GE11_nPassingProbe_OHerror_Ch_ieta_p1")->second->Fill(GEM_ieta, GEM_chamber);
1735 if (~GEM_warning >> 2 & 1) {
1736 m_histos.find(
"GE11_nPassingProbe_VFATMask_Ch_ieta_p1")->second->Fill(GEM_ieta, GEM_chamber);
1741 m_histos.find(
"GEM_nPassingProbe_Ch_region_GE1")->second->Fill(2, GEM_chamber);
1742 m_histos.find(
"GEM_nPassingProbe_pt_p1_1D")->second->Fill(GEM_pt);
1743 m_histos.find(
"GEM_nPassingProbe_eta_p1_1D")->second->Fill(
abs(GEM_eta));
1744 m_histos.find(
"GEM_nPassingProbe_phi_p1_1D")->second->Fill(GEM_phi);
1745 }
else if (GEM_region == 1 && GEM_lay == 2) {
1746 m_histos.find(
"GEM_nPassingProbe_chamber_p2_1D")->second->Fill(GEM_chamber);
1747 if (~GEM_warning & 1) {
1748 m_histos.find(
"GEM_nPassingProbe_OHmissing_chamber_p2_1D")->second->Fill(GEM_chamber);
1749 if (~GEM_warning >> 1 & 1) {
1750 m_histos.find(
"GEM_nPassingProbe_OHerror_chamber_p2_1D")->second->Fill(GEM_chamber);
1751 if (~GEM_warning >> 2 & 1) {
1752 m_histos.find(
"GEM_nPassingProbe_VFATMask_chamber_p2_1D")->second->Fill(GEM_chamber);
1757 m_histos.find(
"GE11_nPassingProbe_Ch_ieta_p2")->second->Fill(GEM_ieta, GEM_chamber);
1758 if (~GEM_warning & 1) {
1759 m_histos.find(
"GE11_nPassingProbe_OHmissing_Ch_ieta_p2")->second->Fill(GEM_ieta, GEM_chamber);
1760 if (~GEM_warning >> 1 & 1) {
1761 m_histos.find(
"GE11_nPassingProbe_OHerror_Ch_ieta_p2")->second->Fill(GEM_ieta, GEM_chamber);
1762 if (~GEM_warning >> 2 & 1) {
1763 m_histos.find(
"GE11_nPassingProbe_VFATMask_Ch_ieta_p2")->second->Fill(GEM_ieta, GEM_chamber);
1768 m_histos.find(
"GEM_nPassingProbe_Ch_region_GE1")->second->Fill(3, GEM_chamber);
1769 m_histos.find(
"GEM_nPassingProbe_pt_p2_1D")->second->Fill(GEM_pt);
1770 m_histos.find(
"GEM_nPassingProbe_eta_p2_1D")->second->Fill(
abs(GEM_eta));
1771 m_histos.find(
"GEM_nPassingProbe_phi_p2_1D")->second->Fill(GEM_phi);
1772 }
else if (GEM_region == -1 && GEM_lay == 1) {
1773 m_histos.find(
"GEM_nPassingProbe_chamber_n1_1D")->second->Fill(GEM_chamber);
1774 if (~GEM_warning & 1) {
1775 m_histos.find(
"GEM_nPassingProbe_OHmissing_chamber_n1_1D")->second->Fill(GEM_chamber);
1776 if (~GEM_warning >> 1 & 1) {
1777 m_histos.find(
"GEM_nPassingProbe_OHerror_chamber_n1_1D")->second->Fill(GEM_chamber);
1778 if (~GEM_warning >> 2 & 1) {
1779 m_histos.find(
"GEM_nPassingProbe_VFATMask_chamber_n1_1D")->second->Fill(GEM_chamber);
1784 m_histos.find(
"GE11_nPassingProbe_Ch_ieta_n1")->second->Fill(GEM_ieta, GEM_chamber);
1785 if (~GEM_warning & 1) {
1786 m_histos.find(
"GE11_nPassingProbe_OHmissing_Ch_ieta_n1")->second->Fill(GEM_ieta, GEM_chamber);
1787 if (~GEM_warning >> 1 & 1) {
1788 m_histos.find(
"GE11_nPassingProbe_OHerror_Ch_ieta_n1")->second->Fill(GEM_ieta, GEM_chamber);
1789 if (~GEM_warning >> 2 & 1) {
1790 m_histos.find(
"GE11_nPassingProbe_VFATMask_Ch_ieta_n1")->second->Fill(GEM_ieta, GEM_chamber);
1795 m_histos.find(
"GEM_nPassingProbe_Ch_region_GE1")->second->Fill(1, GEM_chamber);
1796 m_histos.find(
"GEM_nPassingProbe_pt_n1_1D")->second->Fill(GEM_pt);
1797 m_histos.find(
"GEM_nPassingProbe_eta_n1_1D")->second->Fill(
abs(GEM_eta));
1798 m_histos.find(
"GEM_nPassingProbe_phi_n1_1D")->second->Fill(GEM_phi);
1799 }
else if (GEM_region == -1 && GEM_lay == 2) {
1800 m_histos.find(
"GEM_nPassingProbe_chamber_n2_1D")->second->Fill(GEM_chamber);
1801 if (~GEM_warning & 1) {
1802 m_histos.find(
"GEM_nPassingProbe_OHmissing_chamber_n2_1D")->second->Fill(GEM_chamber);
1803 if (~GEM_warning >> 1 & 1) {
1804 m_histos.find(
"GEM_nPassingProbe_OHerror_chamber_n2_1D")->second->Fill(GEM_chamber);
1805 if (~GEM_warning >> 2 & 1) {
1806 m_histos.find(
"GEM_nPassingProbe_VFATMask_chamber_n2_1D")->second->Fill(GEM_chamber);
1811 m_histos.find(
"GE11_nPassingProbe_Ch_ieta_n2")->second->Fill(GEM_ieta, GEM_chamber);
1812 if (~GEM_warning & 1) {
1813 m_histos.find(
"GE11_nPassingProbe_OHmissing_Ch_ieta_n2")->second->Fill(GEM_ieta, GEM_chamber);
1814 if (~GEM_warning >> 1 & 1) {
1815 m_histos.find(
"GE11_nPassingProbe_OHerror_Ch_ieta_n2")->second->Fill(GEM_ieta, GEM_chamber);
1816 if (~GEM_warning >> 2 & 1) {
1817 m_histos.find(
"GE11_nPassingProbe_VFATMask_Ch_ieta_n2")->second->Fill(GEM_ieta, GEM_chamber);
1822 m_histos.find(
"GEM_nPassingProbe_Ch_region_GE1")->second->Fill(0, GEM_chamber);
1823 m_histos.find(
"GEM_nPassingProbe_pt_n2_1D")->second->Fill(GEM_pt);
1824 m_histos.find(
"GEM_nPassingProbe_eta_n2_1D")->second->Fill(
abs(GEM_eta));
1825 m_histos.find(
"GEM_nPassingProbe_phi_n2_1D")->second->Fill(GEM_phi);
1827 m_histos.find(
"GEM_nPassingProbe_pt_1D")->second->Fill(GEM_pt);
1828 if (~GEM_warning & 1) {
1829 m_histos.find(
"GEM_nPassingProbe_OHmissing_pt_1D")->second->Fill(GEM_pt);
1830 if (~GEM_warning >> 1 & 1) {
1831 m_histos.find(
"GEM_nPassingProbe_OHerror_pt_1D")->second->Fill(GEM_pt);
1832 if (~GEM_warning >> 2 & 1) {
1833 m_histos.find(
"GEM_nPassingProbe_VFATMask_pt_1D")->second->Fill(GEM_pt);
1837 m_histos.find(
"GEM_nPassingProbe_eta_1D")->second->Fill(
abs(GEM_eta));
1838 if (~GEM_warning & 1) {
1839 m_histos.find(
"GEM_nPassingProbe_OHmissing_eta_1D")->second->Fill(GEM_eta);
1840 if (~GEM_warning >> 1 & 1) {
1841 m_histos.find(
"GEM_nPassingProbe_OHerror_eta_1D")->second->Fill(GEM_eta);
1842 if (~GEM_warning >> 2 & 1) {
1843 m_histos.find(
"GEM_nPassingProbe_VFATMask_eta_1D")->second->Fill(GEM_eta);
1847 m_histos.find(
"GEM_nPassingProbe_phi_1D")->second->Fill(GEM_phi);
1848 if (~GEM_warning & 1) {
1849 m_histos.find(
"GEM_nPassingProbe_OHmissing_phi_1D")->second->Fill(GEM_phi);
1850 if (~GEM_warning >> 1 & 1) {
1851 m_histos.find(
"GEM_nPassingProbe_OHerror_phi_1D")->second->Fill(GEM_phi);
1852 if (~GEM_warning >> 2 & 1) {
1853 m_histos.find(
"GEM_nPassingProbe_VFATMask_phi_1D")->second->Fill(GEM_phi);
1858 m_histos.find(
"GE11_nFailingProbe_Ch_region")->second->Fill(GEM_region, GEM_chamber);
1859 m_histos.find(
"GE11_nFailingProbe_Ch_ieta")->second->Fill(GEM_ieta, GEM_chamber);
1860 m_histos.find(
"GE11_nFailingProbe_Ch_phi")->second->Fill(GEM_phi, GEM_chamber);
1861 m_histos.find(
"GE11_nFailingProbe_allCh_1D")->second->Fill(GEM_region);
1862 if (~GEM_warning & 1) {
1863 m_histos.find(
"GE11_nFailingProbe_OHmissing_allCh_1D")->second->Fill(GEM_region);
1864 if (~GEM_warning >> 1 & 1) {
1865 m_histos.find(
"GE11_nFailingProbe_OHerror_allCh_1D")->second->Fill(GEM_region);
1866 if (~GEM_warning >> 2 & 1) {
1867 m_histos.find(
"GE11_nFailingProbe_VFATMask_allCh_1D")->second->Fill(GEM_region);
1871 m_histos.find(
"GE11_nFailingProbe_chamber_1D")->second->Fill(GEM_chamber);
1872 if (GEM_region < 0) {
1873 if (GEM_sta == 2 and GEM_lay == 2)
1874 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(0, GEM_chamber);
1875 else if (GEM_sta == 2 and GEM_lay == 1)
1876 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(1, GEM_chamber);
1877 else if (GEM_sta == 1 and GEM_lay == 2)
1878 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(2, GEM_chamber);
1879 else if (GEM_sta == 1 and GEM_lay == 1)
1880 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(3, GEM_chamber);
1882 if (GEM_region > 0) {
1883 if (GEM_sta == 1 and GEM_lay == 1)
1884 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(6, GEM_chamber);
1885 else if (GEM_sta == 1 and GEM_lay == 2)
1886 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(7, GEM_chamber);
1887 else if (GEM_sta == 2 and GEM_lay == 1)
1888 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(8, GEM_chamber);
1889 else if (GEM_sta == 2 and GEM_lay == 2)
1890 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(9, GEM_chamber);
1892 if (GEM_region == -1) {
1893 m_histos.find(
"GEM_nFailingProbe_Ch_region_GE1_NoL")->second->Fill(0, GEM_chamber);
1894 }
else if (GEM_region == 1) {
1895 m_histos.find(
"GEM_nFailingProbe_Ch_region_GE1_NoL")->second->Fill(1, GEM_chamber);
1898 if (GEM_region == 1 && GEM_lay == 1) {
1899 m_histos.find(
"GEM_nFailingProbe_chamber_p1_1D")->second->Fill(GEM_chamber);
1900 if (~GEM_warning & 1) {
1901 m_histos.find(
"GEM_nFailingProbe_OHmissing_chamber_p1_1D")->second->Fill(GEM_chamber);
1902 if (~GEM_warning >> 1 & 1) {
1903 m_histos.find(
"GEM_nFailingProbe_OHerror_chamber_p1_1D")->second->Fill(GEM_chamber);
1904 if (~GEM_warning >> 2 & 1) {
1905 m_histos.find(
"GEM_nFailingProbe_VFATMask_chamber_p1_1D")->second->Fill(GEM_chamber);
1909 m_histos.find(
"GEM_nFailingProbe_Ch_region_GE1")->second->Fill(2, GEM_chamber);
1910 m_histos.find(
"GEM_nFailingProbe_pt_p1_1D")->second->Fill(GEM_pt);
1911 m_histos.find(
"GEM_nFailingProbe_eta_p1_1D")->second->Fill(
abs(GEM_eta));
1912 m_histos.find(
"GEM_nFailingProbe_phi_p1_1D")->second->Fill(GEM_phi);
1914 m_histos.find(
"GE11_nFailingProbe_Ch_ieta_p1")->second->Fill(GEM_ieta, GEM_chamber);
1915 if (~GEM_warning & 1) {
1916 m_histos.find(
"GE11_nFailingProbe_OHmissing_Ch_ieta_p1")->second->Fill(GEM_ieta, GEM_chamber);
1917 if (~GEM_warning >> 1 & 1) {
1918 m_histos.find(
"GE11_nFailingProbe_OHerror_Ch_ieta_p1")->second->Fill(GEM_ieta, GEM_chamber);
1919 if (~GEM_warning >> 2 & 1) {
1920 m_histos.find(
"GE11_nFailingProbe_VFATMask_Ch_ieta_p1")->second->Fill(GEM_ieta, GEM_chamber);
1925 }
else if (GEM_region == 1 && GEM_lay == 2) {
1926 m_histos.find(
"GEM_nFailingProbe_chamber_p2_1D")->second->Fill(GEM_chamber);
1927 if (~GEM_warning & 1) {
1928 m_histos.find(
"GEM_nFailingProbe_OHmissing_chamber_p2_1D")->second->Fill(GEM_chamber);
1929 if (~GEM_warning >> 1 & 1) {
1930 m_histos.find(
"GEM_nFailingProbe_OHerror_chamber_p2_1D")->second->Fill(GEM_chamber);
1931 if (~GEM_warning >> 2 & 1) {
1932 m_histos.find(
"GEM_nFailingProbe_VFATMask_chamber_p2_1D")->second->Fill(GEM_chamber);
1936 m_histos.find(
"GEM_nFailingProbe_Ch_region_GE1")->second->Fill(3, GEM_chamber);
1937 m_histos.find(
"GEM_nFailingProbe_pt_p2_1D")->second->Fill(GEM_pt);
1938 m_histos.find(
"GEM_nFailingProbe_eta_p2_1D")->second->Fill(
abs(GEM_eta));
1939 m_histos.find(
"GEM_nFailingProbe_phi_p2_1D")->second->Fill(GEM_phi);
1941 m_histos.find(
"GE11_nFailingProbe_Ch_ieta_p2")->second->Fill(GEM_ieta, GEM_chamber);
1942 if (~GEM_warning & 1) {
1943 m_histos.find(
"GE11_nFailingProbe_OHmissing_Ch_ieta_p2")->second->Fill(GEM_ieta, GEM_chamber);
1944 if (~GEM_warning >> 1 & 1) {
1945 m_histos.find(
"GE11_nFailingProbe_OHerror_Ch_ieta_p2")->second->Fill(GEM_ieta, GEM_chamber);
1946 if (~GEM_warning >> 2 & 1) {
1947 m_histos.find(
"GE11_nFailingProbe_VFATMask_Ch_ieta_p2")->second->Fill(GEM_ieta, GEM_chamber);
1952 }
else if (GEM_region == -1 && GEM_lay == 1) {
1953 m_histos.find(
"GEM_nFailingProbe_chamber_n1_1D")->second->Fill(GEM_chamber);
1954 if (~GEM_warning & 1) {
1955 m_histos.find(
"GEM_nFailingProbe_OHmissing_chamber_n1_1D")->second->Fill(GEM_chamber);
1956 if (~GEM_warning >> 1 & 1) {
1957 m_histos.find(
"GEM_nFailingProbe_OHerror_chamber_n1_1D")->second->Fill(GEM_chamber);
1958 if (~GEM_warning >> 2 & 1) {
1959 m_histos.find(
"GEM_nFailingProbe_VFATMask_chamber_n1_1D")->second->Fill(GEM_chamber);
1963 m_histos.find(
"GEM_nFailingProbe_Ch_region_GE1")->second->Fill(1, GEM_chamber);
1964 m_histos.find(
"GEM_nFailingProbe_pt_n1_1D")->second->Fill(GEM_pt);
1965 m_histos.find(
"GEM_nFailingProbe_eta_n1_1D")->second->Fill(
abs(GEM_eta));
1966 m_histos.find(
"GEM_nFailingProbe_phi_n1_1D")->second->Fill(GEM_phi);
1968 m_histos.find(
"GE11_nFailingProbe_Ch_ieta_n1")->second->Fill(GEM_ieta, GEM_chamber);
1969 if (~GEM_warning & 1) {
1970 m_histos.find(
"GE11_nFailingProbe_OHmissing_Ch_ieta_n1")->second->Fill(GEM_ieta, GEM_chamber);
1971 if (~GEM_warning >> 1 & 1) {
1972 m_histos.find(
"GE11_nFailingProbe_OHerror_Ch_ieta_n1")->second->Fill(GEM_ieta, GEM_chamber);
1973 if (~GEM_warning >> 2 & 1) {
1974 m_histos.find(
"GE11_nFailingProbe_VFATMask_Ch_ieta_n1")->second->Fill(GEM_ieta, GEM_chamber);
1979 }
else if (GEM_region == -1 && GEM_lay == 2) {
1980 m_histos.find(
"GEM_nFailingProbe_chamber_n2_1D")->second->Fill(GEM_chamber);
1981 if (~GEM_warning & 1) {
1982 m_histos.find(
"GEM_nFailingProbe_OHmissing_chamber_n2_1D")->second->Fill(GEM_chamber);
1983 if (~GEM_warning >> 1 & 1) {
1984 m_histos.find(
"GEM_nFailingProbe_OHerror_chamber_n2_1D")->second->Fill(GEM_chamber);
1985 if (~GEM_warning >> 2 & 1) {
1986 m_histos.find(
"GEM_nFailingProbe_VFATMask_chamber_n2_1D")->second->Fill(GEM_chamber);
1990 m_histos.find(
"GEM_nFailingProbe_Ch_region_GE1")->second->Fill(0, GEM_chamber);
1991 m_histos.find(
"GEM_nFailingProbe_pt_n2_1D")->second->Fill(GEM_pt);
1992 m_histos.find(
"GEM_nFailingProbe_eta_n2_1D")->second->Fill(
abs(GEM_eta));
1993 m_histos.find(
"GEM_nFailingProbe_phi_n2_1D")->second->Fill(GEM_phi);
1995 m_histos.find(
"GE11_nFailingProbe_Ch_ieta_n2")->second->Fill(GEM_ieta, GEM_chamber);
1996 if (~GEM_warning & 1) {
1997 m_histos.find(
"GE11_nFailingProbe_OHmissing_Ch_ieta_n2")->second->Fill(GEM_ieta, GEM_chamber);
1998 if (~GEM_warning >> 1 & 1) {
1999 m_histos.find(
"GE11_nFailingProbe_OHerror_Ch_ieta_n2")->second->Fill(GEM_ieta, GEM_chamber);
2000 if (~GEM_warning >> 2 & 1) {
2001 m_histos.find(
"GE11_nFailingProbe_VFATMask_Ch_ieta_n2")->second->Fill(GEM_ieta, GEM_chamber);
2007 m_histos.find(
"GEM_nFailingProbe_pt_1D")->second->Fill(GEM_pt);
2008 if (~GEM_warning & 1) {
2009 m_histos.find(
"GEM_nFailingProbe_OHmissing_pt_1D")->second->Fill(GEM_pt);
2010 if (~GEM_warning >> 1 & 1) {
2011 m_histos.find(
"GEM_nFailingProbe_OHerror_pt_1D")->second->Fill(GEM_pt);
2012 if (~GEM_warning >> 2 & 1) {
2013 m_histos.find(
"GEM_nFailingProbe_VFATMask_pt_1D")->second->Fill(GEM_pt);
2017 m_histos.find(
"GEM_nFailingProbe_eta_1D")->second->Fill(
abs(GEM_eta));
2018 if (~GEM_warning & 1) {
2019 m_histos.find(
"GEM_nFailingProbe_OHmissing_eta_1D")->second->Fill(GEM_eta);
2020 if (~GEM_warning >> 1 & 1) {
2021 m_histos.find(
"GEM_nFailingProbe_OHerror_eta_1D")->second->Fill(GEM_eta);
2022 if (~GEM_warning >> 2 & 1) {
2023 m_histos.find(
"GEM_nFailingProbe_VFATMask_eta_1D")->second->Fill(GEM_eta);
2027 m_histos.find(
"GEM_nFailingProbe_phi_1D")->second->Fill(GEM_phi);
2028 if (~GEM_warning & 1) {
2029 m_histos.find(
"GEM_nFailingProbe_OHmissing_phi_1D")->second->Fill(GEM_phi);
2030 if (~GEM_warning >> 1 & 1) {
2031 m_histos.find(
"GEM_nFailingProbe_OHerror_phi_1D")->second->Fill(GEM_phi);
2032 if (~GEM_warning >> 2 & 1) {
2033 m_histos.find(
"GEM_nFailingProbe_VFATMask_phi_1D")->second->Fill(GEM_phi);
2041 unsigned nGE21_matches = probe_coll_GE21_region.at(
i).size();
2042 for (
unsigned j = 0;
j < nGE21_matches; ++
j) {
2044 int GEM_region = probe_coll_GE21_region.at(
i).at(
j);
2045 int GEM_lay = probe_coll_GE21_lay.at(
i).at(
j);
2046 int GEM_chamber = probe_coll_GE21_chamber.at(
i).at(
j);
2047 float GEM_ieta = probe_coll_GE21_ieta.at(
i).at(
j);
2048 float GEM_dx = probe_coll_GE21_dx.at(
i).at(
j);
2049 float GEM_phi = probe_coll_GE21_phi.at(
i).at(
j);
2053 m_histos.find(
"GE21_nPassingProbe_Ch_region")->second->Fill(GEM_region, GEM_chamber);
2054 m_histos.find(
"GE21_nPassingProbe_Ch_ieta")->second->Fill(GEM_ieta, GEM_chamber);
2055 m_histos.find(
"GE21_nPassingProbe_Ch_phi")->second->Fill(GEM_phi, GEM_chamber);
2056 m_histos.find(
"GE21_nPassingProbe_allCh_1D")->second->Fill(GEM_region);
2057 m_histos.find(
"GE21_nPassingProbe_chamber_1D")->second->Fill(GEM_chamber);
2058 if (GEM_region < 0) {
2060 m_histos.find(
"GEM_nPassingProbe_Ch_region_layer_phase2")->second->Fill(0, GEM_chamber);
2061 else if (GEM_lay == 1)
2062 m_histos.find(
"GEM_nPassingProbe_Ch_region_layer_phase2")->second->Fill(1, GEM_chamber);
2064 if (GEM_region > 0) {
2066 m_histos.find(
"GEM_nPassingProbe_Ch_region_layer_phase2")->second->Fill(8, GEM_chamber);
2067 else if (GEM_lay == 2)
2068 m_histos.find(
"GEM_nPassingProbe_Ch_region_layer_phase2")->second->Fill(9, GEM_chamber);
2071 m_histos.find(
"GE21_nFailingProbe_Ch_region")->second->Fill(GEM_region, GEM_chamber);
2072 m_histos.find(
"GE21_nFailingProbe_Ch_ieta")->second->Fill(GEM_ieta, GEM_chamber);
2073 m_histos.find(
"GE21_nFailingProbe_Ch_phi")->second->Fill(GEM_phi, GEM_chamber);
2074 m_histos.find(
"GE21_nFailingProbe_allCh_1D")->second->Fill(GEM_region);
2075 m_histos.find(
"GE21_nFailingProbe_chamber_1D")->second->Fill(GEM_chamber);
2076 if (GEM_region < 0) {
2078 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(0, GEM_chamber);
2079 else if (GEM_lay == 1)
2080 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(1, GEM_chamber);
2082 if (GEM_region > 0) {
2084 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(8, GEM_chamber);
2085 else if (GEM_lay == 2)
2086 m_histos.find(
"GEM_nFailingProbe_Ch_region_layer_phase2")->second->Fill(9, GEM_chamber);
virtual void setCurrentFolder(std::string const &fullpath)
~GEMTnPEfficiencyTask() override
Destructor.
const edm::EDGetTokenT< reco::MuonCollection > m_muToken
LocalPoint toLocal(const GlobalPoint &gp) const
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
static std::string to_string(const XMLCh *ch)
std::vector< std::vector< unsigned > > m_probeIndices
const bool m_detailedAnalysis
uint16_t maskChamberWithError(const GEMDetId &chamber_id, const GEMOHStatusCollection *, const GEMVFATStatusCollection *)
Abs< T >::type abs(const T &t)
std::map< std::string, MonitorElement * > m_histos
#define DEFINE_FWK_MODULE(type)
void bookHistograms(DQMStore::IBooker &iBooker, edm::Run const &run, edm::EventSetup const &context) override
void analyze(const edm::Event &event, const edm::EventSetup &context) override
Analyze.
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
DigiRangeIterator begin() const
std::unique_ptr< MuonServiceProxy > muon_service_
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
bool checkBounds(const GeomDet *geomDet, const GlobalPoint &global_position, const float bordercut)
const edm::EDGetTokenT< GEMOHStatusCollection > m_GEMOHStatusCollectionToken_
const edm::EDGetTokenT< GEMVFATStatusCollection > m_GEMVFATStatusCollectionToken_
constexpr int ieta() const
void bookHistograms(DQMStore::IBooker &iBooker, edm::Run const &run, edm::EventSetup const &context) override
const Plane & surface() const
The nominal surface of the GeomDet.
void analyze(const edm::Event &event, const edm::EventSetup &context) override
Analyze.
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
GEMTnPEfficiencyTask(const edm::ParameterSet &config)
Constructor.
const edm::EDGetTokenT< GEMAMCStatusCollection > m_GEMAMCStatusCollectionToken_
const bool m_maskChamberWithError_
constexpr GEMDetId chamberId() const
std::string topFolder() const override
Return the top folder.
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
DigiRangeIterator end() const
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
const Bounds & bounds() const
A container for a generic type of digis indexed by some index, implemented with a map<IndexType...