2 #pragma cling optimize(0)
8 TCanvas *
Error_Viz =
new TCanvas(
"Error_Viz",
"Error_Viz",20,42,1248,598);
10 Error_Viz->Range(0,0,1,1);
11 Error_Viz->SetFillColor(0);
12 Error_Viz->SetBorderMode(0);
13 Error_Viz->SetBorderSize(2);
14 Error_Viz->SetFrameBorderMode(0);
17 TPad *Error_Viz_1 =
new TPad(
"Error_Viz_1",
"Error_Viz_1",0.01,0.01,0.49,0.99);
20 Error_Viz_1->Range(-1.875,-1.875,1.875,1.875);
21 Error_Viz_1->SetFillColor(0);
22 Error_Viz_1->SetBorderMode(0);
23 Error_Viz_1->SetBorderSize(2);
24 Error_Viz_1->SetFrameBorderMode(0);
25 Error_Viz_1->SetFrameBorderMode(0);
27 TH2D *dummy1__1 =
new TH2D(
"dummy1__1",
"26540-Noise Std. Dev. in ADC (North Side)",100,-1.5,1.5,100,-1.5,1.5);
28 dummy1__1->SetStats(0);
32 ci = TColor::GetColor(
"#000099");
33 dummy1__1->SetLineColor(ci);
34 dummy1__1->GetXaxis()->SetLabelFont(42);
35 dummy1__1->GetXaxis()->SetTitleOffset(1);
36 dummy1__1->GetXaxis()->SetTitleFont(42);
37 dummy1__1->GetYaxis()->SetLabelFont(42);
38 dummy1__1->GetYaxis()->SetTitleFont(42);
39 dummy1__1->GetZaxis()->SetLabelFont(42);
40 dummy1__1->GetZaxis()->SetTitleOffset(1);
41 dummy1__1->GetZaxis()->SetTitleFont(42);
43 Double_t yAxis1[5] = {0, 0.256, 0.504, 0.752, 1};
45 TH2D *CSide__2 =
new TH2D(
"CSide__2",
"ADC Counts South Side",12,-0.2617994,6.021386,4, yAxis1);
46 CSide__2->SetBinContent(29,1.989332);
47 CSide__2->SetBinContent(30,3.196764);
48 CSide__2->SetBinContent(31,2.028693);
49 CSide__2->SetBinContent(32,2.287374);
50 CSide__2->SetBinContent(33,1.905044);
51 CSide__2->SetBinContent(34,2.01782);
52 CSide__2->SetBinContent(35,2.011409);
53 CSide__2->SetBinContent(36,2.057789);
54 CSide__2->SetBinContent(37,2.000231);
55 CSide__2->SetBinContent(38,2.047215);
56 CSide__2->SetBinContent(39,2.051875);
57 CSide__2->SetBinContent(40,1.924342);
58 CSide__2->SetBinContent(43,2.201327);
59 CSide__2->SetBinContent(44,2.095087);
60 CSide__2->SetBinContent(45,3.010436);
61 CSide__2->SetBinContent(46,1.962912);
62 CSide__2->SetBinContent(47,2.100744);
63 CSide__2->SetBinContent(48,2.212984);
64 CSide__2->SetBinContent(49,2.070949);
65 CSide__2->SetBinContent(50,1.985125);
66 CSide__2->SetBinContent(51,1.963863);
67 CSide__2->SetBinContent(52,2.005603);
68 CSide__2->SetBinContent(53,1.932216);
69 CSide__2->SetBinContent(54,2.431431);
70 CSide__2->SetBinContent(57,2.381369);
71 CSide__2->SetBinContent(58,2.195927);
72 CSide__2->SetBinContent(59,2.306524);
73 CSide__2->SetBinContent(60,2.302729);
74 CSide__2->SetBinContent(61,1.940289);
75 CSide__2->SetBinContent(62,2.093168);
76 CSide__2->SetBinContent(63,2.130398);
77 CSide__2->SetBinContent(64,2.060633);
78 CSide__2->SetBinContent(65,2.134717);
79 CSide__2->SetBinContent(66,2.255702);
80 CSide__2->SetBinContent(67,1.992586);
81 CSide__2->SetBinContent(68,3.100811);
82 CSide__2->SetBinError(29,1.989332);
83 CSide__2->SetBinError(30,3.196764);
84 CSide__2->SetBinError(31,2.028693);
85 CSide__2->SetBinError(32,2.287374);
86 CSide__2->SetBinError(33,1.905044);
87 CSide__2->SetBinError(34,2.01782);
88 CSide__2->SetBinError(35,2.011409);
89 CSide__2->SetBinError(36,2.057789);
90 CSide__2->SetBinError(37,2.000231);
91 CSide__2->SetBinError(38,2.047215);
92 CSide__2->SetBinError(39,2.051875);
93 CSide__2->SetBinError(40,1.924342);
94 CSide__2->SetBinError(43,2.201327);
95 CSide__2->SetBinError(44,2.095087);
96 CSide__2->SetBinError(45,3.010436);
97 CSide__2->SetBinError(46,1.962912);
98 CSide__2->SetBinError(47,2.100744);
99 CSide__2->SetBinError(48,2.212984);
100 CSide__2->SetBinError(49,2.070949);
101 CSide__2->SetBinError(50,1.985125);
102 CSide__2->SetBinError(51,1.963863);
103 CSide__2->SetBinError(52,2.005603);
104 CSide__2->SetBinError(53,1.932216);
105 CSide__2->SetBinError(54,2.431431);
106 CSide__2->SetBinError(57,2.381369);
107 CSide__2->SetBinError(58,2.195927);
108 CSide__2->SetBinError(59,2.306524);
109 CSide__2->SetBinError(60,2.302729);
110 CSide__2->SetBinError(61,1.940289);
111 CSide__2->SetBinError(62,2.093168);
112 CSide__2->SetBinError(63,2.130398);
113 CSide__2->SetBinError(64,2.060633);
114 CSide__2->SetBinError(65,2.134717);
115 CSide__2->SetBinError(66,2.255702);
116 CSide__2->SetBinError(67,1.992586);
117 CSide__2->SetBinError(68,3.100811);
118 CSide__2->SetMinimum(0);
119 CSide__2->SetMaximum(4);
120 CSide__2->SetEntries(36);
121 CSide__2->SetStats(0);
122 CSide__2->SetContour(20);
123 CSide__2->SetContourLevel(0,0);
124 CSide__2->SetContourLevel(1,0.2);
125 CSide__2->SetContourLevel(2,0.4);
126 CSide__2->SetContourLevel(3,0.6);
127 CSide__2->SetContourLevel(4,0.8);
128 CSide__2->SetContourLevel(5,1);
129 CSide__2->SetContourLevel(6,1.2);
130 CSide__2->SetContourLevel(7,1.4);
131 CSide__2->SetContourLevel(8,1.6);
132 CSide__2->SetContourLevel(9,1.8);
133 CSide__2->SetContourLevel(10,2);
134 CSide__2->SetContourLevel(11,2.2);
135 CSide__2->SetContourLevel(12,2.4);
136 CSide__2->SetContourLevel(13,2.6);
137 CSide__2->SetContourLevel(14,2.8);
138 CSide__2->SetContourLevel(15,3);
139 CSide__2->SetContourLevel(16,3.2);
140 CSide__2->SetContourLevel(17,3.4);
141 CSide__2->SetContourLevel(18,3.6);
142 CSide__2->SetContourLevel(19,3.8);
144 TPaletteAxis *palette =
new TPaletteAxis(1.51875,-1.5,1.6875,1.5,CSide__2);
145 palette->SetLabelColor(1);
146 palette->SetLabelFont(42);
147 palette->SetLabelOffset(0.005);
148 palette->SetLabelSize(0.035);
149 palette->SetTitleOffset(1);
150 palette->SetTitleSize(0.035);
152 ci = TColor::GetColor(
"#f9f90e");
153 palette->SetFillColor(ci);
154 palette->SetFillStyle(1001);
155 CSide__2->GetListOfFunctions()->Add(palette,
"br");
157 ci = TColor::GetColor(
"#000099");
158 CSide__2->SetLineColor(ci);
159 CSide__2->GetXaxis()->SetLabelFont(42);
160 CSide__2->GetXaxis()->SetTitleOffset(1);
161 CSide__2->GetXaxis()->SetTitleFont(42);
162 CSide__2->GetYaxis()->SetLabelFont(42);
163 CSide__2->GetYaxis()->SetTitleFont(42);
164 CSide__2->GetZaxis()->SetLabelFont(42);
165 CSide__2->GetZaxis()->SetTitleOffset(1);
166 CSide__2->GetZaxis()->SetTitleFont(42);
167 CSide__2->Draw(
"colpolzsame0");
169 TPaveLabel *pl =
new TPaveLabel(1.046586,-0.1938999,1.407997,0.2144871,
"00",
"br");
171 pl->SetTextSize(0.99);
174 pl =
new TPaveLabel(0.962076,0.4382608,1.323487,0.8466479,
"01",
"br");
176 pl->SetTextSize(0.99);
179 pl =
new TPaveLabel(0.4801947,0.8802139,0.8416056,1.288601,
"02",
"br");
181 pl->SetTextSize(0.99);
184 pl =
new TPaveLabel(-0.1823921,1.011681,0.1790189,1.425662,
"03",
"br");
186 pl->SetTextSize(0.99);
189 pl =
new TPaveLabel(-0.8449788,0.8690253,-0.4835679,1.288601,
"04",
"br");
191 pl->SetTextSize(0.99);
194 pl =
new TPaveLabel(-1.30879,0.441058,-0.9473786,0.8550394,
"05",
"br");
196 pl->SetTextSize(0.99);
199 pl =
new TPaveLabel(-1.411009,-0.2050886,-1.049598,0.2144871,
"06",
"br");
201 pl->SetTextSize(0.99);
204 pl =
new TPaveLabel(-1.302585,-0.7757116,-0.9471979,-0.3561359,
"07",
"br");
206 pl->SetTextSize(0.99);
209 pl =
new TPaveLabel(-0.8449788,-1.309971,-0.4835679,-0.8848013,
"08",
"br");
211 pl->SetTextSize(0.99);
214 pl =
new TPaveLabel(-0.1823921,-1.426557,0.1790189,-1.006982,
"09",
"br");
216 pl->SetTextSize(0.99);
219 pl =
new TPaveLabel(0.4801947,-1.309076,0.8416056,-0.8839062,
"10",
"br");
221 pl->SetTextSize(0.99);
224 pl =
new TPaveLabel(0.9622567,-0.7785088,1.323668,-0.3533387,
"11",
"br");
226 pl->SetTextSize(0.99);
229 TPaveText *
pt =
new TPaveText(0.15,0.934955,0.85,0.995,
"blNDC");
230 pt->SetName(
"title");
231 pt->SetBorderSize(0);
235 TText *pt_LaTex = pt->AddText(
"26540-Noise Std. Dev. in ADC (North Side)");
237 Error_Viz_1->Modified();
241 TPad *Error_Viz_2 =
new TPad(
"Error_Viz_2",
"Error_Viz_2",0.51,0.01,0.99,0.99);
244 Error_Viz_2->Range(-1.875,-1.875,1.875,1.875);
245 Error_Viz_2->SetFillColor(0);
246 Error_Viz_2->SetBorderMode(0);
247 Error_Viz_2->SetBorderSize(2);
248 Error_Viz_2->SetFrameBorderMode(0);
249 Error_Viz_2->SetFrameBorderMode(0);
251 TH2D *dummy2__3 =
new TH2D(
"dummy2__3",
"26540-Noise Std. Dev. in ADC (South Side)",100,-1.5,1.5,100,-1.5,1.5);
252 dummy2__3->SetStats(0);
254 ci = TColor::GetColor(
"#000099");
255 dummy2__3->SetLineColor(ci);
256 dummy2__3->GetXaxis()->SetLabelFont(42);
257 dummy2__3->GetXaxis()->SetTitleOffset(1);
258 dummy2__3->GetXaxis()->SetTitleFont(42);
259 dummy2__3->GetYaxis()->SetLabelFont(42);
260 dummy2__3->GetYaxis()->SetTitleFont(42);
261 dummy2__3->GetZaxis()->SetLabelFont(42);
262 dummy2__3->GetZaxis()->SetTitleOffset(1);
263 dummy2__3->GetZaxis()->SetTitleFont(42);
265 Double_t yAxis2[5] = {0, 0.256, 0.504, 0.752, 1};
267 TH2D *ASide__4 =
new TH2D(
"ASide__4",
"ADC Counts North Side",12,-0.2617994,6.021386,4, yAxis2);
268 ASide__4->SetBinContent(29,1.904025);
269 ASide__4->SetBinContent(30,1.900522);
270 ASide__4->SetBinContent(31,2.552518);
271 ASide__4->SetBinContent(32,2.130305);
272 ASide__4->SetBinContent(33,1.938709);
273 ASide__4->SetBinContent(34,2.136297);
274 ASide__4->SetBinContent(35,1.997312);
275 ASide__4->SetBinContent(36,2.025557);
276 ASide__4->SetBinContent(37,1.924307);
277 ASide__4->SetBinContent(38,2.142733);
278 ASide__4->SetBinContent(39,1.985398);
279 ASide__4->SetBinContent(40,2.036818);
280 ASide__4->SetBinContent(43,2.07103);
281 ASide__4->SetBinContent(44,2.148584);
282 ASide__4->SetBinContent(45,2.679135);
283 ASide__4->SetBinContent(46,2.137);
284 ASide__4->SetBinContent(47,2.145508);
285 ASide__4->SetBinContent(48,2.092765);
286 ASide__4->SetBinContent(49,2.151562);
287 ASide__4->SetBinContent(50,2.269632);
288 ASide__4->SetBinContent(51,2.123742);
289 ASide__4->SetBinContent(52,3.130458);
290 ASide__4->SetBinContent(53,2.078224);
291 ASide__4->SetBinContent(54,2.06422);
292 ASide__4->SetBinContent(57,2.19219);
293 ASide__4->SetBinContent(58,2.396421);
294 ASide__4->SetBinContent(59,2.145928);
295 ASide__4->SetBinContent(60,2.321178);
296 ASide__4->SetBinContent(61,2.123741);
297 ASide__4->SetBinContent(62,2.470285);
298 ASide__4->SetBinContent(63,2.185126);
299 ASide__4->SetBinContent(64,2.506654);
300 ASide__4->SetBinContent(65,2.313562);
301 ASide__4->SetBinContent(66,2.833683);
302 ASide__4->SetBinContent(67,2.290022);
303 ASide__4->SetBinContent(68,2.186331);
304 ASide__4->SetBinError(29,1.904025);
305 ASide__4->SetBinError(30,1.900522);
306 ASide__4->SetBinError(31,2.552518);
307 ASide__4->SetBinError(32,2.130305);
308 ASide__4->SetBinError(33,1.938709);
309 ASide__4->SetBinError(34,2.136297);
310 ASide__4->SetBinError(35,1.997312);
311 ASide__4->SetBinError(36,2.025557);
312 ASide__4->SetBinError(37,1.924307);
313 ASide__4->SetBinError(38,2.142733);
314 ASide__4->SetBinError(39,1.985398);
315 ASide__4->SetBinError(40,2.036818);
316 ASide__4->SetBinError(43,2.07103);
317 ASide__4->SetBinError(44,2.148584);
318 ASide__4->SetBinError(45,2.679135);
319 ASide__4->SetBinError(46,2.137);
320 ASide__4->SetBinError(47,2.145508);
321 ASide__4->SetBinError(48,2.092765);
322 ASide__4->SetBinError(49,2.151562);
323 ASide__4->SetBinError(50,2.269632);
324 ASide__4->SetBinError(51,2.123742);
325 ASide__4->SetBinError(52,3.130458);
326 ASide__4->SetBinError(53,2.078224);
327 ASide__4->SetBinError(54,2.06422);
328 ASide__4->SetBinError(57,2.19219);
329 ASide__4->SetBinError(58,2.396421);
330 ASide__4->SetBinError(59,2.145928);
331 ASide__4->SetBinError(60,2.321178);
332 ASide__4->SetBinError(61,2.123741);
333 ASide__4->SetBinError(62,2.470285);
334 ASide__4->SetBinError(63,2.185126);
335 ASide__4->SetBinError(64,2.506654);
336 ASide__4->SetBinError(65,2.313562);
337 ASide__4->SetBinError(66,2.833683);
338 ASide__4->SetBinError(67,2.290022);
339 ASide__4->SetBinError(68,2.186331);
340 ASide__4->SetMinimum(0);
341 ASide__4->SetMaximum(4);
342 ASide__4->SetEntries(36);
343 ASide__4->SetStats(0);
344 ASide__4->SetContour(20);
345 ASide__4->SetContourLevel(0,0);
346 ASide__4->SetContourLevel(1,0.2);
347 ASide__4->SetContourLevel(2,0.4);
348 ASide__4->SetContourLevel(3,0.6);
349 ASide__4->SetContourLevel(4,0.8);
350 ASide__4->SetContourLevel(5,1);
351 ASide__4->SetContourLevel(6,1.2);
352 ASide__4->SetContourLevel(7,1.4);
353 ASide__4->SetContourLevel(8,1.6);
354 ASide__4->SetContourLevel(9,1.8);
355 ASide__4->SetContourLevel(10,2);
356 ASide__4->SetContourLevel(11,2.2);
357 ASide__4->SetContourLevel(12,2.4);
358 ASide__4->SetContourLevel(13,2.6);
359 ASide__4->SetContourLevel(14,2.8);
360 ASide__4->SetContourLevel(15,3);
361 ASide__4->SetContourLevel(16,3.2);
362 ASide__4->SetContourLevel(17,3.4);
363 ASide__4->SetContourLevel(18,3.6);
364 ASide__4->SetContourLevel(19,3.8);
366 palette =
new TPaletteAxis(1.51875,-1.5,1.6875,1.5,ASide__4);
367 palette->SetLabelColor(1);
368 palette->SetLabelFont(42);
369 palette->SetLabelOffset(0.005);
370 palette->SetLabelSize(0.035);
371 palette->SetTitleOffset(1);
372 palette->SetTitleSize(0.035);
374 ci = TColor::GetColor(
"#f9f90e");
375 palette->SetFillColor(ci);
376 palette->SetFillStyle(1001);
377 ASide__4->GetListOfFunctions()->Add(palette,
"br");
379 ci = TColor::GetColor(
"#000099");
380 ASide__4->SetLineColor(ci);
381 ASide__4->GetXaxis()->SetLabelFont(42);
382 ASide__4->GetXaxis()->SetTitleOffset(1);
383 ASide__4->GetXaxis()->SetTitleFont(42);
384 ASide__4->GetYaxis()->SetLabelFont(42);
385 ASide__4->GetYaxis()->SetTitleFont(42);
386 ASide__4->GetZaxis()->SetLabelFont(42);
387 ASide__4->GetZaxis()->SetTitleOffset(1);
388 ASide__4->GetZaxis()->SetTitleFont(42);
389 ASide__4->Draw(
"colpolzsame0");
391 pl =
new TPaveLabel(1.046586,-0.1938999,1.407997,0.2144871,
"18",
"br");
393 pl->SetTextSize(0.99);
396 pl =
new TPaveLabel(0.962076,0.4382608,1.323487,0.8466479,
"17",
"br");
398 pl->SetTextSize(0.99);
401 pl =
new TPaveLabel(0.4801947,0.8802139,0.8416056,1.288601,
"16",
"br");
403 pl->SetTextSize(0.99);
406 pl =
new TPaveLabel(-0.1823921,1.011681,0.1790189,1.425662,
"15",
"br");
408 pl->SetTextSize(0.99);
411 pl =
new TPaveLabel(-0.8449788,0.8690253,-0.4835679,1.288601,
"14",
"br");
413 pl->SetTextSize(0.99);
416 pl =
new TPaveLabel(-1.30879,0.441058,-0.9473786,0.8550394,
"13",
"br");
418 pl->SetTextSize(0.99);
421 pl =
new TPaveLabel(-1.411009,-0.2050886,-1.049598,0.2144871,
"12",
"br");
423 pl->SetTextSize(0.99);
426 pl =
new TPaveLabel(-1.302585,-0.7757116,-0.9471979,-0.3561359,
"23",
"br");
428 pl->SetTextSize(0.99);
431 pl =
new TPaveLabel(-0.8449788,-1.309971,-0.4835679,-0.8848013,
"22",
"br");
433 pl->SetTextSize(0.99);
436 pl =
new TPaveLabel(-0.1823921,-1.426557,0.1790189,-1.006982,
"21",
"br");
438 pl->SetTextSize(0.99);
441 pl =
new TPaveLabel(0.4801947,-1.309076,0.8416056,-0.8839062,
"20",
"br");
443 pl->SetTextSize(0.99);
446 pl =
new TPaveLabel(0.9622567,-0.7785088,1.323668,-0.3533387,
"19",
"br");
448 pl->SetTextSize(0.99);
451 pt =
new TPaveText(0.15,0.934955,0.85,0.995,
"blNDC");
452 pt->SetName(
"title");
453 pt->SetBorderSize(0);
457 pt_LaTex = pt->AddText(
"26540-Noise Std. Dev. in ADC (South Side)");
459 Error_Viz_2->Modified();
461 Error_Viz->Modified();
463 Error_Viz->SetSelected(Error_Viz);