43 #include "TLorentzVector.h"
52 hGBNmuons_Barrel(nullptr),
53 hSANmuons_Barrel(nullptr),
54 hSimNmuons_Barrel(nullptr),
55 hGBNmuons_Endcap(nullptr),
56 hSANmuons_Endcap(nullptr),
57 hSimNmuons_Endcap(nullptr),
59 hGBNhits_Barrel(nullptr),
60 hGBNhits_Endcap(nullptr),
62 hSANhits_Barrel(nullptr),
63 hSANhits_Endcap(nullptr),
66 hGBChi2_Barrel(nullptr),
67 hSAChi2_Barrel(nullptr),
68 hGBChi2_Endcap(nullptr),
69 hSAChi2_Endcap(nullptr),
73 hGBInvM_Barrel(nullptr),
74 hSAInvM_Barrel(nullptr),
75 hSimInvM_Barrel(nullptr),
76 hGBInvM_Endcap(nullptr),
77 hSAInvM_Endcap(nullptr),
78 hSimInvM_Endcap(nullptr),
79 hGBInvM_Overlap(nullptr),
80 hSAInvM_Overlap(nullptr),
81 hSimInvM_Overlap(nullptr),
85 hSAPTRec_Barrel(nullptr),
86 hGBPTRec_Barrel(nullptr),
87 hSimPT_Barrel(nullptr),
88 hSAPTRec_Endcap(nullptr),
89 hGBPTRec_Endcap(nullptr),
90 hSimPT_Endcap(nullptr),
97 hSimPhivsEta(nullptr),
101 hSAinvPTres(nullptr),
103 hGBinvPTres(nullptr),
104 hSAPTres_Barrel(nullptr),
105 hSAPTres_Endcap(nullptr),
106 hGBPTres_Barrel(nullptr),
107 hGBPTres_Endcap(nullptr),
110 hSAPTDiffvsEta(nullptr),
111 hSAPTDiffvsPhi(nullptr),
112 hGBPTDiffvsEta(nullptr),
113 hGBPTDiffvsPhi(nullptr),
114 hGBinvPTvsEta(nullptr),
115 hGBinvPTvsPhi(nullptr),
116 hSAinvPTvsEta(nullptr),
117 hSAinvPTvsPhi(nullptr),
118 hSAinvPTvsNhits(nullptr),
119 hGBinvPTvsNhits(nullptr),
120 hResidualLocalXDT(nullptr),
121 hResidualLocalPhiDT(nullptr),
122 hResidualLocalThetaDT(nullptr),
123 hResidualLocalYDT(nullptr),
124 hResidualLocalXCSC(nullptr),
125 hResidualLocalPhiCSC(nullptr),
126 hResidualLocalThetaCSC(nullptr),
127 hResidualLocalYCSC(nullptr),
129 hResidualLocalXDT_W(5),
130 hResidualLocalPhiDT_W(5),
131 hResidualLocalThetaDT_W(5),
132 hResidualLocalYDT_W(5),
133 hResidualLocalXCSC_ME(18),
134 hResidualLocalPhiCSC_ME(18),
135 hResidualLocalThetaCSC_ME(18),
136 hResidualLocalYCSC_ME(18),
137 hResidualLocalXDT_MB(20),
138 hResidualLocalPhiDT_MB(20),
139 hResidualLocalThetaDT_MB(20),
140 hResidualLocalYDT_MB(20),
142 hResidualGlobalRPhiDT(nullptr),
143 hResidualGlobalPhiDT(nullptr),
144 hResidualGlobalThetaDT(nullptr),
145 hResidualGlobalZDT(nullptr),
146 hResidualGlobalRPhiCSC(nullptr),
147 hResidualGlobalPhiCSC(nullptr),
148 hResidualGlobalThetaCSC(nullptr),
149 hResidualGlobalRCSC(nullptr),
151 hResidualGlobalRPhiDT_W(5),
152 hResidualGlobalPhiDT_W(5),
153 hResidualGlobalThetaDT_W(5),
154 hResidualGlobalZDT_W(5),
155 hResidualGlobalRPhiCSC_ME(18),
156 hResidualGlobalPhiCSC_ME(18),
157 hResidualGlobalThetaCSC_ME(18),
158 hResidualGlobalRCSC_ME(18),
159 hResidualGlobalRPhiDT_MB(20),
160 hResidualGlobalPhiDT_MB(20),
161 hResidualGlobalThetaDT_MB(20),
162 hResidualGlobalZDT_MB(20),
164 hprofLocalPositionCSC(nullptr),
165 hprofLocalAngleCSC(nullptr),
166 hprofLocalPositionRmsCSC(nullptr),
167 hprofLocalAngleRmsCSC(nullptr),
168 hprofGlobalPositionCSC(nullptr),
169 hprofGlobalAngleCSC(nullptr),
170 hprofGlobalPositionRmsCSC(nullptr),
171 hprofGlobalAngleRmsCSC(nullptr),
172 hprofLocalPositionDT(nullptr),
173 hprofLocalAngleDT(nullptr),
174 hprofLocalPositionRmsDT(nullptr),
175 hprofLocalAngleRmsDT(nullptr),
176 hprofGlobalPositionDT(nullptr),
177 hprofGlobalAngleDT(nullptr),
178 hprofGlobalPositionRmsDT(nullptr),
179 hprofGlobalAngleRmsDT(nullptr),
180 hprofLocalXDT(nullptr),
181 hprofLocalPhiDT(nullptr),
182 hprofLocalThetaDT(nullptr),
183 hprofLocalYDT(nullptr),
184 hprofLocalXCSC(nullptr),
185 hprofLocalPhiCSC(nullptr),
186 hprofLocalThetaCSC(nullptr),
187 hprofLocalYCSC(nullptr),
188 hprofGlobalRPhiDT(nullptr),
189 hprofGlobalPhiDT(nullptr),
190 hprofGlobalThetaDT(nullptr),
191 hprofGlobalZDT(nullptr),
192 hprofGlobalRPhiCSC(nullptr),
193 hprofGlobalPhiCSC(nullptr),
194 hprofGlobalThetaCSC(nullptr),
195 hprofGlobalRCSC(nullptr) {
228 if (theDataType !=
"RealData" && theDataType !=
"SimData")
229 edm::LogError(
"MuonAlignmentAnalyzer") <<
"Error in Data Type!!" << std::endl;
264 hGBPhivsEta =
fs->
make<TH2F>(
"GBPhivsEta",
"#phi VS #eta", 100, -2.5, 2.5, 100, -3.1416, 3.1416);
267 hGBPTDiff =
fs->
make<TH1F>(
"GBpTDiff",
"p_{T}^{rec} - p_{T}^{gen} ", 250, -120, 120);
269 fs->
make<TH2F>(
"GBPTDiffvsEta",
"p_{T}^{rec} - p_{T}^{gen} VS #eta", 100, -2.5, 2.5, 250, -120, 120);
271 fs->
make<TH2F>(
"GBPTDiffvsPhi",
"p_{T}^{rec} - p_{T}^{gen} VS #phi", 100, -3.1416, 3.1416, 250, -120, 120);
272 hGBPTres =
fs->
make<TH1F>(
"GBpTRes",
"pT Resolution", 100, -2, 2);
275 hGBinvPTres =
fs->
make<TH1F>(
"GBinvPTRes",
"#sigma (q/p_{T}) Resolution", 100, -2, 2);
276 hGBinvPTvsEta =
fs->
make<TH2F>(
"GBinvPTvsEta",
"#sigma (q/p_{T}) VS #eta", 100, -2.5, 2.5, 100, -2, 2);
277 hGBinvPTvsPhi =
fs->
make<TH2F>(
"GBinvPTvsPhi",
"#sigma (q/p_{T}) VS #phi", 100, -3.1416, 3.1416, 100, -2, 2);
278 hGBinvPTvsNhits =
fs->
make<TH2F>(
"GBinvPTvsNhits",
"#sigma (q/p_{T}) VS Nhits", 100, 0, 100, 100, -2, 2);
303 hSAPhivsEta =
fs->
make<TH2F>(
"SAPhivsEta",
"#phi VS #eta", 100, -2.5, 2.5, 100, -3.1416, 3.1416);
306 hSAPTDiff =
fs->
make<TH1F>(
"SApTDiff",
"p_{T}^{rec} - p_{T}^{gen} ", 250, -120, 120);
308 fs->
make<TH2F>(
"SAPTDiffvsEta",
"p_{T}^{rec} - p_{T}^{gen} VS #eta", 100, -2.5, 2.5, 250, -120, 120);
310 fs->
make<TH2F>(
"SAPTDiffvsPhi",
"p_{T}^{rec} - p_{T}^{gen} VS #phi", 100, -3.1416, 3.1416, 250, -120, 120);
311 hSAPTres =
fs->
make<TH1F>(
"SApTRes",
"pT Resolution", 100, -2, 2);
316 hSAinvPTvsEta =
fs->
make<TH2F>(
"SAinvPTvsEta",
"#sigma (q/p_{T}) VS #eta", 100, -2.5, 2.5, 100, -2, 2);
317 hSAinvPTvsPhi =
fs->
make<TH2F>(
"SAinvPTvsPhi",
"#sigma (q/p_{T}) VS #phi", 100, -3.1416, 3.1416, 100, -2, 2);
318 hSAinvPTvsNhits =
fs->
make<TH2F>(
"SAinvPTvsNhits",
"#sigma (q/p_{T}) VS Nhits", 100, 0, 100, 100, -2, 2);
339 hSimPhivsEta =
fs->
make<TH2F>(
"SimPhivsEta",
"#phi VS #eta", 100, -2.5, 2.5, 100, -3.1416, 3.1416);
370 hResidualLocalXDT_W[1] =
fs->
make<TH1F>(
"hResidualLocalXDT_W-1",
"hResidualLocalXDT_W-1", 200, -10, 10);
371 hResidualLocalPhiDT_W[1] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_W-1",
"hResidualLocalPhiDT_W-1", 200, -1, 1);
372 hResidualLocalThetaDT_W[1] =
fs->
make<TH1F>(
"hResidualLocalThetaDT_W-1",
"hResidualLocalThetaDT_W-1", 200, -1, 1);
373 hResidualLocalYDT_W[1] =
fs->
make<TH1F>(
"hResidualLocalYDT_W-1",
"hResidualLocalYDT_W-1", 200, -10, 10);
374 hResidualLocalXDT_W[2] =
fs->
make<TH1F>(
"hResidualLocalXDT_W0",
"hResidualLocalXDT_W0", 200, -10, 10);
375 hResidualLocalPhiDT_W[2] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_W0",
"hResidualLocalPhiDT_W0", 200, -1, 1);
376 hResidualLocalThetaDT_W[2] =
fs->
make<TH1F>(
"hResidualLocalThetaDT_W0",
"hResidualLocalThetaDT_W0", 200, -1, 1);
377 hResidualLocalYDT_W[2] =
fs->
make<TH1F>(
"hResidualLocalYDT_W0",
"hResidualLocalYDT_W0", 200, -10, 10);
378 hResidualLocalXDT_W[3] =
fs->
make<TH1F>(
"hResidualLocalXDT_W1",
"hResidualLocalXDT_W1", 200, -10, 10);
379 hResidualLocalPhiDT_W[3] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_W1",
"hResidualLocalPhiDT_W1", 200, -1, 1);
380 hResidualLocalThetaDT_W[3] =
fs->
make<TH1F>(
"hResidualLocalThetaDT_W1",
"hResidualLocalThetaDT_W1", 200, -1, 1);
381 hResidualLocalYDT_W[3] =
fs->
make<TH1F>(
"hResidualLocalYDT_W1",
"hResidualLocalYDT_W1", 200, -10, 10);
382 hResidualLocalXDT_W[4] =
fs->
make<TH1F>(
"hResidualLocalXDT_W2",
"hResidualLocalXDT_W2", 200, -10, 10);
383 hResidualLocalPhiDT_W[4] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_W2",
"hResidualLocalPhiDT_W2", 200, -1, 1);
384 hResidualLocalThetaDT_W[4] =
fs->
make<TH1F>(
"hResidualLocalThetaDT_W2",
"hResidualLocalThetaDT_W2", 200, -1, 1);
385 hResidualLocalYDT_W[4] =
fs->
make<TH1F>(
"hResidualLocalYDT_W2",
"hResidualLocalYDT_W2", 200, -10, 10);
389 fs->
make<TH1F>(
"hResidualGlobalThetaDT_W-2",
"hResidualGlobalThetaDT_W-2", 200, -1, 1);
391 hResidualGlobalRPhiDT_W[1] =
fs->
make<TH1F>(
"hResidualGlobalRPhiDT_W-1",
"hResidualGlobalRPhiDT_W-1", 200, -10, 10);
392 hResidualGlobalPhiDT_W[1] =
fs->
make<TH1F>(
"hResidualGlobalPhiDT_W-1",
"hResidualGlobalPhiDT_W-1", 200, -1, 1);
393 hResidualGlobalThetaDT_W[1] =
394 fs->
make<TH1F>(
"hResidualGlobalThetaDT_W-1",
"hResidualGlobalThetaDT_W-1", 200, -1, 1);
395 hResidualGlobalZDT_W[1] =
fs->
make<TH1F>(
"hResidualGlobalZDT_W-1",
"hResidualGlobalZDT_W-1", 200, -10, 10);
396 hResidualGlobalRPhiDT_W[2] =
fs->
make<TH1F>(
"hResidualGlobalRPhiDT_W0",
"hResidualGlobalRPhiDT_W0", 200, -10, 10);
397 hResidualGlobalPhiDT_W[2] =
fs->
make<TH1F>(
"hResidualGlobalPhiDT_W0",
"hResidualGlobalPhiDT_W0", 200, -1, 1);
398 hResidualGlobalThetaDT_W[2] =
fs->
make<TH1F>(
"hResidualGlobalThetaDT_W0",
"hResidualGlobalThetaDT_W0", 200, -1, 1);
399 hResidualGlobalZDT_W[2] =
fs->
make<TH1F>(
"hResidualGlobalZDT_W0",
"hResidualGlobalZDT_W0", 200, -10, 10);
400 hResidualGlobalRPhiDT_W[3] =
fs->
make<TH1F>(
"hResidualGlobalRPhiDT_W1",
"hResidualGlobalRPhiDT_W1", 200, -10, 10);
401 hResidualGlobalPhiDT_W[3] =
fs->
make<TH1F>(
"hResidualGlobalPhiDT_W1",
"hResidualGlobalPhiDT_W1", 200, -1, 1);
402 hResidualGlobalThetaDT_W[3] =
fs->
make<TH1F>(
"hResidualGlobalThetaDT_W1",
"hResidualGlobalThetaDT_W1", 200, -1, 1);
403 hResidualGlobalZDT_W[3] =
fs->
make<TH1F>(
"hResidualGlobalZDT_W1",
"hResidualGlobalZDT_W1", 200, -10, 10);
404 hResidualGlobalRPhiDT_W[4] =
fs->
make<TH1F>(
"hResidualGlobalRPhiDT_W2",
"hResidualGlobalRPhiDT_W2", 200, -10, 10);
405 hResidualGlobalPhiDT_W[4] =
fs->
make<TH1F>(
"hResidualGlobalPhiDT_W2",
"hResidualGlobalPhiDT_W2", 200, -1, 1);
406 hResidualGlobalThetaDT_W[4] =
fs->
make<TH1F>(
"hResidualGlobalThetaDT_W2",
"hResidualGlobalThetaDT_W2", 200, -1, 1);
407 hResidualGlobalZDT_W[4] =
fs->
make<TH1F>(
"hResidualGlobalZDT_W2",
"hResidualGlobalZDT_W2", 200, -10, 10);
413 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB-2/1",
"hResidualLocalThetaDT_MB-2/1", 200, -1, 1);
415 hResidualLocalXDT_MB[1] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB-2/2",
"hResidualLocalXDT_MB-2/2", 200, -10, 10);
416 hResidualLocalPhiDT_MB[1] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB-2/2",
"hResidualLocalPhiDT_MB-2/2", 200, -1, 1);
417 hResidualLocalThetaDT_MB[1] =
418 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB-2/2",
"hResidualLocalThetaDT_MB-2/2", 200, -1, 1);
419 hResidualLocalYDT_MB[1] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB-2/2",
"hResidualLocalYDT_MB-2/2", 200, -10, 10);
420 hResidualLocalXDT_MB[2] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB-2/3",
"hResidualLocalXDT_MB-2/3", 200, -10, 10);
421 hResidualLocalPhiDT_MB[2] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB-2/3",
"hResidualLocalPhiDT_MB-2/3", 200, -1, 1);
422 hResidualLocalThetaDT_MB[2] =
423 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB-2/3",
"hResidualLocalThetaDT_MB-2/3", 200, -1, 1);
424 hResidualLocalYDT_MB[2] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB-2/3",
"hResidualLocalYDT_MB-2/3", 200, -10, 10);
425 hResidualLocalXDT_MB[3] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB-2/4",
"hResidualLocalXDT_MB-2/4", 200, -10, 10);
426 hResidualLocalPhiDT_MB[3] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB-2/4",
"hResidualLocalPhiDT_MB-2/4", 200, -1, 1);
427 hResidualLocalThetaDT_MB[3] =
428 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB-2/4",
"hResidualLocalThetaDT_MB-2/4", 200, -1, 1);
429 hResidualLocalYDT_MB[3] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB-2/4",
"hResidualLocalYDT_MB-2/4", 200, -10, 10);
430 hResidualLocalXDT_MB[4] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB-1/1",
"hResidualLocalXDT_MB-1/1", 200, -10, 10);
431 hResidualLocalPhiDT_MB[4] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB-1/1",
"hResidualLocalPhiDT_MB-1/1", 200, -1, 1);
432 hResidualLocalThetaDT_MB[4] =
433 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB-1/1",
"hResidualLocalThetaDT_MB-1/1", 200, -1, 1);
434 hResidualLocalYDT_MB[4] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB-1/1",
"hResidualLocalYDT_MB-1/1", 200, -10, 10);
435 hResidualLocalXDT_MB[5] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB-1/2",
"hResidualLocalXDT_MB-1/2", 200, -10, 10);
436 hResidualLocalPhiDT_MB[5] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB-1/2",
"hResidualLocalPhiDT_MB-1/2", 200, -1, 1);
437 hResidualLocalThetaDT_MB[5] =
438 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB-1/2",
"hResidualLocalThetaDT_MB-1/2", 200, -1, 1);
439 hResidualLocalYDT_MB[5] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB-1/2",
"hResidualLocalYDT_MB-1/2", 200, -10, 10);
440 hResidualLocalXDT_MB[6] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB-1/3",
"hResidualLocalXDT_MB-1/3", 200, -10, 10);
441 hResidualLocalPhiDT_MB[6] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB-1/3",
"hResidualLocalPhiDT_MB-1/3", 200, -1, 1);
442 hResidualLocalThetaDT_MB[6] =
443 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB-1/3",
"hResidualLocalThetaDT_MB-1/3", 200, -1, 1);
444 hResidualLocalYDT_MB[6] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB-1/3",
"hResidualLocalYDT_MB-1/3", 200, -10, 10);
445 hResidualLocalXDT_MB[7] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB-1/4",
"hResidualLocalXDT_MB-1/4", 200, -10, 10);
446 hResidualLocalPhiDT_MB[7] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB-1/4",
"hResidualLocalPhiDT_MB-1/4", 200, -1, 1);
447 hResidualLocalThetaDT_MB[7] =
448 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB-1/4",
"hResidualLocalThetaDT_MB-1/4", 200, -1, 1);
449 hResidualLocalYDT_MB[7] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB-1/4",
"hResidualLocalYDT_MB-1/4", 200, -10, 10);
450 hResidualLocalXDT_MB[8] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB0/1",
"hResidualLocalXDT_MB0/1", 200, -10, 10);
451 hResidualLocalPhiDT_MB[8] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB0/1",
"hResidualLocalPhiDT_MB0/1", 200, -1, 1);
452 hResidualLocalThetaDT_MB[8] =
453 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB0/1",
"hResidualLocalThetaDT_MB0/1", 200, -1, 1);
454 hResidualLocalYDT_MB[8] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB0/1",
"hResidualLocalYDT_MB0/1", 200, -10, 10);
455 hResidualLocalXDT_MB[9] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB0/2",
"hResidualLocalXDT_MB0/2", 200, -10, 10);
456 hResidualLocalPhiDT_MB[9] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB0/2",
"hResidualLocalPhiDT_MB0/2", 200, -1, 1);
457 hResidualLocalThetaDT_MB[9] =
458 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB0/2",
"hResidualLocalThetaDT_MB0/2", 200, -1, 1);
459 hResidualLocalYDT_MB[9] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB0/2",
"hResidualLocalYDT_MB0/2", 200, -10, 10);
460 hResidualLocalXDT_MB[10] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB0/3",
"hResidualLocalXDT_MB0/3", 200, -10, 10);
461 hResidualLocalThetaDT_MB[10] =
462 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB0/3",
"hResidualLocalThetaDT_MB0/3", 200, -1, 1);
463 hResidualLocalPhiDT_MB[10] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB0/3",
"hResidualLocalPhiDT_MB0/3", 200, -1, 1);
464 hResidualLocalYDT_MB[10] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB0/3",
"hResidualLocalYDT_MB0/3", 200, -10, 10);
465 hResidualLocalXDT_MB[11] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB0/4",
"hResidualLocalXDT_MB0/4", 200, -10, 10);
466 hResidualLocalPhiDT_MB[11] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB0/4",
"hResidualLocalPhiDT_MB0/4", 200, -1, 1);
467 hResidualLocalThetaDT_MB[11] =
468 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB0/4",
"hResidualLocalThetaDT_MB0/4", 200, -1, 1);
469 hResidualLocalYDT_MB[11] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB0/4",
"hResidualLocalYDT_MB0/4", 200, -10, 10);
470 hResidualLocalXDT_MB[12] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB1/1",
"hResidualLocalXDT_MB1/1", 200, -10, 10);
471 hResidualLocalPhiDT_MB[12] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB1/1",
"hResidualLocalPhiDT_MB1/1", 200, -1, 1);
472 hResidualLocalThetaDT_MB[12] =
473 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB1/1",
"hResidualLocalThetaDT_MB1/1", 200, -1, 1);
474 hResidualLocalYDT_MB[12] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB1/1",
"hResidualLocalYDT_MB1/1", 200, -10, 10);
475 hResidualLocalXDT_MB[13] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB1/2",
"hResidualLocalXDT_MB1/2", 200, -10, 10);
476 hResidualLocalPhiDT_MB[13] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB1/2",
"hResidualLocalPhiDT_MB1/2", 200, -1, 1);
477 hResidualLocalThetaDT_MB[13] =
478 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB1/2",
"hResidualLocalThetaDT_MB1/2", 200, -1, 1);
479 hResidualLocalYDT_MB[13] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB1/2",
"hResidualLocalYDT_MB1/2", 200, -10, 10);
480 hResidualLocalXDT_MB[14] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB1/3",
"hResidualLocalXDT_MB1/3", 200, -10, 10);
481 hResidualLocalPhiDT_MB[14] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB1/3",
"hResidualLocalPhiDT_MB1/3", 200, -1, 1);
482 hResidualLocalThetaDT_MB[14] =
483 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB1/3",
"hResidualLocalThetaDT_MB1/3", 200, -1, 1);
484 hResidualLocalYDT_MB[14] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB1/3",
"hResidualLocalYDT_MB1/3", 200, -10, 10);
485 hResidualLocalXDT_MB[15] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB1/4",
"hResidualLocalXDT_MB1/4", 200, -10, 10);
486 hResidualLocalPhiDT_MB[15] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB1/4",
"hResidualLocalPhiDT_MB1/4", 200, -1, 1);
487 hResidualLocalThetaDT_MB[15] =
488 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB1/4",
"hResidualLocalThetaDT_MB1/4", 200, -1, 1);
489 hResidualLocalYDT_MB[15] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB1/4",
"hResidualLocalYDT_MB1/4", 200, -10, 10);
490 hResidualLocalXDT_MB[16] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB2/1",
"hResidualLocalXDT_MB2/1", 200, -10, 10);
491 hResidualLocalPhiDT_MB[16] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB2/1",
"hResidualLocalPhiDT_MB2/1", 200, -1, 1);
492 hResidualLocalThetaDT_MB[16] =
493 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB2/1",
"hResidualLocalThetaDT_MB2/1", 200, -1, 1);
494 hResidualLocalYDT_MB[16] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB2/1",
"hResidualLocalYDT_MB2/1", 200, -10, 10);
495 hResidualLocalXDT_MB[17] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB2/2",
"hResidualLocalXDT_MB2/2", 200, -10, 10);
496 hResidualLocalPhiDT_MB[17] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB2/2",
"hResidualLocalPhiDT_MB2/2", 200, -1, 1);
497 hResidualLocalThetaDT_MB[17] =
498 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB2/2",
"hResidualLocalThetaDT_MB2/2", 200, -1, 1);
499 hResidualLocalYDT_MB[17] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB2/2",
"hResidualLocalYDT_MB2/2", 200, -10, 10);
500 hResidualLocalXDT_MB[18] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB2/3",
"hResidualLocalXDT_MB2/3", 200, -10, 10);
501 hResidualLocalPhiDT_MB[18] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB2/3",
"hResidualLocalPhiDT_MB2/3", 200, -1, 1);
502 hResidualLocalThetaDT_MB[18] =
503 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB2/3",
"hResidualLocalThetaDT_MB2/3", 200, -1, 1);
504 hResidualLocalYDT_MB[18] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB2/3",
"hResidualLocalYDT_MB2/3", 200, -10, 10);
505 hResidualLocalXDT_MB[19] =
fs->
make<TH1F>(
"hResidualLocalXDT_MB2/4",
"hResidualLocalXDT_MB2/4", 200, -10, 10);
506 hResidualLocalPhiDT_MB[19] =
fs->
make<TH1F>(
"hResidualLocalPhiDT_MB2/4",
"hResidualLocalPhiDT_MB2/4", 200, -1, 1);
507 hResidualLocalThetaDT_MB[19] =
508 fs->
make<TH1F>(
"hResidualLocalThetaDT_MB2/4",
"hResidualLocalThetaDT_MB2/4", 200, -1, 1);
509 hResidualLocalYDT_MB[19] =
fs->
make<TH1F>(
"hResidualLocalYDT_MB2/4",
"hResidualLocalYDT_MB2/4", 200, -10, 10);
511 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB-2/1",
"hResidualGlobalRPhiDT_MB-2/1", 200, -10, 10);
513 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB-2/1",
"hResidualGlobalPhiDT_MB-2/1", 200, -1, 1);
515 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB-2/1",
"hResidualGlobalThetaDT_MB-2/1", 200, -1, 1);
517 hResidualGlobalRPhiDT_MB[1] =
518 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB-2/2",
"hResidualGlobalRPhiDT_MB-2/2", 200, -10, 10);
519 hResidualGlobalPhiDT_MB[1] =
520 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB-2/2",
"hResidualGlobalPhiDT_MB-2/2", 200, -1, 1);
521 hResidualGlobalThetaDT_MB[1] =
522 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB-2/2",
"hResidualGlobalThetaDT_MB-2/2", 200, -1, 1);
523 hResidualGlobalZDT_MB[1] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB-2/2",
"hResidualGlobalZDT_MB-2/2", 200, -10, 10);
524 hResidualGlobalRPhiDT_MB[2] =
525 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB-2/3",
"hResidualGlobalRPhiDT_MB-2/3", 200, -10, 10);
526 hResidualGlobalPhiDT_MB[2] =
527 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB-2/3",
"hResidualGlobalPhiDT_MB-2/3", 200, -1, 1);
528 hResidualGlobalThetaDT_MB[2] =
529 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB-2/3",
"hResidualGlobalThetaDT_MB-2/3", 200, -1, 1);
530 hResidualGlobalZDT_MB[2] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB-2/3",
"hResidualGlobalZDT_MB-2/3", 200, -10, 10);
531 hResidualGlobalRPhiDT_MB[3] =
532 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB-2/4",
"hResidualGlobalRPhiDT_MB-2/4", 200, -10, 10);
533 hResidualGlobalPhiDT_MB[3] =
534 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB-2/4",
"hResidualGlobalPhiDT_MB-2/4", 200, -1, 1);
535 hResidualGlobalThetaDT_MB[3] =
536 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB-2/4",
"hResidualGlobalThetaDT_MB-2/4", 200, -1, 1);
537 hResidualGlobalZDT_MB[3] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB-2/4",
"hResidualGlobalZDT_MB-2/4", 200, -10, 10);
538 hResidualGlobalRPhiDT_MB[4] =
539 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB-1/1",
"hResidualGlobalRPhiDT_MB-1/1", 200, -10, 10);
540 hResidualGlobalPhiDT_MB[4] =
541 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB-1/1",
"hResidualGlobalPhiDT_MB-1/1", 200, -1, 1);
542 hResidualGlobalThetaDT_MB[4] =
543 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB-1/1",
"hResidualGlobalThetaDT_MB-1/1", 200, -1, 1);
544 hResidualGlobalZDT_MB[4] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB-1/1",
"hResidualGlobalZDT_MB-1/1", 200, -10, 10);
545 hResidualGlobalRPhiDT_MB[5] =
546 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB-1/2",
"hResidualGlobalRPhiDT_MB-1/2", 200, -10, 10);
547 hResidualGlobalPhiDT_MB[5] =
548 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB-1/2",
"hResidualGlobalPhiDT_MB-1/2", 200, -1, 1);
549 hResidualGlobalThetaDT_MB[5] =
550 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB-1/2",
"hResidualGlobalThetaDT_MB-1/2", 200, -1, 1);
551 hResidualGlobalZDT_MB[5] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB-1/2",
"hResidualGlobalZDT_MB-1/2", 200, -10, 10);
552 hResidualGlobalRPhiDT_MB[6] =
553 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB-1/3",
"hResidualGlobalRPhiDT_MB-1/3", 200, -10, 10);
554 hResidualGlobalPhiDT_MB[6] =
555 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB-1/3",
"hResidualGlobalPhiDT_MB-1/3", 200, -1, 1);
556 hResidualGlobalThetaDT_MB[6] =
557 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB-1/3",
"hResidualGlobalThetaDT_MB-1/3", 200, -1, 1);
558 hResidualGlobalZDT_MB[6] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB-1/3",
"hResidualGlobalZDT_MB-1/3", 200, -10, 10);
559 hResidualGlobalRPhiDT_MB[7] =
560 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB-1/4",
"hResidualGlobalRPhiDT_MB-1/4", 200, -10, 10);
561 hResidualGlobalPhiDT_MB[7] =
562 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB-1/4",
"hResidualGlobalPhiDT_MB-1/4", 200, -1, 1);
563 hResidualGlobalThetaDT_MB[7] =
564 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB-1/4",
"hResidualGlobalThetaDT_MB-1/4", 200, -1, 1);
565 hResidualGlobalZDT_MB[7] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB-1/4",
"hResidualGlobalZDT_MB-1/4", 200, -10, 10);
566 hResidualGlobalRPhiDT_MB[8] =
567 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB0/1",
"hResidualGlobalRPhiDT_MB0/1", 200, -10, 10);
568 hResidualGlobalPhiDT_MB[8] =
fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB0/1",
"hResidualGlobalPhiDT_MB0/1", 200, -1, 1);
569 hResidualGlobalThetaDT_MB[8] =
570 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB0/1",
"hResidualGlobalThetaDT_MB0/1", 200, -1, 1);
571 hResidualGlobalZDT_MB[8] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB0/1",
"hResidualGlobalZDT_MB0/1", 200, -10, 10);
572 hResidualGlobalRPhiDT_MB[9] =
573 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB0/2",
"hResidualGlobalRPhiDT_MB0/2", 200, -10, 10);
574 hResidualGlobalPhiDT_MB[9] =
fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB0/2",
"hResidualGlobalPhiDT_MB0/2", 200, -1, 1);
575 hResidualGlobalThetaDT_MB[9] =
576 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB0/2",
"hResidualGlobalThetaDT_MB0/2", 200, -1, 1);
577 hResidualGlobalZDT_MB[9] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB0/2",
"hResidualGlobalZDT_MB0/2", 200, -10, 10);
578 hResidualGlobalRPhiDT_MB[10] =
579 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB0/3",
"hResidualGlobalRPhiDT_MB0/3", 200, -10, 10);
580 hResidualGlobalThetaDT_MB[10] =
581 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB0/3",
"hResidualGlobalThetaDT_MB0/3", 200, -1, 1);
582 hResidualGlobalPhiDT_MB[10] =
583 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB0/3",
"hResidualGlobalPhiDT_MB0/3", 200, -1, 1);
584 hResidualGlobalZDT_MB[10] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB0/3",
"hResidualGlobalZDT_MB0/3", 200, -10, 10);
585 hResidualGlobalRPhiDT_MB[11] =
586 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB0/4",
"hResidualGlobalRPhiDT_MB0/4", 200, -10, 10);
587 hResidualGlobalPhiDT_MB[11] =
588 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB0/4",
"hResidualGlobalPhiDT_MB0/4", 200, -1, 1);
589 hResidualGlobalThetaDT_MB[11] =
590 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB0/4",
"hResidualGlobalThetaDT_MB0/4", 200, -1, 1);
591 hResidualGlobalZDT_MB[11] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB0/4",
"hResidualGlobalZDT_MB0/4", 200, -10, 10);
592 hResidualGlobalRPhiDT_MB[12] =
593 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB1/1",
"hResidualGlobalRPhiDT_MB1/1", 200, -10, 10);
594 hResidualGlobalPhiDT_MB[12] =
595 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB1/1",
"hResidualGlobalPhiDT_MB1/1", 200, -1, 1);
596 hResidualGlobalThetaDT_MB[12] =
597 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB1/1",
"hResidualGlobalThetaDT_MB1/1", 200, -1, 1);
598 hResidualGlobalZDT_MB[12] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB1/1",
"hResidualGlobalZDT_MB1/1", 200, -10, 10);
599 hResidualGlobalRPhiDT_MB[13] =
600 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB1/2",
"hResidualGlobalRPhiDT_MB1/2", 200, -10, 10);
601 hResidualGlobalPhiDT_MB[13] =
602 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB1/2",
"hResidualGlobalPhiDT_MB1/2", 200, -1, 1);
603 hResidualGlobalThetaDT_MB[13] =
604 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB1/2",
"hResidualGlobalThetaDT_MB1/2", 200, -1, 1);
605 hResidualGlobalZDT_MB[13] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB1/2",
"hResidualGlobalZDT_MB1/2", 200, -10, 10);
606 hResidualGlobalRPhiDT_MB[14] =
607 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB1/3",
"hResidualGlobalRPhiDT_MB1/3", 200, -10, 10);
608 hResidualGlobalPhiDT_MB[14] =
609 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB1/3",
"hResidualGlobalPhiDT_MB1/3", 200, -1, 1);
610 hResidualGlobalThetaDT_MB[14] =
611 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB1/3",
"hResidualGlobalThetaDT_MB1/3", 200, -1, 1);
612 hResidualGlobalZDT_MB[14] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB1/3",
"hResidualGlobalZDT_MB1/3", 200, -10, 10);
613 hResidualGlobalRPhiDT_MB[15] =
614 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB1/4",
"hResidualGlobalRPhiDT_MB1/4", 200, -10, 10);
615 hResidualGlobalPhiDT_MB[15] =
616 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB1/4",
"hResidualGlobalPhiDT_MB1/4", 200, -1, 1);
617 hResidualGlobalThetaDT_MB[15] =
618 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB1/4",
"hResidualGlobalThetaDT_MB1/4", 200, -1, 1);
619 hResidualGlobalZDT_MB[15] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB1/4",
"hResidualGlobalZDT_MB1/4", 200, -10, 10);
620 hResidualGlobalRPhiDT_MB[16] =
621 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB2/1",
"hResidualGlobalRPhiDT_MB2/1", 200, -10, 10);
622 hResidualGlobalPhiDT_MB[16] =
623 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB2/1",
"hResidualGlobalPhiDT_MB2/1", 200, -1, 1);
624 hResidualGlobalThetaDT_MB[16] =
625 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB2/1",
"hResidualGlobalThetaDT_MB2/1", 200, -1, 1);
626 hResidualGlobalZDT_MB[16] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB2/1",
"hResidualGlobalZDT_MB2/1", 200, -10, 10);
627 hResidualGlobalRPhiDT_MB[17] =
628 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB2/2",
"hResidualGlobalRPhiDT_MB2/2", 200, -10, 10);
629 hResidualGlobalPhiDT_MB[17] =
630 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB2/2",
"hResidualGlobalPhiDT_MB2/2", 200, -1, 1);
631 hResidualGlobalThetaDT_MB[17] =
632 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB2/2",
"hResidualGlobalThetaDT_MB2/2", 200, -1, 1);
633 hResidualGlobalZDT_MB[17] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB2/2",
"hResidualGlobalZDT_MB2/2", 200, -10, 10);
634 hResidualGlobalRPhiDT_MB[18] =
635 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB2/3",
"hResidualGlobalRPhiDT_MB2/3", 200, -10, 10);
636 hResidualGlobalPhiDT_MB[18] =
637 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB2/3",
"hResidualGlobalPhiDT_MB2/3", 200, -1, 1);
638 hResidualGlobalThetaDT_MB[18] =
639 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB2/3",
"hResidualGlobalThetaDT_MB2/3", 200, -1, 1);
640 hResidualGlobalZDT_MB[18] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB2/3",
"hResidualGlobalZDT_MB2/3", 200, -10, 10);
641 hResidualGlobalRPhiDT_MB[19] =
642 fs->
make<TH1F>(
"hResidualGlobalRPhiDT_MB2/4",
"hResidualGlobalRPhiDT_MB2/4", 200, -10, 10);
643 hResidualGlobalPhiDT_MB[19] =
644 fs->
make<TH1F>(
"hResidualGlobalPhiDT_MB2/4",
"hResidualGlobalPhiDT_MB2/4", 200, -1, 1);
645 hResidualGlobalThetaDT_MB[19] =
646 fs->
make<TH1F>(
"hResidualGlobalThetaDT_MB2/4",
"hResidualGlobalThetaDT_MB2/4", 200, -1, 1);
647 hResidualGlobalZDT_MB[19] =
fs->
make<TH1F>(
"hResidualGlobalZDT_MB2/4",
"hResidualGlobalZDT_MB2/4", 200, -10, 10);
652 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME-4/1",
"hResidualLocalPhiCSC_ME-4/1", 200, -1, 1);
654 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME-4/1",
"hResidualLocalThetaCSC_ME-4/1", 200, -1, 1);
656 hResidualLocalXCSC_ME[1] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME-4/2",
"hResidualLocalXCSC_ME-4/2", 200, -10, 10);
657 hResidualLocalPhiCSC_ME[1] =
658 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME-4/2",
"hResidualLocalPhiCSC_ME-4/2", 200, -1, 1);
659 hResidualLocalThetaCSC_ME[1] =
660 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME-4/2",
"hResidualLocalThetaCSC_ME-4/2", 200, -1, 1);
661 hResidualLocalYCSC_ME[1] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME-4/2",
"hResidualLocalYCSC_ME-4/2", 200, -10, 10);
662 hResidualLocalXCSC_ME[2] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME-3/1",
"hResidualLocalXCSC_ME-3/1", 200, -10, 10);
663 hResidualLocalPhiCSC_ME[2] =
664 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME-3/1",
"hResidualLocalPhiCSC_ME-3/1", 200, -1, 1);
665 hResidualLocalThetaCSC_ME[2] =
666 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME-3/1",
"hResidualLocalThetaCSC_ME-3/1", 200, -1, 1);
667 hResidualLocalYCSC_ME[2] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME-3/1",
"hResidualLocalYCSC_ME-3/1", 200, -10, 10);
668 hResidualLocalXCSC_ME[3] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME-3/2",
"hResidualLocalXCSC_ME-3/2", 200, -10, 10);
669 hResidualLocalPhiCSC_ME[3] =
670 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME-3/2",
"hResidualLocalPhiCSC_ME-3/2", 200, -1, 1);
671 hResidualLocalThetaCSC_ME[3] =
672 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME-3/2",
"hResidualLocalThetaCSC_ME-3/2", 200, -1, 1);
673 hResidualLocalYCSC_ME[3] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME-3/2",
"hResidualLocalYCSC_ME-3/2", 200, -10, 10);
674 hResidualLocalXCSC_ME[4] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME-2/1",
"hResidualLocalXCSC_ME-2/1", 200, -10, 10);
675 hResidualLocalPhiCSC_ME[4] =
676 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME-2/1",
"hResidualLocalPhiCSC_ME-2/1", 200, -1, 1);
677 hResidualLocalThetaCSC_ME[4] =
678 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME-2/1",
"hResidualLocalThetaCSC_ME-2/1", 200, -1, 1);
679 hResidualLocalYCSC_ME[4] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME-2/1",
"hResidualLocalYCSC_ME-2/1", 200, -10, 10);
680 hResidualLocalXCSC_ME[5] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME-2/2",
"hResidualLocalXCSC_ME-2/2", 200, -10, 10);
681 hResidualLocalPhiCSC_ME[5] =
682 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME-2/2",
"hResidualLocalPhiCSC_ME-2/2", 200, -1, 1);
683 hResidualLocalThetaCSC_ME[5] =
684 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME-2/2",
"hResidualLocalThetaCSC_ME-2/2", 200, -1, 1);
685 hResidualLocalYCSC_ME[5] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME-2/2",
"hResidualLocalYCSC_ME-2/2", 200, -10, 10);
686 hResidualLocalXCSC_ME[6] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME-1/1",
"hResidualLocalXCSC_ME-1/1", 200, -10, 10);
687 hResidualLocalPhiCSC_ME[6] =
688 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME-1/1",
"hResidualLocalPhiCSC_ME-1/1", 200, -1, 1);
689 hResidualLocalThetaCSC_ME[6] =
690 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME-1/1",
"hResidualLocalThetaCSC_ME-1/1", 200, -1, 1);
691 hResidualLocalYCSC_ME[6] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME-1/1",
"hResidualLocalYCSC_ME-1/1", 200, -10, 10);
692 hResidualLocalXCSC_ME[7] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME-1/2",
"hResidualLocalXCSC_ME-1/2", 200, -10, 10);
693 hResidualLocalPhiCSC_ME[7] =
694 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME-1/2",
"hResidualLocalPhiCSC_ME-1/2", 200, -1, 1);
695 hResidualLocalThetaCSC_ME[7] =
696 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME-1/2",
"hResidualLocalThetaCSC_ME-1/2", 200, -1, 1);
697 hResidualLocalYCSC_ME[7] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME-1/2",
"hResidualLocalYCSC_ME-1/2", 200, -10, 10);
698 hResidualLocalXCSC_ME[8] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME-1/3",
"hResidualLocalXCSC_ME-1/3", 200, -10, 10);
699 hResidualLocalPhiCSC_ME[8] =
700 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME-1/3",
"hResidualLocalPhiCSC_ME-1/3", 200, -1, 1);
701 hResidualLocalThetaCSC_ME[8] =
702 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME-1/3",
"hResidualLocalThetaCSC_ME-1/3", 200, -1, 1);
703 hResidualLocalYCSC_ME[8] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME-1/3",
"hResidualLocalYCSC_ME-1/3", 200, -10, 10);
704 hResidualLocalXCSC_ME[9] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME1/1",
"hResidualLocalXCSC_ME1/1", 200, -10, 10);
705 hResidualLocalPhiCSC_ME[9] =
fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME1/1",
"hResidualLocalPhiCSC_ME1/1", 100, -1, 1);
706 hResidualLocalThetaCSC_ME[9] =
707 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME1/1",
"hResidualLocalThetaCSC_ME1/1", 200, -1, 1);
708 hResidualLocalYCSC_ME[9] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME1/1",
"hResidualLocalYCSC_ME1/1", 200, -10, 10);
709 hResidualLocalXCSC_ME[10] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME1/2",
"hResidualLocalXCSC_ME1/2", 200, -10, 10);
710 hResidualLocalPhiCSC_ME[10] =
711 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME1/2",
"hResidualLocalPhiCSC_ME1/2", 200, -1, 1);
712 hResidualLocalThetaCSC_ME[10] =
713 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME1/2",
"hResidualLocalThetaCSC_ME1/2", 200, -1, 1);
714 hResidualLocalYCSC_ME[10] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME1/2",
"hResidualLocalYCSC_ME1/2", 200, -10, 10);
715 hResidualLocalXCSC_ME[11] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME1/3",
"hResidualLocalXCSC_ME1/3", 200, -10, 10);
716 hResidualLocalPhiCSC_ME[11] =
717 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME1/3",
"hResidualLocalPhiCSC_ME1/3", 200, -1, 1);
718 hResidualLocalThetaCSC_ME[11] =
719 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME1/3",
"hResidualLocalThetaCSC_ME1/3", 200, -1, 1);
720 hResidualLocalYCSC_ME[11] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME1/3",
"hResidualLocalYCSC_ME1/3", 200, -10, 10);
721 hResidualLocalXCSC_ME[12] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME2/1",
"hResidualLocalXCSC_ME2/1", 200, -10, 10);
722 hResidualLocalPhiCSC_ME[12] =
723 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME2/1",
"hResidualLocalPhiCSC_ME2/1", 200, -1, 1);
724 hResidualLocalThetaCSC_ME[12] =
725 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME2/1",
"hResidualLocalThetaCSC_ME2/1", 200, -1, 1);
726 hResidualLocalYCSC_ME[12] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME2/1",
"hResidualLocalYCSC_ME2/1", 200, -10, 10);
727 hResidualLocalXCSC_ME[13] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME2/2",
"hResidualLocalXCSC_ME2/2", 200, -10, 10);
728 hResidualLocalPhiCSC_ME[13] =
729 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME2/2",
"hResidualLocalPhiCSC_ME2/2", 200, -1, 1);
730 hResidualLocalThetaCSC_ME[13] =
731 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME2/2",
"hResidualLocalThetaCSC_ME2/2", 200, -1, 1);
732 hResidualLocalYCSC_ME[13] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME2/2",
"hResidualLocalYCSC_ME2/2", 200, -10, 10);
733 hResidualLocalXCSC_ME[14] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME3/1",
"hResidualLocalXCSC_ME3/1", 200, -10, 10);
734 hResidualLocalPhiCSC_ME[14] =
735 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME3/1",
"hResidualLocalPhiCSC_ME3/1", 200, -1, 1);
736 hResidualLocalThetaCSC_ME[14] =
737 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME3/1",
"hResidualLocalThetaCSC_ME3/1", 200, -1, 1);
738 hResidualLocalYCSC_ME[14] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME3/1",
"hResidualLocalYCSC_ME3/1", 200, -10, 10);
739 hResidualLocalXCSC_ME[15] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME3/2",
"hResidualLocalXCSC_ME3/2", 200, -10, 10);
740 hResidualLocalPhiCSC_ME[15] =
741 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME3/2",
"hResidualLocalPhiCSC_ME3/2", 200, -1, 1);
742 hResidualLocalThetaCSC_ME[15] =
743 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME3/2",
"hResidualLocalThetaCSC_ME3/2", 200, -1, 1);
744 hResidualLocalYCSC_ME[15] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME3/2",
"hResidualLocalYCSC_ME3/2", 200, -10, 10);
745 hResidualLocalXCSC_ME[16] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME4/1",
"hResidualLocalXCSC_ME4/1", 200, -10, 10);
746 hResidualLocalPhiCSC_ME[16] =
747 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME4/1",
"hResidualLocalPhiCSC_ME4/1", 200, -1, 1);
748 hResidualLocalThetaCSC_ME[16] =
749 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME4/1",
"hResidualLocalThetaCSC_ME4/1", 200, -1, 1);
750 hResidualLocalYCSC_ME[16] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME4/1",
"hResidualLocalYCSC_ME4/1", 200, -10, 10);
751 hResidualLocalXCSC_ME[17] =
fs->
make<TH1F>(
"hResidualLocalXCSC_ME4/2",
"hResidualLocalXCSC_ME4/2", 200, -10, 10);
752 hResidualLocalPhiCSC_ME[17] =
753 fs->
make<TH1F>(
"hResidualLocalPhiCSC_ME4/2",
"hResidualLocalPhiCSC_ME4/2", 200, -1, 1);
754 hResidualLocalThetaCSC_ME[17] =
755 fs->
make<TH1F>(
"hResidualLocalThetaCSC_ME4/2",
"hResidualLocalThetaCSC_ME4/2", 200, -1, 1);
756 hResidualLocalYCSC_ME[17] =
fs->
make<TH1F>(
"hResidualLocalYCSC_ME4/2",
"hResidualLocalYCSC_ME4/2", 200, -10, 10);
758 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME-4/1",
"hResidualGlobalRPhiCSC_ME-4/1", 200, -10, 10);
760 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME-4/1",
"hResidualGlobalPhiCSC_ME-4/1", 200, -1, 1);
762 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME-4/1",
"hResidualGlobalThetaCSC_ME-4/1", 200, -1, 1);
764 fs->
make<TH1F>(
"hResidualGlobalRCSC_ME-4/1",
"hResidualGlobalRCSC_ME-4/1", 200, -10, 10);
765 hResidualGlobalRPhiCSC_ME[1] =
766 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME-4/2",
"hResidualGlobalRPhiCSC_ME-4/2", 200, -10, 10);
767 hResidualGlobalPhiCSC_ME[1] =
768 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME-4/2",
"hResidualGlobalPhiCSC_ME-4/2", 200, -1, 1);
769 hResidualGlobalThetaCSC_ME[1] =
770 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME-4/2",
"hResidualGlobalThetaCSC_ME-4/2", 200, -1, 1);
771 hResidualGlobalRCSC_ME[1] =
772 fs->
make<TH1F>(
"hResidualGlobalRCSC_ME-4/2",
"hResidualGlobalRCSC_ME-4/2", 200, -10, 10);
773 hResidualGlobalRPhiCSC_ME[2] =
774 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME-3/1",
"hResidualGlobalRPhiCSC_ME-3/1", 200, -10, 10);
775 hResidualGlobalPhiCSC_ME[2] =
776 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME-3/1",
"hResidualGlobalPhiCSC_ME-3/1", 200, -1, 1);
777 hResidualGlobalThetaCSC_ME[2] =
778 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME-3/1",
"hResidualGlobalThetaCSC_ME-3/1", 200, -1, 1);
779 hResidualGlobalRCSC_ME[2] =
780 fs->
make<TH1F>(
"hResidualGlobalRCSC_ME-3/1",
"hResidualGlobalRCSC_ME-3/1", 200, -10, 10);
781 hResidualGlobalRPhiCSC_ME[3] =
782 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME-3/2",
"hResidualGlobalRPhiCSC_ME-3/2", 200, -10, 10);
783 hResidualGlobalPhiCSC_ME[3] =
784 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME-3/2",
"hResidualGlobalPhiCSC_ME-3/2", 200, -1, 1);
785 hResidualGlobalThetaCSC_ME[3] =
786 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME-3/2",
"hResidualGlobalThetaCSC_ME-3/2", 200, -1, 1);
787 hResidualGlobalRCSC_ME[3] =
788 fs->
make<TH1F>(
"hResidualGlobalRCSC_ME-3/2",
"hResidualGlobalRCSC_ME-3/2", 200, -10, 10);
789 hResidualGlobalRPhiCSC_ME[4] =
790 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME-2/1",
"hResidualGlobalRPhiCSC_ME-2/1", 200, -10, 10);
791 hResidualGlobalPhiCSC_ME[4] =
792 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME-2/1",
"hResidualGlobalPhiCSC_ME-2/1", 200, -1, 1);
793 hResidualGlobalThetaCSC_ME[4] =
794 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME-2/1",
"hResidualGlobalThetaCSC_ME-2/1", 200, -1, 1);
795 hResidualGlobalRCSC_ME[4] =
796 fs->
make<TH1F>(
"hResidualGlobalRCSC_ME-2/1",
"hResidualGlobalRCSC_ME-2/1", 200, -10, 10);
797 hResidualGlobalRPhiCSC_ME[5] =
798 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME-2/2",
"hResidualGlobalRPhiCSC_ME-2/2", 200, -10, 10);
799 hResidualGlobalPhiCSC_ME[5] =
800 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME-2/2",
"hResidualGlobalPhiCSC_ME-2/2", 200, -1, 1);
801 hResidualGlobalThetaCSC_ME[5] =
802 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME-2/2",
"hResidualGlobalThetaCSC_ME-2/2", 200, -1, 1);
803 hResidualGlobalRCSC_ME[5] =
804 fs->
make<TH1F>(
"hResidualGlobalRCSC_ME-2/2",
"hResidualGlobalRCSC_ME-2/2", 200, -10, 10);
805 hResidualGlobalRPhiCSC_ME[6] =
806 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME-1/1",
"hResidualGlobalRPhiCSC_ME-1/1", 200, -10, 10);
807 hResidualGlobalPhiCSC_ME[6] =
808 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME-1/1",
"hResidualGlobalPhiCSC_ME-1/1", 200, -1, 1);
809 hResidualGlobalThetaCSC_ME[6] =
810 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME-1/1",
"hResidualGlobalThetaCSC_ME-1/1", 200, -1, 1);
811 hResidualGlobalRCSC_ME[6] =
812 fs->
make<TH1F>(
"hResidualGlobalRCSC_ME-1/1",
"hResidualGlobalRCSC_ME-1/1", 200, -10, 10);
813 hResidualGlobalRPhiCSC_ME[7] =
814 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME-1/2",
"hResidualGlobalRPhiCSC_ME-1/2", 200, -10, 10);
815 hResidualGlobalPhiCSC_ME[7] =
816 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME-1/2",
"hResidualGlobalPhiCSC_ME-1/2", 200, -1, 1);
817 hResidualGlobalThetaCSC_ME[7] =
818 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME-1/2",
"hResidualGlobalThetaCSC_ME-1/2", 200, -1, 1);
819 hResidualGlobalRCSC_ME[7] =
820 fs->
make<TH1F>(
"hResidualGlobalRCSC_ME-1/2",
"hResidualGlobalRCSC_ME-1/2", 200, -10, 10);
821 hResidualGlobalRPhiCSC_ME[8] =
822 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME-1/3",
"hResidualGlobalRPhiCSC_ME-1/3", 200, -10, 10);
823 hResidualGlobalPhiCSC_ME[8] =
824 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME-1/3",
"hResidualGlobalPhiCSC_ME-1/3", 200, -1, 1);
825 hResidualGlobalThetaCSC_ME[8] =
826 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME-1/3",
"hResidualGlobalThetaCSC_ME-1/3", 200, -1, 1);
827 hResidualGlobalRCSC_ME[8] =
828 fs->
make<TH1F>(
"hResidualGlobalRCSC_ME-1/3",
"hResidualGlobalRCSC_ME-1/3", 200, -10, 10);
829 hResidualGlobalRPhiCSC_ME[9] =
830 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME1/1",
"hResidualGlobalRPhiCSC_ME1/1", 200, -10, 10);
831 hResidualGlobalPhiCSC_ME[9] =
832 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME1/1",
"hResidualGlobalPhiCSC_ME1/1", 100, -1, 1);
833 hResidualGlobalThetaCSC_ME[9] =
834 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME1/1",
"hResidualGlobalThetaCSC_ME1/1", 200, -1, 1);
835 hResidualGlobalRCSC_ME[9] =
fs->
make<TH1F>(
"hResidualGlobalRCSC_ME1/1",
"hResidualGlobalRCSC_ME1/1", 200, -10, 10);
836 hResidualGlobalRPhiCSC_ME[10] =
837 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME1/2",
"hResidualGlobalRPhiCSC_ME1/2", 200, -10, 10);
838 hResidualGlobalPhiCSC_ME[10] =
839 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME1/2",
"hResidualGlobalPhiCSC_ME1/2", 200, -1, 1);
840 hResidualGlobalThetaCSC_ME[10] =
841 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME1/2",
"hResidualGlobalThetaCSC_ME1/2", 200, -1, 1);
842 hResidualGlobalRCSC_ME[10] =
fs->
make<TH1F>(
"hResidualGlobalRCSC_ME1/2",
"hResidualGlobalRCSC_ME1/2", 200, -10, 10);
843 hResidualGlobalRPhiCSC_ME[11] =
844 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME1/3",
"hResidualGlobalRPhiCSC_ME1/3", 200, -10, 10);
845 hResidualGlobalPhiCSC_ME[11] =
846 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME1/3",
"hResidualGlobalPhiCSC_ME1/3", 200, -1, 1);
847 hResidualGlobalThetaCSC_ME[11] =
848 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME1/3",
"hResidualGlobalThetaCSC_ME1/3", 200, -1, 1);
849 hResidualGlobalRCSC_ME[11] =
fs->
make<TH1F>(
"hResidualGlobalRCSC_ME1/3",
"hResidualGlobalRCSC_ME1/3", 200, -10, 10);
850 hResidualGlobalRPhiCSC_ME[12] =
851 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME2/1",
"hResidualGlobalRPhiCSC_ME2/1", 200, -10, 10);
852 hResidualGlobalPhiCSC_ME[12] =
853 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME2/1",
"hResidualGlobalPhiCSC_ME2/1", 200, -1, 1);
854 hResidualGlobalThetaCSC_ME[12] =
855 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME2/1",
"hResidualGlobalThetaCSC_ME2/1", 200, -1, 1);
856 hResidualGlobalRCSC_ME[12] =
fs->
make<TH1F>(
"hResidualGlobalRCSC_ME2/1",
"hResidualGlobalRCSC_ME2/1", 200, -10, 10);
857 hResidualGlobalRPhiCSC_ME[13] =
858 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME2/2",
"hResidualGlobalRPhiCSC_ME2/2", 200, -10, 10);
859 hResidualGlobalPhiCSC_ME[13] =
860 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME2/2",
"hResidualGlobalPhiCSC_ME2/2", 200, -1, 1);
861 hResidualGlobalThetaCSC_ME[13] =
862 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME2/2",
"hResidualGlobalThetaCSC_ME2/2", 200, -1, 1);
863 hResidualGlobalRCSC_ME[13] =
fs->
make<TH1F>(
"hResidualGlobalRCSC_ME2/2",
"hResidualGlobalRCSC_ME2/2", 200, -10, 10);
864 hResidualGlobalRPhiCSC_ME[14] =
865 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME3/1",
"hResidualGlobalRPhiCSC_ME3/1", 200, -10, 10);
866 hResidualGlobalPhiCSC_ME[14] =
867 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME3/1",
"hResidualGlobalPhiCSC_ME3/1", 200, -1, 1);
868 hResidualGlobalThetaCSC_ME[14] =
869 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME3/1",
"hResidualGlobalThetaCSC_ME3/1", 200, -1, 1);
870 hResidualGlobalRCSC_ME[14] =
fs->
make<TH1F>(
"hResidualGlobalRCSC_ME3/1",
"hResidualGlobalRCSC_ME3/1", 200, -10, 10);
871 hResidualGlobalRPhiCSC_ME[15] =
872 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME3/2",
"hResidualGlobalRPhiCSC_ME3/2", 200, -10, 10);
873 hResidualGlobalPhiCSC_ME[15] =
874 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME3/2",
"hResidualGlobalPhiCSC_ME3/2", 200, -1, 1);
875 hResidualGlobalThetaCSC_ME[15] =
876 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME3/2",
"hResidualGlobalThetaCSC_ME3/2", 200, -1, 1);
877 hResidualGlobalRCSC_ME[15] =
fs->
make<TH1F>(
"hResidualGlobalRCSC_ME3/2",
"hResidualGlobalRCSC_ME3/2", 200, -10, 10);
878 hResidualGlobalRPhiCSC_ME[16] =
879 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME4/1",
"hResidualGlobalRPhiCSC_ME4/1", 200, -10, 10);
880 hResidualGlobalPhiCSC_ME[16] =
881 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME4/1",
"hResidualGlobalPhiCSC_ME4/1", 200, -1, 1);
882 hResidualGlobalThetaCSC_ME[16] =
883 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME4/1",
"hResidualGlobalThetaCSC_ME4/1", 200, -1, 1);
884 hResidualGlobalRCSC_ME[16] =
fs->
make<TH1F>(
"hResidualGlobalRCSC_ME4/1",
"hResidualGlobalRCSC_ME4/1", 200, -10, 10);
885 hResidualGlobalRPhiCSC_ME[17] =
886 fs->
make<TH1F>(
"hResidualGlobalRPhiCSC_ME4/2",
"hResidualGlobalRPhiCSC_ME4/2", 200, -10, 10);
887 hResidualGlobalPhiCSC_ME[17] =
888 fs->
make<TH1F>(
"hResidualGlobalPhiCSC_ME4/2",
"hResidualGlobalPhiCSC_ME4/2", 200, -1, 1);
889 hResidualGlobalThetaCSC_ME[17] =
890 fs->
make<TH1F>(
"hResidualGlobalThetaCSC_ME4/2",
"hResidualGlobalThetaCSC_ME4/2", 200, -1, 1);
891 hResidualGlobalRCSC_ME[17] =
fs->
make<TH1F>(
"hResidualGlobalRCSC_ME4/2",
"hResidualGlobalRCSC_ME4/2", 200, -10, 10);
912 hprofLocalXDT->GetXaxis()->SetLabelSize(0.025);
913 hprofLocalPhiDT->GetXaxis()->SetLabelSize(0.025);
914 hprofLocalThetaDT->GetXaxis()->SetLabelSize(0.025);
915 hprofLocalYDT->GetXaxis()->SetLabelSize(0.025);
916 hprofLocalXCSC->GetXaxis()->SetLabelSize(0.025);
917 hprofLocalPhiCSC->GetXaxis()->SetLabelSize(0.025);
918 hprofLocalThetaCSC->GetXaxis()->SetLabelSize(0.025);
919 hprofLocalYCSC->GetXaxis()->SetLabelSize(0.025);
920 hprofGlobalRPhiDT->GetXaxis()->SetLabelSize(0.025);
921 hprofGlobalPhiDT->GetXaxis()->SetLabelSize(0.025);
922 hprofGlobalThetaDT->GetXaxis()->SetLabelSize(0.025);
923 hprofGlobalZDT->GetXaxis()->SetLabelSize(0.025);
924 hprofGlobalRPhiCSC->GetXaxis()->SetLabelSize(0.025);
925 hprofGlobalPhiCSC->GetXaxis()->SetLabelSize(0.025);
926 hprofGlobalThetaCSC->GetXaxis()->SetLabelSize(0.025);
927 hprofGlobalRCSC->GetXaxis()->SetLabelSize(0.025);
931 "hprofGlobalPositionDT",
"Global DT position (cm) absolute MEAN residuals;Sector;;cm", 14, 0, 14, 40, 0, 40);
933 "hprofGlobalAngleDT",
"Global DT angle (rad) absolute MEAN residuals;Sector;;rad", 14, 0, 14, 40, 0, 40);
935 "hprofGlobalPositionRmsDT",
"Global DT position (cm) RMS residuals;Sector;;rad", 14, 0, 14, 40, 0, 40);
937 "hprofGlobalAngleRmsDT",
"Global DT angle (rad) RMS residuals;Sector;;rad", 14, 0, 14, 40, 0, 40);
939 "hprofLocalPositionDT",
"Local DT position (cm) absolute MEAN residuals;Sector;;cm", 14, 0, 14, 40, 0, 40);
941 "hprofLocalAngleDT",
"Local DT angle (rad) absolute MEAN residuals;Sector;;rad", 14, 0, 14, 40, 0, 40);
943 "hprofLocalPositionRmsDT",
"Local DT position (cm) RMS residuals;Sector;;rad", 14, 0, 14, 40, 0, 40);
945 fs->
make<TH2F>(
"hprofLocalAngleRmsDT",
"Local DT angle (rad) RMS residuals;Sector;;rad", 14, 0, 14, 40, 0, 40);
948 "hprofGlobalPositionCSC",
"Global CSC position (cm) absolute MEAN residuals;Sector;;cm", 36, 0, 36, 36, 0, 36);
950 "hprofGlobalAngleCSC",
"Global CSC angle (rad) absolute MEAN residuals;Sector;;rad", 36, 0, 36, 36, 0, 36);
952 "hprofGlobalPositionRmsCSC",
"Global CSC position (cm) RMS residuals;Sector;;rad", 36, 0, 36, 36, 0, 36);
954 "hprofGlobalAngleRmsCSC",
"Global CSC angle (rad) RMS residuals;Sector;;rad", 36, 0, 36, 36, 0, 36);
956 "hprofLocalPositionCSC",
"Local CSC position (cm) absolute MEAN residuals;Sector;;cm", 36, 0, 36, 36, 0, 36);
958 "hprofLocalAngleCSC",
"Local CSC angle (rad) absolute MEAN residuals;Sector;;rad", 36, 0, 36, 36, 0, 36);
960 "hprofLocalPositionRmsCSC",
"Local CSC position (cm) RMS residuals;Sector;;rad", 36, 0, 36, 36, 0, 36);
962 "hprofLocalAngleRmsCSC",
"Local CSC angle (rad) RMS residuals;Sector;;rad", 36, 0, 36, 36, 0, 36);
965 Float_t labelSize = 0.025;
967 hprofGlobalAngleDT->GetYaxis()->SetLabelSize(labelSize);
968 hprofGlobalPositionRmsDT->GetYaxis()->SetLabelSize(labelSize);
969 hprofGlobalAngleRmsDT->GetYaxis()->SetLabelSize(labelSize);
970 hprofLocalPositionDT->GetYaxis()->SetLabelSize(labelSize);
971 hprofLocalAngleDT->GetYaxis()->SetLabelSize(labelSize);
972 hprofLocalPositionRmsDT->GetYaxis()->SetLabelSize(labelSize);
973 hprofLocalAngleRmsDT->GetYaxis()->SetLabelSize(labelSize);
975 hprofGlobalPositionCSC->GetYaxis()->SetLabelSize(labelSize);
976 hprofGlobalAngleCSC->GetYaxis()->SetLabelSize(labelSize);
977 hprofGlobalPositionRmsCSC->GetYaxis()->SetLabelSize(labelSize);
978 hprofGlobalAngleRmsCSC->GetYaxis()->SetLabelSize(labelSize);
979 hprofLocalPositionCSC->GetYaxis()->SetLabelSize(labelSize);
980 hprofLocalAngleCSC->GetYaxis()->SetLabelSize(labelSize);
981 hprofLocalPositionRmsCSC->GetYaxis()->SetLabelSize(labelSize);
982 hprofLocalAngleRmsCSC->GetYaxis()->SetLabelSize(labelSize);
985 for (
int i = 1;
i < 15;
i++) {
986 snprintf(binLabel,
sizeof(binLabel),
"Sec-%d",
i);
988 hprofGlobalAngleDT->GetXaxis()->SetBinLabel(
i, binLabel);
989 hprofGlobalPositionRmsDT->GetXaxis()->SetBinLabel(
i, binLabel);
990 hprofGlobalAngleRmsDT->GetXaxis()->SetBinLabel(
i, binLabel);
991 hprofLocalPositionDT->GetXaxis()->SetBinLabel(
i, binLabel);
992 hprofLocalAngleDT->GetXaxis()->SetBinLabel(
i, binLabel);
993 hprofLocalPositionRmsDT->GetXaxis()->SetBinLabel(
i, binLabel);
994 hprofLocalAngleRmsDT->GetXaxis()->SetBinLabel(
i, binLabel);
997 for (
int i = 1;
i < 37;
i++) {
998 snprintf(binLabel,
sizeof(binLabel),
"Ch-%d",
i);
999 hprofGlobalPositionCSC->GetXaxis()->SetBinLabel(
i, binLabel);
1000 hprofGlobalAngleCSC->GetXaxis()->SetBinLabel(
i, binLabel);
1001 hprofGlobalPositionRmsCSC->GetXaxis()->SetBinLabel(
i, binLabel);
1002 hprofGlobalAngleRmsCSC->GetXaxis()->SetBinLabel(
i, binLabel);
1003 hprofLocalPositionCSC->GetXaxis()->SetBinLabel(
i, binLabel);
1004 hprofLocalAngleCSC->GetXaxis()->SetBinLabel(
i, binLabel);
1005 hprofLocalPositionRmsCSC->GetXaxis()->SetBinLabel(
i, binLabel);
1006 hprofLocalAngleRmsCSC->GetXaxis()->SetBinLabel(
i, binLabel);
1012 edm::LogInfo(
"MuonAlignmentAnalyzer") <<
"----------------- " << std::endl << std::endl;
1050 if (nameHistoLocalX.Contains(
"MB"))
1054 sscanf(nameHistoLocalX,
"ResidualLocalX_W%dMB%1dS%d", &wheel, &station, §or);
1056 Int_t nstation = station - 1;
1057 Int_t nwheel = wheel + 2;
1062 Int_t xbin = sector + 14 * nstation + 14 * 4 * nwheel;
1064 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%dS%d", wheel, station, sector);
1072 Int_t ybin = 1 + nwheel * 8 + nstation * 2;
1074 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%d_LocalX", wheel, station);
1080 if (nameHistoLocalX.Contains(
"ME"))
1084 sscanf(nameHistoLocalX,
"ResidualLocalX_ME%dR%1dC%d", &station, &ring, &chamber);
1089 Int_t xbin =
abs(station) * 2 +
ring;
1090 if (
abs(station) == 1)
1099 xbin = 18 * (((Int_t)(xbin / 3)) * 2 + (Int_t)(xbin / 2)) + chamber;
1101 xbin = 108 + chamber;
1103 xbin = 126 + (xbin - 6) * 36 + chamber;
1105 xbin = 414 + 18 * (((Int_t)(xbin - 13) / 3) * 2 + ((Int_t)(xbin - 13) / 2)) + chamber;
1107 xbin = 522 + chamber;
1109 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%dC%d", station, ring, chamber);
1117 Int_t ybin =
abs(station) * 2 +
ring;
1118 if (
abs(station) == 1)
1124 ybin = 2 * ybin - 1;
1126 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%d_LocalX", station, ring);
1132 if (nameHistoLocalTheta.Contains(
"MB"))
1136 sscanf(nameHistoLocalTheta,
"ResidualLocalTheta_W%dMB%1dS%d", &wheel, &station, §or);
1139 Int_t nstation = station - 1;
1140 Int_t nwheel = wheel + 2;
1145 Int_t xbin = sector + 14 * nstation + 14 * 4 * nwheel;
1147 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%dS%d", wheel, station, sector);
1155 Int_t ybin = 2 + nwheel * 8 + nstation * 2;
1157 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%d_LocalTheta", wheel, station);
1164 if (nameHistoLocalPhi.Contains(
"MB"))
1168 sscanf(nameHistoLocalPhi,
"ResidualLocalPhi_W%dMB%1dS%d", &wheel, &station, §or);
1170 Int_t nstation = station - 1;
1171 Int_t nwheel = wheel + 2;
1176 Int_t xbin = sector + 14 * nstation + 14 * 4 * nwheel;
1178 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%dS%d", wheel, station, sector);
1186 Int_t ybin = 1 + nwheel * 8 + nstation * 2;
1188 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%d_LocalPhi", wheel, station);
1194 if (nameHistoLocalPhi.Contains(
"ME"))
1198 sscanf(nameHistoLocalPhi,
"ResidualLocalPhi_ME%dR%1dC%d", &station, &ring, &chamber);
1203 Int_t xbin =
abs(station) * 2 +
ring;
1204 if (
abs(station) == 1)
1213 xbin = 18 * (((Int_t)(xbin / 3)) * 2 + (Int_t)(xbin / 2)) + chamber;
1215 xbin = 108 + chamber;
1217 xbin = 126 + (xbin - 6) * 36 + chamber;
1219 xbin = 414 + 18 * (((Int_t)(xbin - 13) / 3) * 2 + ((Int_t)(xbin - 13) / 2)) + chamber;
1221 xbin = 522 + chamber;
1223 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%dC%d", station, ring, chamber);
1231 Int_t ybin =
abs(station) * 2 +
ring;
1232 if (
abs(station) == 1)
1238 ybin = 2 * ybin - 1;
1240 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%d_LocalPhi", station, ring);
1246 if (nameHistoLocalTheta.Contains(
"ME"))
1250 sscanf(nameHistoLocalTheta,
"ResidualLocalTheta_ME%dR%1dC%d", &station, &ring, &chamber);
1255 Int_t xbin =
abs(station) * 2 +
ring;
1256 if (
abs(station) == 1)
1265 xbin = 18 * (((Int_t)(xbin / 3)) * 2 + (Int_t)(xbin / 2)) + chamber;
1267 xbin = 108 + chamber;
1269 xbin = 126 + (xbin - 6) * 36 + chamber;
1271 xbin = 414 + 18 * (((Int_t)(xbin - 13) / 3) * 2 + ((Int_t)(xbin - 13) / 2)) + chamber;
1273 xbin = 522 + chamber;
1275 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%dC%d", station, ring, chamber);
1283 Int_t ybin =
abs(station) * 2 +
ring;
1284 if (
abs(station) == 1)
1292 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%d_LocalTheta", station, ring);
1298 if (nameHistoLocalY.Contains(
"MB"))
1302 sscanf(nameHistoLocalY,
"ResidualLocalY_W%dMB%1dS%d", &wheel, &station, §or);
1305 Int_t nstation = station - 1;
1306 Int_t nwheel = wheel + 2;
1311 Int_t xbin = sector + 14 * nstation + 14 * 4 * nwheel;
1313 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%dS%d", wheel, station, sector);
1321 Int_t ybin = 2 + nwheel * 8 + nstation * 2;
1323 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%d_LocalY", wheel, station);
1330 if (nameHistoLocalY.Contains(
"ME"))
1334 sscanf(nameHistoLocalY,
"ResidualLocalY_ME%dR%1dC%d", &station, &ring, &chamber);
1339 Int_t xbin =
abs(station) * 2 +
ring;
1340 if (
abs(station) == 1)
1349 xbin = 18 * (((Int_t)(xbin / 3)) * 2 + (Int_t)(xbin / 2)) + chamber;
1351 xbin = 108 + chamber;
1353 xbin = 126 + (xbin - 6) * 36 + chamber;
1355 xbin = 414 + 18 * (((Int_t)(xbin - 13) / 3) * 2 + ((Int_t)(xbin - 13) / 2)) + chamber;
1357 xbin = 522 + chamber;
1359 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%dC%d", station, ring, chamber);
1367 Int_t ybin =
abs(station) * 2 +
ring;
1368 if (
abs(station) == 1)
1376 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%d_LocalY", station, ring);
1382 if (nameHistoGlobalRPhi.Contains(
"MB"))
1386 sscanf(nameHistoGlobalRPhi,
"ResidualGlobalRPhi_W%dMB%1dS%d", &wheel, &station, §or);
1388 Int_t nstation = station - 1;
1389 Int_t nwheel = wheel + 2;
1394 Int_t xbin = sector + 14 * nstation + 14 * 4 * nwheel;
1396 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%dS%d", wheel, station, sector);
1404 Int_t ybin = 1 + nwheel * 8 + nstation * 2;
1406 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%d_GlobalRPhi", wheel, station);
1412 if (nameHistoGlobalRPhi.Contains(
"ME"))
1416 sscanf(nameHistoGlobalRPhi,
"ResidualGlobalRPhi_ME%dR%1dC%d", &station, &ring, &chamber);
1421 Int_t xbin =
abs(station) * 2 +
ring;
1422 if (
abs(station) == 1)
1431 xbin = 18 * (((Int_t)(xbin / 3)) * 2 + (Int_t)(xbin / 2)) + chamber;
1433 xbin = 108 + chamber;
1435 xbin = 126 + (xbin - 6) * 36 + chamber;
1437 xbin = 414 + 18 * (((Int_t)(xbin - 13) / 3) * 2 + ((Int_t)(xbin - 13) / 2)) + chamber;
1439 xbin = 522 + chamber;
1441 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%dC%d", station, ring, chamber);
1449 Int_t ybin =
abs(station) * 2 +
ring;
1450 if (
abs(station) == 1)
1456 ybin = 2 * ybin - 1;
1458 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%d_GlobalRPhi", station, ring);
1464 if (nameHistoGlobalTheta.Contains(
"MB"))
1468 sscanf(nameHistoGlobalTheta,
"ResidualGlobalTheta_W%dMB%1dS%d", &wheel, &station, §or);
1471 Int_t nstation = station - 1;
1472 Int_t nwheel = wheel + 2;
1477 Int_t xbin = sector + 14 * nstation + 14 * 4 * nwheel;
1479 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%dS%d", wheel, station, sector);
1487 Int_t ybin = 2 + nwheel * 8 + nstation * 2;
1489 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%d_GlobalTheta", wheel, station);
1496 if (nameHistoGlobalPhi.Contains(
"MB"))
1500 sscanf(nameHistoGlobalPhi,
"ResidualGlobalPhi_W%dMB%1dS%d", &wheel, &station, §or);
1502 Int_t nstation = station - 1;
1503 Int_t nwheel = wheel + 2;
1508 Int_t xbin = sector + 14 * nstation + 14 * 4 * nwheel;
1510 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%dS%d", wheel, station, sector);
1518 Int_t ybin = 1 + nwheel * 8 + nstation * 2;
1520 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%d_GlobalPhi", wheel, station);
1526 if (nameHistoGlobalPhi.Contains(
"ME"))
1530 sscanf(nameHistoGlobalPhi,
"ResidualGlobalPhi_ME%dR%1dC%d", &station, &ring, &chamber);
1535 Int_t xbin =
abs(station) * 2 +
ring;
1536 if (
abs(station) == 1)
1545 xbin = 18 * (((Int_t)(xbin / 3)) * 2 + (Int_t)(xbin / 2)) + chamber;
1547 xbin = 108 + chamber;
1549 xbin = 126 + (xbin - 6) * 36 + chamber;
1551 xbin = 414 + 18 * (((Int_t)(xbin - 13) / 3) * 2 + ((Int_t)(xbin - 13) / 2)) + chamber;
1553 xbin = 522 + chamber;
1555 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%dC%d", station, ring, chamber);
1563 Int_t ybin =
abs(station) * 2 +
ring;
1564 if (
abs(station) == 1)
1570 ybin = 2 * ybin - 1;
1572 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%d_GlobalPhi", station, ring);
1578 if (nameHistoGlobalTheta.Contains(
"ME"))
1582 sscanf(nameHistoGlobalTheta,
"ResidualGlobalTheta_ME%dR%1dC%d", &station, &ring, &chamber);
1587 Int_t xbin =
abs(station) * 2 +
ring;
1588 if (
abs(station) == 1)
1597 xbin = 18 * (((Int_t)(xbin / 3)) * 2 + (Int_t)(xbin / 2)) + chamber;
1599 xbin = 108 + chamber;
1601 xbin = 126 + (xbin - 6) * 36 + chamber;
1603 xbin = 414 + 18 * (((Int_t)(xbin - 13) / 3) * 2 + ((Int_t)(xbin - 13) / 2)) + chamber;
1605 xbin = 522 + chamber;
1607 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%dC%d", station, ring, chamber);
1615 Int_t ybin =
abs(station) * 2 +
ring;
1616 if (
abs(station) == 1)
1624 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%d_GlobalTheta", station, ring);
1630 if (nameHistoGlobalRZ.Contains(
"MB"))
1634 sscanf(nameHistoGlobalRZ,
"ResidualGlobalZ_W%dMB%1dS%d", &wheel, &station, §or);
1637 Int_t nstation = station - 1;
1638 Int_t nwheel = wheel + 2;
1643 Int_t xbin = sector + 14 * nstation + 14 * 4 * nwheel;
1645 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%dS%d", wheel, station, sector);
1654 Int_t ybin = 2 + nwheel * 8 + nstation * 2;
1656 snprintf(binLabel,
sizeof(binLabel),
"MB%d/%d_GlobalZ", wheel, station);
1663 if (nameHistoGlobalRZ.Contains(
"ME"))
1667 sscanf(nameHistoGlobalRZ,
"ResidualGlobalR_ME%dR%1dC%d", &station, &ring, &chamber);
1672 Int_t xbin =
abs(station) * 2 +
ring;
1673 if (
abs(station) == 1)
1682 xbin = 18 * (((Int_t)(xbin / 3)) * 2 + (Int_t)(xbin / 2)) + chamber;
1684 xbin = 108 + chamber;
1686 xbin = 126 + (xbin - 6) * 36 + chamber;
1688 xbin = 414 + 18 * (((Int_t)(xbin - 13) / 3) * 2 + ((Int_t)(xbin - 13) / 2)) + chamber;
1690 xbin = 522 + chamber;
1692 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%dC%d", station, ring, chamber);
1700 Int_t ybin =
abs(station) * 2 +
ring;
1701 if (
abs(station) == 1)
1709 snprintf(binLabel,
sizeof(binLabel),
"ME%d/%d_GlobalR", station, ring);
1722 std::vector<double> simPar[4];
1729 int i = 0, ie = 0,
ib = 0;
1733 event.getByLabel(
"g4SimHits", simTracks);
1735 edm::SimTrackContainer::const_iterator
simTrack;
1737 for (simTrack = simTracks->begin(); simTrack != simTracks->end(); ++
simTrack) {
1738 if (
abs((*simTrack).type()) == 13) {
1740 simPt = (*simTrack).momentum().Pt();
1741 simEta = (*simTrack).momentum().eta();
1742 simPhi = (*simTrack).momentum().phi();
1745 if (fabs(simEta) < 1.04) {
1756 simPar[0].push_back(simPt);
1757 simPar[1].push_back(simEta);
1758 simPar[2].push_back(simPhi);
1759 simPar[3].push_back((*simTrack).charge());
1763 p1 =
GlobalVector((*simTrack).momentum().x(), (*simTrack).momentum().y(), (*simTrack).momentum().z());
1765 p2 =
GlobalVector((*simTrack).momentum().x(), (*simTrack).momentum().y(), (*simTrack).momentum().z());
1773 TLorentzVector mu1(p1.
x(), p1.
y(), p1.
z(), p1.
mag());
1774 TLorentzVector mu2(p2.
x(), p2.
y(), p2.
z(), p2.
mag());
1775 TLorentzVector pair = mu1 + mu2;
1776 double Minv = pair.M();
1778 if (fabs(p1.
eta()) < 1.04 && fabs(p2.
eta()) < 1.04)
1780 else if (fabs(p1.
eta()) >= 1.04 && fabs(p2.
eta()) >= 1.04)
1790 double SArecPt = 0.;
1793 int i = 0, ie = 0,
ib = 0;
1801 reco::TrackCollection::const_iterator staTrack;
1803 for (staTrack = staTracks->begin(); staTrack != staTracks->end(); ++staTrack) {
1806 SArecPt = (*staTrack).pt();
1807 SAeta = (*staTrack).eta();
1808 SAphi = (*staTrack).phi();
1809 ich = (*staTrack).charge();
1813 hSAChi2->Fill((*staTrack).chi2());
1814 hSANhits->Fill((*staTrack).numberOfValidHits());
1815 if (fabs(SAeta) < 1.04) {
1829 p1 =
GlobalVector((*staTrack).momentum().x(), (*staTrack).momentum().y(), (*staTrack).momentum().z());
1831 p2 =
GlobalVector((*staTrack).momentum().x(), (*staTrack).momentum().y(), (*staTrack).momentum().z());
1834 double candDeltaR = -999.0, dR;
1836 if (!simPar[0].
empty()) {
1837 for (
unsigned int iSim = 0; iSim < simPar[0].size(); iSim++) {
1838 dR =
deltaR(SAeta, SAphi, simPar[1][iSim], simPar[2][iSim]);
1839 if (candDeltaR < 0 || dR < candDeltaR) {
1846 double simPt = simPar[0][iCand];
1847 hSAPTres->Fill((SArecPt - simPt) / simPt);
1848 if (fabs(SAeta) < 1.04)
1857 double ptInvRes = (ich / SArecPt - simPar[3][iCand] / simPt) / (simPar[3][iCand] / simPt);
1874 TLorentzVector mu1(p1.
x(), p1.
y(), p1.
z(), p1.
mag());
1875 TLorentzVector mu2(p2.
x(), p2.
y(), p2.
z(), p2.
mag());
1876 TLorentzVector pair = mu1 + mu2;
1877 double Minv = pair.M();
1879 if (fabs(p1.
eta()) < 1.04 && fabs(p2.
eta()) < 1.04)
1881 else if (fabs(p1.
eta()) >= 1.04 && fabs(p2.
eta()) >= 1.04)
1901 int i = 0, ie = 0,
ib = 0;
1903 reco::TrackCollection::const_iterator glbTrack;
1905 for (glbTrack = glbTracks->begin(); glbTrack != glbTracks->end(); ++glbTrack) {
1908 GBrecPt = (*glbTrack).pt();
1909 GBeta = (*glbTrack).eta();
1910 GBphi = (*glbTrack).phi();
1911 ich = (*glbTrack).charge();
1915 hGBChi2->Fill((*glbTrack).chi2());
1916 hGBNhits->Fill((*glbTrack).numberOfValidHits());
1917 if (fabs(GBeta) < 1.04) {
1931 p1 =
GlobalVector((*glbTrack).momentum().x(), (*glbTrack).momentum().y(), (*glbTrack).momentum().z());
1933 p2 =
GlobalVector((*glbTrack).momentum().x(), (*glbTrack).momentum().y(), (*glbTrack).momentum().z());
1936 double candDeltaR = -999.0, dR;
1938 if (!simPar[0].
empty()) {
1939 for (
unsigned int iSim = 0; iSim < simPar[0].size(); iSim++) {
1940 dR =
deltaR(GBeta, GBphi, simPar[1][iSim], simPar[2][iSim]);
1941 if (candDeltaR < 0 || dR < candDeltaR) {
1948 double simPt = simPar[0][iCand];
1950 hGBPTres->Fill((GBrecPt - simPt) / simPt);
1951 if (fabs(GBeta) < 1.04)
1961 double ptInvRes = (ich / GBrecPt - simPar[3][iCand] / simPt) / (simPar[3][iCand] / simPt);
1978 TLorentzVector mu1(p1.
x(), p1.
y(), p1.
z(), p1.
mag());
1979 TLorentzVector mu2(p2.
x(), p2.
y(), p2.
z(), p2.
mag());
1980 TLorentzVector pair = mu1 + mu2;
1981 double Minv = pair.M();
1983 if (fabs(p1.
eta()) < 1.04 && fabs(p2.
eta()) < 1.04)
1985 else if (fabs(p1.
eta()) >= 1.04 && fabs(p2.
eta()) >= 1.04)
2032 reco::TrackCollection::const_iterator staTrack;
2033 for (staTrack = staTracks->begin(); staTrack != staTracks->end(); ++staTrack) {
2034 int countPoints = 0;
2040 *staTrack, all4DSegmentsDT, all4DSegmentsCSC, &indexCollectionDT, &indexCollectionCSC, theTrackingGeometry);
2052 for (RecHitVector::iterator rechit = my4DTrack.begin(); rechit != my4DTrack.end(); ++rechit) {
2053 const GeomDet *geomDet = theTrackingGeometry->idToDet((*rechit)->geographicalId());
2058 if (pDest !=
nullptr || cDest !=
nullptr) {
2071 const long rawId = (*rechit)->geographicalId().rawId();
2073 bool newDetector =
true;
2079 if (*myIds == rawId) {
2080 newDetector =
false;
2087 int wheel = 0,
station = 0, sector = 0;
2090 double residualGlobalRPhi = 0, residualGlobalPhi = 0, residualGlobalR = 0, residualGlobalTheta = 0,
2091 residualGlobalZ = 0;
2092 double residualLocalX = 0, residualLocalPhi = 0, residualLocalY = 0, residualLocalTheta = 0;
2098 wheel = myChamber.
wheel();
2100 sector = myChamber.
sector();
2103 residualGlobalRPhi =
2109 residualLocalX = (*rechit)->localPosition().x() - destiny.
localPosition().
x();
2116 residualLocalPhi = atan2(((
RecSegment *)(*rechit))->localDirection().
z(),
2117 ((
RecSegment *)(*rechit))->localDirection().
x()) -
2131 residualLocalY = (*rechit)->localPosition().y() - destiny.
localPosition().
y();
2138 residualLocalTheta = atan2(((
RecSegment *)(*rechit))->localDirection().
z(),
2139 ((
RecSegment *)(*rechit))->localDirection().
y()) -
2148 int index = wheel + 2;
2160 index = wheel * 4 +
station + 7;
2172 }
else if (det == 2) {
2174 endcap = myChamber.
endcap();
2179 chamber = myChamber.
chamber();
2182 residualGlobalRPhi =
2188 residualLocalX = (*rechit)->localPosition().x() - destiny.
localPosition().
x();
2195 residualLocalY = (*rechit)->localPosition().y() - destiny.
localPosition().
y();
2202 residualLocalPhi = atan2(((
RecSegment *)(*rechit))->localDirection().
y(),
2203 ((
RecSegment *)(*rechit))->localDirection().
x()) -
2211 residualLocalTheta = atan2(((
RecSegment *)(*rechit))->localDirection().
y(),
2212 ((
RecSegment *)(*rechit))->localDirection().
z()) -
2245 residualGlobalRPhi = 0, residualGlobalPhi = 0, residualGlobalR = 0, residualGlobalTheta = 0,
2246 residualGlobalZ = 0;
2247 residualLocalX = 0, residualLocalPhi = 0, residualLocalY = 0, residualLocalTheta = 0;
2255 double rangeX = 3.0, rangeY = 5.;
2279 char nameOfHistoLocalX[50];
2280 char nameOfHistoLocalTheta[50];
2281 char nameOfHistoLocalY[50];
2282 char nameOfHistoLocalPhi[50];
2283 char nameOfHistoGlobalRPhi[50];
2284 char nameOfHistoGlobalTheta[50];
2285 char nameOfHistoGlobalR[50];
2286 char nameOfHistoGlobalPhi[50];
2287 char nameOfHistoGlobalZ[50];
2290 snprintf(nameOfHistoLocalX,
2291 sizeof(nameOfHistoLocalX),
2292 "ResidualLocalX_W%dMB%1dS%1d",
2296 snprintf(nameOfHistoLocalPhi,
2297 sizeof(nameOfHistoLocalPhi),
2298 "ResidualLocalPhi_W%dMB%1dS%1d",
2302 snprintf(nameOfHistoGlobalRPhi,
2303 sizeof(nameOfHistoGlobalRPhi),
2304 "ResidualGlobalRPhi_W%dMB%1dS%1d",
2308 snprintf(nameOfHistoGlobalPhi,
2309 sizeof(nameOfHistoGlobalPhi),
2310 "ResidualGlobalPhi_W%dMB%1dS%1d",
2314 snprintf(nameOfHistoLocalTheta,
2315 sizeof(nameOfHistoLocalTheta),
2316 "ResidualLocalTheta_W%dMB%1dS%1d",
2320 snprintf(nameOfHistoLocalY,
2321 sizeof(nameOfHistoLocalY),
2322 "ResidualLocalY_W%dMB%1dS%1d",
2326 TH1F *histoLocalY =
fs->
make<TH1F>(nameOfHistoLocalY, nameOfHistoLocalY,
nbins, -rangeY, rangeY);
2328 snprintf(nameOfHistoGlobalTheta,
2329 sizeof(nameOfHistoGlobalTheta),
2330 "ResidualGlobalTheta_W%dMB%1dS%1d",
2334 snprintf(nameOfHistoGlobalZ,
2335 sizeof(nameOfHistoGlobalZ),
2336 "ResidualGlobalZ_W%dMB%1dS%1d",
2340 TH1F *histoGlobalZ =
fs->
make<TH1F>(nameOfHistoGlobalZ, nameOfHistoGlobalZ,
nbins, -rangeY, rangeY);
2343 }
else if (det == 2) {
2344 snprintf(nameOfHistoLocalX,
2345 sizeof(nameOfHistoLocalX),
2346 "ResidualLocalX_ME%dR%1dC%1d",
2350 snprintf(nameOfHistoLocalPhi,
2351 sizeof(nameOfHistoLocalPhi),
2352 "ResidualLocalPhi_ME%dR%1dC%1d",
2356 snprintf(nameOfHistoLocalTheta,
2357 sizeof(nameOfHistoLocalTheta),
2358 "ResidualLocalTheta_ME%dR%1dC%1d",
2362 snprintf(nameOfHistoLocalY,
2363 sizeof(nameOfHistoLocalY),
2364 "ResidualLocalY_ME%dR%1dC%1d",
2368 TH1F *histoLocalY =
fs->
make<TH1F>(nameOfHistoLocalY, nameOfHistoLocalY,
nbins, -rangeY, rangeY);
2370 snprintf(nameOfHistoGlobalRPhi,
2371 sizeof(nameOfHistoGlobalRPhi),
2372 "ResidualGlobalRPhi_ME%dR%1dC%1d",
2376 snprintf(nameOfHistoGlobalPhi,
2377 sizeof(nameOfHistoGlobalPhi),
2378 "ResidualGlobalPhi_ME%dR%1dC%1d",
2382 snprintf(nameOfHistoGlobalTheta,
2383 sizeof(nameOfHistoGlobalTheta),
2384 "ResidualGlobalTheta_ME%dR%1dC%1d",
2388 snprintf(nameOfHistoGlobalR,
2389 sizeof(nameOfHistoGlobalR),
2390 "ResidualGlobalR_ME%dR%1dC%1d",
2394 TH1F *histoGlobalR =
fs->
make<TH1F>(nameOfHistoGlobalR, nameOfHistoGlobalR,
nbins, -rangeY, rangeY);
2399 TH1F *histoLocalX =
fs->
make<TH1F>(nameOfHistoLocalX, nameOfHistoLocalX,
nbins, -rangeX, rangeX);
2400 TH1F *histoGlobalRPhi =
2401 fs->
make<TH1F>(nameOfHistoGlobalRPhi, nameOfHistoGlobalRPhi,
nbins, -rangeX, rangeX);
2402 TH1F *histoLocalPhi =
2404 TH1F *histoGlobalPhi =
2406 TH1F *histoGlobalTheta =
fs->
make<TH1F>(
2408 TH1F *histoLocalTheta =
fs->
make<TH1F>(
2411 histoLocalX->Fill(residualLocalX);
2412 histoLocalPhi->Fill(residualLocalPhi);
2413 histoLocalTheta->Fill(residualLocalTheta);
2414 histoGlobalRPhi->Fill(residualGlobalRPhi);
2415 histoGlobalPhi->Fill(residualGlobalPhi);
2416 histoGlobalTheta->Fill(residualGlobalTheta);
2437 }
else if (det == 2) {
2445 innerTSOS = destiny;
2448 edm::LogError(
"MuonAlignmentAnalyzer") <<
" Error!! Exception in propagator catched" << std::endl;
2475 std::vector<int> positionDT;
2476 std::vector<int> positionCSC;
2490 int NumberOfDTSegment = 0;
2492 for (segmentDT = all4DSegmentsDT->begin(); segmentDT != all4DSegmentsDT->end(); ++segmentDT) {
2494 bool isNewChamber =
true;
2497 for (std::vector<int>::iterator positionIt = positionDT.begin(); positionIt != positionDT.end(); positionIt++) {
2499 if (NumberOfDTSegment == *positionIt)
2500 isNewChamber =
false;
2504 for (
std::vector<std::vector<int> >::iterator collect = indexCollectionDT->begin();
2505 collect != indexCollectionDT->end();
2508 for (std::vector<int>::iterator positionIt = (*collect).begin(); positionIt != (*collect).end();
2511 if (NumberOfDTSegment == *positionIt)
2512 isNewChamber =
false;
2518 DTChamberId myChamber((*segmentDT).geographicalId().rawId());
2520 if (myLayer.wheel() == myChamber.wheel() && myLayer.station() == myChamber.station() &&
2521 myLayer.sector() == myChamber.sector()) {
2523 positionDT.push_back(NumberOfDTSegment);
2527 NumberOfDTSegment++;
2534 int NumberOfCSCSegment = 0;
2536 for (segmentCSC = all4DSegmentsCSC->begin(); segmentCSC != all4DSegmentsCSC->end(); segmentCSC++) {
2538 bool isNewChamber =
true;
2541 for (std::vector<int>::iterator positionIt = positionCSC.begin(); positionIt != positionCSC.end();
2544 if (NumberOfCSCSegment == *positionIt)
2545 isNewChamber =
false;
2548 for (
std::vector<std::vector<int> >::iterator collect = indexCollectionCSC->begin();
2549 collect != indexCollectionCSC->end();
2552 for (std::vector<int>::iterator positionIt = (*collect).begin(); positionIt != (*collect).end();
2555 if (NumberOfCSCSegment == *positionIt)
2556 isNewChamber =
false;
2561 CSCDetId myChamber((*segmentCSC).geographicalId().rawId());
2563 if (myLayer.chamberId() == myChamber.chamberId()) {
2565 positionCSC.push_back(NumberOfCSCSegment);
2569 NumberOfCSCSegment++;
2574 indexCollectionDT->push_back(positionDT);
2575 indexCollectionCSC->push_back(positionCSC);
double resLocalYRangeStation3
std::vector< TH1F * > hResidualGlobalRPhiDT_MB
static const std::string kSharedResource
T getUntrackedParameter(std::string const &, T const &) const
std::vector< TH1F * > hResidualGlobalZDT_W
TH2F * hprofGlobalAngleDT
std::vector< TH1F * > hResidualLocalXCSC_ME
std::vector< TH1F * > hResidualLocalThetaDT_MB
std::vector< std::vector< int > > intDVector
edm::InputTag theRecHits4DTagCSC
TH2F * hprofGlobalAngleCSC
TH2F * hprofGlobalPositionRmsDT
std::vector< TH1F * > unitsGlobalPhi
TH1F * hResidualLocalXCSC
TH1F * hResidualGlobalThetaDT
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
Propagator * thePropagator
RecHitVector doMatching(const reco::Track &, edm::Handle< DTRecSegment4DCollection > &, edm::Handle< CSCSegmentCollection > &, intDVector *, intDVector *, edm::ESHandle< GlobalTrackingGeometry > &)
edm::InputTag theSTAMuonTag
double resLocalYRangeStation1
#define DEFINE_FWK_MODULE(type)
std::vector< TH1F * > hResidualLocalYCSC_ME
LocalVector localDirection() const
LocalPoint localPosition() const
std::vector< TH1F * > hResidualLocalPhiCSC_ME
TH2F * hprofLocalPositionRmsDT
edm::InputTag theGLBMuonTag
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
TH1F * hResidualLocalThetaCSC
std::vector< TH1F * > hResidualGlobalRPhiCSC_ME
constexpr uint32_t rawId() const
get the raw id
std::vector< TH1F * > hResidualLocalPhiDT_MB
edm::Service< TFileService > fs
TH2F * hprofLocalPositionDT
T * make(const Args &...args) const
make new ROOT object
unsigned int min1DTrackRecHitSize
std::vector< TH1F * > unitsGlobalRPhi
std::vector< TH1F * > hResidualLocalThetaDT_W
std::vector< TH1F * > hResidualGlobalZDT_MB
Log< level::Error, false > LogError
TH2F * hprofLocalPositionRmsCSC
TH2F * hprofLocalAngleCSC
double resLocalYRangeStation2
std::vector< TH1F * > unitsLocalX
const Plane & surface() const
The nominal surface of the GeomDet.
const edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > trackingGeometryToken_
edm::InputTag theRecHits4DTagDT
std::vector< TH1F * > hResidualGlobalThetaDT_W
TH1F * hResidualLocalThetaDT
TrajectoryStateOnSurface innermostMeasurementState() const
std::vector< TH1F * > unitsLocalTheta
double resLocalYRangeStation4
bool getData(T &iHolder) const
C::const_iterator const_iterator
constant access iterator type
TH1F * hResidualGlobalThetaCSC
TH1F * hResidualGlobalZDT
std::vector< TH1F * > hResidualGlobalRPhiDT_W
std::vector< TH1F * > hResidualLocalThetaCSC_ME
TH2F * hprofLocalPositionCSC
tuple SteppingHelixPropagator
TH1F * hResidualLocalPhiDT
TH1F * hprofGlobalThetaCSC
double resLocalXRangeStation4
FreeTrajectoryState const * freeState(bool withErrors=true) const
std::vector< TH1F * > unitsGlobalRZ
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
Abs< T >::type abs(const T &t)
TH1F * hResidualGlobalRPhiDT
unsigned short numberOfValidHits() const
number of valid hits found
T const * get() const
Returns C++ pointer to the item.
TH1F * hprofGlobalRPhiCSC
double resLocalXRangeStation3
TH1F * hResidualGlobalRCSC
std::vector< TH1F * > hResidualGlobalPhiCSC_ME
double resLocalXRangeStation2
TH1F * hResidualLocalYCSC
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
std::vector< TH1F * > hResidualGlobalPhiDT_W
std::vector< TH1F * > unitsLocalPhi
Log< level::Info, false > LogInfo
GlobalPoint position() const
TH2F * hprofLocalAngleRmsCSC
TH2F * hprofLocalAngleRmsDT
TH1F * hResidualGlobalPhiDT
MuonAlignmentAnalyzer(const edm::ParameterSet &pset)
Constructor.
TH2F * hprofGlobalAngleRmsDT
std::vector< TH1F * > hResidualGlobalThetaDT_MB
TH2F * hprofGlobalPositionRmsCSC
std::vector< TH1F * > unitsLocalY
TH1F * hprofLocalThetaCSC
T getParameter(std::string const &) const
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
std::vector< TH1F * > hResidualLocalPhiDT_W
std::vector< TH1F * > hResidualGlobalPhiDT_MB
TH2F * hprofGlobalAngleRmsCSC
std::vector< TH1F * > hResidualGlobalThetaCSC_ME
T perp() const
Magnitude of transverse component.
~MuonAlignmentAnalyzer() override
Destructor.
TH1F * hResidualLocalPhiCSC
static std::atomic< unsigned int > counter
static int position[264][3]
TrackingRecHitRef recHit(size_t i) const
Get i-th hit on the track.
TH1F * hResidualGlobalRPhiCSC
std::vector< TH1F * > hResidualLocalXDT_MB
TH1F * hResidualGlobalPhiCSC
std::vector< TrackingRecHit * > RecHitVector
unsigned int min4DTrackSegmentSize
DetId geographicalId() const
std::vector< TH1F * > hResidualGlobalRCSC_ME
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
int station() const
Return the station number.
std::vector< TH1F * > hResidualLocalYDT_W
virtual SubDetector subDetector() const
Which subdetector.
int wheel() const
Return the wheel number.
TH2F * hprofGlobalPositionCSC
std::vector< long > detectorCollection
std::vector< TH1F * > unitsGlobalTheta
std::vector< TH1F * > hResidualLocalXDT_W
TH1F * hprofGlobalThetaDT
std::vector< TH1F * > hResidualLocalYDT_MB
Global3DVector GlobalVector
GlobalVector globalDirection() const
TH2F * hprofGlobalPositionDT
double resLocalXRangeStation1