37 gROOT->SetStyle(
"Plain");
38 gStyle->SetOptStat(0);
39 gStyle->SetOptTitle(1);
47 sprintf(refname,
"%s",
argv[2]);
48 sprintf(runtypeC,
"%s",
argv[3]);
49 std::cout <<
fname <<
" " << refname <<
" " << runtypeC << std::endl;
58 for (
unsigned int i = promt.size() - 11;
i < promt.size() - 5;
i++)
60 string refrunnumber =
"";
62 for (
unsigned int i = promt.size() - 11;
i < promt.size() - 5;
i++)
63 refrunnumber += refname[
i];
65 TFile *hfile =
new TFile(
fname,
"READ");
67 TDirectory *
dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str());
68 TFile *hreffile =
new TFile(refname,
"READ");
70 TDirectory *refdir = (TDirectory *)hreffile->FindObjectAny(dirnm.c_str());
84 double MIN_M_LED[7][5] = {{0., 0., 0., 0., 0.},
86 {0, 100., 70., 40., 40.},
87 {0, 0.7, 0.7, 0.1, 0.1},
88 {0, 0.7, 0.6, 0.40, 0.45},
89 {0, 2.5, 1.0, 1.0, 1.0},
90 {0, 1.5, 1.5, 0.5, 0.5}};
91 double MAX_M_LED[7][5] = {{0., 0., 0., 0., 0.},
93 {0, 3000, 500000, 3000, 150000},
94 {0, 2.5, 2.5, 2.8, 2.6},
95 {0, 0.94, 0.95, 1.04, 1.02},
96 {0, 5.5, 5.2, 4.8, 4.2},
97 {0, 6.5, 6.5, 8.5, 8.5}};
98 double MIN_C_LED[7][5] = {{0., 0., 0., 0., 0.},
100 {0, 1000., 1000., 1000., 100.},
101 {0, 1.3, 1.3, 0.7, 0.3},
102 {0, 0.76, 0.76, 0.85, 0.5},
103 {0, 2.4, 2.4, 1.5, 3.5},
104 {0, 1.5, 1.5, 1.5, 3.5}};
105 double MAX_C_LED[7][5] = {{0., 0., 0., 0., 0.},
106 {0., 0., 0., 0., 0.},
107 {0, 1E20, 1E20, 1E20, 1E20},
108 {0, 1.9, 1.9, 1.65, 1.5},
109 {0, 0.94, 0.94, 0.99, 0.8},
110 {0, 3.7, 3.7, 2.7, 4.5},
111 {0, 2.5, 2.5, 2.5, 4.5}};
112 double porog_LED[5] = {0., 2., 2., 2., 2.};
113 double Pedest_LED[2][5] = {{0., 0.1, 0.6, 0.1, 0.8},
114 {0., 0.1, 0.1, 0.1, 0.4}};
115 for (
int i = 0;
i <= 6;
i++)
116 for (
int j = 0;
j <= 4;
j++) {
117 MIN_M[
i][
j] = MIN_M_LED[
i][
j];
118 MAX_M[
i][
j] = MAX_M_LED[
i][
j];
119 MIN_C[
i][
j] = MIN_C_LED[
i][
j];
120 MAX_C[
i][
j] = MAX_C_LED[
i][
j];
122 for (
int i = 0;
i <= 4;
i++) {
123 porog[
i] = porog_LED[
i];
124 Pedest[0][
i] = Pedest_LED[0][
i];
125 Pedest[1][
i] = Pedest_LED[1][
i];
131 double MIN_M_LASER[7][5] = {{0., 0., 0., 0., 0.},
132 {0., 0., 0., 0., 0.},
133 {0, 40., 40., 100., 40.},
134 {0, 0.3, 0.9, 0.2, 0.2},
135 {0, 0.5, 0.55, 0.55, 0.60},
136 {0, 5.0, 2.5, 1.1, 5.5},
137 {0, 1.5, 1.5, 1.5, 1.5}};
138 double MAX_M_LASER[7][5] = {{0., 0., 0., 0., 0.},
139 {0., 0., 0., 0., 0.},
140 {0, 3500, 350000, 3500, 150000},
141 {0, 2.5, 3.6, 2.6, 2.1},
142 {0, 1.00, 1.00, 1.04, 1.02},
143 {0, 7.5, 6.5, 4.4, 8.5},
144 {0, 8.5, 8.5, 6.5, 8.5}};
145 double MIN_C_LASER[7][5] = {{0., 0., 0., 0., 0.},
146 {0., 0., 0., 0., 0.},
147 {0, 1000., 1000., 1000., 100.},
148 {0, 1.3, 1.3, 0.7, 0.3},
149 {0, 0.76, 0.76, 0.85, 0.5},
150 {0, 2.4, 2.4, 1.5, 3.5},
151 {0, 1.5, 1.5, 1.5, 3.5}};
152 double MAX_C_LASER[7][5] = {{0., 0., 0., 0., 0.},
153 {0., 0., 0., 0., 0.},
154 {0, 1E20, 1E20, 1E20, 1E20},
155 {0, 1.9, 1.9, 1.65, 1.5},
156 {0, 0.94, 0.94, 1.0, 0.8},
157 {0, 3.7, 3.7, 2.7, 4.5},
158 {0, 2.5, 2.5, 2.5, 4.5}};
159 double porog_LASER[5] = {0., 2., 2., 2., 2.};
161 double Pedest_LASER[2][5] = {{0., 0.1, 0.6, 0.1, 0.8},
162 {0., 0.1, 0.1, 0.1, 0.4}};
163 for (
int i = 0;
i <= 6;
i++)
164 for (
int j = 0;
j <= 4;
j++) {
165 MIN_M[
i][
j] = MIN_M_LASER[
i][
j];
166 MAX_M[
i][
j] = MAX_M_LASER[
i][
j];
167 MIN_C[
i][
j] = MIN_C_LASER[
i][
j];
168 MAX_C[
i][
j] = MAX_C_LASER[
i][
j];
170 for (
int i = 0;
i <= 4;
i++) {
171 porog[
i] = porog_LASER[
i];
172 Pedest[0][
i] = Pedest_LASER[0][
i];
173 Pedest[1][
i] = Pedest_LASER[1][
i];
178 double MIN_M_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.},
179 {0., 0., 0., 0., 0.},
180 {0, 10., 10., 200., 5.},
181 {0, 2.7, 2.7, 2.7, 0.2},
182 {0, 0.31, 0.31, 0.05, 0.15},
183 {0, 4.5, 4.5, 4.5, 2.0},
184 {0, 0.5, 0.5, 0.5, 0.5}};
185 double MAX_M_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.},
186 {0., 0., 0., 0., 0.},
187 {0, 2500., 250000., 2500., 150000.},
188 {0, 3.0, 3.0, 5.0, 3.0},
189 {0, 0.95, 0.95, 1.00, 0.98},
190 {0, 4.6, 4.6, 4.6, 7.0},
191 {0, 9.5, 9.5, 8.5, 8.5}};
192 double MIN_C_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.},
193 {0., 0., 0., 0., 0.},
194 {0, 1000., 1000., 1000., 100.},
195 {0, 1.3, 1.3, 0.7, 0.3},
196 {0, 0.76, 0.76, 0.85, 0.5},
197 {0, 2.4, 2.4, 1.5, 3.5},
198 {0, 1.5, 1.5, 1.5, 3.5}};
199 double MAX_C_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.},
200 {0., 0., 0., 0., 0.},
201 {0, 1E20, 1E20, 1E20, 1E20},
202 {0, 1.9, 1.9, 1.65, 1.5},
203 {0, 0.94, 0.94, 1.0, 0.8},
204 {0, 3.7, 3.7, 2.7, 4.5},
205 {0, 2.5, 2.5, 2.5, 4.5}};
206 double porog_PEDESTAL[5] = {0., 2., 2., 2., 2.};
208 double Pedest_PEDESTAL[2][5] = {{0., 0.1, 0.6, 0.1, 0.8},
209 {0., 0.1, 0.1, 0.1, 0.4}};
210 for (
int i = 0;
i <= 6;
i++)
211 for (
int j = 0;
j <= 4;
j++) {
212 MIN_M[
i][
j] = MIN_M_PEDESTAL[
i][
j];
213 MAX_M[
i][
j] = MAX_M_PEDESTAL[
i][
j];
214 MIN_C[
i][
j] = MIN_C_PEDESTAL[
i][
j];
215 MAX_C[
i][
j] = MAX_C_PEDESTAL[
i][
j];
217 for (
int i = 0;
i <= 4;
i++) {
218 porog[
i] = porog_PEDESTAL[
i];
219 Pedest[0][
i] = Pedest_PEDESTAL[0][
i];
220 Pedest[1][
i] = Pedest_PEDESTAL[1][
i];
227 cout << MIN_M[2][1] << endl;
233 TCanvas *cHB =
new TCanvas(
"cHB",
"cHB", 1000, 1000);
235 TCanvas *cHE =
new TCanvas(
"cHE",
"cHE", 1500, 1500);
237 TCanvas *cONE =
new TCanvas(
"cONE",
"cONE", 1500, 500);
238 TCanvas *cPED =
new TCanvas(
"cPED",
"cPED", 1000, 500);
240 TCanvas *cHF =
new TCanvas(
"cHF",
"cHF", 1000, 1000);
244 TCanvas *c1x0 =
new TCanvas(
"c1x0",
"c1x0", 300, 10, 800, 700);
246 TCanvas *c1x1 =
new TCanvas(
"c1x1",
"c1x1", 100, 10, 600, 700);
248 TCanvas *c2x1 =
new TCanvas(
"c2x1",
"c2x1", 200, 300, 1600, 800);
250 TCanvas *c3x5 =
new TCanvas(
"c3x5",
"c3x5", 1000, 1500);
253 char *
str = (
char *)alloca(10000);
271 int k_min[5] = {0, 1, 1, 4, 1};
274 int k_max[5] = {0, 4, 7, 4, 4};
276 TH2F *Map_Ampl[33][5][ALLDEPTH];
277 TH2F *Map_SUB[5][ALLDEPTH];
278 TH1F *HistAmplDepth[22][5][ALLDEPTH];
279 TH1F *HistAmpl[22][5];
280 TH2F *Map_SUBTS[5][ALLDEPTH];
282 TH1F *HistPed[3][5][4];
284 TH1F *hist_GoodTSshape[5];
285 TH1F *hist_GoodTSshape0[5];
286 TH1F *hist_BadTSshape[5];
287 TH1F *hist_BadTSshape0[5];
288 TH1F *hist_ADC_All[5];
289 TH1F *hist_ADC_DS[5][ALLDEPTH];
290 TH1F *hist_SumADC[5][ALLDEPTH];
291 TH1F *hist_SumADC0[5][ALLDEPTH];
292 TH1F *hist_SumADC1[5][ALLDEPTH];
294 Map_SUB[1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HB");
295 Map_SUB[1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HB");
296 Map_SUB[2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HE");
297 Map_SUB[2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HE");
298 Map_SUB[2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HE");
299 Map_SUB[3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HO");
300 Map_SUB[4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HF");
301 Map_SUB[4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HF");
303 Map_SUB[1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HB");
304 Map_SUB[1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HB");
305 Map_SUB[2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HE");
306 Map_SUB[2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5_HE");
307 Map_SUB[2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6_HE");
308 Map_SUB[2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7_HE");
309 Map_SUB[4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HF");
310 Map_SUB[4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HF");
316 for (
int sub = 1; sub <= 4; sub++) {
331 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
344 sprintf(
str,
"HB, Depth%d \b",
k);
346 sprintf(
str,
"HE, Depth%d \b",
k);
348 sprintf(
str,
"HO, Depth%d \b",
k);
350 sprintf(
str,
"HF, Depth%d \b",
k);
351 Map_SUB[sub][
k]->SetTitle(
str);
352 Map_SUB[sub][
k]->SetXTitle(
"#eta \b");
353 Map_SUB[sub][
k]->SetYTitle(
"#phi \b");
354 Map_SUB[sub][
k]->SetZTitle(
"Number of events \b");
356 Map_SUB[sub][
k]->SetTitleOffset(0.8,
"Z");
357 Map_SUB[sub][
k]->Draw(
"COLZ");
358 Map_SUB[sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
379 cHB->Print(
"MapRateEntryHB.png");
383 cHE->Print(
"MapRateEntryHE.png");
387 cONE->Print(
"MapRateEntryHO.png");
391 cHF->Print(
"MapRateEntryHF.png");
400 Map_Ampl[1][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Error_HB");
401 Map_Ampl[1][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Error_HB");
402 Map_Ampl[1][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Error_HE");
403 Map_Ampl[1][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Error_HE");
404 Map_Ampl[1][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Error_HE");
405 Map_Ampl[1][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HO");
406 Map_Ampl[1][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Error_HF");
407 Map_Ampl[1][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Error_HF");
409 Map_Ampl[1][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Error_HB");
410 Map_Ampl[1][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HB");
411 Map_Ampl[1][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HE");
412 Map_Ampl[1][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5Error_HE");
413 Map_Ampl[1][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6Error_HE");
414 Map_Ampl[1][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7Error_HE");
415 Map_Ampl[1][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Error_HF");
416 Map_Ampl[1][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HF");
418 for (
int sub = 1; sub <= 4; sub++) {
433 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
442 Map_Ampl[1][sub][
k]->Divide(Map_Ampl[1][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
447 sprintf(
str,
"HB, Depth%d \b",
k);
449 sprintf(
str,
"HE, Depth%d \b",
k);
451 sprintf(
str,
"HO, Depth%d \b",
k);
453 sprintf(
str,
"HF, Depth%d \b",
k);
454 Map_Ampl[1][sub][
k]->SetTitle(
str);
455 Map_Ampl[1][sub][
k]->SetXTitle(
"#eta \b");
456 Map_Ampl[1][sub][
k]->SetYTitle(
"#phi \b");
457 Map_Ampl[1][sub][
k]->SetZTitle(
"Rate \b");
459 Map_Ampl[1][sub][
k]->SetTitleOffset(0.8,
"Z");
460 Map_Ampl[1][sub][
k]->Draw(
"COLZ");
461 Map_Ampl[1][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
462 Map_Ampl[1][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
482 cHB->Print(
"MapRateCapIDHB.png");
486 cHE->Print(
"MapRateCapIDHE.png");
490 cONE->Print(
"MapRateCapIDHO.png");
494 cHF->Print(
"MapRateCapIDHF.png");
503 Map_Ampl[2][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1ADCAmpl225_HB");
504 Map_Ampl[2][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2ADCAmpl225_HB");
505 Map_Ampl[2][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1ADCAmpl225_HE");
506 Map_Ampl[2][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2ADCAmpl225_HE");
507 Map_Ampl[2][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3ADCAmpl225_HE");
508 Map_Ampl[2][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HO");
509 Map_Ampl[2][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1ADCAmpl225_HF");
510 Map_Ampl[2][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2ADCAmpl225_HF");
512 Map_Ampl[2][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3ADCAmpl225_HB");
513 Map_Ampl[2][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HB");
514 Map_Ampl[2][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HE");
515 Map_Ampl[2][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5ADCAmpl225_HE");
516 Map_Ampl[2][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6ADCAmpl225_HE");
517 Map_Ampl[2][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7ADCAmpl225_HE");
518 Map_Ampl[2][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3ADCAmpl225_HF");
519 Map_Ampl[2][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HF");
521 HistAmpl[2][1] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HB");
522 HistAmpl[2][2] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HE");
523 HistAmpl[2][3] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HO");
524 HistAmpl[2][4] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HF");
530 Map_Ampl[3][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Amplitude225_HB");
531 Map_Ampl[3][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Amplitude225_HB");
532 Map_Ampl[3][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Amplitude225_HE");
533 Map_Ampl[3][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Amplitude225_HE");
534 Map_Ampl[3][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Amplitude225_HE");
535 Map_Ampl[3][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HO");
536 Map_Ampl[3][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Amplitude225_HF");
537 Map_Ampl[3][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Amplitude225_HF");
539 Map_Ampl[3][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Amplitude225_HB");
540 Map_Ampl[3][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HB");
541 Map_Ampl[3][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HE");
542 Map_Ampl[3][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5Amplitude225_HE");
543 Map_Ampl[3][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6Amplitude225_HE");
544 Map_Ampl[3][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7Amplitude225_HE");
545 Map_Ampl[3][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Amplitude225_HF");
546 Map_Ampl[3][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HF");
548 HistAmpl[3][1] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HB");
549 HistAmpl[3][2] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HE");
550 HistAmpl[3][3] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HO");
551 HistAmpl[3][4] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HF");
557 Map_Ampl[4][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Ampl047_HB");
558 Map_Ampl[4][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Ampl047_HB");
559 Map_Ampl[4][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Ampl047_HE");
560 Map_Ampl[4][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Ampl047_HE");
561 Map_Ampl[4][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Ampl047_HE");
562 Map_Ampl[4][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HO");
563 Map_Ampl[4][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Ampl047_HF");
564 Map_Ampl[4][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Ampl047_HF");
566 Map_Ampl[4][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Ampl047_HB");
567 Map_Ampl[4][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HB");
568 Map_Ampl[4][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HE");
569 Map_Ampl[4][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5Ampl047_HE");
570 Map_Ampl[4][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6Ampl047_HE");
571 Map_Ampl[4][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7Ampl047_HE");
572 Map_Ampl[4][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Ampl047_HF");
573 Map_Ampl[4][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HF");
575 HistAmpl[4][1] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HB");
576 HistAmpl[4][2] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HE");
577 HistAmpl[4][3] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HO");
578 HistAmpl[4][4] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HF");
584 Map_Ampl[5][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA225_HB");
585 Map_Ampl[5][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA225_HB");
586 Map_Ampl[5][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA225_HE");
587 Map_Ampl[5][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA225_HE");
588 Map_Ampl[5][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA225_HE");
589 Map_Ampl[5][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HO");
590 Map_Ampl[5][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA225_HF");
591 Map_Ampl[5][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA225_HF");
593 Map_Ampl[5][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA225_HB");
594 Map_Ampl[5][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HB");
595 Map_Ampl[5][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HE");
596 Map_Ampl[5][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TSmeanA225_HE");
597 Map_Ampl[5][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TSmeanA225_HE");
598 Map_Ampl[5][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TSmeanA225_HE");
599 Map_Ampl[5][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA225_HF");
600 Map_Ampl[5][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HF");
602 HistAmpl[5][1] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HB");
603 HistAmpl[5][2] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HE");
604 HistAmpl[5][3] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HO");
605 HistAmpl[5][4] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HF");
611 Map_Ampl[6][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmaxA225_HB");
612 Map_Ampl[6][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmaxA225_HB");
613 Map_Ampl[6][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmaxA225_HE");
614 Map_Ampl[6][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmaxA225_HE");
615 Map_Ampl[6][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmaxA225_HE");
616 Map_Ampl[6][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HO");
617 Map_Ampl[6][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmaxA225_HF");
618 Map_Ampl[6][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmaxA225_HF");
620 Map_Ampl[6][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmaxA225_HB");
621 Map_Ampl[6][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HB");
622 Map_Ampl[6][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HE");
623 Map_Ampl[6][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TSmaxA225_HE");
624 Map_Ampl[6][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TSmaxA225_HE");
625 Map_Ampl[6][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TSmaxA225_HE");
626 Map_Ampl[6][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmaxA225_HF");
627 Map_Ampl[6][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HF");
629 HistAmpl[6][1] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HB");
630 HistAmpl[6][2] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HE");
631 HistAmpl[6][3] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HO");
632 HistAmpl[6][4] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HF");
635 for (
int sub = 1; sub <= 4; sub++) {
650 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
659 Map_Ampl[
test][sub][
k]->Divide(Map_Ampl[
test][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
664 sprintf(
str,
"HB, Depth%d \b",
k);
666 sprintf(
str,
"HE, Depth%d \b",
k);
668 sprintf(
str,
"HO, Depth%d \b",
k);
670 sprintf(
str,
"HF, Depth%d \b",
k);
671 Map_Ampl[
test][sub][
k]->SetTitle(
str);
672 Map_Ampl[
test][sub][
k]->SetXTitle(
"#eta \b");
673 Map_Ampl[
test][sub][
k]->SetYTitle(
"#phi \b");
674 Map_Ampl[
test][sub][
k]->SetZTitle(
"Rate \b");
676 Map_Ampl[
test][sub][
k]->SetTitleOffset(0.8,
"Z");
677 Map_Ampl[
test][sub][
k]->Draw(
"COLZ");
678 Map_Ampl[
test][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
679 Map_Ampl[
test][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
699 cHB->Print(
"MapRateAmplHB.png");
703 cHE->Print(
"MapRateAmplHE.png");
707 cONE->Print(
"MapRateAmplHO.png");
711 cHF->Print(
"MapRateAmplHF.png");
717 cHB->Print(
"MapRateRMSHB.png");
721 cHE->Print(
"MapRateRMSHE.png");
725 cONE->Print(
"MapRateRMSHO.png");
729 cHF->Print(
"MapRateRMSHF.png");
735 cHB->Print(
"MapRate43TStoAllTSHB.png");
739 cHE->Print(
"MapRate43TStoAllTSHE.png");
743 cONE->Print(
"MapRate43TStoAllTSHO.png");
747 cHF->Print(
"MapRate43TStoAllTSHF.png");
753 cHB->Print(
"MapRateMeanPosHB.png");
757 cHE->Print(
"MapRateMeanPosHE.png");
761 cONE->Print(
"MapRateMeanPosHO.png");
765 cHF->Print(
"MapRateMeanPosHF.png");
771 cHB->Print(
"MapRateMaxPosHB.png");
775 cHE->Print(
"MapRateMaxPosHE.png");
779 cONE->Print(
"MapRateMaxPosHO.png");
783 cHF->Print(
"MapRateMaxPosHF.png");
790 if (
test == 2 && sub == 2) {
792 TH1F *kjkjkhj2 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHEtest1");
794 kjkjkhj2->SetTitle(
"HE, All Depth: shunt1");
796 TH1F *kjkjkhj3 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHEtest6");
798 kjkjkhj3->SetTitle(
"HE, All Depth: shunt6");
800 if (
test == 2 && sub == 1) {
802 TH1F *kjkjkhb2 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHBtest1");
804 kjkjkhb2->SetTitle(
"HB, All Depth: shunt1");
806 TH1F *kjkjkhb3 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHBtest6");
808 kjkjkhb3->SetTitle(
"HB, All Depth: shunt6");
815 HistAmpl[
test][sub]->SetTitle(
"HB, All Depth: shunt6");
817 HistAmpl[
test][sub]->SetTitle(
"HE, All Depth: shunt6");
819 HistAmpl[
test][sub]->SetTitle(
"HO, All Depth");
821 HistAmpl[
test][sub]->SetTitle(
"HF, All Depth");
823 HistAmpl[
test][sub]->SetXTitle(
"ADC Amlitude in each event & cell \b");
825 HistAmpl[
test][sub]->SetXTitle(
"RMS in each event & cell \b");
827 HistAmpl[
test][sub]->SetXTitle(
"Ratio in each event & cell \b");
829 HistAmpl[
test][sub]->SetXTitle(
"Mean TS position in each event & cell \b");
831 HistAmpl[
test][sub]->SetXTitle(
"Max TS position in each event & cell \b");
832 HistAmpl[
test][sub]->SetYTitle(
"Number of cell-events \b");
833 HistAmpl[
test][sub]->SetLineColor(4);
834 HistAmpl[
test][sub]->SetLineWidth(2);
835 HistAmpl[
test][sub]->SetTitleOffset(1.4,
"Y");
836 HistAmpl[
test][sub]->Draw(
"");
843 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 5.);
845 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 1.);
847 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 9.);
849 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 9.);
852 double min_x[] = {MIN_M[
test][sub], MIN_M[
test][sub]};
853 double min_y[] = {0., 100000000.};
854 TGraph *
MIN =
new TGraph(2, min_x, min_y);
855 MIN->SetLineStyle(2);
856 MIN->SetLineColor(2);
857 MIN->SetLineWidth(2 + 100 * 100);
858 MIN->SetFillStyle(3005);
859 MIN->SetFillColor(2);
861 double max_x[] = {MAX_M[
test][sub], MAX_M[
test][sub]};
862 double max_y[] = {0., 100000000.};
863 TGraph *
MAX =
new TGraph(2, max_x, max_y);
864 MAX->SetLineStyle(2);
865 MAX->SetLineColor(2);
866 MAX->SetLineWidth(-2 - 100 * 100);
867 MAX->SetFillStyle(3004);
868 MAX->SetFillColor(2);
872 cONE->Print(
"HistAmplHB.png");
876 cONE->Print(
"HistAmplHE.png");
880 cONE->Print(
"HistAmplHO.png");
884 cONE->Print(
"HistAmplHF.png");
890 cONE->Print(
"HistRMSHB.png");
894 cONE->Print(
"HistRMSHE.png");
898 cONE->Print(
"HistRMSHO.png");
902 cONE->Print(
"HistRMSHF.png");
908 cONE->Print(
"Hist43TStoAllTSHB.png");
912 cONE->Print(
"Hist43TStoAllTSHE.png");
916 cONE->Print(
"Hist43TStoAllTSHO.png");
920 cONE->Print(
"Hist43TStoAllTSHF.png");
926 cONE->Print(
"HistMeanPosHB.png");
930 cONE->Print(
"HistMeanPosHE.png");
934 cONE->Print(
"HistMeanPosHO.png");
938 cONE->Print(
"HistMeanPosHF.png");
944 cONE->Print(
"HistMaxPosHB.png");
948 cONE->Print(
"HistMaxPosHE.png");
952 cONE->Print(
"HistMaxPosHO.png");
956 cONE->Print(
"HistMaxPosHF.png");
963 TH2F *Map_Calib[5][5];
965 Map_Calib[1][1] = (TH2F *)
dir->FindObjectAny(
"h_map_HB");
966 Map_Calib[1][2] = (TH2F *)
dir->FindObjectAny(
"h_map_HB");
967 Map_Calib[2][1] = (TH2F *)
dir->FindObjectAny(
"h_map_HE");
968 Map_Calib[2][2] = (TH2F *)
dir->FindObjectAny(
"h_map_HE");
969 Map_Calib[2][3] = (TH2F *)
dir->FindObjectAny(
"h_map_HE");
970 Map_Calib[3][4] = (TH2F *)
dir->FindObjectAny(
"h_map_HO");
971 Map_Calib[4][1] = (TH2F *)
dir->FindObjectAny(
"h_map_HF");
972 Map_Calib[4][2] = (TH2F *)
dir->FindObjectAny(
"h_map_HF");
978 for (
int sub = 1; sub <= 4; sub++) {
1004 Map_Calib[sub][
k]->SetTitle(
str);
1005 Map_Calib[sub][
k]->SetXTitle(
"#eta \b");
1006 Map_Calib[sub][
k]->SetYTitle(
"#phi \b");
1007 Map_Calib[sub][
k]->SetZTitle(
"Number of events\b");
1009 Map_Calib[sub][
k]->SetTitleOffset(0.8,
"Z");
1010 Map_Calib[sub][
k]->Draw(
"COLZ");
1011 Map_Calib[sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
1021 cONE->Print(
"MapRateCalibEntryHB.png");
1025 cONE->Print(
"MapRateCalibEntryHE.png");
1029 cONE->Print(
"MapRateCalibEntryHO.png");
1033 cONE->Print(
"MapRateCalibEntryHF.png");
1042 Map_Ampl[11][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HB");
1043 Map_Ampl[11][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HB");
1044 Map_Ampl[11][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HE");
1045 Map_Ampl[11][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HE");
1046 Map_Ampl[11][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HE");
1047 Map_Ampl[11][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HO");
1048 Map_Ampl[11][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HF");
1049 Map_Ampl[11][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HF");
1051 for (
int sub = 1; sub <= 4; sub++) {
1066 Map_Ampl[11][sub][
k]->Divide(Map_Ampl[11][sub][
k], Map_Calib[sub][
k], 1, 1,
"B");
1078 Map_Ampl[11][sub][
k]->SetTitle(
str);
1079 Map_Ampl[11][sub][
k]->SetXTitle(
"#eta \b");
1080 Map_Ampl[11][sub][
k]->SetYTitle(
"#phi \b");
1081 Map_Ampl[11][sub][
k]->SetZTitle(
"Rate \b");
1082 Map_Ampl[11][sub][
k]->SetTitleOffset(0.75,
"Z");
1083 Map_Ampl[11][sub][
k]->Draw(
"COLZ");
1084 Map_Ampl[11][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
1085 Map_Ampl[11][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
1094 cONE->Print(
"MapRateCapCalibHB.png");
1098 cONE->Print(
"MapRateCapCalibHE.png");
1102 cONE->Print(
"MapRateCapCalibHO.png");
1106 cONE->Print(
"MapRateCapCalibHF.png");
1115 Map_Ampl[12][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HB");
1116 Map_Ampl[12][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HB");
1117 Map_Ampl[12][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HE");
1118 Map_Ampl[12][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HE");
1119 Map_Ampl[12][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HE");
1120 Map_Ampl[12][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HO");
1121 Map_Ampl[12][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HF");
1122 Map_Ampl[12][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HF");
1124 HistAmpl[12][1] = (TH1F *)
dir->FindObjectAny(
"h_ADCCalib_HB");
1125 HistAmpl[12][2] = (TH1F *)
dir->FindObjectAny(
"h_ADCCalib_HE");
1126 HistAmpl[12][3] = (TH1F *)
dir->FindObjectAny(
"h_ADCCalib_HO");
1127 HistAmpl[12][4] = (TH1F *)
dir->FindObjectAny(
"h_ADCCalib_HF");
1133 Map_Ampl[13][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HB");
1134 Map_Ampl[13][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HB");
1135 Map_Ampl[13][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HE");
1136 Map_Ampl[13][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HE");
1137 Map_Ampl[13][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HE");
1138 Map_Ampl[13][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HO");
1139 Map_Ampl[13][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HF");
1140 Map_Ampl[13][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HF");
1142 HistAmpl[13][1] = (TH1F *)
dir->FindObjectAny(
"h_WidthCalib_HB");
1143 HistAmpl[13][2] = (TH1F *)
dir->FindObjectAny(
"h_WidthCalib_HE");
1144 HistAmpl[13][3] = (TH1F *)
dir->FindObjectAny(
"h_WidthCalib_HO");
1145 HistAmpl[13][4] = (TH1F *)
dir->FindObjectAny(
"h_WidthCalib_HF");
1151 Map_Ampl[14][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HB");
1152 Map_Ampl[14][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HB");
1153 Map_Ampl[14][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HE");
1154 Map_Ampl[14][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HE");
1155 Map_Ampl[14][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HE");
1156 Map_Ampl[14][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HO");
1157 Map_Ampl[14][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HF");
1158 Map_Ampl[14][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HF");
1160 HistAmpl[14][1] = (TH1F *)
dir->FindObjectAny(
"h_RatioCalib_HB");
1161 HistAmpl[14][2] = (TH1F *)
dir->FindObjectAny(
"h_RatioCalib_HE");
1162 HistAmpl[14][3] = (TH1F *)
dir->FindObjectAny(
"h_RatioCalib_HO");
1163 HistAmpl[14][4] = (TH1F *)
dir->FindObjectAny(
"h_RatioCalib_HF");
1169 Map_Ampl[15][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HB");
1170 Map_Ampl[15][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HB");
1171 Map_Ampl[15][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HE");
1172 Map_Ampl[15][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HE");
1173 Map_Ampl[15][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HE");
1174 Map_Ampl[15][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HO");
1175 Map_Ampl[15][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HF");
1176 Map_Ampl[15][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HF");
1178 HistAmpl[15][1] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanCalib_HB");
1179 HistAmpl[15][2] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanCalib_HE");
1180 HistAmpl[15][3] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanCalib_HO");
1181 HistAmpl[15][4] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanCalib_HF");
1187 Map_Ampl[16][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HB");
1188 Map_Ampl[16][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HB");
1189 Map_Ampl[16][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HE");
1190 Map_Ampl[16][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HE");
1191 Map_Ampl[16][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HE");
1192 Map_Ampl[16][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HO");
1193 Map_Ampl[16][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HF");
1194 Map_Ampl[16][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HF");
1196 HistAmpl[16][1] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxCalib_HB");
1197 HistAmpl[16][2] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxCalib_HE");
1198 HistAmpl[16][3] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxCalib_HO");
1199 HistAmpl[16][4] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxCalib_HF");
1202 for (
int sub = 1; sub <= 4; sub++) {
1231 Map_Ampl[
test][sub][
k]->Divide(Map_Ampl[
test][sub][
k], Map_Calib[sub][
k], 1, 1,
"B");
1243 Map_Ampl[
test][sub][
k]->SetTitle(
str);
1244 Map_Ampl[
test][sub][
k]->SetXTitle(
"#eta \b");
1245 Map_Ampl[
test][sub][
k]->SetYTitle(
"#phi \b");
1246 Map_Ampl[
test][sub][
k]->SetZTitle(
"Rate \b");
1247 Map_Ampl[
test][sub][
k]->SetTitleOffset(0.8,
"Z");
1248 Map_Ampl[
test][sub][
k]->Draw(
"COLZ");
1249 Map_Ampl[
test][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
1250 Map_Ampl[
test][sub][
k]->GetZaxis()->SetRangeUser(0.00001, 1.);
1259 cONE->Print(
"MapRateAmplCalibHB.png");
1263 cONE->Print(
"MapRateAmplCalibHE.png");
1267 cONE->Print(
"MapRateAmplCalibHO.png");
1271 cONE->Print(
"MapRateAmplCalibHF.png");
1277 cONE->Print(
"MapRateRMSCalibHB.png");
1281 cONE->Print(
"MapRateRMSCalibHE.png");
1285 cONE->Print(
"MapRateRMSCalibHO.png");
1289 cONE->Print(
"MapRateRMSCalibHF.png");
1295 cONE->Print(
"MapRate43TStoAllTSCalibHB.png");
1299 cONE->Print(
"MapRate43TStoAllTSCalibHE.png");
1303 cONE->Print(
"MapRate43TStoAllTSCalibHO.png");
1307 cONE->Print(
"MapRate43TStoAllTSCalibHF.png");
1313 cONE->Print(
"MapRateMeanPosCalibHB.png");
1317 cONE->Print(
"MapRateMeanPosCalibHE.png");
1321 cONE->Print(
"MapRateMeanPosCalibHO.png");
1325 cONE->Print(
"MapRateMeanPosCalibHF.png");
1331 cONE->Print(
"MapRateMaxPosCalibHB.png");
1335 cONE->Print(
"MapRateMaxPosCalibHE.png");
1339 cONE->Print(
"MapRateMaxPosCalibHO.png");
1343 cONE->Print(
"MapRateMaxPosCalibHF.png");
1354 HistAmpl[
test][sub]->SetTitle(
"HB, All Depth");
1356 HistAmpl[
test][sub]->SetTitle(
"HE, All Depth");
1358 HistAmpl[
test][sub]->SetTitle(
"HO, All Depth");
1360 HistAmpl[
test][sub]->SetTitle(
"HF, All Depth");
1362 HistAmpl[
test][sub]->SetXTitle(
"ADC Amlitude in each event & cell \b");
1364 HistAmpl[
test][sub]->SetXTitle(
"Amplitude RMS in each event & cell \b");
1366 HistAmpl[
test][sub]->SetXTitle(
"Ratio in each event & cell \b");
1368 HistAmpl[
test][sub]->SetXTitle(
"Mean TS position in each event & cell \b");
1370 HistAmpl[
test][sub]->SetXTitle(
"Max TS position in each event & cell \b");
1371 HistAmpl[
test][sub]->SetYTitle(
"Number of cell-events \b");
1372 HistAmpl[
test][sub]->SetLineColor(4);
1373 HistAmpl[
test][sub]->SetLineWidth(2);
1374 HistAmpl[
test][sub]->SetTitleOffset(1.4,
"Y");
1375 HistAmpl[
test][sub]->Draw(
"");
1379 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(1., 10000.);
1382 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 5.);
1384 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 1.);
1386 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 9.);
1388 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 9.);
1391 double min_x[] = {MIN_C[
test - 10][sub], MIN_C[
test - 10][sub]};
1392 double min_y[] = {0., 100000000.};
1393 TGraph *
MIN =
new TGraph(2, min_x, min_y);
1394 MIN->SetLineStyle(2);
1395 MIN->SetLineColor(2);
1396 MIN->SetLineWidth(2 + 100 * 100);
1397 MIN->SetFillStyle(3005);
1398 MIN->SetFillColor(2);
1400 double max_x[] = {MAX_C[
test - 10][sub], MAX_C[
test - 10][sub]};
1401 double max_y[] = {0., 100000000.};
1402 TGraph *
MAX =
new TGraph(2, max_x, max_y);
1403 MAX->SetLineStyle(2);
1404 MAX->SetLineColor(2);
1405 MAX->SetLineWidth(-2 - 100 * 100);
1406 MAX->SetFillStyle(3004);
1407 MAX->SetFillColor(2);
1411 cONE->Print(
"HistAmplCalibHB.png");
1415 cONE->Print(
"HistAmplCalibHE.png");
1419 cONE->Print(
"HistAmplCalibHO.png");
1423 cONE->Print(
"HistAmplCalibHF.png");
1429 cONE->Print(
"HistRMSCalibHB.png");
1433 cONE->Print(
"HistRMSCalibHE.png");
1437 cONE->Print(
"HistRMSCalibHO.png");
1441 cONE->Print(
"HistRMSCalibHF.png");
1447 cONE->Print(
"Hist43TStoAllTSCalibHB.png");
1451 cONE->Print(
"Hist43TStoAllTSCalibHE.png");
1455 cONE->Print(
"Hist43TStoAllTSCalibHO.png");
1459 cONE->Print(
"Hist43TStoAllTSCalibHF.png");
1465 cONE->Print(
"HistMeanPosCalibHB.png");
1469 cONE->Print(
"HistMeanPosCalibHE.png");
1473 cONE->Print(
"HistMeanPosCalibHO.png");
1477 cONE->Print(
"HistMeanPosCalibHF.png");
1483 cONE->Print(
"HistMaxPosCalibHB.png");
1487 cONE->Print(
"HistMaxPosCalibHE.png");
1491 cONE->Print(
"HistMaxPosCalibHO.png");
1495 cONE->Print(
"HistMaxPosCalibHF.png");
1506 Map_Ampl[21][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1AmplE34_HB");
1507 Map_Ampl[21][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2AmplE34_HB");
1508 Map_Ampl[21][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3AmplE34_HB");
1509 Map_Ampl[21][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4AmplE34_HB");
1510 Map_Ampl[21][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1AmplE34_HE");
1511 Map_Ampl[21][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2AmplE34_HE");
1512 Map_Ampl[21][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3AmplE34_HE");
1513 Map_Ampl[21][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4AmplE34_HE");
1514 Map_Ampl[21][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5AmplE34_HE");
1515 Map_Ampl[21][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6AmplE34_HE");
1516 Map_Ampl[21][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7AmplE34_HE");
1517 Map_Ampl[21][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4AmplE34_HO");
1518 Map_Ampl[21][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1AmplE34_HF");
1519 Map_Ampl[21][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2AmplE34_HF");
1520 Map_Ampl[21][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3AmplE34_HF");
1521 Map_Ampl[21][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4AmplE34_HF");
1523 TH2F *Map_RefAmpl[5][ALLDEPTH];
1524 TH2F *Map_RefSUB[5][ALLDEPTH];
1526 Map_RefAmpl[1][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1AmplE34_HB");
1527 Map_RefAmpl[1][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2AmplE34_HB");
1528 Map_RefAmpl[1][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3AmplE34_HB");
1529 Map_RefAmpl[1][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4AmplE34_HB");
1530 Map_RefAmpl[2][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1AmplE34_HE");
1531 Map_RefAmpl[2][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2AmplE34_HE");
1532 Map_RefAmpl[2][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3AmplE34_HE");
1533 Map_RefAmpl[2][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4AmplE34_HE");
1534 Map_RefAmpl[2][5] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth5AmplE34_HE");
1535 Map_RefAmpl[2][6] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth6AmplE34_HE");
1536 Map_RefAmpl[2][7] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth7AmplE34_HE");
1537 Map_RefAmpl[3][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4AmplE34_HO");
1538 Map_RefAmpl[4][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1AmplE34_HF");
1539 Map_RefAmpl[4][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2AmplE34_HF");
1540 Map_RefAmpl[4][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3AmplE34_HF");
1541 Map_RefAmpl[4][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4AmplE34_HF");
1543 Map_RefSUB[1][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1_HB");
1544 Map_RefSUB[1][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2_HB");
1545 Map_RefSUB[1][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3_HB");
1546 Map_RefSUB[1][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4_HB");
1547 Map_RefSUB[2][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1_HE");
1548 Map_RefSUB[2][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2_HE");
1549 Map_RefSUB[2][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3_HE");
1550 Map_RefSUB[2][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4_HE");
1551 Map_RefSUB[2][5] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth5_HE");
1552 Map_RefSUB[2][6] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth6_HE");
1553 Map_RefSUB[2][7] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth7_HE");
1554 Map_RefSUB[3][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4_HO");
1555 Map_RefSUB[4][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1_HF");
1556 Map_RefSUB[4][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2_HF");
1557 Map_RefSUB[4][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3_HF");
1558 Map_RefSUB[4][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4_HF");
1560 HistAmplDepth[21][1][1] =
new TH1F(
"diffAmpl_Depth1_HB",
"", 100, -10., 10.);
1561 HistAmplDepth[21][1][2] =
new TH1F(
"diffAmpl_Depth2_HB",
"", 100, -10., 10.);
1562 HistAmplDepth[21][1][3] =
new TH1F(
"diffAmpl_Depth3_HB",
"", 100, -10., 10.);
1563 HistAmplDepth[21][1][4] =
new TH1F(
"diffAmpl_Depth4_HB",
"", 100, -10., 10.);
1564 HistAmplDepth[21][2][1] =
new TH1F(
"diffAmpl_Depth1_HE",
"", 100, -10., 10.);
1565 HistAmplDepth[21][2][2] =
new TH1F(
"diffAmpl_Depth2_HE",
"", 100, -10., 10.);
1566 HistAmplDepth[21][2][3] =
new TH1F(
"diffAmpl_Depth3_HE",
"", 100, -10., 10.);
1567 HistAmplDepth[21][2][4] =
new TH1F(
"diffAmpl_Depth4_HE",
"", 100, -10., 10.);
1568 HistAmplDepth[21][2][5] =
new TH1F(
"diffAmpl_Depth5_HE",
"", 100, -10., 10.);
1569 HistAmplDepth[21][2][6] =
new TH1F(
"diffAmpl_Depth6_HE",
"", 100, -10., 10.);
1570 HistAmplDepth[21][2][7] =
new TH1F(
"diffAmpl_Depth7_HE",
"", 100, -10., 10.);
1571 HistAmplDepth[21][3][4] =
new TH1F(
"diffAmpl_Depth4_HO",
"", 100, -10., 10.);
1572 HistAmplDepth[21][4][1] =
new TH1F(
"diffAmpl_Depth1_HF",
"", 100, -10., 10.);
1573 HistAmplDepth[21][4][2] =
new TH1F(
"diffAmpl_Depth2_HF",
"", 100, -10., 10.);
1574 HistAmplDepth[21][4][3] =
new TH1F(
"diffAmpl_Depth3_HF",
"", 100, -10., 10.);
1575 HistAmplDepth[21][4][4] =
new TH1F(
"diffAmpl_Depth4_HF",
"", 100, -10., 10.);
1577 for (
int sub = 1; sub <= 4; sub++) {
1592 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
1601 Map_Ampl[21][sub][
k]->Divide(Map_Ampl[21][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
1606 sprintf(
str,
"HB, Depth%d \b",
k);
1608 sprintf(
str,
"HE, Depth%d \b",
k);
1610 sprintf(
str,
"HO, Depth%d \b",
k);
1612 sprintf(
str,
"HF, Depth%d \b",
k);
1613 Map_Ampl[21][sub][
k]->SetTitle(
str);
1614 Map_Ampl[21][sub][
k]->SetXTitle(
"#eta \b");
1615 Map_Ampl[21][sub][
k]->SetYTitle(
"#phi \b");
1616 Map_Ampl[21][sub][
k]->SetZTitle(
"Response \b");
1617 Map_Ampl[21][sub][
k]->SetTitleOffset(1.1,
"Z");
1618 Map_Ampl[21][sub][
k]->Draw(
"COLZ");
1619 Map_Ampl[21][sub][
k]->GetYaxis()->SetRangeUser(0, 71.);
1639 cHB->Print(
"MapRateAmpl1HB.png");
1643 cHE->Print(
"MapRateAmpl1HE.png");
1647 cONE->Print(
"MapRateAmpl1HO.png");
1651 cHF->Print(
"MapRateAmpl1HF.png");
1667 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
1676 Map_RefAmpl[sub][
k]->Divide(Map_RefAmpl[sub][
k], Map_RefSUB[sub][
k], 1, 1,
"B");
1681 sprintf(
str,
"HB, Depth%d \b",
k);
1683 sprintf(
str,
"HE, Depth%d \b",
k);
1685 sprintf(
str,
"HO, Depth%d \b",
k);
1687 sprintf(
str,
"HF, Depth%d \b",
k);
1688 Map_RefAmpl[sub][
k]->SetTitle(
str);
1689 Map_RefAmpl[sub][
k]->SetXTitle(
"#eta \b");
1690 Map_RefAmpl[sub][
k]->SetYTitle(
"#phi \b");
1691 Map_RefAmpl[sub][
k]->SetZTitle(
"Response\b");
1692 Map_RefAmpl[sub][
k]->SetTitleOffset(1.1,
"Z");
1693 Map_RefAmpl[sub][
k]->Draw(
"COLZ");
1694 Map_RefAmpl[sub][
k]->GetYaxis()->SetRangeUser(0, 71.);
1714 cHB->Print(
"MapRateAmpl2HB.png");
1718 cHE->Print(
"MapRateAmpl2HE.png");
1722 cONE->Print(
"MapRateAmpl2HO.png");
1726 cHF->Print(
"MapRateAmpl2HF.png");
1742 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
1751 TH2F *
TTT =
new TH2F(
"Map",
"Map", 82, -41, 40, 72, 0, 71);
1752 for (
int x = 1;
x <= Map_Ampl[21][sub][
k]->GetXaxis()->GetNbins();
x++) {
1753 for (
int y = 1;
y <= Map_Ampl[21][sub][
k]->GetYaxis()->GetNbins();
y++) {
1754 if (Map_Ampl[21][sub][
k]->GetBinContent(
x,
y) != 0 && Map_RefAmpl[sub][
k]->GetBinContent(
x,
y) != 0) {
1755 double ccc1 = Map_Ampl[21][sub][
k]->GetBinContent(
x,
y) - Map_RefAmpl[sub][
k]->GetBinContent(
x,
y);
1756 ccc1 = 100. * ccc1 / Map_Ampl[21][sub][
k]->GetBinContent(
x,
y);
1757 HistAmplDepth[21][sub][
k]->Fill(ccc1);
1758 Map_Ampl[21][sub][
k]->SetBinContent(
x,
y, fabs(ccc1));
1759 if (fabs(ccc1) > porog[sub])
1760 TTT->SetBinContent(
x,
y, fabs(ccc1));
1762 TTT->SetBinContent(
x,
y, 0);
1770 sprintf(
str,
"HB, Depth%d \b",
k);
1772 sprintf(
str,
"HE, Depth%d \b",
k);
1774 sprintf(
str,
"HO, Depth%d \b",
k);
1776 sprintf(
str,
"HF, Depth%d \b",
k);
1778 TTT->SetXTitle(
"#eta \b");
1779 TTT->SetYTitle(
"#phi \b");
1780 TTT->SetZTitle(
"Relative difference, % \b");
1781 TTT->SetTitleOffset(0.9,
"Z");
1783 TTT->GetYaxis()->SetRangeUser(0, 71.);
1784 TTT->GetZaxis()->SetRangeUser(0, 10.);
1804 cHB->Print(
"MapRateAmplDriftHB.png");
1808 cHE->Print(
"MapRateAmplDriftHE.png");
1812 cONE->Print(
"MapRateAmplDriftHO.png");
1816 cHF->Print(
"MapRateAmplDriftHF.png");
1833 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
1846 sprintf(
str,
"HB, Depth%d \b",
k);
1848 sprintf(
str,
"HE, Depth%d \b",
k);
1850 sprintf(
str,
"HO, Depth%d \b",
k);
1852 sprintf(
str,
"HF, Depth%d \b",
k);
1853 HistAmplDepth[21][sub][
k]->SetTitle(
str);
1854 HistAmplDepth[21][sub][
k]->SetYTitle(
"Number of cell-events \b");
1855 HistAmplDepth[21][sub][
k]->SetXTitle(
"Per cent \b");
1856 HistAmplDepth[21][sub][
k]->SetLineColor(4);
1857 HistAmplDepth[21][sub][
k]->SetLineWidth(2);
1858 HistAmplDepth[21][sub][
k]->SetTitleOffset(1.4,
"Y");
1859 HistAmplDepth[21][sub][
k]->Draw();
1861 HistAmplDepth[21][sub][
k]->GetXaxis()->SetRangeUser(-10., 10.);
1878 double min_x[] = {-1 * porog[sub], -1 * porog[sub]};
1879 double min_y[] = {0., 100000000.};
1880 TGraph *
MIN =
new TGraph(2, min_x, min_y);
1881 MIN->SetLineStyle(2);
1882 MIN->SetLineColor(2);
1883 MIN->SetLineWidth(2 + 100 * 100);
1884 MIN->SetFillStyle(3005);
1885 MIN->SetFillColor(2);
1887 double max_x[] = {porog[sub], porog[sub]};
1888 double max_y[] = {0., 100000000.};
1889 TGraph *
MAX =
new TGraph(2, max_x, max_y);
1890 MAX->SetLineStyle(2);
1891 MAX->SetLineColor(2);
1892 MAX->SetLineWidth(-2 - 100 * 100);
1893 MAX->SetFillStyle(3004);
1894 MAX->SetFillColor(2);
1898 cHB->Print(
"HistAmplDriftDepthHB.png");
1902 cHE->Print(
"HistAmplDriftDepthHE.png");
1906 cONE->Print(
"HistAmplDriftDepthHO.png");
1910 cHF->Print(
"HistAmplDriftDepthHF.png");
1919 Map_Ampl[31][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestal_HB");
1920 Map_Ampl[31][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestal_HB");
1921 Map_Ampl[31][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestal_HB");
1922 Map_Ampl[31][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HB");
1923 Map_Ampl[31][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestal_HE");
1924 Map_Ampl[31][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestal_HE");
1925 Map_Ampl[31][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestal_HE");
1926 Map_Ampl[31][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HE");
1927 Map_Ampl[31][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5pedestal_HE");
1928 Map_Ampl[31][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6pedestal_HE");
1929 Map_Ampl[31][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7pedestal_HE");
1930 Map_Ampl[31][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HO");
1931 Map_Ampl[31][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestal_HF");
1932 Map_Ampl[31][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestal_HF");
1933 Map_Ampl[31][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestal_HF");
1934 Map_Ampl[31][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HF");
1936 Map_Ampl[32][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestalw_HB");
1937 Map_Ampl[32][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestalw_HB");
1938 Map_Ampl[32][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestalw_HB");
1939 Map_Ampl[32][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HB");
1940 Map_Ampl[32][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestalw_HE");
1941 Map_Ampl[32][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestalw_HE");
1942 Map_Ampl[32][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestalw_HE");
1943 Map_Ampl[32][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HE");
1944 Map_Ampl[32][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5pedestalw_HE");
1945 Map_Ampl[32][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6pedestalw_HE");
1946 Map_Ampl[32][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7pedestalw_HE");
1947 Map_Ampl[32][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HO");
1948 Map_Ampl[32][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestalw_HF");
1949 Map_Ampl[32][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestalw_HF");
1950 Map_Ampl[32][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestalw_HF");
1951 Map_Ampl[32][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HF");
1953 HistPed[1][1][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HB");
1954 HistPed[1][1][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HB");
1955 HistPed[1][1][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HB");
1956 HistPed[1][1][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HB");
1957 HistPed[2][1][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HB");
1958 HistPed[2][1][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HB");
1959 HistPed[2][1][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HB");
1960 HistPed[2][1][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HB");
1962 HistPed[1][2][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HE");
1963 HistPed[1][2][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HE");
1964 HistPed[1][2][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HE");
1965 HistPed[1][2][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HE");
1966 HistPed[2][2][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HE");
1967 HistPed[2][2][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HE");
1968 HistPed[2][2][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HE");
1969 HistPed[2][2][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HE");
1971 HistPed[1][3][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HO");
1972 HistPed[1][3][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HO");
1973 HistPed[1][3][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HO");
1974 HistPed[1][3][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HO");
1975 HistPed[2][3][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HO");
1976 HistPed[2][3][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HO");
1977 HistPed[2][3][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HO");
1978 HistPed[2][3][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HO");
1980 HistPed[1][4][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HF");
1981 HistPed[1][4][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HF");
1982 HistPed[1][4][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HF");
1983 HistPed[1][4][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HF");
1984 HistPed[2][4][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HF");
1985 HistPed[2][4][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HF");
1986 HistPed[2][4][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HF");
1987 HistPed[2][4][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HF");
1990 for (
int sub = 1; sub <= 4; sub++) {
2005 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
2014 Map_Ampl[
test][sub][
k]->Divide(Map_Ampl[
test][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
2019 sprintf(
str,
"HB, Depth%d \b",
k);
2021 sprintf(
str,
"HE, Depth%d \b",
k);
2023 sprintf(
str,
"HO, Depth%d \b",
k);
2025 sprintf(
str,
"HF, Depth%d \b",
k);
2026 Map_Ampl[
test][sub][
k]->SetTitle(
str);
2027 Map_Ampl[
test][sub][
k]->SetXTitle(
"#eta \b");
2028 Map_Ampl[
test][sub][
k]->SetYTitle(
"#phi \b");
2029 Map_Ampl[
test][sub][
k]->SetZTitle(
"Rate \b");
2031 Map_Ampl[
test][sub][
k]->SetTitleOffset(0.8,
"Z");
2032 Map_Ampl[
test][sub][
k]->Draw(
"COLZ");
2033 Map_Ampl[
test][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
2034 Map_Ampl[
test][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
2054 cHB->Print(
"MapRatePedHB.png");
2058 cHE->Print(
"MapRatePedHE.png");
2062 cONE->Print(
"MapRatePedHO.png");
2066 cHF->Print(
"MapRatePedHF.png");
2072 cHB->Print(
"MapRatePedWidthsHB.png");
2076 cHE->Print(
"MapRatePedWidthsHE.png");
2080 cONE->Print(
"MapRatePedWidthsHO.png");
2084 cHF->Print(
"MapRatePedWidthsHF.png");
2099 sprintf(
str,
"HB, Cap%d, all depth\b",
cap);
2101 sprintf(
str,
"HE, Cap%d, all depth\b",
cap);
2103 sprintf(
str,
"HO, Cap%d, all depth\b",
cap);
2105 sprintf(
str,
"HF, Cap%d, all depth\b",
cap);
2110 HistPed[
test - 30][sub][
cap]->SetXTitle(
"Pedestals in each event & cell \b");
2112 HistPed[
test - 30][sub][
cap]->SetXTitle(
"Pedestal Widths in each event & cell \b");
2114 HistPed[
test - 30][sub][
cap]->SetYTitle(
"Number of channel-events \b");
2115 HistPed[
test - 30][sub][
cap]->SetLineColor(4);
2116 HistPed[
test - 30][sub][
cap]->SetLineWidth(2);
2117 HistPed[
test - 30][sub][
cap]->SetTitleOffset(1.4,
"Y");
2118 HistPed[
test - 30][sub][
cap]->Draw(
"");
2125 double min_x[] = {Pedest[
test - 31][sub], Pedest[
test - 31][sub]};
2126 double min_y[] = {0., 100000000.};
2127 TGraph *
MIN =
new TGraph(2, min_x, min_y);
2128 MIN->SetLineStyle(2);
2129 MIN->SetLineColor(2);
2130 MIN->SetLineWidth(2 + 100 * 100);
2131 MIN->SetFillStyle(3005);
2132 MIN->SetFillColor(2);
2137 cPED->Print(
"HistPedestalsHB.png");
2141 cPED->Print(
"HistPedestalsHE.png");
2145 cPED->Print(
"HistPedestalsHO.png");
2149 cPED->Print(
"HistPedestalsHF.png");
2155 cPED->Print(
"HistPedestalWidthsHB.png");
2159 cPED->Print(
"HistPedestalWidthsHE.png");
2163 cPED->Print(
"HistPedestalWidthsHO.png");
2167 cPED->Print(
"HistPedestalWidthsHF.png");
2179 Map_Ped[1][1] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HB");
2180 Map_Ped[1][2] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HE");
2181 Map_Ped[1][3] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HO");
2182 Map_Ped[1][4] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HF");
2183 Map_Ped[2][1] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HB");
2184 Map_Ped[2][2] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HE");
2185 Map_Ped[2][3] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HO");
2186 Map_Ped[2][4] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HF");
2187 for (
int sub = 1; sub <= 4; sub++) {
2195 Map_Ped[
test][sub]->SetXTitle(
"Pedestal, fC \b");
2197 Map_Ped[
test][sub]->SetXTitle(
"pedestal Width, fC \b");
2198 Map_Ped[
test][sub]->SetYTitle(
"Amplitude, fC \b");
2199 Map_Ped[
test][sub]->SetZTitle(
"entries \b");
2201 sprintf(
str,
"Cap0 Pedestal vs Amplitude \b");
2203 sprintf(
str,
"Cap0 pedestalWidth vs Amplitude \b");
2204 Map_Ped[
test][sub]->SetTitle(
str);
2205 Map_Ped[
test][sub]->Draw(
"COLZ");
2212 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHB.png");
2216 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHE.png");
2220 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHO.png");
2224 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHF.png");
2234 hist_GoodTSshape[1] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HB");
2235 hist_GoodTSshape[2] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HE");
2236 hist_GoodTSshape[3] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HO");
2237 hist_GoodTSshape[4] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HF");
2239 hist_GoodTSshape0[1] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HB");
2240 hist_GoodTSshape0[2] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HE");
2241 hist_GoodTSshape0[3] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HO");
2242 hist_GoodTSshape0[4] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HF");
2244 hist_BadTSshape[1] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HB");
2245 hist_BadTSshape[2] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HE");
2246 hist_BadTSshape[3] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HO");
2247 hist_BadTSshape[4] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HF");
2249 hist_BadTSshape0[1] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HB");
2250 hist_BadTSshape0[2] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HE");
2251 hist_BadTSshape0[3] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HO");
2252 hist_BadTSshape0[4] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HF");
2256 for (
int sub = 1; sub <= 4; sub++) {
2261 hist_GoodTSshape[sub]->Divide(hist_GoodTSshape[sub], hist_GoodTSshape0[sub], 1, 1,
"B");
2262 hist_GoodTSshape[sub]->SetXTitle(
"Time slice \b");
2263 hist_GoodTSshape[sub]->SetYTitle(
"ADC counts \b");
2264 sprintf(
str,
"Mean ADC Shape \b");
2265 hist_GoodTSshape[sub]->SetTitle(
str);
2266 hist_GoodTSshape[sub]->Draw(
"");
2272 cONE->Print(
"HistGoodTSshapesHB.png");
2276 cONE->Print(
"HistGoodTSshapesHE.png");
2280 cONE->Print(
"HistGoodTSshapesHO.png");
2284 cONE->Print(
"HistGoodTSshapesHF.png");
2289 for (
int sub = 1; sub <= 4; sub++) {
2294 hist_BadTSshape[sub]->Divide(hist_BadTSshape[sub], hist_BadTSshape0[sub], 1, 1,
"B");
2295 hist_BadTSshape[sub]->SetXTitle(
"Time slice \b");
2296 hist_BadTSshape[sub]->SetYTitle(
"ADC counts \b");
2297 sprintf(
str,
"Mean ADC Shape \b");
2298 hist_BadTSshape[sub]->SetTitle(
str);
2299 hist_BadTSshape[sub]->Draw(
"");
2305 cONE->Print(
"HistBadTSshapesHB.png");
2309 cONE->Print(
"HistBadTSshapesHE.png");
2313 cONE->Print(
"HistBadTSshapesHO.png");
2317 cONE->Print(
"HistBadTSshapesHF.png");
2325 Map_SUBTS[1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TS2_HB");
2326 Map_SUBTS[1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TS2_HB");
2327 Map_SUBTS[1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TS2_HB");
2328 Map_SUBTS[1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS2_HB");
2330 Map_SUBTS[2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TS2_HE");
2331 Map_SUBTS[2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TS2_HE");
2332 Map_SUBTS[2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TS2_HE");
2333 Map_SUBTS[2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS2_HE");
2334 Map_SUBTS[2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TS2_HE");
2335 Map_SUBTS[2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TS2_HE");
2336 Map_SUBTS[2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TS2_HE");
2338 Map_SUBTS[3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS012_HO");
2340 Map_SUBTS[4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TS1_HF");
2341 Map_SUBTS[4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TS1_HF");
2342 Map_SUBTS[4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TS1_HF");
2343 Map_SUBTS[4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS1_HF");
2346 for (
int sub = 1; sub <= 4; sub++) {
2361 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
2370 Map_SUBTS[sub][
k]->Divide(Map_SUBTS[sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
2375 sprintf(
str,
"HB, Depth%d \b",
k);
2377 sprintf(
str,
"HE, Depth%d \b",
k);
2379 sprintf(
str,
"HO, Depth%d \b",
k);
2381 sprintf(
str,
"HF, Depth%d \b",
k);
2382 Map_SUBTS[sub][
k]->SetTitle(
str);
2383 Map_SUBTS[sub][
k]->SetXTitle(
"#eta \b");
2384 Map_SUBTS[sub][
k]->SetYTitle(
"#phi \b");
2385 Map_SUBTS[sub][
k]->SetZTitle(
"Rate \b");
2387 Map_SUBTS[sub][
k]->SetTitleOffset(0.8,
"Z");
2388 Map_SUBTS[sub][
k]->Draw(
"COLZ");
2389 Map_SUBTS[sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
2390 Map_SUBTS[sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
2410 cHB->Print(
"Hist_mapDepthAllTS2_HB.png");
2414 cHE->Print(
"Hist_mapDepthAllTS2_HE.png");
2418 cONE->Print(
"Hist_mapDepthAllTS012_HO.png");
2422 cHF->Print(
"Hist_mapDepthAllTS1_HF.png");
2678 const int neta = 82;
2679 const int nphi = 72;
2699 double adigiHB[
ndepth][njeta][njphi];
2700 double digivarianceHB[
ndepth][njeta][njphi];
2702 TH2F *amplitudechannel1HB1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HB1");
2703 TH2F *amplitudechannel0HB1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB1");
2704 TH2F *amplitudechannelHB1 = (TH2F *)amplitudechannel1HB1->Clone(
"amplitudechannelHB1");
2705 amplitudechannelHB1->Divide(amplitudechannel1HB1, amplitudechannel0HB1, 1, 1,
"B");
2706 TH2F *amplitudechannel1HB2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HB2");
2707 TH2F *amplitudechannel0HB2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB2");
2708 TH2F *amplitudechannelHB2 = (TH2F *)amplitudechannel1HB2->Clone(
"amplitudechannelHB2");
2709 amplitudechannelHB2->Divide(amplitudechannel1HB2, amplitudechannel0HB2, 1, 1,
"B");
2710 TH2F *amplitudechannel1HB3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HB3");
2711 TH2F *amplitudechannel0HB3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB3");
2712 TH2F *amplitudechannelHB3 = (TH2F *)amplitudechannel1HB3->Clone(
"amplitudechannelHB3");
2713 amplitudechannelHB3->Divide(amplitudechannel1HB3, amplitudechannel0HB3, 1, 1,
"B");
2714 TH2F *amplitudechannel1HB4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HB4");
2715 TH2F *amplitudechannel0HB4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB4");
2716 TH2F *amplitudechannelHB4 = (TH2F *)amplitudechannel1HB4->Clone(
"amplitudechannelHB4");
2717 amplitudechannelHB4->Divide(amplitudechannel1HB4, amplitudechannel0HB4, 1, 1,
"B");
2721 double sumdigiHB0 = 0;
2722 int nsumdigiHB0 = 0;
2723 double sumdigiHB1 = 0;
2724 int nsumdigiHB1 = 0;
2725 double sumdigiHB2 = 0;
2726 int nsumdigiHB2 = 0;
2727 double sumdigiHB3 = 0;
2728 int nsumdigiHB3 = 0;
2729 for (
int jphi = 0; jphi < njphi; jphi++) {
2730 adigiHB[0][
jeta][jphi] = amplitudechannelHB1->GetBinContent(
jeta + 1, jphi + 1);
2731 adigiHB[1][
jeta][jphi] = amplitudechannelHB2->GetBinContent(
jeta + 1, jphi + 1);
2732 adigiHB[2][
jeta][jphi] = amplitudechannelHB3->GetBinContent(
jeta + 1, jphi + 1);
2733 adigiHB[3][
jeta][jphi] = amplitudechannelHB4->GetBinContent(
jeta + 1, jphi + 1);
2734 if (adigiHB[0][
jeta][jphi] > 0.) {
2735 sumdigiHB0 += adigiHB[0][
jeta][jphi];
2738 if (adigiHB[1][
jeta][jphi] > 0.) {
2739 sumdigiHB1 += adigiHB[1][
jeta][jphi];
2742 if (adigiHB[2][
jeta][jphi] > 0.) {
2743 sumdigiHB2 += adigiHB[2][
jeta][jphi];
2746 if (adigiHB[3][
jeta][jphi] > 0.) {
2747 sumdigiHB3 += adigiHB[3][
jeta][jphi];
2752 for (
int jphi = 0; jphi < njphi; jphi++) {
2753 if (adigiHB[0][
jeta][jphi] > 0.)
2754 adigiHB[0][
jeta][jphi] /= (sumdigiHB0 / nsumdigiHB0);
2755 if (adigiHB[1][
jeta][jphi] > 0.)
2756 adigiHB[1][
jeta][jphi] /= (sumdigiHB1 / nsumdigiHB1);
2757 if (adigiHB[2][
jeta][jphi] > 0.)
2758 adigiHB[2][
jeta][jphi] /= (sumdigiHB2 / nsumdigiHB2);
2759 if (adigiHB[3][
jeta][jphi] > 0.)
2760 adigiHB[3][
jeta][jphi] /= (sumdigiHB3 / nsumdigiHB3);
2771 TH2F *GefzRdigiHB42D =
new TH2F(
"GefzRdigiHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
2772 TH2F *GefzRdigiHB42D0 =
new TH2F(
"GefzRdigiHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
2773 TH2F *GefzRdigiHB42DF = (TH2F *)GefzRdigiHB42D0->Clone(
"GefzRdigiHB42DF");
2776 for (
int jphi = 0; jphi <
nphi; jphi++) {
2777 double ccc1 = adigiHB[
i][
jeta][jphi];
2778 int k2plot =
jeta - 41;
2781 GefzRdigiHB42D->Fill(kkk, jphi, ccc1);
2782 GefzRdigiHB42D0->Fill(kkk, jphi, 1.);
2787 GefzRdigiHB42DF->Divide(GefzRdigiHB42D, GefzRdigiHB42D0, 1, 1,
"B");
2790 GefzRdigiHB42DF->SetMarkerStyle(20);
2791 GefzRdigiHB42DF->SetMarkerSize(0.4);
2792 GefzRdigiHB42DF->GetZaxis()->SetLabelSize(0.08);
2793 GefzRdigiHB42DF->SetXTitle(
"<R>_depth #eta \b");
2794 GefzRdigiHB42DF->SetYTitle(
" #phi \b");
2795 GefzRdigiHB42DF->SetZTitle(
"<R>_depth \b");
2796 GefzRdigiHB42DF->SetMarkerColor(2);
2797 GefzRdigiHB42DF->SetLineColor(
2799 GefzRdigiHB42DF->Draw(
"COLZ");
2802 c1x0->Print(
"RdigiGeneralD2PhiSymmetryHB.png");
2806 delete GefzRdigiHB42D;
2807 if (GefzRdigiHB42D0)
2808 delete GefzRdigiHB42D0;
2809 if (GefzRdigiHB42DF)
2810 delete GefzRdigiHB42DF;
2818 TH1F *GefzRdigiHB41D =
new TH1F(
"GefzRdigiHB41D",
"",
nphi, 0., 72.);
2819 TH1F *GefzRdigiHB41D0 =
new TH1F(
"GefzRdigiHB41D0",
"",
nphi, 0., 72.);
2820 TH1F *GefzRdigiHB41DF = (TH1F *)GefzRdigiHB41D0->Clone(
"GefzRdigiHB41DF");
2821 for (
int jphi = 0; jphi <
nphi; jphi++) {
2824 double ccc1 = adigiHB[
i][
jeta][jphi];
2826 GefzRdigiHB41D->Fill(jphi, ccc1);
2827 GefzRdigiHB41D0->Fill(jphi, 1.);
2832 GefzRdigiHB41DF->Divide(GefzRdigiHB41D, GefzRdigiHB41D0, 1, 1,
"B");
2833 GefzRdigiHB41D0->Sumw2();
2837 GefzRdigiHB41DF->SetMarkerStyle(20);
2838 GefzRdigiHB41DF->SetMarkerSize(1.4);
2839 GefzRdigiHB41DF->GetZaxis()->SetLabelSize(0.08);
2840 GefzRdigiHB41DF->SetXTitle(
"#phi \b");
2841 GefzRdigiHB41DF->SetYTitle(
" <R> \b");
2842 GefzRdigiHB41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
2843 GefzRdigiHB41DF->SetMarkerColor(4);
2844 GefzRdigiHB41DF->SetLineColor(
2846 GefzRdigiHB41DF->Draw(
"Error");
2849 c1x1->Print(
"RdigiGeneralD1PhiSymmetryHB.png");
2853 delete GefzRdigiHB41D;
2854 if (GefzRdigiHB41D0)
2855 delete GefzRdigiHB41D0;
2856 if (GefzRdigiHB41DF)
2857 delete GefzRdigiHB41DF;
2866 int kcountHBpositivedirectionDigi1 = 1;
2867 TH1F *h2CeffHBpositivedirectionDigi1 =
new TH1F(
"h2CeffHBpositivedirectionDigi1",
"",
nphi, 0., 72.);
2870 if (
jeta - 41 >= 0) {
2873 for (
int i = 0;
i < 1;
i++) {
2874 TH1F *HBpositivedirectionDigi1 = (TH1F *)h2CeffHBpositivedirectionDigi1->Clone(
"twod1");
2876 for (
int jphi = 0; jphi <
nphi; jphi++) {
2877 double ccc1 = adigiHB[
i][
jeta][jphi];
2879 HBpositivedirectionDigi1->Fill(jphi, ccc1);
2885 c3x5->cd(kcountHBpositivedirectionDigi1);
2886 HBpositivedirectionDigi1->SetMarkerStyle(20);
2887 HBpositivedirectionDigi1->SetMarkerSize(0.4);
2888 HBpositivedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
2889 HBpositivedirectionDigi1->SetXTitle(
"HBpositivedirectionDigi1 \b");
2890 HBpositivedirectionDigi1->SetMarkerColor(2);
2891 HBpositivedirectionDigi1->SetLineColor(0);
2895 if (kcountHBpositivedirectionDigi1 == 1)
2896 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 0; depth = 1 \b");
2897 if (kcountHBpositivedirectionDigi1 == 2)
2898 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 1; depth = 1 \b");
2899 if (kcountHBpositivedirectionDigi1 == 3)
2900 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 2; depth = 1 \b");
2901 if (kcountHBpositivedirectionDigi1 == 4)
2902 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 3; depth = 1 \b");
2903 if (kcountHBpositivedirectionDigi1 == 5)
2904 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 4; depth = 1 \b");
2905 if (kcountHBpositivedirectionDigi1 == 6)
2906 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 5; depth = 1 \b");
2907 if (kcountHBpositivedirectionDigi1 == 7)
2908 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 6; depth = 1 \b");
2909 if (kcountHBpositivedirectionDigi1 == 8)
2910 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 7; depth = 1 \b");
2911 if (kcountHBpositivedirectionDigi1 == 9)
2912 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 8; depth = 1 \b");
2913 if (kcountHBpositivedirectionDigi1 == 10)
2914 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 9; depth = 1 \b");
2915 if (kcountHBpositivedirectionDigi1 == 11)
2916 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 10; depth = 1 \b");
2917 if (kcountHBpositivedirectionDigi1 == 12)
2918 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 11; depth = 1 \b");
2919 if (kcountHBpositivedirectionDigi1 == 13)
2920 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 12; depth = 1 \b");
2921 if (kcountHBpositivedirectionDigi1 == 14)
2922 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 13; depth = 1 \b");
2923 if (kcountHBpositivedirectionDigi1 == 15)
2924 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 14; depth = 1 \b");
2925 if (kcountHBpositivedirectionDigi1 == 16)
2926 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 15; depth = 1 \b");
2927 HBpositivedirectionDigi1->Draw(
"Error");
2928 kcountHBpositivedirectionDigi1++;
2929 if (kcountHBpositivedirectionDigi1 > 16)
2938 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png");
2941 if (h2CeffHBpositivedirectionDigi1)
2942 delete h2CeffHBpositivedirectionDigi1;
2952 int kcountHBpositivedirectionDigi2 = 1;
2953 TH1F *h2CeffHBpositivedirectionDigi2 =
new TH1F(
"h2CeffHBpositivedirectionDigi2",
"",
nphi, 0., 72.);
2956 if (
jeta - 41 >= 0) {
2959 for (
int i = 1;
i < 2;
i++) {
2960 TH1F *HBpositivedirectionDigi2 = (TH1F *)h2CeffHBpositivedirectionDigi2->Clone(
"twod1");
2962 for (
int jphi = 0; jphi <
nphi; jphi++) {
2963 double ccc1 = adigiHB[
i][
jeta][jphi];
2965 HBpositivedirectionDigi2->Fill(jphi, ccc1);
2971 c3x5->cd(kcountHBpositivedirectionDigi2);
2972 HBpositivedirectionDigi2->SetMarkerStyle(20);
2973 HBpositivedirectionDigi2->SetMarkerSize(0.4);
2974 HBpositivedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
2975 HBpositivedirectionDigi2->SetXTitle(
"HBpositivedirectionDigi2 \b");
2976 HBpositivedirectionDigi2->SetMarkerColor(2);
2977 HBpositivedirectionDigi2->SetLineColor(0);
2981 if (kcountHBpositivedirectionDigi2 == 1)
2982 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 0; depth = 2 \b");
2983 if (kcountHBpositivedirectionDigi2 == 2)
2984 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 1; depth = 2 \b");
2985 if (kcountHBpositivedirectionDigi2 == 3)
2986 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 2; depth = 2 \b");
2987 if (kcountHBpositivedirectionDigi2 == 4)
2988 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 3; depth = 2 \b");
2989 if (kcountHBpositivedirectionDigi2 == 5)
2990 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 4; depth = 2 \b");
2991 if (kcountHBpositivedirectionDigi2 == 6)
2992 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 5; depth = 2 \b");
2993 if (kcountHBpositivedirectionDigi2 == 7)
2994 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 6; depth = 2 \b");
2995 if (kcountHBpositivedirectionDigi2 == 8)
2996 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 7; depth = 2 \b");
2997 if (kcountHBpositivedirectionDigi2 == 9)
2998 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 8; depth = 2 \b");
2999 if (kcountHBpositivedirectionDigi2 == 10)
3000 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 9; depth = 2 \b");
3001 if (kcountHBpositivedirectionDigi2 == 11)
3002 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 10; depth = 2 \b");
3003 if (kcountHBpositivedirectionDigi2 == 12)
3004 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 11; depth = 2 \b");
3005 if (kcountHBpositivedirectionDigi2 == 13)
3006 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 12; depth = 2 \b");
3007 if (kcountHBpositivedirectionDigi2 == 14)
3008 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 13; depth = 2 \b");
3009 if (kcountHBpositivedirectionDigi2 == 15)
3010 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 14; depth = 2 \b");
3011 if (kcountHBpositivedirectionDigi2 == 16)
3012 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 15; depth = 2 \b");
3013 HBpositivedirectionDigi2->Draw(
"Error");
3014 kcountHBpositivedirectionDigi2++;
3015 if (kcountHBpositivedirectionDigi2 > 16)
3024 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png");
3027 if (h2CeffHBpositivedirectionDigi2)
3028 delete h2CeffHBpositivedirectionDigi2;
3037 int kcountHBpositivedirectionDigi3 = 1;
3038 TH1F *h2CeffHBpositivedirectionDigi3 =
new TH1F(
"h2CeffHBpositivedirectionDigi3",
"",
nphi, 0., 72.);
3041 if (
jeta - 41 >= 0) {
3044 for (
int i = 2;
i < 3;
i++) {
3045 TH1F *HBpositivedirectionDigi3 = (TH1F *)h2CeffHBpositivedirectionDigi3->Clone(
"twod1");
3047 for (
int jphi = 0; jphi <
nphi; jphi++) {
3048 double ccc1 = adigiHB[
i][
jeta][jphi];
3050 HBpositivedirectionDigi3->Fill(jphi, ccc1);
3056 c3x5->cd(kcountHBpositivedirectionDigi3);
3057 HBpositivedirectionDigi3->SetMarkerStyle(20);
3058 HBpositivedirectionDigi3->SetMarkerSize(0.4);
3059 HBpositivedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
3060 HBpositivedirectionDigi3->SetXTitle(
"HBpositivedirectionDigi3 \b");
3061 HBpositivedirectionDigi3->SetMarkerColor(2);
3062 HBpositivedirectionDigi3->SetLineColor(0);
3066 if (kcountHBpositivedirectionDigi3 == 1)
3067 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
3068 if (kcountHBpositivedirectionDigi3 == 2)
3069 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 1; depth = 3 \b");
3070 if (kcountHBpositivedirectionDigi3 == 3)
3071 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 2; depth = 3 \b");
3072 if (kcountHBpositivedirectionDigi3 == 4)
3073 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 3; depth = 3 \b");
3074 if (kcountHBpositivedirectionDigi3 == 5)
3075 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 4; depth = 3 \b");
3076 if (kcountHBpositivedirectionDigi3 == 6)
3077 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 5; depth = 3 \b");
3078 if (kcountHBpositivedirectionDigi3 == 7)
3079 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 6; depth = 3 \b");
3080 if (kcountHBpositivedirectionDigi3 == 8)
3081 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 7; depth = 3 \b");
3082 if (kcountHBpositivedirectionDigi3 == 9)
3083 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 8; depth = 3 \b");
3084 if (kcountHBpositivedirectionDigi3 == 10)
3085 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 9; depth = 3 \b");
3086 if (kcountHBpositivedirectionDigi3 == 11)
3087 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
3088 if (kcountHBpositivedirectionDigi3 == 12)
3089 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 11; depth = 3 \b");
3090 if (kcountHBpositivedirectionDigi3 == 13)
3091 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 12; depth = 3 \b");
3092 if (kcountHBpositivedirectionDigi3 == 14)
3093 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 13; depth = 3 \b");
3094 if (kcountHBpositivedirectionDigi3 == 15)
3095 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 14; depth = 3 \b");
3096 if (kcountHBpositivedirectionDigi3 == 16)
3097 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 15; depth = 3 \b");
3098 HBpositivedirectionDigi3->Draw(
"Error");
3099 kcountHBpositivedirectionDigi3++;
3100 if (kcountHBpositivedirectionDigi3 > 16)
3109 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png");
3112 if (h2CeffHBpositivedirectionDigi3)
3113 delete h2CeffHBpositivedirectionDigi3;
3122 int kcountHBpositivedirectionDigi4 = 1;
3123 TH1F *h2CeffHBpositivedirectionDigi4 =
new TH1F(
"h2CeffHBpositivedirectionDigi4",
"",
nphi, 0., 72.);
3127 if (
jeta - 41 >= 0) {
3130 for (
int i = 3;
i < 4;
i++) {
3131 TH1F *HBpositivedirectionDigi4 = (TH1F *)h2CeffHBpositivedirectionDigi4->Clone(
"twod1");
3134 for (
int jphi = 0; jphi <
nphi; jphi++) {
3135 double ccc1 = adigiHB[
i][
jeta][jphi];
3137 HBpositivedirectionDigi4->Fill(jphi, ccc1);
3143 c3x5->cd(kcountHBpositivedirectionDigi4);
3144 HBpositivedirectionDigi4->SetMarkerStyle(20);
3145 HBpositivedirectionDigi4->SetMarkerSize(0.4);
3146 HBpositivedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
3147 HBpositivedirectionDigi4->SetXTitle(
"HBpositivedirectionDigi4 \b");
3148 HBpositivedirectionDigi4->SetMarkerColor(2);
3149 HBpositivedirectionDigi4->SetLineColor(0);
3153 if (kcountHBpositivedirectionDigi4 == 1)
3154 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 0; depth = 4 \b");
3155 if (kcountHBpositivedirectionDigi4 == 2)
3156 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 1; depth = 4 \b");
3157 if (kcountHBpositivedirectionDigi4 == 3)
3158 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 2; depth = 4 \b");
3159 if (kcountHBpositivedirectionDigi4 == 4)
3160 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 3; depth = 4 \b");
3161 if (kcountHBpositivedirectionDigi4 == 5)
3162 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 4; depth = 4 \b");
3163 if (kcountHBpositivedirectionDigi4 == 6)
3164 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 5; depth = 4 \b");
3165 if (kcountHBpositivedirectionDigi4 == 7)
3166 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 6; depth = 4 \b");
3167 if (kcountHBpositivedirectionDigi4 == 8)
3168 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 7; depth = 4 \b");
3169 if (kcountHBpositivedirectionDigi4 == 9)
3170 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 8; depth = 4 \b");
3171 if (kcountHBpositivedirectionDigi4 == 10)
3172 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 9; depth = 4 \b");
3173 if (kcountHBpositivedirectionDigi4 == 11)
3174 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 10; depth = 4 \b");
3175 if (kcountHBpositivedirectionDigi4 == 12)
3176 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 11; depth = 4 \b");
3177 if (kcountHBpositivedirectionDigi4 == 13)
3178 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 12; depth = 4 \b");
3179 if (kcountHBpositivedirectionDigi4 == 14)
3180 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 13; depth = 4 \b");
3181 if (kcountHBpositivedirectionDigi4 == 15)
3182 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 14; depth = 4 \b");
3183 if (kcountHBpositivedirectionDigi4 == 16)
3184 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 15; depth = 4 \b");
3185 HBpositivedirectionDigi4->Draw(
"Error");
3186 kcountHBpositivedirectionDigi4++;
3187 if (kcountHBpositivedirectionDigi4 > 16)
3196 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png");
3199 if (h2CeffHBpositivedirectionDigi4)
3200 delete h2CeffHBpositivedirectionDigi4;
3210 int kcountHBnegativedirectionDigi1 = 1;
3211 TH1F *h2CeffHBnegativedirectionDigi1 =
new TH1F(
"h2CeffHBnegativedirectionDigi1",
"",
nphi, 0., 72.);
3214 if (
jeta - 41 < 0) {
3217 for (
int i = 0;
i < 1;
i++) {
3218 TH1F *HBnegativedirectionDigi1 = (TH1F *)h2CeffHBnegativedirectionDigi1->Clone(
"twod1");
3220 for (
int jphi = 0; jphi <
nphi; jphi++) {
3221 double ccc1 = adigiHB[
i][
jeta][jphi];
3223 HBnegativedirectionDigi1->Fill(jphi, ccc1);
3229 c3x5->cd(kcountHBnegativedirectionDigi1);
3230 HBnegativedirectionDigi1->SetMarkerStyle(20);
3231 HBnegativedirectionDigi1->SetMarkerSize(0.4);
3232 HBnegativedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
3233 HBnegativedirectionDigi1->SetXTitle(
"HBnegativedirectionDigi1 \b");
3234 HBnegativedirectionDigi1->SetMarkerColor(2);
3235 HBnegativedirectionDigi1->SetLineColor(0);
3239 if (kcountHBnegativedirectionDigi1 == 1)
3240 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -16; depth = 1 \b");
3241 if (kcountHBnegativedirectionDigi1 == 2)
3242 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -15; depth = 1 \b");
3243 if (kcountHBnegativedirectionDigi1 == 3)
3244 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -14; depth = 1 \b");
3245 if (kcountHBnegativedirectionDigi1 == 4)
3246 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -13; depth = 1 \b");
3247 if (kcountHBnegativedirectionDigi1 == 5)
3248 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -12; depth = 1 \b");
3249 if (kcountHBnegativedirectionDigi1 == 6)
3250 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -11; depth = 1 \b");
3251 if (kcountHBnegativedirectionDigi1 == 7)
3252 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -10; depth = 1 \b");
3253 if (kcountHBnegativedirectionDigi1 == 8)
3254 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -9; depth = 1 \b");
3255 if (kcountHBnegativedirectionDigi1 == 9)
3256 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -8; depth = 1 \b");
3257 if (kcountHBnegativedirectionDigi1 == 10)
3258 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -7; depth = 1 \b");
3259 if (kcountHBnegativedirectionDigi1 == 11)
3260 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -6; depth = 1 \b");
3261 if (kcountHBnegativedirectionDigi1 == 12)
3262 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -5; depth = 1 \b");
3263 if (kcountHBnegativedirectionDigi1 == 13)
3264 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -4; depth = 1 \b");
3265 if (kcountHBnegativedirectionDigi1 == 14)
3266 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -3; depth = 1 \b");
3267 if (kcountHBnegativedirectionDigi1 == 15)
3268 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -2; depth = 1 \b");
3269 if (kcountHBnegativedirectionDigi1 == 16)
3270 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -1; depth = 1 \b");
3271 HBnegativedirectionDigi1->Draw(
"Error");
3272 kcountHBnegativedirectionDigi1++;
3273 if (kcountHBnegativedirectionDigi1 > 16)
3282 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
3285 if (h2CeffHBnegativedirectionDigi1)
3286 delete h2CeffHBnegativedirectionDigi1;
3296 int kcountHBnegativedirectionDigi2 = 1;
3297 TH1F *h2CeffHBnegativedirectionDigi2 =
new TH1F(
"h2CeffHBnegativedirectionDigi2",
"",
nphi, 0., 72.);
3300 if (
jeta - 41 < 0) {
3303 for (
int i = 1;
i < 2;
i++) {
3304 TH1F *HBnegativedirectionDigi2 = (TH1F *)h2CeffHBnegativedirectionDigi2->Clone(
"twod1");
3306 for (
int jphi = 0; jphi <
nphi; jphi++) {
3307 double ccc1 = adigiHB[
i][
jeta][jphi];
3309 HBnegativedirectionDigi2->Fill(jphi, ccc1);
3315 c3x5->cd(kcountHBnegativedirectionDigi2);
3316 HBnegativedirectionDigi2->SetMarkerStyle(20);
3317 HBnegativedirectionDigi2->SetMarkerSize(0.4);
3318 HBnegativedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
3319 HBnegativedirectionDigi2->SetXTitle(
"HBnegativedirectionDigi2 \b");
3320 HBnegativedirectionDigi2->SetMarkerColor(2);
3321 HBnegativedirectionDigi2->SetLineColor(0);
3325 if (kcountHBnegativedirectionDigi2 == 1)
3326 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -16; depth = 2 \b");
3327 if (kcountHBnegativedirectionDigi2 == 2)
3328 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -15; depth = 2 \b");
3329 if (kcountHBnegativedirectionDigi2 == 3)
3330 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -14; depth = 2 \b");
3331 if (kcountHBnegativedirectionDigi2 == 4)
3332 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -13; depth = 2 \b");
3333 if (kcountHBnegativedirectionDigi2 == 5)
3334 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -12; depth = 2 \b");
3335 if (kcountHBnegativedirectionDigi2 == 6)
3336 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -11; depth = 2 \b");
3337 if (kcountHBnegativedirectionDigi2 == 7)
3338 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -10; depth = 2 \b");
3339 if (kcountHBnegativedirectionDigi2 == 8)
3340 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -9; depth = 2 \b");
3341 if (kcountHBnegativedirectionDigi2 == 9)
3342 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -8; depth = 2 \b");
3343 if (kcountHBnegativedirectionDigi2 == 10)
3344 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -7; depth = 2 \b");
3345 if (kcountHBnegativedirectionDigi2 == 11)
3346 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -6; depth = 2 \b");
3347 if (kcountHBnegativedirectionDigi2 == 12)
3348 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -5; depth = 2 \b");
3349 if (kcountHBnegativedirectionDigi2 == 13)
3350 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -4; depth = 2 \b");
3351 if (kcountHBnegativedirectionDigi2 == 14)
3352 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -3; depth = 2 \b");
3353 if (kcountHBnegativedirectionDigi2 == 15)
3354 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -2; depth = 2 \b");
3355 if (kcountHBnegativedirectionDigi2 == 16)
3356 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -1; depth = 2 \b");
3357 HBnegativedirectionDigi2->Draw(
"Error");
3358 kcountHBnegativedirectionDigi2++;
3359 if (kcountHBnegativedirectionDigi2 > 16)
3368 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
3371 if (h2CeffHBnegativedirectionDigi2)
3372 delete h2CeffHBnegativedirectionDigi2;
3381 int kcountHBnegativedirectionDigi3 = 1;
3382 TH1F *h2CeffHBnegativedirectionDigi3 =
new TH1F(
"h2CeffHBnegativedirectionDigi3",
"",
nphi, 0., 72.);
3385 if (
jeta - 41 < 0) {
3388 for (
int i = 2;
i < 3;
i++) {
3389 TH1F *HBnegativedirectionDigi3 = (TH1F *)h2CeffHBnegativedirectionDigi3->Clone(
"twod1");
3391 for (
int jphi = 0; jphi <
nphi; jphi++) {
3392 double ccc1 = adigiHB[
i][
jeta][jphi];
3394 HBnegativedirectionDigi3->Fill(jphi, ccc1);
3400 c3x5->cd(kcountHBnegativedirectionDigi3);
3401 HBnegativedirectionDigi3->SetMarkerStyle(20);
3402 HBnegativedirectionDigi3->SetMarkerSize(0.4);
3403 HBnegativedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
3404 HBnegativedirectionDigi3->SetXTitle(
"HBnegativedirectionDigi3 \b");
3405 HBnegativedirectionDigi3->SetMarkerColor(2);
3406 HBnegativedirectionDigi3->SetLineColor(0);
3410 if (kcountHBnegativedirectionDigi3 == 1)
3411 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -16; depth = 3 \b");
3412 if (kcountHBnegativedirectionDigi3 == 2)
3413 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -15; depth = 3 \b");
3414 if (kcountHBnegativedirectionDigi3 == 3)
3415 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -14; depth = 3 \b");
3416 if (kcountHBnegativedirectionDigi3 == 4)
3417 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -13; depth = 3 \b");
3418 if (kcountHBnegativedirectionDigi3 == 5)
3419 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -12; depth = 3 \b");
3420 if (kcountHBnegativedirectionDigi3 == 6)
3421 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -11; depth = 3 \b");
3422 if (kcountHBnegativedirectionDigi3 == 7)
3423 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -10; depth = 3 \b");
3424 if (kcountHBnegativedirectionDigi3 == 8)
3425 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -9; depth = 3 \b");
3426 if (kcountHBnegativedirectionDigi3 == 9)
3427 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -8; depth = 3 \b");
3428 if (kcountHBnegativedirectionDigi3 == 10)
3429 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -7; depth = 3 \b");
3430 if (kcountHBnegativedirectionDigi3 == 11)
3431 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -6; depth = 3 \b");
3432 if (kcountHBnegativedirectionDigi3 == 12)
3433 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -5; depth = 3 \b");
3434 if (kcountHBnegativedirectionDigi3 == 13)
3435 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -4; depth = 3 \b");
3436 if (kcountHBnegativedirectionDigi3 == 14)
3437 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -3; depth = 3 \b");
3438 if (kcountHBnegativedirectionDigi3 == 15)
3439 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -2; depth = 3 \b");
3440 if (kcountHBnegativedirectionDigi3 == 16)
3441 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -1; depth = 3 \b");
3443 HBnegativedirectionDigi3->Draw(
"Error");
3444 kcountHBnegativedirectionDigi3++;
3445 if (kcountHBnegativedirectionDigi3 > 16)
3454 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
3457 if (h2CeffHBnegativedirectionDigi3)
3458 delete h2CeffHBnegativedirectionDigi3;
3467 int kcountHBnegativedirectionDigi4 = 1;
3468 TH1F *h2CeffHBnegativedirectionDigi4 =
new TH1F(
"h2CeffHBnegativedirectionDigi4",
"",
nphi, 0., 72.);
3472 if (
jeta - 41 < 0) {
3475 for (
int i = 3;
i < 4;
i++) {
3476 TH1F *HBnegativedirectionDigi4 = (TH1F *)h2CeffHBnegativedirectionDigi4->Clone(
"twod1");
3479 for (
int jphi = 0; jphi <
nphi; jphi++) {
3480 double ccc1 = adigiHB[
i][
jeta][jphi];
3482 HBnegativedirectionDigi4->Fill(jphi, ccc1);
3488 c3x5->cd(kcountHBnegativedirectionDigi4);
3489 HBnegativedirectionDigi4->SetMarkerStyle(20);
3490 HBnegativedirectionDigi4->SetMarkerSize(0.4);
3491 HBnegativedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
3492 HBnegativedirectionDigi4->SetXTitle(
"HBnegativedirectionDigi4 \b");
3493 HBnegativedirectionDigi4->SetMarkerColor(2);
3494 HBnegativedirectionDigi4->SetLineColor(0);
3498 if (kcountHBnegativedirectionDigi4 == 1)
3499 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -16; depth = 4 \b");
3500 if (kcountHBnegativedirectionDigi4 == 2)
3501 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -15; depth = 4 \b");
3502 if (kcountHBnegativedirectionDigi4 == 3)
3503 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -14; depth = 4 \b");
3504 if (kcountHBnegativedirectionDigi4 == 4)
3505 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -13; depth = 4 \b");
3506 if (kcountHBnegativedirectionDigi4 == 5)
3507 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -12; depth = 4 \b");
3508 if (kcountHBnegativedirectionDigi4 == 6)
3509 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -11; depth = 4 \b");
3510 if (kcountHBnegativedirectionDigi4 == 7)
3511 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -10; depth = 4 \b");
3512 if (kcountHBnegativedirectionDigi4 == 8)
3513 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -9; depth = 4 \b");
3514 if (kcountHBnegativedirectionDigi4 == 9)
3515 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -8; depth = 4 \b");
3516 if (kcountHBnegativedirectionDigi4 == 10)
3517 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -7; depth = 4 \b");
3518 if (kcountHBnegativedirectionDigi4 == 11)
3519 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -6; depth = 4 \b");
3520 if (kcountHBnegativedirectionDigi4 == 12)
3521 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -5; depth = 4 \b");
3522 if (kcountHBnegativedirectionDigi4 == 13)
3523 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -4; depth = 4 \b");
3524 if (kcountHBnegativedirectionDigi4 == 14)
3525 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -3; depth = 4 \b");
3526 if (kcountHBnegativedirectionDigi4 == 15)
3527 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -2; depth = 4 \b");
3528 if (kcountHBnegativedirectionDigi4 == 16)
3529 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -1; depth = 4 \b");
3530 HBnegativedirectionDigi4->Draw(
"Error");
3531 kcountHBnegativedirectionDigi4++;
3532 if (kcountHBnegativedirectionDigi4 > 16)
3541 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
3544 if (h2CeffHBnegativedirectionDigi4)
3545 delete h2CeffHBnegativedirectionDigi4;
3553 TH2F *digiVariance1HB1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HB1");
3554 TH2F *digiVariance0HB1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB1");
3555 TH2F *digiVarianceHB1 = (TH2F *)digiVariance1HB1->Clone(
"digiVarianceHB1");
3556 digiVarianceHB1->Divide(digiVariance1HB1, digiVariance0HB1, 1, 1,
"B");
3557 TH2F *digiVariance1HB2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HB2");
3558 TH2F *digiVariance0HB2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB2");
3559 TH2F *digiVarianceHB2 = (TH2F *)digiVariance1HB2->Clone(
"digiVarianceHB2");
3560 digiVarianceHB2->Divide(digiVariance1HB2, digiVariance0HB2, 1, 1,
"B");
3561 TH2F *digiVariance1HB3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HB3");
3562 TH2F *digiVariance0HB3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB3");
3563 TH2F *digiVarianceHB3 = (TH2F *)digiVariance1HB3->Clone(
"digiVarianceHB3");
3564 digiVarianceHB3->Divide(digiVariance1HB3, digiVariance0HB3, 1, 1,
"B");
3565 TH2F *digiVariance1HB4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HB4");
3566 TH2F *digiVariance0HB4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB4");
3567 TH2F *digiVarianceHB4 = (TH2F *)digiVariance1HB4->Clone(
"digiVarianceHB4");
3568 digiVarianceHB4->Divide(digiVariance1HB4, digiVariance0HB4, 1, 1,
"B");
3574 double sumdigiHB0 = 0;
3575 int nsumdigiHB0 = 0;
3576 double sumdigiHB1 = 0;
3577 int nsumdigiHB1 = 0;
3578 double sumdigiHB2 = 0;
3579 int nsumdigiHB2 = 0;
3580 double sumdigiHB3 = 0;
3581 int nsumdigiHB3 = 0;
3582 for (
int jphi = 0; jphi < njphi; jphi++) {
3583 digivarianceHB[0][
jeta][jphi] = digiVarianceHB1->GetBinContent(
jeta + 1, jphi + 1);
3584 digivarianceHB[1][
jeta][jphi] = digiVarianceHB2->GetBinContent(
jeta + 1, jphi + 1);
3585 digivarianceHB[2][
jeta][jphi] = digiVarianceHB3->GetBinContent(
jeta + 1, jphi + 1);
3586 digivarianceHB[3][
jeta][jphi] = digiVarianceHB4->GetBinContent(
jeta + 1, jphi + 1);
3587 if (digivarianceHB[0][
jeta][jphi] > 0.) {
3588 sumdigiHB0 += digivarianceHB[0][
jeta][jphi];
3591 if (digivarianceHB[1][
jeta][jphi] > 0.) {
3592 sumdigiHB1 += digivarianceHB[1][
jeta][jphi];
3595 if (digivarianceHB[2][
jeta][jphi] > 0.) {
3596 sumdigiHB2 += digivarianceHB[2][
jeta][jphi];
3599 if (digivarianceHB[3][
jeta][jphi] > 0.) {
3600 sumdigiHB3 += digivarianceHB[3][
jeta][jphi];
3605 for (
int jphi = 0; jphi < njphi; jphi++) {
3606 if (digivarianceHB[0][
jeta][jphi] > 0.)
3607 digivarianceHB[0][
jeta][jphi] /= (sumdigiHB0 / nsumdigiHB0);
3608 if (digivarianceHB[1][
jeta][jphi] > 0.)
3609 digivarianceHB[1][
jeta][jphi] /= (sumdigiHB1 / nsumdigiHB1);
3610 if (digivarianceHB[2][
jeta][jphi] > 0.)
3611 digivarianceHB[2][
jeta][jphi] /= (sumdigiHB2 / nsumdigiHB2);
3612 if (digivarianceHB[3][
jeta][jphi] > 0.)
3613 digivarianceHB[3][
jeta][jphi] /= (sumdigiHB3 / nsumdigiHB3);
3616 for (
int jphi = 0; jphi < njphi; jphi++) {
3618 digivarianceHB[0][
jeta][jphi] -= adigiHB[0][
jeta][jphi] * adigiHB[0][
jeta][jphi];
3619 digivarianceHB[0][
jeta][jphi] = fabs(digivarianceHB[0][
jeta][jphi]);
3620 digivarianceHB[1][
jeta][jphi] -= adigiHB[1][
jeta][jphi] * adigiHB[1][
jeta][jphi];
3621 digivarianceHB[1][
jeta][jphi] = fabs(digivarianceHB[1][
jeta][jphi]);
3622 digivarianceHB[2][
jeta][jphi] -= adigiHB[2][
jeta][jphi] * adigiHB[2][
jeta][jphi];
3623 digivarianceHB[2][
jeta][jphi] = fabs(digivarianceHB[2][
jeta][jphi]);
3624 digivarianceHB[3][
jeta][jphi] -= adigiHB[3][
jeta][jphi] * adigiHB[3][
jeta][jphi];
3625 digivarianceHB[3][
jeta][jphi] = fabs(digivarianceHB[3][
jeta][jphi]);
3637 TH2F *DefzDdigiHB42D =
new TH2F(
"DefzDdigiHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
3638 TH2F *DefzDdigiHB42D0 =
new TH2F(
"DefzDdigiHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
3639 TH2F *DefzDdigiHB42DF = (TH2F *)DefzDdigiHB42D0->Clone(
"DefzDdigiHB42DF");
3642 for (
int jphi = 0; jphi <
nphi; jphi++) {
3643 double ccc1 = digivarianceHB[
i][
jeta][jphi];
3644 int k2plot =
jeta - 41;
3646 if (adigiHB[
i][
jeta][jphi] > 0.) {
3647 DefzDdigiHB42D->Fill(kkk, jphi, ccc1);
3648 DefzDdigiHB42D0->Fill(kkk, jphi, 1.);
3653 DefzDdigiHB42DF->Divide(DefzDdigiHB42D, DefzDdigiHB42D0, 1, 1,
"B");
3657 DefzDdigiHB42DF->SetMarkerStyle(20);
3658 DefzDdigiHB42DF->SetMarkerSize(0.4);
3659 DefzDdigiHB42DF->GetZaxis()->SetLabelSize(0.08);
3660 DefzDdigiHB42DF->SetXTitle(
"<D>_depth #eta \b");
3661 DefzDdigiHB42DF->SetYTitle(
" #phi \b");
3662 DefzDdigiHB42DF->SetZTitle(
"<D>_depth \b");
3663 DefzDdigiHB42DF->SetMarkerColor(2);
3664 DefzDdigiHB42DF->SetLineColor(
3666 DefzDdigiHB42DF->Draw(
"COLZ");
3669 c1x0->Print(
"DdigiGeneralD2PhiSymmetryHB.png");
3673 delete DefzDdigiHB42D;
3674 if (DefzDdigiHB42D0)
3675 delete DefzDdigiHB42D0;
3676 if (DefzDdigiHB42DF)
3677 delete DefzDdigiHB42DF;
3685 TH1F *DefzDdigiHB41D =
new TH1F(
"DefzDdigiHB41D",
"",
nphi, 0., 72.);
3686 TH1F *DefzDdigiHB41D0 =
new TH1F(
"DefzDdigiHB41D0",
"",
nphi, 0., 72.);
3687 TH1F *DefzDdigiHB41DF = (TH1F *)DefzDdigiHB41D0->Clone(
"DefzDdigiHB41DF");
3689 for (
int jphi = 0; jphi <
nphi; jphi++) {
3692 double ccc1 = digivarianceHB[
i][
jeta][jphi];
3693 if (adigiHB[
i][
jeta][jphi] > 0.) {
3694 DefzDdigiHB41D->Fill(jphi, ccc1);
3695 DefzDdigiHB41D0->Fill(jphi, 1.);
3702 DefzDdigiHB41DF->Divide(DefzDdigiHB41D, DefzDdigiHB41D0, 1, 1,
"B");
3703 DefzDdigiHB41D0->Sumw2();
3707 DefzDdigiHB41DF->SetMarkerStyle(20);
3708 DefzDdigiHB41DF->SetMarkerSize(1.4);
3709 DefzDdigiHB41DF->GetZaxis()->SetLabelSize(0.08);
3710 DefzDdigiHB41DF->SetXTitle(
"#phi \b");
3711 DefzDdigiHB41DF->SetYTitle(
" <D> \b");
3712 DefzDdigiHB41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
3713 DefzDdigiHB41DF->SetMarkerColor(4);
3714 DefzDdigiHB41DF->SetLineColor(4);
3715 DefzDdigiHB41DF->Draw(
"Error");
3718 c1x1->Print(
"DdigiGeneralD1PhiSymmetryHB.png");
3722 delete DefzDdigiHB41D;
3723 if (DefzDdigiHB41D0)
3724 delete DefzDdigiHB41D0;
3725 if (DefzDdigiHB41DF)
3726 delete DefzDdigiHB41DF;
3736 int kcountHBpositivedirectionDigiD1 = 1;
3737 TH1F *h2CeffHBpositivedirectionDigiD1 =
new TH1F(
"h2CeffHBpositivedirectionDigiD1",
"",
nphi, 0., 72.);
3741 if (
jeta - 41 >= 0) {
3744 for (
int i = 0;
i < 1;
i++) {
3745 TH1F *HBpositivedirectionDigiD1 = (TH1F *)h2CeffHBpositivedirectionDigiD1->Clone(
"twod1");
3748 for (
int jphi = 0; jphi <
nphi; jphi++) {
3749 double ccc1 = digivarianceHB[
i][
jeta][jphi];
3750 if (adigiHB[
i][
jeta][jphi] > 0.) {
3751 HBpositivedirectionDigiD1->Fill(jphi, ccc1);
3757 c3x5->cd(kcountHBpositivedirectionDigiD1);
3758 HBpositivedirectionDigiD1->SetMarkerStyle(20);
3759 HBpositivedirectionDigiD1->SetMarkerSize(0.4);
3760 HBpositivedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
3761 HBpositivedirectionDigiD1->SetXTitle(
"HBpositivedirectionDigiD1 \b");
3762 HBpositivedirectionDigiD1->SetMarkerColor(2);
3763 HBpositivedirectionDigiD1->SetLineColor(0);
3767 if (kcountHBpositivedirectionDigiD1 == 1)
3768 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 0; depth = 1 \b");
3769 if (kcountHBpositivedirectionDigiD1 == 2)
3770 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 1; depth = 1 \b");
3771 if (kcountHBpositivedirectionDigiD1 == 3)
3772 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 2; depth = 1 \b");
3773 if (kcountHBpositivedirectionDigiD1 == 4)
3774 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 3; depth = 1 \b");
3775 if (kcountHBpositivedirectionDigiD1 == 5)
3776 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 4; depth = 1 \b");
3777 if (kcountHBpositivedirectionDigiD1 == 6)
3778 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 5; depth = 1 \b");
3779 if (kcountHBpositivedirectionDigiD1 == 7)
3780 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 6; depth = 1 \b");
3781 if (kcountHBpositivedirectionDigiD1 == 8)
3782 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 7; depth = 1 \b");
3783 if (kcountHBpositivedirectionDigiD1 == 9)
3784 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 8; depth = 1 \b");
3785 if (kcountHBpositivedirectionDigiD1 == 10)
3786 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 9; depth = 1 \b");
3787 if (kcountHBpositivedirectionDigiD1 == 11)
3788 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 10; depth = 1 \b");
3789 if (kcountHBpositivedirectionDigiD1 == 12)
3790 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 11; depth = 1 \b");
3791 if (kcountHBpositivedirectionDigiD1 == 13)
3792 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 12; depth = 1 \b");
3793 if (kcountHBpositivedirectionDigiD1 == 14)
3794 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 13; depth = 1 \b");
3795 if (kcountHBpositivedirectionDigiD1 == 15)
3796 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 14; depth = 1 \b");
3797 if (kcountHBpositivedirectionDigiD1 == 16)
3798 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 15; depth = 1 \b");
3799 HBpositivedirectionDigiD1->Draw(
"Error");
3800 kcountHBpositivedirectionDigiD1++;
3801 if (kcountHBpositivedirectionDigiD1 > 16)
3810 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png");
3813 if (h2CeffHBpositivedirectionDigiD1)
3814 delete h2CeffHBpositivedirectionDigiD1;
3822 int kcountHBpositivedirectionDigiD2 = 1;
3823 TH1F *h2CeffHBpositivedirectionDigiD2 =
new TH1F(
"h2CeffHBpositivedirectionDigiD2",
"",
nphi, 0., 72.);
3827 if (
jeta - 41 >= 0) {
3830 for (
int i = 1;
i < 2;
i++) {
3831 TH1F *HBpositivedirectionDigiD2 = (TH1F *)h2CeffHBpositivedirectionDigiD2->Clone(
"twod1");
3834 for (
int jphi = 0; jphi <
nphi; jphi++) {
3835 double ccc1 = digivarianceHB[
i][
jeta][jphi];
3836 if (adigiHB[
i][
jeta][jphi] > 0.) {
3837 HBpositivedirectionDigiD2->Fill(jphi, ccc1);
3843 c3x5->cd(kcountHBpositivedirectionDigiD2);
3844 HBpositivedirectionDigiD2->SetMarkerStyle(20);
3845 HBpositivedirectionDigiD2->SetMarkerSize(0.4);
3846 HBpositivedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
3847 HBpositivedirectionDigiD2->SetXTitle(
"HBpositivedirectionDigiD2 \b");
3848 HBpositivedirectionDigiD2->SetMarkerColor(2);
3849 HBpositivedirectionDigiD2->SetLineColor(0);
3853 if (kcountHBpositivedirectionDigiD2 == 1)
3854 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 0; depth = 2 \b");
3855 if (kcountHBpositivedirectionDigiD2 == 2)
3856 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 1; depth = 2 \b");
3857 if (kcountHBpositivedirectionDigiD2 == 3)
3858 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 2; depth = 2 \b");
3859 if (kcountHBpositivedirectionDigiD2 == 4)
3860 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 3; depth = 2 \b");
3861 if (kcountHBpositivedirectionDigiD2 == 5)
3862 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 4; depth = 2 \b");
3863 if (kcountHBpositivedirectionDigiD2 == 6)
3864 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 5; depth = 2 \b");
3865 if (kcountHBpositivedirectionDigiD2 == 7)
3866 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 6; depth = 2 \b");
3867 if (kcountHBpositivedirectionDigiD2 == 8)
3868 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 7; depth = 2 \b");
3869 if (kcountHBpositivedirectionDigiD2 == 9)
3870 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 8; depth = 2 \b");
3871 if (kcountHBpositivedirectionDigiD2 == 10)
3872 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 9; depth = 2 \b");
3873 if (kcountHBpositivedirectionDigiD2 == 11)
3874 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 10; depth = 2 \b");
3875 if (kcountHBpositivedirectionDigiD2 == 12)
3876 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 11; depth = 2 \b");
3877 if (kcountHBpositivedirectionDigiD2 == 13)
3878 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 12; depth = 2 \b");
3879 if (kcountHBpositivedirectionDigiD2 == 14)
3880 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 13; depth = 2 \b");
3881 if (kcountHBpositivedirectionDigiD2 == 15)
3882 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 14; depth = 2 \b");
3883 if (kcountHBpositivedirectionDigiD2 == 16)
3884 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 15; depth = 2 \b");
3885 HBpositivedirectionDigiD2->Draw(
"Error");
3886 kcountHBpositivedirectionDigiD2++;
3887 if (kcountHBpositivedirectionDigiD2 > 16)
3896 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png");
3899 if (h2CeffHBpositivedirectionDigiD2)
3900 delete h2CeffHBpositivedirectionDigiD2;
3908 int kcountHBpositivedirectionDigiD3 = 1;
3909 TH1F *h2CeffHBpositivedirectionDigiD3 =
new TH1F(
"h2CeffHBpositivedirectionDigiD3",
"",
nphi, 0., 72.);
3913 if (
jeta - 41 >= 0) {
3916 for (
int i = 2;
i < 3;
i++) {
3917 TH1F *HBpositivedirectionDigiD3 = (TH1F *)h2CeffHBpositivedirectionDigiD3->Clone(
"twod1");
3920 for (
int jphi = 0; jphi <
nphi; jphi++) {
3921 double ccc1 = digivarianceHB[
i][
jeta][jphi];
3922 if (adigiHB[
i][
jeta][jphi] > 0.) {
3923 HBpositivedirectionDigiD3->Fill(jphi, ccc1);
3929 c3x5->cd(kcountHBpositivedirectionDigiD3);
3930 HBpositivedirectionDigiD3->SetMarkerStyle(20);
3931 HBpositivedirectionDigiD3->SetMarkerSize(0.4);
3932 HBpositivedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
3933 HBpositivedirectionDigiD3->SetXTitle(
"HBpositivedirectionDigiD3 \b");
3934 HBpositivedirectionDigiD3->SetMarkerColor(2);
3935 HBpositivedirectionDigiD3->SetLineColor(0);
3939 if (kcountHBpositivedirectionDigiD3 == 1)
3940 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 0; depth = 3 \b");
3941 if (kcountHBpositivedirectionDigiD3 == 2)
3942 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 1; depth = 3 \b");
3943 if (kcountHBpositivedirectionDigiD3 == 3)
3944 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 2; depth = 3 \b");
3945 if (kcountHBpositivedirectionDigiD3 == 4)
3946 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 3; depth = 3 \b");
3947 if (kcountHBpositivedirectionDigiD3 == 5)
3948 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 4; depth = 3 \b");
3949 if (kcountHBpositivedirectionDigiD3 == 6)
3950 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 5; depth = 3 \b");
3951 if (kcountHBpositivedirectionDigiD3 == 7)
3952 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 6; depth = 3 \b");
3953 if (kcountHBpositivedirectionDigiD3 == 8)
3954 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 7; depth = 3 \b");
3955 if (kcountHBpositivedirectionDigiD3 == 9)
3956 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 8; depth = 3 \b");
3957 if (kcountHBpositivedirectionDigiD3 == 10)
3958 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 9; depth = 3 \b");
3959 if (kcountHBpositivedirectionDigiD3 == 11)
3960 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 10; depth = 3 \b");
3961 if (kcountHBpositivedirectionDigiD3 == 12)
3962 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 11; depth = 3 \b");
3963 if (kcountHBpositivedirectionDigiD3 == 13)
3964 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 12; depth = 3 \b");
3965 if (kcountHBpositivedirectionDigiD3 == 14)
3966 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 13; depth = 3 \b");
3967 if (kcountHBpositivedirectionDigiD3 == 15)
3968 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 14; depth = 3 \b");
3969 if (kcountHBpositivedirectionDigiD3 == 16)
3970 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 15; depth = 3 \b");
3971 HBpositivedirectionDigiD3->Draw(
"Error");
3972 kcountHBpositivedirectionDigiD3++;
3973 if (kcountHBpositivedirectionDigiD3 > 16)
3982 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png");
3985 if (h2CeffHBpositivedirectionDigiD3)
3986 delete h2CeffHBpositivedirectionDigiD3;
3994 int kcountHBpositivedirectionDigiD4 = 1;
3995 TH1F *h2CeffHBpositivedirectionDigiD4 =
new TH1F(
"h2CeffHBpositivedirectionDigiD4",
"",
nphi, 0., 72.);
3999 if (
jeta - 41 >= 0) {
4002 for (
int i = 3;
i < 4;
i++) {
4003 TH1F *HBpositivedirectionDigiD4 = (TH1F *)h2CeffHBpositivedirectionDigiD4->Clone(
"twod1");
4006 for (
int jphi = 0; jphi <
nphi; jphi++) {
4007 double ccc1 = digivarianceHB[
i][
jeta][jphi];
4008 if (adigiHB[
i][
jeta][jphi] > 0.) {
4009 HBpositivedirectionDigiD4->Fill(jphi, ccc1);
4015 c3x5->cd(kcountHBpositivedirectionDigiD4);
4016 HBpositivedirectionDigiD4->SetMarkerStyle(20);
4017 HBpositivedirectionDigiD4->SetMarkerSize(0.4);
4018 HBpositivedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
4019 HBpositivedirectionDigiD4->SetXTitle(
"HBpositivedirectionDigiD4 \b");
4020 HBpositivedirectionDigiD4->SetMarkerColor(2);
4021 HBpositivedirectionDigiD4->SetLineColor(0);
4025 if (kcountHBpositivedirectionDigiD4 == 1)
4026 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 0; depth = 4 \b");
4027 if (kcountHBpositivedirectionDigiD4 == 2)
4028 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 1; depth = 4 \b");
4029 if (kcountHBpositivedirectionDigiD4 == 3)
4030 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 2; depth = 4 \b");
4031 if (kcountHBpositivedirectionDigiD4 == 4)
4032 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 3; depth = 4 \b");
4033 if (kcountHBpositivedirectionDigiD4 == 5)
4034 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 4; depth = 4 \b");
4035 if (kcountHBpositivedirectionDigiD4 == 6)
4036 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 5; depth = 4 \b");
4037 if (kcountHBpositivedirectionDigiD4 == 7)
4038 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 6; depth = 4 \b");
4039 if (kcountHBpositivedirectionDigiD4 == 8)
4040 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 7; depth = 4 \b");
4041 if (kcountHBpositivedirectionDigiD4 == 9)
4042 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 8; depth = 4 \b");
4043 if (kcountHBpositivedirectionDigiD4 == 10)
4044 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 9; depth = 4 \b");
4045 if (kcountHBpositivedirectionDigiD4 == 11)
4046 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 10; depth = 4 \b");
4047 if (kcountHBpositivedirectionDigiD4 == 12)
4048 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 11; depth = 4 \b");
4049 if (kcountHBpositivedirectionDigiD4 == 13)
4050 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 12; depth = 4 \b");
4051 if (kcountHBpositivedirectionDigiD4 == 14)
4052 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 13; depth = 4 \b");
4053 if (kcountHBpositivedirectionDigiD4 == 15)
4054 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 14; depth = 4 \b");
4055 if (kcountHBpositivedirectionDigiD4 == 16)
4056 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 15; depth = 4 \b");
4057 HBpositivedirectionDigiD4->Draw(
"Error");
4058 kcountHBpositivedirectionDigiD4++;
4059 if (kcountHBpositivedirectionDigiD4 > 16)
4068 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png");
4071 if (h2CeffHBpositivedirectionDigiD4)
4072 delete h2CeffHBpositivedirectionDigiD4;
4082 int kcountHBnegativedirectionDigiD1 = 1;
4083 TH1F *h2CeffHBnegativedirectionDigiD1 =
new TH1F(
"h2CeffHBnegativedirectionDigiD1",
"",
nphi, 0., 72.);
4087 if (
jeta - 41 < 0) {
4090 for (
int i = 0;
i < 1;
i++) {
4091 TH1F *HBnegativedirectionDigiD1 = (TH1F *)h2CeffHBnegativedirectionDigiD1->Clone(
"twod1");
4094 for (
int jphi = 0; jphi <
nphi; jphi++) {
4095 double ccc1 = digivarianceHB[
i][
jeta][jphi];
4096 if (adigiHB[
i][
jeta][jphi] > 0.) {
4097 HBnegativedirectionDigiD1->Fill(jphi, ccc1);
4103 c3x5->cd(kcountHBnegativedirectionDigiD1);
4104 HBnegativedirectionDigiD1->SetMarkerStyle(20);
4105 HBnegativedirectionDigiD1->SetMarkerSize(0.4);
4106 HBnegativedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
4107 HBnegativedirectionDigiD1->SetXTitle(
"HBnegativedirectionDigiD1 \b");
4108 HBnegativedirectionDigiD1->SetMarkerColor(2);
4109 HBnegativedirectionDigiD1->SetLineColor(0);
4113 if (kcountHBnegativedirectionDigiD1 == 1)
4114 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-16; depth = 1 \b");
4115 if (kcountHBnegativedirectionDigiD1 == 2)
4116 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-15; depth = 1 \b");
4117 if (kcountHBnegativedirectionDigiD1 == 3)
4118 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-14; depth = 1 \b");
4119 if (kcountHBnegativedirectionDigiD1 == 4)
4120 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-13; depth = 1 \b");
4121 if (kcountHBnegativedirectionDigiD1 == 5)
4122 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-12; depth = 1 \b");
4123 if (kcountHBnegativedirectionDigiD1 == 6)
4124 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-11; depth = 1 \b");
4125 if (kcountHBnegativedirectionDigiD1 == 7)
4126 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-10; depth = 1 \b");
4127 if (kcountHBnegativedirectionDigiD1 == 8)
4128 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-9; depth = 1 \b");
4129 if (kcountHBnegativedirectionDigiD1 == 9)
4130 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-8; depth = 1 \b");
4131 if (kcountHBnegativedirectionDigiD1 == 10)
4132 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-7; depth = 1 \b");
4133 if (kcountHBnegativedirectionDigiD1 == 11)
4134 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-6; depth = 1 \b");
4135 if (kcountHBnegativedirectionDigiD1 == 12)
4136 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-5; depth = 1 \b");
4137 if (kcountHBnegativedirectionDigiD1 == 13)
4138 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-4; depth = 1 \b");
4139 if (kcountHBnegativedirectionDigiD1 == 14)
4140 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-3; depth = 1 \b");
4141 if (kcountHBnegativedirectionDigiD1 == 15)
4142 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-2; depth = 1 \b");
4143 if (kcountHBnegativedirectionDigiD1 == 16)
4144 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-1; depth = 1 \b");
4145 HBnegativedirectionDigiD1->Draw(
"Error");
4146 kcountHBnegativedirectionDigiD1++;
4147 if (kcountHBnegativedirectionDigiD1 > 16)
4156 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
4159 if (h2CeffHBnegativedirectionDigiD1)
4160 delete h2CeffHBnegativedirectionDigiD1;
4168 int kcountHBnegativedirectionDigiD2 = 1;
4169 TH1F *h2CeffHBnegativedirectionDigiD2 =
new TH1F(
"h2CeffHBnegativedirectionDigiD2",
"",
nphi, 0., 72.);
4173 if (
jeta - 41 < 0) {
4176 for (
int i = 1;
i < 2;
i++) {
4177 TH1F *HBnegativedirectionDigiD2 = (TH1F *)h2CeffHBnegativedirectionDigiD2->Clone(
"twod1");
4180 for (
int jphi = 0; jphi <
nphi; jphi++) {
4181 double ccc1 = digivarianceHB[
i][
jeta][jphi];
4182 if (adigiHB[
i][
jeta][jphi] > 0.) {
4183 HBnegativedirectionDigiD2->Fill(jphi, ccc1);
4189 c3x5->cd(kcountHBnegativedirectionDigiD2);
4190 HBnegativedirectionDigiD2->SetMarkerStyle(20);
4191 HBnegativedirectionDigiD2->SetMarkerSize(0.4);
4192 HBnegativedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
4193 HBnegativedirectionDigiD2->SetXTitle(
"HBnegativedirectionDigiD2 \b");
4194 HBnegativedirectionDigiD2->SetMarkerColor(2);
4195 HBnegativedirectionDigiD2->SetLineColor(0);
4199 if (kcountHBnegativedirectionDigiD2 == 1)
4200 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-16; depth = 2 \b");
4201 if (kcountHBnegativedirectionDigiD2 == 2)
4202 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-15; depth = 2 \b");
4203 if (kcountHBnegativedirectionDigiD2 == 3)
4204 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-14; depth = 2 \b");
4205 if (kcountHBnegativedirectionDigiD2 == 4)
4206 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-13; depth = 2 \b");
4207 if (kcountHBnegativedirectionDigiD2 == 5)
4208 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-12; depth = 2 \b");
4209 if (kcountHBnegativedirectionDigiD2 == 6)
4210 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-11; depth = 2 \b");
4211 if (kcountHBnegativedirectionDigiD2 == 7)
4212 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-10; depth = 2 \b");
4213 if (kcountHBnegativedirectionDigiD2 == 8)
4214 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-9; depth = 2 \b");
4215 if (kcountHBnegativedirectionDigiD2 == 9)
4216 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-8; depth = 2 \b");
4217 if (kcountHBnegativedirectionDigiD2 == 10)
4218 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-7; depth = 2 \b");
4219 if (kcountHBnegativedirectionDigiD2 == 11)
4220 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-6; depth = 2 \b");
4221 if (kcountHBnegativedirectionDigiD2 == 12)
4222 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-5; depth = 2 \b");
4223 if (kcountHBnegativedirectionDigiD2 == 13)
4224 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-4; depth = 2 \b");
4225 if (kcountHBnegativedirectionDigiD2 == 14)
4226 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-3; depth = 2 \b");
4227 if (kcountHBnegativedirectionDigiD2 == 15)
4228 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-2; depth = 2 \b");
4229 if (kcountHBnegativedirectionDigiD2 == 16)
4230 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-1; depth = 2 \b");
4231 HBnegativedirectionDigiD2->Draw(
"Error");
4232 kcountHBnegativedirectionDigiD2++;
4233 if (kcountHBnegativedirectionDigiD2 > 16)
4242 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
4245 if (h2CeffHBnegativedirectionDigiD2)
4246 delete h2CeffHBnegativedirectionDigiD2;
4254 int kcountHBnegativedirectionDigiD3 = 1;
4255 TH1F *h2CeffHBnegativedirectionDigiD3 =
new TH1F(
"h2CeffHBnegativedirectionDigiD3",
"",
nphi, 0., 72.);
4259 if (
jeta - 41 < 0) {
4262 for (
int i = 2;
i < 3;
i++) {
4263 TH1F *HBnegativedirectionDigiD3 = (TH1F *)h2CeffHBnegativedirectionDigiD3->Clone(
"twod1");
4266 for (
int jphi = 0; jphi <
nphi; jphi++) {
4267 double ccc1 = digivarianceHB[
i][
jeta][jphi];
4268 if (adigiHB[
i][
jeta][jphi] > 0.) {
4269 HBnegativedirectionDigiD3->Fill(jphi, ccc1);
4275 c3x5->cd(kcountHBnegativedirectionDigiD3);
4276 HBnegativedirectionDigiD3->SetMarkerStyle(20);
4277 HBnegativedirectionDigiD3->SetMarkerSize(0.4);
4278 HBnegativedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
4279 HBnegativedirectionDigiD3->SetXTitle(
"HBnegativedirectionDigiD3 \b");
4280 HBnegativedirectionDigiD3->SetMarkerColor(2);
4281 HBnegativedirectionDigiD3->SetLineColor(0);
4285 if (kcountHBnegativedirectionDigiD3 == 1)
4286 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-16; depth = 3 \b");
4287 if (kcountHBnegativedirectionDigiD3 == 2)
4288 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-15; depth = 3 \b");
4289 if (kcountHBnegativedirectionDigiD3 == 3)
4290 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-14; depth = 3 \b");
4291 if (kcountHBnegativedirectionDigiD3 == 4)
4292 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-13; depth = 3 \b");
4293 if (kcountHBnegativedirectionDigiD3 == 5)
4294 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-12; depth = 3 \b");
4295 if (kcountHBnegativedirectionDigiD3 == 6)
4296 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-11; depth = 3 \b");
4297 if (kcountHBnegativedirectionDigiD3 == 7)
4298 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-10; depth = 3 \b");
4299 if (kcountHBnegativedirectionDigiD3 == 8)
4300 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-9; depth = 3 \b");
4301 if (kcountHBnegativedirectionDigiD3 == 9)
4302 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-8; depth = 3 \b");
4303 if (kcountHBnegativedirectionDigiD3 == 10)
4304 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-7; depth = 3 \b");
4305 if (kcountHBnegativedirectionDigiD3 == 11)
4306 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-6; depth = 3 \b");
4307 if (kcountHBnegativedirectionDigiD3 == 12)
4308 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-5; depth = 3 \b");
4309 if (kcountHBnegativedirectionDigiD3 == 13)
4310 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-4; depth = 3 \b");
4311 if (kcountHBnegativedirectionDigiD3 == 14)
4312 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-3; depth = 3 \b");
4313 if (kcountHBnegativedirectionDigiD3 == 15)
4314 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-2; depth = 3 \b");
4315 if (kcountHBnegativedirectionDigiD3 == 16)
4316 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-1; depth = 3 \b");
4317 HBnegativedirectionDigiD3->Draw(
"Error");
4318 kcountHBnegativedirectionDigiD3++;
4319 if (kcountHBnegativedirectionDigiD3 > 16)
4328 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
4331 if (h2CeffHBnegativedirectionDigiD3)
4332 delete h2CeffHBnegativedirectionDigiD3;
4340 int kcountHBnegativedirectionDigiD4 = 1;
4341 TH1F *h2CeffHBnegativedirectionDigiD4 =
new TH1F(
"h2CeffHBnegativedirectionDigiD4",
"",
nphi, 0., 72.);
4345 if (
jeta - 41 < 0) {
4348 for (
int i = 3;
i < 4;
i++) {
4349 TH1F *HBnegativedirectionDigiD4 = (TH1F *)h2CeffHBnegativedirectionDigiD4->Clone(
"twod1");
4352 for (
int jphi = 0; jphi <
nphi; jphi++) {
4353 double ccc1 = digivarianceHB[
i][
jeta][jphi];
4354 if (adigiHB[
i][
jeta][jphi] > 0.) {
4355 HBnegativedirectionDigiD4->Fill(jphi, ccc1);
4361 c3x5->cd(kcountHBnegativedirectionDigiD4);
4362 HBnegativedirectionDigiD4->SetMarkerStyle(20);
4363 HBnegativedirectionDigiD4->SetMarkerSize(0.4);
4364 HBnegativedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
4365 HBnegativedirectionDigiD4->SetXTitle(
"HBnegativedirectionDigiD4 \b");
4366 HBnegativedirectionDigiD4->SetMarkerColor(2);
4367 HBnegativedirectionDigiD4->SetLineColor(0);
4371 if (kcountHBnegativedirectionDigiD4 == 1)
4372 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-16; depth = 4 \b");
4373 if (kcountHBnegativedirectionDigiD4 == 2)
4374 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-15; depth = 4 \b");
4375 if (kcountHBnegativedirectionDigiD4 == 3)
4376 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-14; depth = 4 \b");
4377 if (kcountHBnegativedirectionDigiD4 == 4)
4378 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-13; depth = 4 \b");
4379 if (kcountHBnegativedirectionDigiD4 == 5)
4380 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-12; depth = 4 \b");
4381 if (kcountHBnegativedirectionDigiD4 == 6)
4382 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-11; depth = 4 \b");
4383 if (kcountHBnegativedirectionDigiD4 == 7)
4384 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-10; depth = 4 \b");
4385 if (kcountHBnegativedirectionDigiD4 == 8)
4386 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-9; depth = 4 \b");
4387 if (kcountHBnegativedirectionDigiD4 == 9)
4388 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-8; depth = 4 \b");
4389 if (kcountHBnegativedirectionDigiD4 == 10)
4390 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-7; depth = 4 \b");
4391 if (kcountHBnegativedirectionDigiD4 == 11)
4392 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-6; depth = 4 \b");
4393 if (kcountHBnegativedirectionDigiD4 == 12)
4394 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-5; depth = 4 \b");
4395 if (kcountHBnegativedirectionDigiD4 == 13)
4396 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-4; depth = 4 \b");
4397 if (kcountHBnegativedirectionDigiD4 == 14)
4398 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-3; depth = 4 \b");
4399 if (kcountHBnegativedirectionDigiD4 == 15)
4400 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-2; depth = 4 \b");
4401 if (kcountHBnegativedirectionDigiD4 == 16)
4402 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-1; depth = 4 \b");
4403 HBnegativedirectionDigiD4->Draw(
"Error");
4404 kcountHBnegativedirectionDigiD4++;
4405 if (kcountHBnegativedirectionDigiD4 > 16)
4414 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
4417 if (h2CeffHBnegativedirectionDigiD4)
4418 delete h2CeffHBnegativedirectionDigiD4;
4431 double adigihe[
ndepth][njeta][njphi];
4432 double digivariancehe[
ndepth][njeta][njphi];
4434 TH2F *amplitudechannel1HE1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE1");
4435 TH2F *amplitudechannel0HE1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE1");
4436 TH2F *amplitudechannelHE1 = (TH2F *)amplitudechannel1HE1->Clone(
"amplitudechannelHE1");
4437 amplitudechannelHE1->Divide(amplitudechannel1HE1, amplitudechannel0HE1, 1, 1,
"B");
4438 TH2F *amplitudechannel1HE2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE2");
4439 TH2F *amplitudechannel0HE2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE2");
4440 TH2F *amplitudechannelHE2 = (TH2F *)amplitudechannel1HE2->Clone(
"amplitudechannelHE2");
4441 amplitudechannelHE2->Divide(amplitudechannel1HE2, amplitudechannel0HE2, 1, 1,
"B");
4442 TH2F *amplitudechannel1HE3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE3");
4443 TH2F *amplitudechannel0HE3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE3");
4444 TH2F *amplitudechannelHE3 = (TH2F *)amplitudechannel1HE3->Clone(
"amplitudechannelHE3");
4445 amplitudechannelHE3->Divide(amplitudechannel1HE3, amplitudechannel0HE3, 1, 1,
"B");
4446 TH2F *amplitudechannel1HE4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE4");
4447 TH2F *amplitudechannel0HE4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE4");
4448 TH2F *amplitudechannelHE4 = (TH2F *)amplitudechannel1HE4->Clone(
"amplitudechannelHE4");
4449 amplitudechannelHE4->Divide(amplitudechannel1HE4, amplitudechannel0HE4, 1, 1,
"B");
4450 TH2F *amplitudechannel1HE5 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE5");
4451 TH2F *amplitudechannel0HE5 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE5");
4452 TH2F *amplitudechannelHE5 = (TH2F *)amplitudechannel1HE5->Clone(
"amplitudechannelHE5");
4453 amplitudechannelHE5->Divide(amplitudechannel1HE5, amplitudechannel0HE5, 1, 1,
"B");
4454 TH2F *amplitudechannel1HE6 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE6");
4455 TH2F *amplitudechannel0HE6 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE6");
4456 TH2F *amplitudechannelHE6 = (TH2F *)amplitudechannel1HE6->Clone(
"amplitudechannelHE6");
4457 amplitudechannelHE6->Divide(amplitudechannel1HE6, amplitudechannel0HE6, 1, 1,
"B");
4458 TH2F *amplitudechannel1HE7 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE7");
4459 TH2F *amplitudechannel0HE7 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE7");
4460 TH2F *amplitudechannelHE7 = (TH2F *)amplitudechannel1HE7->Clone(
"amplitudechannelHE7");
4461 amplitudechannelHE7->Divide(amplitudechannel1HE7, amplitudechannel0HE7, 1, 1,
"B");
4465 double sumdigiHE0 = 0;
4466 int nsumdigiHE0 = 0;
4467 double sumdigiHE1 = 0;
4468 int nsumdigiHE1 = 0;
4469 double sumdigiHE2 = 0;
4470 int nsumdigiHE2 = 0;
4471 double sumdigiHE3 = 0;
4472 int nsumdigiHE3 = 0;
4473 double sumdigiHE4 = 0;
4474 int nsumdigiHE4 = 0;
4475 double sumdigiHE5 = 0;
4476 int nsumdigiHE5 = 0;
4477 double sumdigiHE6 = 0;
4478 int nsumdigiHE6 = 0;
4479 for (
int jphi = 0; jphi < njphi; jphi++) {
4480 adigihe[0][
jeta][jphi] = amplitudechannelHE1->GetBinContent(
jeta + 1, jphi + 1);
4481 adigihe[1][
jeta][jphi] = amplitudechannelHE2->GetBinContent(
jeta + 1, jphi + 1);
4482 adigihe[2][
jeta][jphi] = amplitudechannelHE3->GetBinContent(
jeta + 1, jphi + 1);
4483 adigihe[3][
jeta][jphi] = amplitudechannelHE4->GetBinContent(
jeta + 1, jphi + 1);
4484 adigihe[4][
jeta][jphi] = amplitudechannelHE5->GetBinContent(
jeta + 1, jphi + 1);
4485 adigihe[5][
jeta][jphi] = amplitudechannelHE6->GetBinContent(
jeta + 1, jphi + 1);
4486 adigihe[6][
jeta][jphi] = amplitudechannelHE7->GetBinContent(
jeta + 1, jphi + 1);
4487 if (adigihe[0][
jeta][jphi] > 0.) {
4488 sumdigiHE0 += adigihe[0][
jeta][jphi];
4491 if (adigihe[1][
jeta][jphi] > 0.) {
4492 sumdigiHE1 += adigihe[1][
jeta][jphi];
4495 if (adigihe[2][
jeta][jphi] > 0.) {
4496 sumdigiHE2 += adigihe[2][
jeta][jphi];
4499 if (adigihe[3][
jeta][jphi] > 0.) {
4500 sumdigiHE3 += adigihe[3][
jeta][jphi];
4503 if (adigihe[4][
jeta][jphi] > 0.) {
4504 sumdigiHE4 += adigihe[4][
jeta][jphi];
4507 if (adigihe[5][
jeta][jphi] > 0.) {
4508 sumdigiHE5 += adigihe[5][
jeta][jphi];
4511 if (adigihe[6][
jeta][jphi] > 0.) {
4512 sumdigiHE6 += adigihe[6][
jeta][jphi];
4517 for (
int jphi = 0; jphi < njphi; jphi++) {
4518 if (adigihe[0][
jeta][jphi] > 0.)
4519 adigihe[0][
jeta][jphi] /= (sumdigiHE0 / nsumdigiHE0);
4520 if (adigihe[1][
jeta][jphi] > 0.)
4521 adigihe[1][
jeta][jphi] /= (sumdigiHE1 / nsumdigiHE1);
4522 if (adigihe[2][
jeta][jphi] > 0.)
4523 adigihe[2][
jeta][jphi] /= (sumdigiHE2 / nsumdigiHE2);
4524 if (adigihe[3][
jeta][jphi] > 0.)
4525 adigihe[3][
jeta][jphi] /= (sumdigiHE3 / nsumdigiHE3);
4526 if (adigihe[4][
jeta][jphi] > 0.)
4527 adigihe[4][
jeta][jphi] /= (sumdigiHE4 / nsumdigiHE4);
4528 if (adigihe[5][
jeta][jphi] > 0.)
4529 adigihe[5][
jeta][jphi] /= (sumdigiHE5 / nsumdigiHE5);
4530 if (adigihe[6][
jeta][jphi] > 0.)
4531 adigihe[6][
jeta][jphi] /= (sumdigiHE6 / nsumdigiHE6);
4542 TH2F *GefzRdigiHE42D =
new TH2F(
"GefzRdigiHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
4543 TH2F *GefzRdigiHE42D0 =
new TH2F(
"GefzRdigiHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
4544 TH2F *GefzRdigiHE42DF = (TH2F *)GefzRdigiHE42D0->Clone(
"GefzRdigiHE42DF");
4547 for (
int jphi = 0; jphi <
nphi; jphi++) {
4548 double ccc1 = adigihe[
i][
jeta][jphi];
4549 int k2plot =
jeta - 41;
4552 GefzRdigiHE42D->Fill(kkk, jphi, ccc1);
4553 GefzRdigiHE42D0->Fill(kkk, jphi, 1.);
4558 GefzRdigiHE42DF->Divide(GefzRdigiHE42D, GefzRdigiHE42D0, 1, 1,
"B");
4561 GefzRdigiHE42DF->SetMarkerStyle(20);
4562 GefzRdigiHE42DF->SetMarkerSize(0.4);
4563 GefzRdigiHE42DF->GetZaxis()->SetLabelSize(0.08);
4564 GefzRdigiHE42DF->SetXTitle(
"<R>_depth #eta \b");
4565 GefzRdigiHE42DF->SetYTitle(
" #phi \b");
4566 GefzRdigiHE42DF->SetZTitle(
"<R>_depth \b");
4567 GefzRdigiHE42DF->SetMarkerColor(2);
4568 GefzRdigiHE42DF->SetLineColor(
4570 GefzRdigiHE42DF->Draw(
"COLZ");
4573 c1x0->Print(
"RdigiGeneralD2PhiSymmetryHE.png");
4577 delete GefzRdigiHE42D;
4578 if (GefzRdigiHE42D0)
4579 delete GefzRdigiHE42D0;
4580 if (GefzRdigiHE42DF)
4581 delete GefzRdigiHE42DF;
4589 TH1F *GefzRdigiHE41D =
new TH1F(
"GefzRdigiHE41D",
"",
nphi, 0., 72.);
4590 TH1F *GefzRdigiHE41D0 =
new TH1F(
"GefzRdigiHE41D0",
"",
nphi, 0., 72.);
4591 TH1F *GefzRdigiHE41DF = (TH1F *)GefzRdigiHE41D0->Clone(
"GefzRdigiHE41DF");
4592 for (
int jphi = 0; jphi <
nphi; jphi++) {
4595 double ccc1 = adigihe[
i][
jeta][jphi];
4597 GefzRdigiHE41D->Fill(jphi, ccc1);
4598 GefzRdigiHE41D0->Fill(jphi, 1.);
4603 GefzRdigiHE41DF->Divide(GefzRdigiHE41D, GefzRdigiHE41D0, 1, 1,
"B");
4604 GefzRdigiHE41D0->Sumw2();
4608 GefzRdigiHE41DF->SetMarkerStyle(20);
4609 GefzRdigiHE41DF->SetMarkerSize(1.4);
4610 GefzRdigiHE41DF->GetZaxis()->SetLabelSize(0.08);
4611 GefzRdigiHE41DF->SetXTitle(
"#phi \b");
4612 GefzRdigiHE41DF->SetYTitle(
" <R> \b");
4613 GefzRdigiHE41DF->SetZTitle(
"<R>_PHI - AllDepthes \b");
4614 GefzRdigiHE41DF->SetMarkerColor(4);
4615 GefzRdigiHE41DF->SetLineColor(
4617 GefzRdigiHE41DF->Draw(
"Error");
4620 c1x1->Print(
"RdigiGeneralD1PhiSymmetryHE.png");
4624 delete GefzRdigiHE41D;
4625 if (GefzRdigiHE41D0)
4626 delete GefzRdigiHE41D0;
4627 if (GefzRdigiHE41DF)
4628 delete GefzRdigiHE41DF;
4638 int kcountHEpositivedirectionDigi1 = 1;
4639 TH1F *h2CeffHEpositivedirectionDigi1 =
new TH1F(
"h2CeffHEpositivedirectionDigi1",
"",
nphi, 0., 72.);
4642 if (
jeta - 41 >= 0) {
4645 for (
int i = 0;
i < 1;
i++) {
4646 TH1F *HEpositivedirectionDigi1 = (TH1F *)h2CeffHEpositivedirectionDigi1->Clone(
"twod1");
4648 for (
int jphi = 0; jphi <
nphi; jphi++) {
4649 double ccc1 = adigihe[
i][
jeta][jphi];
4651 HEpositivedirectionDigi1->Fill(jphi, ccc1);
4657 c3x5->cd(kcountHEpositivedirectionDigi1);
4658 HEpositivedirectionDigi1->SetMarkerStyle(20);
4659 HEpositivedirectionDigi1->SetMarkerSize(0.4);
4660 HEpositivedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
4661 HEpositivedirectionDigi1->SetXTitle(
"HEpositivedirectionDigi1 \b");
4662 HEpositivedirectionDigi1->SetMarkerColor(2);
4663 HEpositivedirectionDigi1->SetLineColor(0);
4667 if (kcountHEpositivedirectionDigi1 == 1)
4668 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 17; depth = 1 \b");
4669 if (kcountHEpositivedirectionDigi1 == 2)
4670 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 18; depth = 1 \b");
4671 if (kcountHEpositivedirectionDigi1 == 3)
4672 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 19; depth = 1 \b");
4673 if (kcountHEpositivedirectionDigi1 == 4)
4674 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 20; depth = 1 \b");
4675 if (kcountHEpositivedirectionDigi1 == 5)
4676 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 21; depth = 1 \b");
4677 if (kcountHEpositivedirectionDigi1 == 6)
4678 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 22; depth = 1 \b");
4679 if (kcountHEpositivedirectionDigi1 == 7)
4680 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 23; depth = 1 \b");
4681 if (kcountHEpositivedirectionDigi1 == 8)
4682 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 24; depth = 1 \b");
4683 if (kcountHEpositivedirectionDigi1 == 9)
4684 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 25; depth = 1 \b");
4685 if (kcountHEpositivedirectionDigi1 == 10)
4686 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 26; depth = 1 \b");
4687 if (kcountHEpositivedirectionDigi1 == 11)
4688 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 27; depth = 1 \b");
4689 if (kcountHEpositivedirectionDigi1 == 12)
4690 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 28; depth = 1 \b");
4691 HEpositivedirectionDigi1->Draw(
"Error");
4692 kcountHEpositivedirectionDigi1++;
4693 if (kcountHEpositivedirectionDigi1 > 12)
4702 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png");
4705 if (h2CeffHEpositivedirectionDigi1)
4706 delete h2CeffHEpositivedirectionDigi1;
4716 int kcountHEpositivedirectionDigi2 = 1;
4717 TH1F *h2CeffHEpositivedirectionDigi2 =
new TH1F(
"h2CeffHEpositivedirectionDigi2",
"",
nphi, 0., 72.);
4720 if (
jeta - 41 >= 0) {
4723 for (
int i = 1;
i < 2;
i++) {
4724 TH1F *HEpositivedirectionDigi2 = (TH1F *)h2CeffHEpositivedirectionDigi2->Clone(
"twod1");
4726 for (
int jphi = 0; jphi <
nphi; jphi++) {
4727 double ccc1 = adigihe[
i][
jeta][jphi];
4729 HEpositivedirectionDigi2->Fill(jphi, ccc1);
4735 c3x5->cd(kcountHEpositivedirectionDigi2);
4736 HEpositivedirectionDigi2->SetMarkerStyle(20);
4737 HEpositivedirectionDigi2->SetMarkerSize(0.4);
4738 HEpositivedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
4739 HEpositivedirectionDigi2->SetXTitle(
"HEpositivedirectionDigi2 \b");
4740 HEpositivedirectionDigi2->SetMarkerColor(2);
4741 HEpositivedirectionDigi2->SetLineColor(0);
4745 if (kcountHEpositivedirectionDigi2 == 1)
4746 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 16; depth = 2 \b");
4747 if (kcountHEpositivedirectionDigi2 == 2)
4748 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 17; depth = 2 \b");
4749 if (kcountHEpositivedirectionDigi2 == 3)
4750 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 18; depth = 2 \b");
4751 if (kcountHEpositivedirectionDigi2 == 4)
4752 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 19; depth = 2 \b");
4753 if (kcountHEpositivedirectionDigi2 == 5)
4754 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 20; depth = 2 \b");
4755 if (kcountHEpositivedirectionDigi2 == 6)
4756 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 21; depth = 2 \b");
4757 if (kcountHEpositivedirectionDigi2 == 7)
4758 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 22; depth = 2 \b");
4759 if (kcountHEpositivedirectionDigi2 == 8)
4760 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 23; depth = 2 \b");
4761 if (kcountHEpositivedirectionDigi2 == 9)
4762 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 24; depth = 2 \b");
4763 if (kcountHEpositivedirectionDigi2 == 10)
4764 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 25; depth = 2 \b");
4765 if (kcountHEpositivedirectionDigi2 == 11)
4766 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 26; depth = 2 \b");
4767 if (kcountHEpositivedirectionDigi2 == 12)
4768 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 27; depth = 2 \b");
4769 if (kcountHEpositivedirectionDigi2 == 13)
4770 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 28; depth = 2 \b");
4771 HEpositivedirectionDigi2->Draw(
"Error");
4772 kcountHEpositivedirectionDigi2++;
4773 if (kcountHEpositivedirectionDigi2 > 13)
4782 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png");
4785 if (h2CeffHEpositivedirectionDigi2)
4786 delete h2CeffHEpositivedirectionDigi2;
4795 int kcountHEpositivedirectionDigi3 = 1;
4796 TH1F *h2CeffHEpositivedirectionDigi3 =
new TH1F(
"h2CeffHEpositivedirectionDigi3",
"",
nphi, 0., 72.);
4799 if (
jeta - 41 >= 0) {
4802 for (
int i = 2;
i < 3;
i++) {
4803 TH1F *HEpositivedirectionDigi3 = (TH1F *)h2CeffHEpositivedirectionDigi3->Clone(
"twod1");
4805 for (
int jphi = 0; jphi <
nphi; jphi++) {
4806 double ccc1 = adigihe[
i][
jeta][jphi];
4808 HEpositivedirectionDigi3->Fill(jphi, ccc1);
4814 c3x5->cd(kcountHEpositivedirectionDigi3);
4815 HEpositivedirectionDigi3->SetMarkerStyle(20);
4816 HEpositivedirectionDigi3->SetMarkerSize(0.4);
4817 HEpositivedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
4818 HEpositivedirectionDigi3->SetXTitle(
"HEpositivedirectionDigi3 \b");
4819 HEpositivedirectionDigi3->SetMarkerColor(2);
4820 HEpositivedirectionDigi3->SetLineColor(0);
4824 if (kcountHEpositivedirectionDigi3 == 1)
4825 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 16; depth = 3 \b");
4826 if (kcountHEpositivedirectionDigi3 == 2)
4827 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 17; depth = 3 \b");
4828 if (kcountHEpositivedirectionDigi3 == 3)
4829 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 18; depth = 3 \b");
4830 if (kcountHEpositivedirectionDigi3 == 4)
4831 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 19; depth = 3 \b");
4832 if (kcountHEpositivedirectionDigi3 == 5)
4833 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 20; depth = 3 \b");
4834 if (kcountHEpositivedirectionDigi3 == 6)
4835 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 21; depth = 3 \b");
4836 if (kcountHEpositivedirectionDigi3 == 7)
4837 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 22; depth = 3 \b");
4838 if (kcountHEpositivedirectionDigi3 == 8)
4839 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 23; depth = 3 \b");
4840 if (kcountHEpositivedirectionDigi3 == 9)
4841 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 24; depth = 3 \b");
4842 if (kcountHEpositivedirectionDigi3 == 10)
4843 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 25; depth = 3 \b");
4844 if (kcountHEpositivedirectionDigi3 == 11)
4845 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 26; depth = 3 \b");
4846 if (kcountHEpositivedirectionDigi3 == 12)
4847 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 27; depth = 3 \b");
4848 if (kcountHEpositivedirectionDigi3 == 13)
4849 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 28; depth = 3 \b");
4850 HEpositivedirectionDigi3->Draw(
"Error");
4851 kcountHEpositivedirectionDigi3++;
4852 if (kcountHEpositivedirectionDigi3 > 13)
4861 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png");
4864 if (h2CeffHEpositivedirectionDigi3)
4865 delete h2CeffHEpositivedirectionDigi3;
4874 int kcountHEpositivedirectionDigi4 = 1;
4875 TH1F *h2CeffHEpositivedirectionDigi4 =
new TH1F(
"h2CeffHEpositivedirectionDigi4",
"",
nphi, 0., 72.);
4879 if (
jeta - 41 >= 0) {
4882 for (
int i = 3;
i < 4;
i++) {
4883 TH1F *HEpositivedirectionDigi4 = (TH1F *)h2CeffHEpositivedirectionDigi4->Clone(
"twod1");
4886 for (
int jphi = 0; jphi <
nphi; jphi++) {
4887 double ccc1 = adigihe[
i][
jeta][jphi];
4889 HEpositivedirectionDigi4->Fill(jphi, ccc1);
4895 c3x5->cd(kcountHEpositivedirectionDigi4);
4896 HEpositivedirectionDigi4->SetMarkerStyle(20);
4897 HEpositivedirectionDigi4->SetMarkerSize(0.4);
4898 HEpositivedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
4899 HEpositivedirectionDigi4->SetXTitle(
"HEpositivedirectionDigi4 \b");
4900 HEpositivedirectionDigi4->SetMarkerColor(2);
4901 HEpositivedirectionDigi4->SetLineColor(0);
4905 if (kcountHEpositivedirectionDigi4 == 1)
4906 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 15; depth = 4 \b");
4907 if (kcountHEpositivedirectionDigi4 == 2)
4908 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 17; depth = 4 \b");
4909 if (kcountHEpositivedirectionDigi4 == 3)
4910 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 18; depth = 4 \b");
4911 if (kcountHEpositivedirectionDigi4 == 4)
4912 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 19; depth = 4 \b");
4913 if (kcountHEpositivedirectionDigi4 == 5)
4914 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 20; depth = 4 \b");
4915 if (kcountHEpositivedirectionDigi4 == 6)
4916 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 21; depth = 4 \b");
4917 if (kcountHEpositivedirectionDigi4 == 7)
4918 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 22; depth = 4 \b");
4919 if (kcountHEpositivedirectionDigi4 == 8)
4920 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 23; depth = 4 \b");
4921 if (kcountHEpositivedirectionDigi4 == 9)
4922 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 24; depth = 4 \b");
4923 if (kcountHEpositivedirectionDigi4 == 10)
4924 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 25; depth = 4 \b");
4925 if (kcountHEpositivedirectionDigi4 == 11)
4926 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 26; depth = 4 \b");
4927 if (kcountHEpositivedirectionDigi4 == 12)
4928 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 27; depth = 4 \b");
4929 HEpositivedirectionDigi4->Draw(
"Error");
4930 kcountHEpositivedirectionDigi4++;
4931 if (kcountHEpositivedirectionDigi4 > 12)
4940 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png");
4943 if (h2CeffHEpositivedirectionDigi4)
4944 delete h2CeffHEpositivedirectionDigi4;
4953 int kcountHEpositivedirectionDigi5 = 1;
4954 TH1F *h2CeffHEpositivedirectionDigi5 =
new TH1F(
"h2CeffHEpositivedirectionDigi5",
"",
nphi, 0., 72.);
4958 if (
jeta - 41 >= 0) {
4961 for (
int i = 4;
i < 5;
i++) {
4962 TH1F *HEpositivedirectionDigi5 = (TH1F *)h2CeffHEpositivedirectionDigi5->Clone(
"twod1");
4965 for (
int jphi = 0; jphi <
nphi; jphi++) {
4968 double ccc1 = adigihe[
i][
jeta][jphi];
4970 HEpositivedirectionDigi5->Fill(jphi, ccc1);
4976 c3x5->cd(kcountHEpositivedirectionDigi5);
4977 HEpositivedirectionDigi5->SetMarkerStyle(20);
4978 HEpositivedirectionDigi5->SetMarkerSize(0.4);
4979 HEpositivedirectionDigi5->GetYaxis()->SetLabelSize(0.04);
4980 HEpositivedirectionDigi5->SetXTitle(
"HEpositivedirectionDigi5 \b");
4981 HEpositivedirectionDigi5->SetMarkerColor(2);
4982 HEpositivedirectionDigi5->SetLineColor(0);
4986 if (kcountHEpositivedirectionDigi5 == 1)
4987 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 17; depth = 5 \b");
4988 if (kcountHEpositivedirectionDigi5 == 2)
4989 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 18; depth = 5 \b");
4990 if (kcountHEpositivedirectionDigi5 == 3)
4991 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 19; depth = 5 \b");
4992 if (kcountHEpositivedirectionDigi5 == 4)
4993 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 20; depth = 5 \b");
4994 if (kcountHEpositivedirectionDigi5 == 5)
4995 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 21; depth = 5 \b");
4996 if (kcountHEpositivedirectionDigi5 == 6)
4997 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 22; depth = 5 \b");
4998 if (kcountHEpositivedirectionDigi5 == 7)
4999 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 23; depth = 5 \b");
5000 if (kcountHEpositivedirectionDigi5 == 8)
5001 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 24; depth = 5 \b");
5002 if (kcountHEpositivedirectionDigi5 == 9)
5003 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 25; depth = 5 \b");
5004 if (kcountHEpositivedirectionDigi5 == 10)
5005 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 26; depth = 5 \b");
5006 if (kcountHEpositivedirectionDigi5 == 11)
5007 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 27; depth = 5 \b");
5008 HEpositivedirectionDigi5->Draw(
"Error");
5009 kcountHEpositivedirectionDigi5++;
5010 if (kcountHEpositivedirectionDigi5 > 11)
5019 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png");
5022 if (h2CeffHEpositivedirectionDigi5)
5023 delete h2CeffHEpositivedirectionDigi5;
5032 int kcountHEpositivedirectionDigi6 = 1;
5033 TH1F *h2CeffHEpositivedirectionDigi6 =
new TH1F(
"h2CeffHEpositivedirectionDigi6",
"",
nphi, 0., 72.);
5037 if (
jeta - 41 >= 0) {
5040 for (
int i = 5;
i < 6;
i++) {
5041 TH1F *HEpositivedirectionDigi6 = (TH1F *)h2CeffHEpositivedirectionDigi6->Clone(
"twod1");
5044 for (
int jphi = 0; jphi <
nphi; jphi++) {
5045 double ccc1 = adigihe[
i][
jeta][jphi];
5047 HEpositivedirectionDigi6->Fill(jphi, ccc1);
5053 c3x5->cd(kcountHEpositivedirectionDigi6);
5054 HEpositivedirectionDigi6->SetMarkerStyle(20);
5055 HEpositivedirectionDigi6->SetMarkerSize(0.4);
5056 HEpositivedirectionDigi6->GetYaxis()->SetLabelSize(0.04);
5057 HEpositivedirectionDigi6->SetXTitle(
"HEpositivedirectionDigi6 \b");
5058 HEpositivedirectionDigi6->SetMarkerColor(2);
5059 HEpositivedirectionDigi6->SetLineColor(0);
5063 if (kcountHEpositivedirectionDigi6 == 1)
5064 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 18; depth = 6 \b");
5065 if (kcountHEpositivedirectionDigi6 == 2)
5066 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 19; depth = 6 \b");
5067 if (kcountHEpositivedirectionDigi6 == 3)
5068 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 20; depth = 6 \b");
5069 if (kcountHEpositivedirectionDigi6 == 4)
5070 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 21; depth = 6 \b");
5071 if (kcountHEpositivedirectionDigi6 == 5)
5072 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 22; depth = 6 \b");
5073 if (kcountHEpositivedirectionDigi6 == 6)
5074 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 23; depth = 6 \b");
5075 if (kcountHEpositivedirectionDigi6 == 7)
5076 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 24; depth = 6 \b");
5077 if (kcountHEpositivedirectionDigi6 == 8)
5078 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 25; depth = 6 \b");
5079 if (kcountHEpositivedirectionDigi6 == 9)
5080 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 26; depth = 6 \b");
5081 if (kcountHEpositivedirectionDigi6 == 10)
5082 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 27; depth = 6 \b");
5083 HEpositivedirectionDigi6->Draw(
"Error");
5084 kcountHEpositivedirectionDigi6++;
5085 if (kcountHEpositivedirectionDigi6 > 10)
5094 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png");
5097 if (h2CeffHEpositivedirectionDigi6)
5098 delete h2CeffHEpositivedirectionDigi6;
5107 int kcountHEpositivedirectionDigi7 = 1;
5108 TH1F *h2CeffHEpositivedirectionDigi7 =
new TH1F(
"h2CeffHEpositivedirectionDigi7",
"",
nphi, 0., 72.);
5112 if (
jeta - 41 >= 0) {
5115 for (
int i = 6;
i < 7;
i++) {
5116 TH1F *HEpositivedirectionDigi7 = (TH1F *)h2CeffHEpositivedirectionDigi7->Clone(
"twod1");
5119 for (
int jphi = 0; jphi <
nphi; jphi++) {
5120 double ccc1 = adigihe[
i][
jeta][jphi];
5122 HEpositivedirectionDigi7->Fill(jphi, ccc1);
5128 c3x5->cd(kcountHEpositivedirectionDigi7);
5129 HEpositivedirectionDigi7->SetMarkerStyle(20);
5130 HEpositivedirectionDigi7->SetMarkerSize(0.4);
5131 HEpositivedirectionDigi7->GetYaxis()->SetLabelSize(0.04);
5132 HEpositivedirectionDigi7->SetXTitle(
"HEpositivedirectionDigi7 \b");
5133 HEpositivedirectionDigi7->SetMarkerColor(2);
5134 HEpositivedirectionDigi7->SetLineColor(0);
5138 if (kcountHEpositivedirectionDigi7 == 1)
5139 HEpositivedirectionDigi7->SetXTitle(
"R for HE+ jeta = 25; depth = 7 \b");
5140 if (kcountHEpositivedirectionDigi7 == 2)
5141 HEpositivedirectionDigi7->SetXTitle(
"R for HE+ jeta = 26; depth = 7 \b");
5142 if (kcountHEpositivedirectionDigi7 == 3)
5143 HEpositivedirectionDigi7->SetXTitle(
"R for HE+ jeta = 27; depth = 7 \b");
5144 HEpositivedirectionDigi7->Draw(
"Error");
5145 kcountHEpositivedirectionDigi7++;
5146 if (kcountHEpositivedirectionDigi7 > 3)
5155 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png");
5158 if (h2CeffHEpositivedirectionDigi7)
5159 delete h2CeffHEpositivedirectionDigi7;
5170 int kcountHEnegativedirectionDigi1 = 1;
5171 TH1F *h2CeffHEnegativedirectionDigi1 =
new TH1F(
"h2CeffHEnegativedirectionDigi1",
"",
nphi, 0., 72.);
5174 if (
jeta - 41 < 0) {
5177 for (
int i = 0;
i < 1;
i++) {
5178 TH1F *HEnegativedirectionDigi1 = (TH1F *)h2CeffHEnegativedirectionDigi1->Clone(
"twod1");
5180 for (
int jphi = 0; jphi <
nphi; jphi++) {
5181 double ccc1 = adigihe[
i][
jeta][jphi];
5183 HEnegativedirectionDigi1->Fill(jphi, ccc1);
5189 c3x5->cd(kcountHEnegativedirectionDigi1);
5190 HEnegativedirectionDigi1->SetMarkerStyle(20);
5191 HEnegativedirectionDigi1->SetMarkerSize(0.4);
5192 HEnegativedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
5193 HEnegativedirectionDigi1->SetXTitle(
"HEnegativedirectionDigi1 \b");
5194 HEnegativedirectionDigi1->SetMarkerColor(2);
5195 HEnegativedirectionDigi1->SetLineColor(0);
5199 if (kcountHEnegativedirectionDigi1 == 1)
5200 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-29; depth = 1 \b");
5201 if (kcountHEnegativedirectionDigi1 == 2)
5202 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-28; depth = 1 \b");
5203 if (kcountHEnegativedirectionDigi1 == 3)
5204 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-27; depth = 1 \b");
5205 if (kcountHEnegativedirectionDigi1 == 4)
5206 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-26; depth = 1 \b");
5207 if (kcountHEnegativedirectionDigi1 == 5)
5208 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-25; depth = 1 \b");
5209 if (kcountHEnegativedirectionDigi1 == 6)
5210 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-24; depth = 1 \b");
5211 if (kcountHEnegativedirectionDigi1 == 7)
5212 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-23; depth = 1 \b");
5213 if (kcountHEnegativedirectionDigi1 == 8)
5214 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-22; depth = 1 \b");
5215 if (kcountHEnegativedirectionDigi1 == 9)
5216 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-21; depth = 1 \b");
5217 if (kcountHEnegativedirectionDigi1 == 10)
5218 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-20; depth = 1 \b");
5219 if (kcountHEnegativedirectionDigi1 == 11)
5220 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-19; depth = 1 \b");
5221 if (kcountHEnegativedirectionDigi1 == 12)
5222 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-18; depth = 1 \b");
5223 HEnegativedirectionDigi1->Draw(
"Error");
5224 kcountHEnegativedirectionDigi1++;
5225 if (kcountHEnegativedirectionDigi1 > 12)
5234 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
5237 if (h2CeffHEnegativedirectionDigi1)
5238 delete h2CeffHEnegativedirectionDigi1;
5248 int kcountHEnegativedirectionDigi2 = 1;
5249 TH1F *h2CeffHEnegativedirectionDigi2 =
new TH1F(
"h2CeffHEnegativedirectionDigi2",
"",
nphi, 0., 72.);
5252 if (
jeta - 41 < 0) {
5255 for (
int i = 1;
i < 2;
i++) {
5256 TH1F *HEnegativedirectionDigi2 = (TH1F *)h2CeffHEnegativedirectionDigi2->Clone(
"twod1");
5258 for (
int jphi = 0; jphi <
nphi; jphi++) {
5259 double ccc1 = adigihe[
i][
jeta][jphi];
5261 HEnegativedirectionDigi2->Fill(jphi, ccc1);
5267 c3x5->cd(kcountHEnegativedirectionDigi2);
5268 HEnegativedirectionDigi2->SetMarkerStyle(20);
5269 HEnegativedirectionDigi2->SetMarkerSize(0.4);
5270 HEnegativedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
5271 HEnegativedirectionDigi2->SetXTitle(
"HEnegativedirectionDigi2 \b");
5272 HEnegativedirectionDigi2->SetMarkerColor(2);
5273 HEnegativedirectionDigi2->SetLineColor(0);
5277 if (kcountHEnegativedirectionDigi2 == 1)
5278 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-29; depth = 2 \b");
5279 if (kcountHEnegativedirectionDigi2 == 2)
5280 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-28; depth = 2 \b");
5281 if (kcountHEnegativedirectionDigi2 == 3)
5282 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-27; depth = 2 \b");
5283 if (kcountHEnegativedirectionDigi2 == 4)
5284 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-26; depth = 2 \b");
5285 if (kcountHEnegativedirectionDigi2 == 5)
5286 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-25; depth = 2 \b");
5287 if (kcountHEnegativedirectionDigi2 == 6)
5288 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-24; depth = 2 \b");
5289 if (kcountHEnegativedirectionDigi2 == 7)
5290 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-23; depth = 2 \b");
5291 if (kcountHEnegativedirectionDigi2 == 8)
5292 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-22; depth = 2 \b");
5293 if (kcountHEnegativedirectionDigi2 == 9)
5294 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-21; depth = 2 \b");
5295 if (kcountHEnegativedirectionDigi2 == 10)
5296 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-20; depth = 2 \b");
5297 if (kcountHEnegativedirectionDigi2 == 11)
5298 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-19; depth = 2 \b");
5299 if (kcountHEnegativedirectionDigi2 == 12)
5300 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-18; depth = 2 \b");
5301 if (kcountHEnegativedirectionDigi2 == 13)
5302 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-17; depth = 2 \b");
5303 HEnegativedirectionDigi2->Draw(
"Error");
5304 kcountHEnegativedirectionDigi2++;
5305 if (kcountHEnegativedirectionDigi2 > 13)
5314 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
5317 if (h2CeffHEnegativedirectionDigi2)
5318 delete h2CeffHEnegativedirectionDigi2;
5327 int kcountHEnegativedirectionDigi3 = 1;
5328 TH1F *h2CeffHEnegativedirectionDigi3 =
new TH1F(
"h2CeffHEnegativedirectionDigi3",
"",
nphi, 0., 72.);
5331 if (
jeta - 41 < 0) {
5334 for (
int i = 2;
i < 3;
i++) {
5335 TH1F *HEnegativedirectionDigi3 = (TH1F *)h2CeffHEnegativedirectionDigi3->Clone(
"twod1");
5337 for (
int jphi = 0; jphi <
nphi; jphi++) {
5338 double ccc1 = adigihe[
i][
jeta][jphi];
5340 HEnegativedirectionDigi3->Fill(jphi, ccc1);
5346 c3x5->cd(kcountHEnegativedirectionDigi3);
5347 HEnegativedirectionDigi3->SetMarkerStyle(20);
5348 HEnegativedirectionDigi3->SetMarkerSize(0.4);
5349 HEnegativedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
5350 HEnegativedirectionDigi3->SetXTitle(
"HEnegativedirectionDigi3 \b");
5351 HEnegativedirectionDigi3->SetMarkerColor(2);
5352 HEnegativedirectionDigi3->SetLineColor(0);
5356 if (kcountHEnegativedirectionDigi3 == 1)
5357 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-29; depth = 3 \b");
5358 if (kcountHEnegativedirectionDigi3 == 2)
5359 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-28; depth = 3 \b");
5360 if (kcountHEnegativedirectionDigi3 == 3)
5361 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-27; depth = 3 \b");
5362 if (kcountHEnegativedirectionDigi3 == 4)
5363 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-26; depth = 3 \b");
5364 if (kcountHEnegativedirectionDigi3 == 5)
5365 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-25; depth = 3 \b");
5366 if (kcountHEnegativedirectionDigi3 == 6)
5367 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-24; depth = 3 \b");
5368 if (kcountHEnegativedirectionDigi3 == 7)
5369 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-23; depth = 3 \b");
5370 if (kcountHEnegativedirectionDigi3 == 8)
5371 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-22; depth = 3 \b");
5372 if (kcountHEnegativedirectionDigi3 == 9)
5373 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-21; depth = 3 \b");
5374 if (kcountHEnegativedirectionDigi3 == 10)
5375 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-20; depth = 3 \b");
5376 if (kcountHEnegativedirectionDigi3 == 11)
5377 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-19; depth = 3 \b");
5378 if (kcountHEnegativedirectionDigi3 == 12)
5379 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-18; depth = 3 \b");
5380 if (kcountHEnegativedirectionDigi3 == 13)
5381 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-17; depth = 3 \b");
5382 HEnegativedirectionDigi3->Draw(
"Error");
5383 kcountHEnegativedirectionDigi3++;
5384 if (kcountHEnegativedirectionDigi3 > 13)
5393 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
5396 if (h2CeffHEnegativedirectionDigi3)
5397 delete h2CeffHEnegativedirectionDigi3;
5406 int kcountHEnegativedirectionDigi4 = 1;
5407 TH1F *h2CeffHEnegativedirectionDigi4 =
new TH1F(
"h2CeffHEnegativedirectionDigi4",
"",
nphi, 0., 72.);
5411 if (
jeta - 41 < 0) {
5414 for (
int i = 3;
i < 4;
i++) {
5415 TH1F *HEnegativedirectionDigi4 = (TH1F *)h2CeffHEnegativedirectionDigi4->Clone(
"twod1");
5418 for (
int jphi = 0; jphi <
nphi; jphi++) {
5419 double ccc1 = adigihe[
i][
jeta][jphi];
5421 HEnegativedirectionDigi4->Fill(jphi, ccc1);
5427 c3x5->cd(kcountHEnegativedirectionDigi4);
5428 HEnegativedirectionDigi4->SetMarkerStyle(20);
5429 HEnegativedirectionDigi4->SetMarkerSize(0.4);
5430 HEnegativedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
5431 HEnegativedirectionDigi4->SetXTitle(
"HEnegativedirectionDigi4 \b");
5432 HEnegativedirectionDigi4->SetMarkerColor(2);
5433 HEnegativedirectionDigi4->SetLineColor(0);
5437 if (kcountHEnegativedirectionDigi4 == 1)
5438 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-28; depth = 4 \b");
5439 if (kcountHEnegativedirectionDigi4 == 2)
5440 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-27; depth = 4 \b");
5441 if (kcountHEnegativedirectionDigi4 == 3)
5442 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-26; depth = 4 \b");
5443 if (kcountHEnegativedirectionDigi4 == 4)
5444 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-25; depth = 4 \b");
5445 if (kcountHEnegativedirectionDigi4 == 5)
5446 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-24; depth = 4 \b");
5447 if (kcountHEnegativedirectionDigi4 == 6)
5448 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-23; depth = 4 \b");
5449 if (kcountHEnegativedirectionDigi4 == 7)
5450 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-22; depth = 4 \b");
5451 if (kcountHEnegativedirectionDigi4 == 8)
5452 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-21; depth = 4 \b");
5453 if (kcountHEnegativedirectionDigi4 == 9)
5454 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-20; depth = 4 \b");
5455 if (kcountHEnegativedirectionDigi4 == 10)
5456 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-19; depth = 4 \b");
5457 if (kcountHEnegativedirectionDigi4 == 11)
5458 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-18; depth = 4 \b");
5459 if (kcountHEnegativedirectionDigi4 == 12)
5460 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-16; depth = 4 \b");
5461 HEnegativedirectionDigi4->Draw(
"Error");
5462 kcountHEnegativedirectionDigi4++;
5463 if (kcountHEnegativedirectionDigi4 > 12)
5472 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
5475 if (h2CeffHEnegativedirectionDigi4)
5476 delete h2CeffHEnegativedirectionDigi4;
5485 int kcountHEnegativedirectionDigi5 = 1;
5486 TH1F *h2CeffHEnegativedirectionDigi5 =
new TH1F(
"h2CeffHEnegativedirectionDigi5",
"",
nphi, 0., 72.);
5490 if (
jeta - 41 < 0) {
5493 for (
int i = 4;
i < 5;
i++) {
5494 TH1F *HEnegativedirectionDigi5 = (TH1F *)h2CeffHEnegativedirectionDigi5->Clone(
"twod1");
5497 for (
int jphi = 0; jphi <
nphi; jphi++) {
5500 double ccc1 = adigihe[
i][
jeta][jphi];
5502 HEnegativedirectionDigi5->Fill(jphi, ccc1);
5508 c3x5->cd(kcountHEnegativedirectionDigi5);
5509 HEnegativedirectionDigi5->SetMarkerStyle(20);
5510 HEnegativedirectionDigi5->SetMarkerSize(0.4);
5511 HEnegativedirectionDigi5->GetYaxis()->SetLabelSize(0.04);
5512 HEnegativedirectionDigi5->SetXTitle(
"HEnegativedirectionDigi5 \b");
5513 HEnegativedirectionDigi5->SetMarkerColor(2);
5514 HEnegativedirectionDigi5->SetLineColor(0);
5518 if (kcountHEnegativedirectionDigi5 == 1)
5519 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-28; depth = 5 \b");
5520 if (kcountHEnegativedirectionDigi5 == 2)
5521 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-27; depth = 5 \b");
5522 if (kcountHEnegativedirectionDigi5 == 3)
5523 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-26; depth = 5 \b");
5524 if (kcountHEnegativedirectionDigi5 == 4)
5525 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-25; depth = 5 \b");
5526 if (kcountHEnegativedirectionDigi5 == 5)
5527 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-24; depth = 5 \b");
5528 if (kcountHEnegativedirectionDigi5 == 6)
5529 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-23; depth = 5 \b");
5530 if (kcountHEnegativedirectionDigi5 == 7)
5531 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-22; depth = 5 \b");
5532 if (kcountHEnegativedirectionDigi5 == 8)
5533 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-21; depth = 5 \b");
5534 if (kcountHEnegativedirectionDigi5 == 9)
5535 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-20; depth = 5 \b");
5536 if (kcountHEnegativedirectionDigi5 == 10)
5537 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-19; depth = 5 \b");
5538 if (kcountHEnegativedirectionDigi5 == 11)
5539 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-18; depth = 5 \b");
5540 HEnegativedirectionDigi5->Draw(
"Error");
5541 kcountHEnegativedirectionDigi5++;
5542 if (kcountHEnegativedirectionDigi5 > 11)
5551 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
5554 if (h2CeffHEnegativedirectionDigi5)
5555 delete h2CeffHEnegativedirectionDigi5;
5564 int kcountHEnegativedirectionDigi6 = 1;
5565 TH1F *h2CeffHEnegativedirectionDigi6 =
new TH1F(
"h2CeffHEnegativedirectionDigi6",
"",
nphi, 0., 72.);
5569 if (
jeta - 41 < 0) {
5572 for (
int i = 5;
i < 6;
i++) {
5573 TH1F *HEnegativedirectionDigi6 = (TH1F *)h2CeffHEnegativedirectionDigi6->Clone(
"twod1");
5576 for (
int jphi = 0; jphi <
nphi; jphi++) {
5577 double ccc1 = adigihe[
i][
jeta][jphi];
5579 HEnegativedirectionDigi6->Fill(jphi, ccc1);
5585 c3x5->cd(kcountHEnegativedirectionDigi6);
5586 HEnegativedirectionDigi6->SetMarkerStyle(20);
5587 HEnegativedirectionDigi6->SetMarkerSize(0.4);
5588 HEnegativedirectionDigi6->GetYaxis()->SetLabelSize(0.04);
5589 HEnegativedirectionDigi6->SetXTitle(
"HEnegativedirectionDigi6 \b");
5590 HEnegativedirectionDigi6->SetMarkerColor(2);
5591 HEnegativedirectionDigi6->SetLineColor(0);
5595 if (kcountHEnegativedirectionDigi6 == 1)
5596 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-28; depth = 6 \b");
5597 if (kcountHEnegativedirectionDigi6 == 2)
5598 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-27; depth = 6 \b");
5599 if (kcountHEnegativedirectionDigi6 == 3)
5600 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-26; depth = 6 \b");
5601 if (kcountHEnegativedirectionDigi6 == 4)
5602 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-25; depth = 6 \b");
5603 if (kcountHEnegativedirectionDigi6 == 5)
5604 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-24; depth = 6 \b");
5605 if (kcountHEnegativedirectionDigi6 == 6)
5606 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-23; depth = 6 \b");
5607 if (kcountHEnegativedirectionDigi6 == 7)
5608 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-22; depth = 6 \b");
5609 if (kcountHEnegativedirectionDigi6 == 8)
5610 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-21; depth = 6 \b");
5611 if (kcountHEnegativedirectionDigi6 == 9)
5612 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-20; depth = 6 \b");
5613 if (kcountHEnegativedirectionDigi6 == 10)
5614 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-19; depth = 6 \b");
5615 HEnegativedirectionDigi6->Draw(
"Error");
5616 kcountHEnegativedirectionDigi6++;
5617 if (kcountHEnegativedirectionDigi6 > 10)
5626 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
5629 if (h2CeffHEnegativedirectionDigi6)
5630 delete h2CeffHEnegativedirectionDigi6;
5639 int kcountHEnegativedirectionDigi7 = 1;
5640 TH1F *h2CeffHEnegativedirectionDigi7 =
new TH1F(
"h2CeffHEnegativedirectionDigi7",
"",
nphi, 0., 72.);
5644 if (
jeta - 41 < 0) {
5647 for (
int i = 6;
i < 7;
i++) {
5648 TH1F *HEnegativedirectionDigi7 = (TH1F *)h2CeffHEnegativedirectionDigi7->Clone(
"twod1");
5651 for (
int jphi = 0; jphi <
nphi; jphi++) {
5652 double ccc1 = adigihe[
i][
jeta][jphi];
5654 HEnegativedirectionDigi7->Fill(jphi, ccc1);
5660 c3x5->cd(kcountHEnegativedirectionDigi7);
5661 HEnegativedirectionDigi7->SetMarkerStyle(20);
5662 HEnegativedirectionDigi7->SetMarkerSize(0.4);
5663 HEnegativedirectionDigi7->GetYaxis()->SetLabelSize(0.04);
5664 HEnegativedirectionDigi7->SetXTitle(
"HEnegativedirectionDigi7 \b");
5665 HEnegativedirectionDigi7->SetMarkerColor(2);
5666 HEnegativedirectionDigi7->SetLineColor(0);
5670 if (kcountHEnegativedirectionDigi7 == 1)
5671 HEnegativedirectionDigi7->SetXTitle(
"R for HE- jeta =-28; depth = 7 \b");
5672 if (kcountHEnegativedirectionDigi7 == 2)
5673 HEnegativedirectionDigi7->SetXTitle(
"R for HE- jeta =-27; depth = 7 \b");
5674 if (kcountHEnegativedirectionDigi7 == 3)
5675 HEnegativedirectionDigi7->SetXTitle(
"R for HE- jeta =-26; depth = 7 \b");
5676 HEnegativedirectionDigi7->Draw(
"Error");
5677 kcountHEnegativedirectionDigi7++;
5678 if (kcountHEnegativedirectionDigi7 > 3)
5687 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
5690 if (h2CeffHEnegativedirectionDigi7)
5691 delete h2CeffHEnegativedirectionDigi7;
5698 TH2F *digiVariance1HE1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE1");
5699 TH2F *digiVariance0HE1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE1");
5700 TH2F *digiVarianceHE1 = (TH2F *)digiVariance1HE1->Clone(
"digiVarianceHE1");
5701 digiVarianceHE1->Divide(digiVariance1HE1, digiVariance0HE1, 1, 1,
"B");
5702 TH2F *digiVariance1HE2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE2");
5703 TH2F *digiVariance0HE2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE2");
5704 TH2F *digiVarianceHE2 = (TH2F *)digiVariance1HE2->Clone(
"digiVarianceHE2");
5705 digiVarianceHE2->Divide(digiVariance1HE2, digiVariance0HE2, 1, 1,
"B");
5706 TH2F *digiVariance1HE3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE3");
5707 TH2F *digiVariance0HE3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE3");
5708 TH2F *digiVarianceHE3 = (TH2F *)digiVariance1HE3->Clone(
"digiVarianceHE3");
5709 digiVarianceHE3->Divide(digiVariance1HE3, digiVariance0HE3, 1, 1,
"B");
5710 TH2F *digiVariance1HE4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE4");
5711 TH2F *digiVariance0HE4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE4");
5712 TH2F *digiVarianceHE4 = (TH2F *)digiVariance1HE4->Clone(
"digiVarianceHE4");
5713 digiVarianceHE4->Divide(digiVariance1HE4, digiVariance0HE4, 1, 1,
"B");
5714 TH2F *digiVariance1HE5 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE5");
5715 TH2F *digiVariance0HE5 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE5");
5716 TH2F *digiVarianceHE5 = (TH2F *)digiVariance1HE5->Clone(
"digiVarianceHE5");
5717 digiVarianceHE5->Divide(digiVariance1HE5, digiVariance0HE5, 1, 1,
"B");
5718 TH2F *digiVariance1HE6 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE6");
5719 TH2F *digiVariance0HE6 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE6");
5720 TH2F *digiVarianceHE6 = (TH2F *)digiVariance1HE6->Clone(
"digiVarianceHE6");
5721 digiVarianceHE6->Divide(digiVariance1HE6, digiVariance0HE6, 1, 1,
"B");
5722 TH2F *digiVariance1HE7 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE7");
5723 TH2F *digiVariance0HE7 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE7");
5724 TH2F *digiVarianceHE7 = (TH2F *)digiVariance1HE7->Clone(
"digiVarianceHE7");
5725 digiVarianceHE7->Divide(digiVariance1HE7, digiVariance0HE7, 1, 1,
"B");
5731 double sumdigiHE0 = 0;
5732 int nsumdigiHE0 = 0;
5733 double sumdigiHE1 = 0;
5734 int nsumdigiHE1 = 0;
5735 double sumdigiHE2 = 0;
5736 int nsumdigiHE2 = 0;
5737 double sumdigiHE3 = 0;
5738 int nsumdigiHE3 = 0;
5739 double sumdigiHE4 = 0;
5740 int nsumdigiHE4 = 0;
5741 double sumdigiHE5 = 0;
5742 int nsumdigiHE5 = 0;
5743 double sumdigiHE6 = 0;
5744 int nsumdigiHE6 = 0;
5745 for (
int jphi = 0; jphi < njphi; jphi++) {
5746 digivariancehe[0][
jeta][jphi] = digiVarianceHE1->GetBinContent(
jeta + 1, jphi + 1);
5747 digivariancehe[1][
jeta][jphi] = digiVarianceHE2->GetBinContent(
jeta + 1, jphi + 1);
5748 digivariancehe[2][
jeta][jphi] = digiVarianceHE3->GetBinContent(
jeta + 1, jphi + 1);
5749 digivariancehe[3][
jeta][jphi] = digiVarianceHE4->GetBinContent(
jeta + 1, jphi + 1);
5750 digivariancehe[4][
jeta][jphi] = digiVarianceHE5->GetBinContent(
jeta + 1, jphi + 1);
5751 digivariancehe[5][
jeta][jphi] = digiVarianceHE6->GetBinContent(
jeta + 1, jphi + 1);
5752 digivariancehe[6][
jeta][jphi] = digiVarianceHE7->GetBinContent(
jeta + 1, jphi + 1);
5753 if (digivariancehe[0][
jeta][jphi] > 0.) {
5754 sumdigiHE0 += digivariancehe[0][
jeta][jphi];
5757 if (digivariancehe[1][
jeta][jphi] > 0.) {
5758 sumdigiHE1 += digivariancehe[1][
jeta][jphi];
5761 if (digivariancehe[2][
jeta][jphi] > 0.) {
5762 sumdigiHE2 += digivariancehe[2][
jeta][jphi];
5765 if (digivariancehe[3][
jeta][jphi] > 0.) {
5766 sumdigiHE3 += digivariancehe[3][
jeta][jphi];
5769 if (digivariancehe[4][
jeta][jphi] > 0.) {
5770 sumdigiHE4 += digivariancehe[4][
jeta][jphi];
5773 if (digivariancehe[5][
jeta][jphi] > 0.) {
5774 sumdigiHE5 += digivariancehe[5][
jeta][jphi];
5777 if (digivariancehe[6][
jeta][jphi] > 0.) {
5778 sumdigiHE6 += digivariancehe[6][
jeta][jphi];
5783 for (
int jphi = 0; jphi < njphi; jphi++) {
5784 if (digivariancehe[0][
jeta][jphi] > 0.)
5785 digivariancehe[0][
jeta][jphi] /= (sumdigiHE0 / nsumdigiHE0);
5786 if (digivariancehe[1][
jeta][jphi] > 0.)
5787 digivariancehe[1][
jeta][jphi] /= (sumdigiHE1 / nsumdigiHE1);
5788 if (digivariancehe[2][
jeta][jphi] > 0.)
5789 digivariancehe[2][
jeta][jphi] /= (sumdigiHE2 / nsumdigiHE2);
5790 if (digivariancehe[3][
jeta][jphi] > 0.)
5791 digivariancehe[3][
jeta][jphi] /= (sumdigiHE3 / nsumdigiHE3);
5792 if (digivariancehe[4][
jeta][jphi] > 0.)
5793 digivariancehe[4][
jeta][jphi] /= (sumdigiHE4 / nsumdigiHE4);
5794 if (digivariancehe[5][
jeta][jphi] > 0.)
5795 digivariancehe[5][
jeta][jphi] /= (sumdigiHE5 / nsumdigiHE5);
5796 if (digivariancehe[6][
jeta][jphi] > 0.)
5797 digivariancehe[6][
jeta][jphi] /= (sumdigiHE6 / nsumdigiHE6);
5800 for (
int jphi = 0; jphi < njphi; jphi++) {
5802 digivariancehe[0][
jeta][jphi] -= adigihe[0][
jeta][jphi] * adigihe[0][
jeta][jphi];
5803 digivariancehe[0][
jeta][jphi] = fabs(digivariancehe[0][
jeta][jphi]);
5804 digivariancehe[1][
jeta][jphi] -= adigihe[1][
jeta][jphi] * adigihe[1][
jeta][jphi];
5805 digivariancehe[1][
jeta][jphi] = fabs(digivariancehe[1][
jeta][jphi]);
5806 digivariancehe[2][
jeta][jphi] -= adigihe[2][
jeta][jphi] * adigihe[2][
jeta][jphi];
5807 digivariancehe[2][
jeta][jphi] = fabs(digivariancehe[2][
jeta][jphi]);
5808 digivariancehe[3][
jeta][jphi] -= adigihe[3][
jeta][jphi] * adigihe[3][
jeta][jphi];
5809 digivariancehe[3][
jeta][jphi] = fabs(digivariancehe[3][
jeta][jphi]);
5810 digivariancehe[4][
jeta][jphi] -= adigihe[4][
jeta][jphi] * adigihe[4][
jeta][jphi];
5811 digivariancehe[4][
jeta][jphi] = fabs(digivariancehe[4][
jeta][jphi]);
5812 digivariancehe[5][
jeta][jphi] -= adigihe[5][
jeta][jphi] * adigihe[5][
jeta][jphi];
5813 digivariancehe[5][
jeta][jphi] = fabs(digivariancehe[5][
jeta][jphi]);
5814 digivariancehe[6][
jeta][jphi] -= adigihe[6][
jeta][jphi] * adigihe[6][
jeta][jphi];
5815 digivariancehe[6][
jeta][jphi] = fabs(digivariancehe[6][
jeta][jphi]);
5827 TH2F *DefzDdigiHE42D =
new TH2F(
"DefzDdigiHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
5828 TH2F *DefzDdigiHE42D0 =
new TH2F(
"DefzDdigiHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
5829 TH2F *DefzDdigiHE42DF = (TH2F *)DefzDdigiHE42D0->Clone(
"DefzDdigiHE42DF");
5832 for (
int jphi = 0; jphi <
nphi; jphi++) {
5833 double ccc1 = digivariancehe[
i][
jeta][jphi];
5834 int k2plot =
jeta - 41;
5836 if (adigihe[
i][
jeta][jphi] > 0.) {
5837 DefzDdigiHE42D->Fill(kkk, jphi, ccc1);
5838 DefzDdigiHE42D0->Fill(kkk, jphi, 1.);
5843 DefzDdigiHE42DF->Divide(DefzDdigiHE42D, DefzDdigiHE42D0, 1, 1,
"B");
5847 DefzDdigiHE42DF->SetMarkerStyle(20);
5848 DefzDdigiHE42DF->SetMarkerSize(0.4);
5849 DefzDdigiHE42DF->GetZaxis()->SetLabelSize(0.08);
5850 DefzDdigiHE42DF->SetXTitle(
"<D>_depth #eta \b");
5851 DefzDdigiHE42DF->SetYTitle(
" #phi \b");
5852 DefzDdigiHE42DF->SetZTitle(
"<D>_depth \b");
5853 DefzDdigiHE42DF->SetMarkerColor(2);
5854 DefzDdigiHE42DF->SetLineColor(
5856 DefzDdigiHE42DF->Draw(
"COLZ");
5859 c1x0->Print(
"DdigiGeneralD2PhiSymmetryHE.png");
5863 delete DefzDdigiHE42D;
5864 if (DefzDdigiHE42D0)
5865 delete DefzDdigiHE42D0;
5866 if (DefzDdigiHE42DF)
5867 delete DefzDdigiHE42DF;
5875 TH1F *DefzDdigiHE41D =
new TH1F(
"DefzDdigiHE41D",
"",
nphi, 0., 72.);
5876 TH1F *DefzDdigiHE41D0 =
new TH1F(
"DefzDdigiHE41D0",
"",
nphi, 0., 72.);
5877 TH1F *DefzDdigiHE41DF = (TH1F *)DefzDdigiHE41D0->Clone(
"DefzDdigiHE41DF");
5879 for (
int jphi = 0; jphi <
nphi; jphi++) {
5882 double ccc1 = digivariancehe[
i][
jeta][jphi];
5883 if (adigihe[
i][
jeta][jphi] > 0.) {
5884 DefzDdigiHE41D->Fill(jphi, ccc1);
5885 DefzDdigiHE41D0->Fill(jphi, 1.);
5892 DefzDdigiHE41DF->Divide(DefzDdigiHE41D, DefzDdigiHE41D0, 1, 1,
"B");
5893 DefzDdigiHE41D0->Sumw2();
5897 DefzDdigiHE41DF->SetMarkerStyle(20);
5898 DefzDdigiHE41DF->SetMarkerSize(1.4);
5899 DefzDdigiHE41DF->GetZaxis()->SetLabelSize(0.08);
5900 DefzDdigiHE41DF->SetXTitle(
"#phi \b");
5901 DefzDdigiHE41DF->SetYTitle(
" <D> \b");
5902 DefzDdigiHE41DF->SetZTitle(
"<D>_PHI - AllDepthes \b");
5903 DefzDdigiHE41DF->SetMarkerColor(4);
5904 DefzDdigiHE41DF->SetLineColor(4);
5905 DefzDdigiHE41DF->Draw(
"Error");
5908 c1x1->Print(
"DdigiGeneralD1PhiSymmetryHE.png");
5912 delete DefzDdigiHE41D;
5913 if (DefzDdigiHE41D0)
5914 delete DefzDdigiHE41D0;
5915 if (DefzDdigiHE41DF)
5916 delete DefzDdigiHE41DF;
5925 int kcountHEpositivedirectionDigiD1 = 1;
5926 TH1F *h2CeffHEpositivedirectionDigiD1 =
new TH1F(
"h2CeffHEpositivedirectionDigiD1",
"",
nphi, 0., 72.);
5930 if (
jeta - 41 >= 0) {
5933 for (
int i = 0;
i < 1;
i++) {
5934 TH1F *HEpositivedirectionDigiD1 = (TH1F *)h2CeffHEpositivedirectionDigiD1->Clone(
"twod1");
5937 for (
int jphi = 0; jphi <
nphi; jphi++) {
5938 double ccc1 = digivariancehe[
i][
jeta][jphi];
5939 if (adigihe[
i][
jeta][jphi] > 0.) {
5940 HEpositivedirectionDigiD1->Fill(jphi, ccc1);
5946 c3x5->cd(kcountHEpositivedirectionDigiD1);
5947 HEpositivedirectionDigiD1->SetMarkerStyle(20);
5948 HEpositivedirectionDigiD1->SetMarkerSize(0.4);
5949 HEpositivedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
5950 HEpositivedirectionDigiD1->SetXTitle(
"HEpositivedirectionDigiD1 \b");
5951 HEpositivedirectionDigiD1->SetMarkerColor(2);
5952 HEpositivedirectionDigiD1->SetLineColor(0);
5956 if (kcountHEpositivedirectionDigiD1 == 1)
5957 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 17; depth = 1 \b");
5958 if (kcountHEpositivedirectionDigiD1 == 2)
5959 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 18; depth = 1 \b");
5960 if (kcountHEpositivedirectionDigiD1 == 3)
5961 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 19; depth = 1 \b");
5962 if (kcountHEpositivedirectionDigiD1 == 4)
5963 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 20; depth = 1 \b");
5964 if (kcountHEpositivedirectionDigiD1 == 5)
5965 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 21; depth = 1 \b");
5966 if (kcountHEpositivedirectionDigiD1 == 6)
5967 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 22; depth = 1 \b");
5968 if (kcountHEpositivedirectionDigiD1 == 7)
5969 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 23; depth = 1 \b");
5970 if (kcountHEpositivedirectionDigiD1 == 8)
5971 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 24; depth = 1 \b");
5972 if (kcountHEpositivedirectionDigiD1 == 9)
5973 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 25; depth = 1 \b");
5974 if (kcountHEpositivedirectionDigiD1 == 10)
5975 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 26; depth = 1 \b");
5976 if (kcountHEpositivedirectionDigiD1 == 11)
5977 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 27; depth = 1 \b");
5978 if (kcountHEpositivedirectionDigiD1 == 12)
5979 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 28; depth = 1 \b");
5980 HEpositivedirectionDigiD1->Draw(
"Error");
5981 kcountHEpositivedirectionDigiD1++;
5982 if (kcountHEpositivedirectionDigiD1 > 12)
5991 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png");
5994 if (h2CeffHEpositivedirectionDigiD1)
5995 delete h2CeffHEpositivedirectionDigiD1;
6003 int kcountHEpositivedirectionDigiD2 = 1;
6004 TH1F *h2CeffHEpositivedirectionDigiD2 =
new TH1F(
"h2CeffHEpositivedirectionDigiD2",
"",
nphi, 0., 72.);
6008 if (
jeta - 41 >= 0) {
6011 for (
int i = 1;
i < 2;
i++) {
6012 TH1F *HEpositivedirectionDigiD2 = (TH1F *)h2CeffHEpositivedirectionDigiD2->Clone(
"twod1");
6015 for (
int jphi = 0; jphi <
nphi; jphi++) {
6016 double ccc1 = digivariancehe[
i][
jeta][jphi];
6017 if (adigihe[
i][
jeta][jphi] > 0.) {
6018 HEpositivedirectionDigiD2->Fill(jphi, ccc1);
6024 c3x5->cd(kcountHEpositivedirectionDigiD2);
6025 HEpositivedirectionDigiD2->SetMarkerStyle(20);
6026 HEpositivedirectionDigiD2->SetMarkerSize(0.4);
6027 HEpositivedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
6028 HEpositivedirectionDigiD2->SetXTitle(
"HEpositivedirectionDigiD2 \b");
6029 HEpositivedirectionDigiD2->SetMarkerColor(2);
6030 HEpositivedirectionDigiD2->SetLineColor(0);
6034 if (kcountHEpositivedirectionDigiD2 == 1)
6035 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 16; depth = 2 \b");
6036 if (kcountHEpositivedirectionDigiD2 == 2)
6037 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 17; depth = 2 \b");
6038 if (kcountHEpositivedirectionDigiD2 == 3)
6039 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 18; depth = 2 \b");
6040 if (kcountHEpositivedirectionDigiD2 == 4)
6041 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 19; depth = 2 \b");
6042 if (kcountHEpositivedirectionDigiD2 == 5)
6043 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 20; depth = 2 \b");
6044 if (kcountHEpositivedirectionDigiD2 == 6)
6045 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 21; depth = 2 \b");
6046 if (kcountHEpositivedirectionDigiD2 == 7)
6047 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 22; depth = 2 \b");
6048 if (kcountHEpositivedirectionDigiD2 == 8)
6049 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 23; depth = 2 \b");
6050 if (kcountHEpositivedirectionDigiD2 == 9)
6051 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 24; depth = 2 \b");
6052 if (kcountHEpositivedirectionDigiD2 == 10)
6053 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 25; depth = 2 \b");
6054 if (kcountHEpositivedirectionDigiD2 == 11)
6055 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 26; depth = 2 \b");
6056 if (kcountHEpositivedirectionDigiD2 == 12)
6057 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 27; depth = 2 \b");
6058 if (kcountHEpositivedirectionDigiD2 == 13)
6059 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 28; depth = 2 \b");
6060 HEpositivedirectionDigiD2->Draw(
"Error");
6061 kcountHEpositivedirectionDigiD2++;
6062 if (kcountHEpositivedirectionDigiD2 > 13)
6071 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png");
6074 if (h2CeffHEpositivedirectionDigiD2)
6075 delete h2CeffHEpositivedirectionDigiD2;
6083 int kcountHEpositivedirectionDigiD3 = 1;
6084 TH1F *h2CeffHEpositivedirectionDigiD3 =
new TH1F(
"h2CeffHEpositivedirectionDigiD3",
"",
nphi, 0., 72.);
6088 if (
jeta - 41 >= 0) {
6091 for (
int i = 2;
i < 3;
i++) {
6092 TH1F *HEpositivedirectionDigiD3 = (TH1F *)h2CeffHEpositivedirectionDigiD3->Clone(
"twod1");
6095 for (
int jphi = 0; jphi <
nphi; jphi++) {
6096 double ccc1 = digivariancehe[
i][
jeta][jphi];
6097 if (adigihe[
i][
jeta][jphi] > 0.) {
6098 HEpositivedirectionDigiD3->Fill(jphi, ccc1);
6104 c3x5->cd(kcountHEpositivedirectionDigiD3);
6105 HEpositivedirectionDigiD3->SetMarkerStyle(20);
6106 HEpositivedirectionDigiD3->SetMarkerSize(0.4);
6107 HEpositivedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
6108 HEpositivedirectionDigiD3->SetXTitle(
"HEpositivedirectionDigiD3 \b");
6109 HEpositivedirectionDigiD3->SetMarkerColor(2);
6110 HEpositivedirectionDigiD3->SetLineColor(0);
6114 if (kcountHEpositivedirectionDigiD3 == 1)
6115 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 16; depth = 3 \b");
6116 if (kcountHEpositivedirectionDigiD3 == 2)
6117 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 17; depth = 3 \b");
6118 if (kcountHEpositivedirectionDigiD3 == 3)
6119 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 18; depth = 3 \b");
6120 if (kcountHEpositivedirectionDigiD3 == 4)
6121 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 19; depth = 3 \b");
6122 if (kcountHEpositivedirectionDigiD3 == 5)
6123 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 20; depth = 3 \b");
6124 if (kcountHEpositivedirectionDigiD3 == 6)
6125 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 21; depth = 3 \b");
6126 if (kcountHEpositivedirectionDigiD3 == 7)
6127 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 22; depth = 3 \b");
6128 if (kcountHEpositivedirectionDigiD3 == 8)
6129 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 23; depth = 3 \b");
6130 if (kcountHEpositivedirectionDigiD3 == 9)
6131 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 24; depth = 3 \b");
6132 if (kcountHEpositivedirectionDigiD3 == 10)
6133 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 25; depth = 3 \b");
6134 if (kcountHEpositivedirectionDigiD3 == 11)
6135 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 26; depth = 3 \b");
6136 if (kcountHEpositivedirectionDigiD3 == 12)
6137 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 27; depth = 3 \b");
6138 if (kcountHEpositivedirectionDigiD3 == 13)
6139 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 28; depth = 3 \b");
6140 HEpositivedirectionDigiD3->Draw(
"Error");
6141 kcountHEpositivedirectionDigiD3++;
6142 if (kcountHEpositivedirectionDigiD3 > 13)
6151 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png");
6154 if (h2CeffHEpositivedirectionDigiD3)
6155 delete h2CeffHEpositivedirectionDigiD3;
6163 int kcountHEpositivedirectionDigiD4 = 1;
6164 TH1F *h2CeffHEpositivedirectionDigiD4 =
new TH1F(
"h2CeffHEpositivedirectionDigiD4",
"",
nphi, 0., 72.);
6168 if (
jeta - 41 >= 0) {
6171 for (
int i = 3;
i < 4;
i++) {
6172 TH1F *HEpositivedirectionDigiD4 = (TH1F *)h2CeffHEpositivedirectionDigiD4->Clone(
"twod1");
6175 for (
int jphi = 0; jphi <
nphi; jphi++) {
6176 double ccc1 = digivariancehe[
i][
jeta][jphi];
6177 if (adigihe[
i][
jeta][jphi] > 0.) {
6178 HEpositivedirectionDigiD4->Fill(jphi, ccc1);
6184 c3x5->cd(kcountHEpositivedirectionDigiD4);
6185 HEpositivedirectionDigiD4->SetMarkerStyle(20);
6186 HEpositivedirectionDigiD4->SetMarkerSize(0.4);
6187 HEpositivedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
6188 HEpositivedirectionDigiD4->SetXTitle(
"HEpositivedirectionDigiD4 \b");
6189 HEpositivedirectionDigiD4->SetMarkerColor(2);
6190 HEpositivedirectionDigiD4->SetLineColor(0);
6194 if (kcountHEpositivedirectionDigiD4 == 1)
6195 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 15; depth = 4 \b");
6196 if (kcountHEpositivedirectionDigiD4 == 2)
6197 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 17; depth = 4 \b");
6198 if (kcountHEpositivedirectionDigiD4 == 3)
6199 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 18; depth = 4 \b");
6200 if (kcountHEpositivedirectionDigiD4 == 4)
6201 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 19; depth = 4 \b");
6202 if (kcountHEpositivedirectionDigiD4 == 5)
6203 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 20; depth = 4 \b");
6204 if (kcountHEpositivedirectionDigiD4 == 6)
6205 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 21; depth = 4 \b");
6206 if (kcountHEpositivedirectionDigiD4 == 7)
6207 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 22; depth = 4 \b");
6208 if (kcountHEpositivedirectionDigiD4 == 8)
6209 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 23; depth = 4 \b");
6210 if (kcountHEpositivedirectionDigiD4 == 9)
6211 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 24; depth = 4 \b");
6212 if (kcountHEpositivedirectionDigiD4 == 10)
6213 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 25; depth = 4 \b");
6214 if (kcountHEpositivedirectionDigiD4 == 11)
6215 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 26; depth = 4 \b");
6216 if (kcountHEpositivedirectionDigiD4 == 12)
6217 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 27; depth = 4 \b");
6218 HEpositivedirectionDigiD4->Draw(
"Error");
6219 kcountHEpositivedirectionDigiD4++;
6220 if (kcountHEpositivedirectionDigiD4 > 12)
6229 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png");
6232 if (h2CeffHEpositivedirectionDigiD4)
6233 delete h2CeffHEpositivedirectionDigiD4;
6241 int kcountHEpositivedirectionDigiD5 = 1;
6242 TH1F *h2CeffHEpositivedirectionDigiD5 =
new TH1F(
"h2CeffHEpositivedirectionDigiD5",
"",
nphi, 0., 72.);
6246 if (
jeta - 41 >= 0) {
6249 for (
int i = 4;
i < 5;
i++) {
6250 TH1F *HEpositivedirectionDigiD5 = (TH1F *)h2CeffHEpositivedirectionDigiD5->Clone(
"twod1");
6253 for (
int jphi = 0; jphi <
nphi; jphi++) {
6254 double ccc1 = digivariancehe[
i][
jeta][jphi];
6255 if (adigihe[
i][
jeta][jphi] > 0.) {
6256 HEpositivedirectionDigiD5->Fill(jphi, ccc1);
6262 c3x5->cd(kcountHEpositivedirectionDigiD5);
6263 HEpositivedirectionDigiD5->SetMarkerStyle(20);
6264 HEpositivedirectionDigiD5->SetMarkerSize(0.4);
6265 HEpositivedirectionDigiD5->GetYaxis()->SetLabelSize(0.04);
6266 HEpositivedirectionDigiD5->SetXTitle(
"HEpositivedirectionDigiD5 \b");
6267 HEpositivedirectionDigiD5->SetMarkerColor(2);
6268 HEpositivedirectionDigiD5->SetLineColor(0);
6272 if (kcountHEpositivedirectionDigiD5 == 1)
6273 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 17; depth = 5 \b");
6274 if (kcountHEpositivedirectionDigiD5 == 2)
6275 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 18; depth = 5 \b");
6276 if (kcountHEpositivedirectionDigiD5 == 3)
6277 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 19; depth = 5 \b");
6278 if (kcountHEpositivedirectionDigiD5 == 4)
6279 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 20; depth = 5 \b");
6280 if (kcountHEpositivedirectionDigiD5 == 5)
6281 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 21; depth = 5 \b");
6282 if (kcountHEpositivedirectionDigiD5 == 6)
6283 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 22; depth = 5 \b");
6284 if (kcountHEpositivedirectionDigiD5 == 7)
6285 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 23; depth = 5 \b");
6286 if (kcountHEpositivedirectionDigiD5 == 8)
6287 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 24; depth = 5 \b");
6288 if (kcountHEpositivedirectionDigiD5 == 9)
6289 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 25; depth = 5 \b");
6290 if (kcountHEpositivedirectionDigiD5 == 10)
6291 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 26; depth = 5 \b");
6292 if (kcountHEpositivedirectionDigiD5 == 11)
6293 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 27; depth = 5 \b");
6294 HEpositivedirectionDigiD5->Draw(
"Error");
6295 kcountHEpositivedirectionDigiD5++;
6296 if (kcountHEpositivedirectionDigiD5 > 11)
6305 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png");
6308 if (h2CeffHEpositivedirectionDigiD5)
6309 delete h2CeffHEpositivedirectionDigiD5;
6317 int kcountHEpositivedirectionDigiD6 = 1;
6318 TH1F *h2CeffHEpositivedirectionDigiD6 =
new TH1F(
"h2CeffHEpositivedirectionDigiD6",
"",
nphi, 0., 72.);
6322 if (
jeta - 41 >= 0) {
6325 for (
int i = 5;
i < 6;
i++) {
6326 TH1F *HEpositivedirectionDigiD6 = (TH1F *)h2CeffHEpositivedirectionDigiD6->Clone(
"twod1");
6329 for (
int jphi = 0; jphi <
nphi; jphi++) {
6330 double ccc1 = digivariancehe[
i][
jeta][jphi];
6331 if (adigihe[
i][
jeta][jphi] > 0.) {
6332 HEpositivedirectionDigiD6->Fill(jphi, ccc1);
6338 c3x5->cd(kcountHEpositivedirectionDigiD6);
6339 HEpositivedirectionDigiD6->SetMarkerStyle(20);
6340 HEpositivedirectionDigiD6->SetMarkerSize(0.4);
6341 HEpositivedirectionDigiD6->GetYaxis()->SetLabelSize(0.04);
6342 HEpositivedirectionDigiD6->SetXTitle(
"HEpositivedirectionDigiD6 \b");
6343 HEpositivedirectionDigiD6->SetMarkerColor(2);
6344 HEpositivedirectionDigiD6->SetLineColor(0);
6348 if (kcountHEpositivedirectionDigiD6 == 1)
6349 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 18; depth = 6 \b");
6350 if (kcountHEpositivedirectionDigiD6 == 2)
6351 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 19; depth = 6 \b");
6352 if (kcountHEpositivedirectionDigiD6 == 3)
6353 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 20; depth = 6 \b");
6354 if (kcountHEpositivedirectionDigiD6 == 4)
6355 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 21; depth = 6 \b");
6356 if (kcountHEpositivedirectionDigiD6 == 5)
6357 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 22; depth = 6 \b");
6358 if (kcountHEpositivedirectionDigiD6 == 6)
6359 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 23; depth = 6 \b");
6360 if (kcountHEpositivedirectionDigiD6 == 7)
6361 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 24; depth = 6 \b");
6362 if (kcountHEpositivedirectionDigiD6 == 8)
6363 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 25; depth = 6 \b");
6364 if (kcountHEpositivedirectionDigiD6 == 9)
6365 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 26; depth = 6 \b");
6366 if (kcountHEpositivedirectionDigiD6 == 10)
6367 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 27; depth = 6 \b");
6368 HEpositivedirectionDigiD6->Draw(
"Error");
6369 kcountHEpositivedirectionDigiD6++;
6370 if (kcountHEpositivedirectionDigiD6 > 10)
6379 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png");
6382 if (h2CeffHEpositivedirectionDigiD6)
6383 delete h2CeffHEpositivedirectionDigiD6;
6391 int kcountHEpositivedirectionDigiD7 = 1;
6392 TH1F *h2CeffHEpositivedirectionDigiD7 =
new TH1F(
"h2CeffHEpositivedirectionDigiD7",
"",
nphi, 0., 72.);
6396 if (
jeta - 41 >= 0) {
6399 for (
int i = 6;
i < 7;
i++) {
6400 TH1F *HEpositivedirectionDigiD7 = (TH1F *)h2CeffHEpositivedirectionDigiD7->Clone(
"twod1");
6403 for (
int jphi = 0; jphi <
nphi; jphi++) {
6404 double ccc1 = digivariancehe[
i][
jeta][jphi];
6405 if (adigihe[
i][
jeta][jphi] > 0.) {
6406 HEpositivedirectionDigiD7->Fill(jphi, ccc1);
6410 if (ccctest != 0.) {
6412 c3x5->cd(kcountHEpositivedirectionDigiD7);
6413 HEpositivedirectionDigiD7->SetMarkerStyle(20);
6414 HEpositivedirectionDigiD7->SetMarkerSize(0.4);
6415 HEpositivedirectionDigiD7->GetYaxis()->SetLabelSize(0.04);
6416 HEpositivedirectionDigiD7->SetXTitle(
"HEpositivedirectionDigiD7 \b");
6417 HEpositivedirectionDigiD7->SetMarkerColor(2);
6418 HEpositivedirectionDigiD7->SetLineColor(0);
6422 if (kcountHEpositivedirectionDigiD7 == 1)
6423 HEpositivedirectionDigiD7->SetXTitle(
"D for HE+ jeta = 25; depth = 7 \b");
6424 if (kcountHEpositivedirectionDigiD7 == 2)
6425 HEpositivedirectionDigiD7->SetXTitle(
"D for HE+ jeta = 26; depth = 7 \b");
6426 if (kcountHEpositivedirectionDigiD7 == 3)
6427 HEpositivedirectionDigiD7->SetXTitle(
"D for HE+ jeta = 27; depth = 7 \b");
6428 HEpositivedirectionDigiD7->Draw(
"Error");
6429 kcountHEpositivedirectionDigiD7++;
6430 if (kcountHEpositivedirectionDigiD7 > 3)
6439 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png");
6442 if (h2CeffHEpositivedirectionDigiD7)
6443 delete h2CeffHEpositivedirectionDigiD7;
6453 int kcountHEnegativedirectionDigiD1 = 1;
6454 TH1F *h2CeffHEnegativedirectionDigiD1 =
new TH1F(
"h2CeffHEnegativedirectionDigiD1",
"",
nphi, 0., 72.);
6458 if (
jeta - 41 < 0) {
6461 for (
int i = 0;
i < 1;
i++) {
6462 TH1F *HEnegativedirectionDigiD1 = (TH1F *)h2CeffHEnegativedirectionDigiD1->Clone(
"twod1");
6465 for (
int jphi = 0; jphi <
nphi; jphi++) {
6466 double ccc1 = digivariancehe[
i][
jeta][jphi];
6467 if (adigihe[
i][
jeta][jphi] > 0.) {
6468 HEnegativedirectionDigiD1->Fill(jphi, ccc1);
6474 c3x5->cd(kcountHEnegativedirectionDigiD1);
6475 HEnegativedirectionDigiD1->SetMarkerStyle(20);
6476 HEnegativedirectionDigiD1->SetMarkerSize(0.4);
6477 HEnegativedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
6478 HEnegativedirectionDigiD1->SetXTitle(
"HEnegativedirectionDigiD1 \b");
6479 HEnegativedirectionDigiD1->SetMarkerColor(2);
6480 HEnegativedirectionDigiD1->SetLineColor(0);
6484 if (kcountHEnegativedirectionDigiD1 == 1)
6485 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-29; depth = 1 \b");
6486 if (kcountHEnegativedirectionDigiD1 == 2)
6487 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-28; depth = 1 \b");
6488 if (kcountHEnegativedirectionDigiD1 == 3)
6489 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-27; depth = 1 \b");
6490 if (kcountHEnegativedirectionDigiD1 == 4)
6491 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-26; depth = 1 \b");
6492 if (kcountHEnegativedirectionDigiD1 == 5)
6493 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-25; depth = 1 \b");
6494 if (kcountHEnegativedirectionDigiD1 == 6)
6495 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-24; depth = 1 \b");
6496 if (kcountHEnegativedirectionDigiD1 == 7)
6497 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-23; depth = 1 \b");
6498 if (kcountHEnegativedirectionDigiD1 == 8)
6499 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-22; depth = 1 \b");
6500 if (kcountHEnegativedirectionDigiD1 == 9)
6501 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-21; depth = 1 \b");
6502 if (kcountHEnegativedirectionDigiD1 == 10)
6503 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-20; depth = 1 \b");
6504 if (kcountHEnegativedirectionDigiD1 == 11)
6505 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-19; depth = 1 \b");
6506 if (kcountHEnegativedirectionDigiD1 == 12)
6507 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-18; depth = 1 \b");
6508 HEnegativedirectionDigiD1->Draw(
"Error");
6509 kcountHEnegativedirectionDigiD1++;
6510 if (kcountHEnegativedirectionDigiD1 > 12)
6519 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
6522 if (h2CeffHEnegativedirectionDigiD1)
6523 delete h2CeffHEnegativedirectionDigiD1;
6531 int kcountHEnegativedirectionDigiD2 = 1;
6532 TH1F *h2CeffHEnegativedirectionDigiD2 =
new TH1F(
"h2CeffHEnegativedirectionDigiD2",
"",
nphi, 0., 72.);
6536 if (
jeta - 41 < 0) {
6539 for (
int i = 1;
i < 2;
i++) {
6540 TH1F *HEnegativedirectionDigiD2 = (TH1F *)h2CeffHEnegativedirectionDigiD2->Clone(
"twod1");
6543 for (
int jphi = 0; jphi <
nphi; jphi++) {
6544 double ccc1 = digivariancehe[
i][
jeta][jphi];
6545 if (adigihe[
i][
jeta][jphi] > 0.) {
6546 HEnegativedirectionDigiD2->Fill(jphi, ccc1);
6552 c3x5->cd(kcountHEnegativedirectionDigiD2);
6553 HEnegativedirectionDigiD2->SetMarkerStyle(20);
6554 HEnegativedirectionDigiD2->SetMarkerSize(0.4);
6555 HEnegativedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
6556 HEnegativedirectionDigiD2->SetXTitle(
"HEnegativedirectionDigiD2 \b");
6557 HEnegativedirectionDigiD2->SetMarkerColor(2);
6558 HEnegativedirectionDigiD2->SetLineColor(0);
6562 if (kcountHEnegativedirectionDigiD2 == 1)
6563 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-29; depth = 2 \b");
6564 if (kcountHEnegativedirectionDigiD2 == 2)
6565 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-28; depth = 2 \b");
6566 if (kcountHEnegativedirectionDigiD2 == 3)
6567 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-27; depth = 2 \b");
6568 if (kcountHEnegativedirectionDigiD2 == 4)
6569 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-26; depth = 2 \b");
6570 if (kcountHEnegativedirectionDigiD2 == 5)
6571 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-25; depth = 2 \b");
6572 if (kcountHEnegativedirectionDigiD2 == 6)
6573 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-24; depth = 2 \b");
6574 if (kcountHEnegativedirectionDigiD2 == 7)
6575 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-23; depth = 2 \b");
6576 if (kcountHEnegativedirectionDigiD2 == 8)
6577 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-22; depth = 2 \b");
6578 if (kcountHEnegativedirectionDigiD2 == 9)
6579 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-21; depth = 2 \b");
6580 if (kcountHEnegativedirectionDigiD2 == 10)
6581 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-20; depth = 2 \b");
6582 if (kcountHEnegativedirectionDigiD2 == 11)
6583 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-19; depth = 2 \b");
6584 if (kcountHEnegativedirectionDigiD2 == 12)
6585 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-18; depth = 2 \b");
6586 if (kcountHEnegativedirectionDigiD2 == 13)
6587 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-17; depth = 2 \b");
6588 HEnegativedirectionDigiD2->Draw(
"Error");
6589 kcountHEnegativedirectionDigiD2++;
6590 if (kcountHEnegativedirectionDigiD2 > 13)
6599 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
6602 if (h2CeffHEnegativedirectionDigiD2)
6603 delete h2CeffHEnegativedirectionDigiD2;
6611 int kcountHEnegativedirectionDigiD3 = 1;
6612 TH1F *h2CeffHEnegativedirectionDigiD3 =
new TH1F(
"h2CeffHEnegativedirectionDigiD3",
"",
nphi, 0., 72.);
6616 if (
jeta - 41 < 0) {
6619 for (
int i = 2;
i < 3;
i++) {
6620 TH1F *HEnegativedirectionDigiD3 = (TH1F *)h2CeffHEnegativedirectionDigiD3->Clone(
"twod1");
6623 for (
int jphi = 0; jphi <
nphi; jphi++) {
6624 double ccc1 = digivariancehe[
i][
jeta][jphi];
6625 if (adigihe[
i][
jeta][jphi] > 0.) {
6626 HEnegativedirectionDigiD3->Fill(jphi, ccc1);
6632 c3x5->cd(kcountHEnegativedirectionDigiD3);
6633 HEnegativedirectionDigiD3->SetMarkerStyle(20);
6634 HEnegativedirectionDigiD3->SetMarkerSize(0.4);
6635 HEnegativedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
6636 HEnegativedirectionDigiD3->SetXTitle(
"HEnegativedirectionDigiD3 \b");
6637 HEnegativedirectionDigiD3->SetMarkerColor(2);
6638 HEnegativedirectionDigiD3->SetLineColor(0);
6642 if (kcountHEnegativedirectionDigiD3 == 1)
6643 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-29; depth = 3 \b");
6644 if (kcountHEnegativedirectionDigiD3 == 2)
6645 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-28; depth = 3 \b");
6646 if (kcountHEnegativedirectionDigiD3 == 3)
6647 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-27; depth = 3 \b");
6648 if (kcountHEnegativedirectionDigiD3 == 4)
6649 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-26; depth = 3 \b");
6650 if (kcountHEnegativedirectionDigiD3 == 5)
6651 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-25; depth = 3 \b");
6652 if (kcountHEnegativedirectionDigiD3 == 6)
6653 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-24; depth = 3 \b");
6654 if (kcountHEnegativedirectionDigiD3 == 7)
6655 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-23; depth = 3 \b");
6656 if (kcountHEnegativedirectionDigiD3 == 8)
6657 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-22; depth = 3 \b");
6658 if (kcountHEnegativedirectionDigiD3 == 9)
6659 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-21; depth = 3 \b");
6660 if (kcountHEnegativedirectionDigiD3 == 10)
6661 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-20; depth = 3 \b");
6662 if (kcountHEnegativedirectionDigiD3 == 11)
6663 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-19; depth = 3 \b");
6664 if (kcountHEnegativedirectionDigiD3 == 12)
6665 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-18; depth = 3 \b");
6666 if (kcountHEnegativedirectionDigiD3 == 13)
6667 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-17; depth = 3 \b");
6668 HEnegativedirectionDigiD3->Draw(
"Error");
6669 kcountHEnegativedirectionDigiD3++;
6670 if (kcountHEnegativedirectionDigiD3 > 13)
6679 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
6682 if (h2CeffHEnegativedirectionDigiD3)
6683 delete h2CeffHEnegativedirectionDigiD3;
6691 int kcountHEnegativedirectionDigiD4 = 1;
6692 TH1F *h2CeffHEnegativedirectionDigiD4 =
new TH1F(
"h2CeffHEnegativedirectionDigiD4",
"",
nphi, 0., 72.);
6696 if (
jeta - 41 < 0) {
6699 for (
int i = 3;
i < 4;
i++) {
6700 TH1F *HEnegativedirectionDigiD4 = (TH1F *)h2CeffHEnegativedirectionDigiD4->Clone(
"twod1");
6703 for (
int jphi = 0; jphi <
nphi; jphi++) {
6704 double ccc1 = digivariancehe[
i][
jeta][jphi];
6705 if (adigihe[
i][
jeta][jphi] > 0.) {
6706 HEnegativedirectionDigiD4->Fill(jphi, ccc1);
6712 c3x5->cd(kcountHEnegativedirectionDigiD4);
6713 HEnegativedirectionDigiD4->SetMarkerStyle(20);
6714 HEnegativedirectionDigiD4->SetMarkerSize(0.4);
6715 HEnegativedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
6716 HEnegativedirectionDigiD4->SetXTitle(
"HEnegativedirectionDigiD4 \b");
6717 HEnegativedirectionDigiD4->SetMarkerColor(2);
6718 HEnegativedirectionDigiD4->SetLineColor(0);
6722 if (kcountHEnegativedirectionDigiD4 == 1)
6723 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-28; depth = 4 \b");
6724 if (kcountHEnegativedirectionDigiD4 == 2)
6725 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-27; depth = 4 \b");
6726 if (kcountHEnegativedirectionDigiD4 == 3)
6727 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-26; depth = 4 \b");
6728 if (kcountHEnegativedirectionDigiD4 == 4)
6729 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-25; depth = 4 \b");
6730 if (kcountHEnegativedirectionDigiD4 == 5)
6731 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-24; depth = 4 \b");
6732 if (kcountHEnegativedirectionDigiD4 == 6)
6733 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-23; depth = 4 \b");
6734 if (kcountHEnegativedirectionDigiD4 == 7)
6735 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-22; depth = 4 \b");
6736 if (kcountHEnegativedirectionDigiD4 == 8)
6737 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-21; depth = 4 \b");
6738 if (kcountHEnegativedirectionDigiD4 == 9)
6739 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-20; depth = 4 \b");
6740 if (kcountHEnegativedirectionDigiD4 == 10)
6741 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-19; depth = 4 \b");
6742 if (kcountHEnegativedirectionDigiD4 == 11)
6743 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-18; depth = 4 \b");
6744 if (kcountHEnegativedirectionDigiD4 == 12)
6745 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-16; depth = 4 \b");
6746 HEnegativedirectionDigiD4->Draw(
"Error");
6747 kcountHEnegativedirectionDigiD4++;
6748 if (kcountHEnegativedirectionDigiD4 > 12)
6757 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
6760 if (h2CeffHEnegativedirectionDigiD4)
6761 delete h2CeffHEnegativedirectionDigiD4;
6769 int kcountHEnegativedirectionDigiD5 = 1;
6770 TH1F *h2CeffHEnegativedirectionDigiD5 =
new TH1F(
"h2CeffHEnegativedirectionDigiD5",
"",
nphi, 0., 72.);
6774 if (
jeta - 41 < 0) {
6777 for (
int i = 4;
i < 5;
i++) {
6778 TH1F *HEnegativedirectionDigiD5 = (TH1F *)h2CeffHEnegativedirectionDigiD5->Clone(
"twod1");
6781 for (
int jphi = 0; jphi <
nphi; jphi++) {
6782 double ccc1 = digivariancehe[
i][
jeta][jphi];
6783 if (adigihe[
i][
jeta][jphi] > 0.) {
6784 HEnegativedirectionDigiD5->Fill(jphi, ccc1);
6790 c3x5->cd(kcountHEnegativedirectionDigiD5);
6791 HEnegativedirectionDigiD5->SetMarkerStyle(20);
6792 HEnegativedirectionDigiD5->SetMarkerSize(0.4);
6793 HEnegativedirectionDigiD5->GetYaxis()->SetLabelSize(0.04);
6794 HEnegativedirectionDigiD5->SetXTitle(
"HEnegativedirectionDigiD5 \b");
6795 HEnegativedirectionDigiD5->SetMarkerColor(2);
6796 HEnegativedirectionDigiD5->SetLineColor(0);
6800 if (kcountHEnegativedirectionDigiD5 == 1)
6801 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-28; depth = 5 \b");
6802 if (kcountHEnegativedirectionDigiD5 == 2)
6803 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-27; depth = 5 \b");
6804 if (kcountHEnegativedirectionDigiD5 == 3)
6805 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-26; depth = 5 \b");
6806 if (kcountHEnegativedirectionDigiD5 == 4)
6807 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-25; depth = 5 \b");
6808 if (kcountHEnegativedirectionDigiD5 == 5)
6809 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-24; depth = 5 \b");
6810 if (kcountHEnegativedirectionDigiD5 == 6)
6811 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-23; depth = 5 \b");
6812 if (kcountHEnegativedirectionDigiD5 == 7)
6813 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-22; depth = 5 \b");
6814 if (kcountHEnegativedirectionDigiD5 == 8)
6815 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-21; depth = 5 \b");
6816 if (kcountHEnegativedirectionDigiD5 == 9)
6817 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-20; depth = 5 \b");
6818 if (kcountHEnegativedirectionDigiD5 == 10)
6819 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-19; depth = 5 \b");
6820 if (kcountHEnegativedirectionDigiD5 == 11)
6821 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-18; depth = 5 \b");
6822 HEnegativedirectionDigiD5->Draw(
"Error");
6823 kcountHEnegativedirectionDigiD5++;
6824 if (kcountHEnegativedirectionDigiD5 > 11)
6833 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
6836 if (h2CeffHEnegativedirectionDigiD5)
6837 delete h2CeffHEnegativedirectionDigiD5;
6845 int kcountHEnegativedirectionDigiD6 = 1;
6846 TH1F *h2CeffHEnegativedirectionDigiD6 =
new TH1F(
"h2CeffHEnegativedirectionDigiD6",
"",
nphi, 0., 72.);
6850 if (
jeta - 41 < 0) {
6853 for (
int i = 5;
i < 6;
i++) {
6854 TH1F *HEnegativedirectionDigiD6 = (TH1F *)h2CeffHEnegativedirectionDigiD6->Clone(
"twod1");
6857 for (
int jphi = 0; jphi <
nphi; jphi++) {
6858 double ccc1 = digivariancehe[
i][
jeta][jphi];
6859 if (adigihe[
i][
jeta][jphi] > 0.) {
6860 HEnegativedirectionDigiD6->Fill(jphi, ccc1);
6866 c3x5->cd(kcountHEnegativedirectionDigiD6);
6867 HEnegativedirectionDigiD6->SetMarkerStyle(20);
6868 HEnegativedirectionDigiD6->SetMarkerSize(0.4);
6869 HEnegativedirectionDigiD6->GetYaxis()->SetLabelSize(0.04);
6870 HEnegativedirectionDigiD6->SetXTitle(
"HEnegativedirectionDigiD6 \b");
6871 HEnegativedirectionDigiD6->SetMarkerColor(2);
6872 HEnegativedirectionDigiD6->SetLineColor(0);
6876 if (kcountHEnegativedirectionDigiD6 == 1)
6877 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-28; depth = 6 \b");
6878 if (kcountHEnegativedirectionDigiD6 == 2)
6879 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-27; depth = 6 \b");
6880 if (kcountHEnegativedirectionDigiD6 == 3)
6881 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-26; depth = 6 \b");
6882 if (kcountHEnegativedirectionDigiD6 == 4)
6883 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-25; depth = 6 \b");
6884 if (kcountHEnegativedirectionDigiD6 == 5)
6885 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-24; depth = 6 \b");
6886 if (kcountHEnegativedirectionDigiD6 == 6)
6887 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-23; depth = 6 \b");
6888 if (kcountHEnegativedirectionDigiD6 == 7)
6889 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-22; depth = 6 \b");
6890 if (kcountHEnegativedirectionDigiD6 == 8)
6891 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-21; depth = 6 \b");
6892 if (kcountHEnegativedirectionDigiD6 == 9)
6893 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-20; depth = 6 \b");
6894 if (kcountHEnegativedirectionDigiD6 == 10)
6895 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-19; depth = 6 \b");
6896 HEnegativedirectionDigiD6->Draw(
"Error");
6897 kcountHEnegativedirectionDigiD6++;
6898 if (kcountHEnegativedirectionDigiD6 > 10)
6907 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
6910 if (h2CeffHEnegativedirectionDigiD6)
6911 delete h2CeffHEnegativedirectionDigiD6;
6919 int kcountHEnegativedirectionDigiD7 = 1;
6920 TH1F *h2CeffHEnegativedirectionDigiD7 =
new TH1F(
"h2CeffHEnegativedirectionDigiD7",
"",
nphi, 0., 72.);
6924 if (
jeta - 41 < 0) {
6927 for (
int i = 6;
i < 7;
i++) {
6928 TH1F *HEnegativedirectionDigiD7 = (TH1F *)h2CeffHEnegativedirectionDigiD7->Clone(
"twod1");
6931 for (
int jphi = 0; jphi <
nphi; jphi++) {
6932 double ccc1 = digivariancehe[
i][
jeta][jphi];
6933 if (adigihe[
i][
jeta][jphi] > 0.) {
6934 HEnegativedirectionDigiD7->Fill(jphi, ccc1);
6938 if (ccctest != 0.) {
6940 c3x5->cd(kcountHEnegativedirectionDigiD7);
6941 HEnegativedirectionDigiD7->SetMarkerStyle(20);
6942 HEnegativedirectionDigiD7->SetMarkerSize(0.4);
6943 HEnegativedirectionDigiD7->GetYaxis()->SetLabelSize(0.04);
6944 HEnegativedirectionDigiD7->SetXTitle(
"HEnegativedirectionDigiD7 \b");
6945 HEnegativedirectionDigiD7->SetMarkerColor(2);
6946 HEnegativedirectionDigiD7->SetLineColor(0);
6950 if (kcountHEnegativedirectionDigiD7 == 1)
6951 HEnegativedirectionDigiD7->SetXTitle(
"D for HE- jeta =-28; depth = 7 \b");
6952 if (kcountHEnegativedirectionDigiD7 == 2)
6953 HEnegativedirectionDigiD7->SetXTitle(
"D for HE- jeta =-27; depth = 7 \b");
6954 if (kcountHEnegativedirectionDigiD7 == 3)
6955 HEnegativedirectionDigiD7->SetXTitle(
"D for HE- jeta =-26; depth = 7 \b");
6956 HEnegativedirectionDigiD7->Draw(
"Error");
6957 kcountHEnegativedirectionDigiD7++;
6958 if (kcountHEnegativedirectionDigiD7 > 3)
6967 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
6970 if (h2CeffHEnegativedirectionDigiD7)
6971 delete h2CeffHEnegativedirectionDigiD7;
6982 double adigiHF[
ndepth][njeta][njphi];
6983 double digivarianceHF[
ndepth][njeta][njphi];
6985 TH2F *amplitudechannel1HF1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HF1");
6986 TH2F *amplitudechannel0HF1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF1");
6987 TH2F *amplitudechannelHF1 = (TH2F *)amplitudechannel1HF1->Clone(
"amplitudechannelHF1");
6988 amplitudechannelHF1->Divide(amplitudechannel1HF1, amplitudechannel0HF1, 1, 1,
"B");
6989 TH2F *amplitudechannel1HF2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HF2");
6990 TH2F *amplitudechannel0HF2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF2");
6991 TH2F *amplitudechannelHF2 = (TH2F *)amplitudechannel1HF2->Clone(
"amplitudechannelHF2");
6992 amplitudechannelHF2->Divide(amplitudechannel1HF2, amplitudechannel0HF2, 1, 1,
"B");
6993 TH2F *amplitudechannel1HF3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HF3");
6994 TH2F *amplitudechannel0HF3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF3");
6995 TH2F *amplitudechannelHF3 = (TH2F *)amplitudechannel1HF3->Clone(
"amplitudechannelHF3");
6996 amplitudechannelHF3->Divide(amplitudechannel1HF3, amplitudechannel0HF3, 1, 1,
"B");
6997 TH2F *amplitudechannel1HF4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HF4");
6998 TH2F *amplitudechannel0HF4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF4");
6999 TH2F *amplitudechannelHF4 = (TH2F *)amplitudechannel1HF4->Clone(
"amplitudechannelHF4");
7000 amplitudechannelHF4->Divide(amplitudechannel1HF4, amplitudechannel0HF4, 1, 1,
"B");
7004 double sumdigiHF0 = 0;
7005 int nsumdigiHF0 = 0;
7006 double sumdigiHF1 = 0;
7007 int nsumdigiHF1 = 0;
7008 double sumdigiHF2 = 0;
7009 int nsumdigiHF2 = 0;
7010 double sumdigiHF3 = 0;
7011 int nsumdigiHF3 = 0;
7012 for (
int jphi = 0; jphi < njphi; jphi++) {
7013 adigiHF[0][
jeta][jphi] = amplitudechannelHF1->GetBinContent(
jeta + 1, jphi + 1);
7014 adigiHF[1][
jeta][jphi] = amplitudechannelHF2->GetBinContent(
jeta + 1, jphi + 1);
7015 adigiHF[2][
jeta][jphi] = amplitudechannelHF3->GetBinContent(
jeta + 1, jphi + 1);
7016 adigiHF[3][
jeta][jphi] = amplitudechannelHF4->GetBinContent(
jeta + 1, jphi + 1);
7017 if (adigiHF[0][
jeta][jphi] > 0.) {
7018 sumdigiHF0 += adigiHF[0][
jeta][jphi];
7021 if (adigiHF[1][
jeta][jphi] > 0.) {
7022 sumdigiHF1 += adigiHF[1][
jeta][jphi];
7025 if (adigiHF[2][
jeta][jphi] > 0.) {
7026 sumdigiHF2 += adigiHF[2][
jeta][jphi];
7029 if (adigiHF[3][
jeta][jphi] > 0.) {
7030 sumdigiHF3 += adigiHF[3][
jeta][jphi];
7035 for (
int jphi = 0; jphi < njphi; jphi++) {
7036 if (adigiHF[0][
jeta][jphi] > 0.)
7037 adigiHF[0][
jeta][jphi] /= (sumdigiHF0 / nsumdigiHF0);
7038 if (adigiHF[1][
jeta][jphi] > 0.)
7039 adigiHF[1][
jeta][jphi] /= (sumdigiHF1 / nsumdigiHF1);
7040 if (adigiHF[2][
jeta][jphi] > 0.)
7041 adigiHF[2][
jeta][jphi] /= (sumdigiHF2 / nsumdigiHF2);
7042 if (adigiHF[3][
jeta][jphi] > 0.)
7043 adigiHF[3][
jeta][jphi] /= (sumdigiHF3 / nsumdigiHF3);
7054 TH2F *GefzRdigiHF42D =
new TH2F(
"GefzRdigiHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
7055 TH2F *GefzRdigiHF42D0 =
new TH2F(
"GefzRdigiHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
7056 TH2F *GefzRdigiHF42DF = (TH2F *)GefzRdigiHF42D0->Clone(
"GefzRdigiHF42DF");
7059 for (
int jphi = 0; jphi <
nphi; jphi++) {
7060 double ccc1 = adigiHF[
i][
jeta][jphi];
7061 int k2plot =
jeta - 41;
7064 GefzRdigiHF42D->Fill(kkk, jphi, ccc1);
7065 GefzRdigiHF42D0->Fill(kkk, jphi, 1.);
7070 GefzRdigiHF42DF->Divide(GefzRdigiHF42D, GefzRdigiHF42D0, 1, 1,
"B");
7073 GefzRdigiHF42DF->SetMarkerStyle(20);
7074 GefzRdigiHF42DF->SetMarkerSize(0.4);
7075 GefzRdigiHF42DF->GetZaxis()->SetLabelSize(0.08);
7076 GefzRdigiHF42DF->SetXTitle(
"<R>_depth #eta \b");
7077 GefzRdigiHF42DF->SetYTitle(
" #phi \b");
7078 GefzRdigiHF42DF->SetZTitle(
"<R>_depth \b");
7079 GefzRdigiHF42DF->SetMarkerColor(2);
7080 GefzRdigiHF42DF->SetLineColor(
7082 GefzRdigiHF42DF->Draw(
"COLZ");
7085 c1x0->Print(
"RdigiGeneralD2PhiSymmetryHF.png");
7089 delete GefzRdigiHF42D;
7090 if (GefzRdigiHF42D0)
7091 delete GefzRdigiHF42D0;
7092 if (GefzRdigiHF42DF)
7093 delete GefzRdigiHF42DF;
7101 TH1F *GefzRdigiHF41D =
new TH1F(
"GefzRdigiHF41D",
"",
nphi, 0., 72.);
7102 TH1F *GefzRdigiHF41D0 =
new TH1F(
"GefzRdigiHF41D0",
"",
nphi, 0., 72.);
7103 TH1F *GefzRdigiHF41DF = (TH1F *)GefzRdigiHF41D0->Clone(
"GefzRdigiHF41DF");
7104 for (
int jphi = 0; jphi <
nphi; jphi++) {
7107 double ccc1 = adigiHF[
i][
jeta][jphi];
7109 GefzRdigiHF41D->Fill(jphi, ccc1);
7110 GefzRdigiHF41D0->Fill(jphi, 1.);
7115 GefzRdigiHF41DF->Divide(GefzRdigiHF41D, GefzRdigiHF41D0, 1, 1,
"B");
7116 GefzRdigiHF41D0->Sumw2();
7120 GefzRdigiHF41DF->SetMarkerStyle(20);
7121 GefzRdigiHF41DF->SetMarkerSize(1.4);
7122 GefzRdigiHF41DF->GetZaxis()->SetLabelSize(0.08);
7123 GefzRdigiHF41DF->SetXTitle(
"#phi \b");
7124 GefzRdigiHF41DF->SetYTitle(
" <R> \b");
7125 GefzRdigiHF41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
7126 GefzRdigiHF41DF->SetMarkerColor(4);
7127 GefzRdigiHF41DF->SetLineColor(
7129 GefzRdigiHF41DF->Draw(
"Error");
7132 c1x1->Print(
"RdigiGeneralD1PhiSymmetryHF.png");
7136 delete GefzRdigiHF41D;
7137 if (GefzRdigiHF41D0)
7138 delete GefzRdigiHF41D0;
7139 if (GefzRdigiHF41DF)
7140 delete GefzRdigiHF41DF;
7149 int kcountHFpositivedirectionDigi1 = 1;
7150 TH1F *h2CeffHFpositivedirectionDigi1 =
new TH1F(
"h2CeffHFpositivedirectionDigi1",
"",
nphi, 0., 72.);
7153 if (
jeta - 41 >= 0) {
7156 for (
int i = 0;
i < 1;
i++) {
7157 TH1F *HFpositivedirectionDigi1 = (TH1F *)h2CeffHFpositivedirectionDigi1->Clone(
"twod1");
7159 for (
int jphi = 0; jphi <
nphi; jphi++) {
7160 double ccc1 = adigiHF[
i][
jeta][jphi];
7162 HFpositivedirectionDigi1->Fill(jphi, ccc1);
7168 c3x5->cd(kcountHFpositivedirectionDigi1);
7169 HFpositivedirectionDigi1->SetMarkerStyle(20);
7170 HFpositivedirectionDigi1->SetMarkerSize(0.4);
7171 HFpositivedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
7172 HFpositivedirectionDigi1->SetXTitle(
"HFpositivedirectionDigi1 \b");
7173 HFpositivedirectionDigi1->SetMarkerColor(2);
7174 HFpositivedirectionDigi1->SetLineColor(0);
7178 if (kcountHFpositivedirectionDigi1 == 1)
7179 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 28; depth = 1 \b");
7180 if (kcountHFpositivedirectionDigi1 == 2)
7181 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 29; depth = 1 \b");
7182 if (kcountHFpositivedirectionDigi1 == 3)
7183 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 30; depth = 1 \b");
7184 if (kcountHFpositivedirectionDigi1 == 4)
7185 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 31; depth = 1 \b");
7186 if (kcountHFpositivedirectionDigi1 == 5)
7187 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 32; depth = 1 \b");
7188 if (kcountHFpositivedirectionDigi1 == 6)
7189 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 33; depth = 1 \b");
7190 if (kcountHFpositivedirectionDigi1 == 7)
7191 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 34; depth = 1 \b");
7192 if (kcountHFpositivedirectionDigi1 == 8)
7193 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 35; depth = 1 \b");
7194 if (kcountHFpositivedirectionDigi1 == 9)
7195 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 36; depth = 1 \b");
7196 if (kcountHFpositivedirectionDigi1 == 10)
7197 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 37; depth = 1 \b");
7198 if (kcountHFpositivedirectionDigi1 == 11)
7199 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 38; depth = 1 \b");
7200 if (kcountHFpositivedirectionDigi1 == 12)
7201 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 39; depth = 1 \b");
7202 if (kcountHFpositivedirectionDigi1 == 13)
7203 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 40; depth = 1 \b");
7204 HFpositivedirectionDigi1->Draw(
"Error");
7205 kcountHFpositivedirectionDigi1++;
7206 if (kcountHFpositivedirectionDigi1 > 13)
7215 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png");
7218 if (h2CeffHFpositivedirectionDigi1)
7219 delete h2CeffHFpositivedirectionDigi1;
7229 int kcountHFpositivedirectionDigi2 = 1;
7230 TH1F *h2CeffHFpositivedirectionDigi2 =
new TH1F(
"h2CeffHFpositivedirectionDigi2",
"",
nphi, 0., 72.);
7233 if (
jeta - 41 >= 0) {
7236 for (
int i = 1;
i < 2;
i++) {
7237 TH1F *HFpositivedirectionDigi2 = (TH1F *)h2CeffHFpositivedirectionDigi2->Clone(
"twod1");
7239 for (
int jphi = 0; jphi <
nphi; jphi++) {
7240 double ccc1 = adigiHF[
i][
jeta][jphi];
7242 HFpositivedirectionDigi2->Fill(jphi, ccc1);
7248 c3x5->cd(kcountHFpositivedirectionDigi2);
7249 HFpositivedirectionDigi2->SetMarkerStyle(20);
7250 HFpositivedirectionDigi2->SetMarkerSize(0.4);
7251 HFpositivedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
7252 HFpositivedirectionDigi2->SetXTitle(
"HFpositivedirectionDigi2 \b");
7253 HFpositivedirectionDigi2->SetMarkerColor(2);
7254 HFpositivedirectionDigi2->SetLineColor(0);
7258 if (kcountHFpositivedirectionDigi2 == 1)
7259 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 28; depth = 2 \b");
7260 if (kcountHFpositivedirectionDigi2 == 2)
7261 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 29; depth = 2 \b");
7262 if (kcountHFpositivedirectionDigi2 == 3)
7263 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 30; depth = 2 \b");
7264 if (kcountHFpositivedirectionDigi2 == 4)
7265 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 31; depth = 2 \b");
7266 if (kcountHFpositivedirectionDigi2 == 5)
7267 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 32; depth = 2 \b");
7268 if (kcountHFpositivedirectionDigi2 == 6)
7269 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 33; depth = 2 \b");
7270 if (kcountHFpositivedirectionDigi2 == 7)
7271 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 34; depth = 2 \b");
7272 if (kcountHFpositivedirectionDigi2 == 8)
7273 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 35; depth = 2 \b");
7274 if (kcountHFpositivedirectionDigi2 == 9)
7275 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 36; depth = 2 \b");
7276 if (kcountHFpositivedirectionDigi2 == 10)
7277 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 37; depth = 2 \b");
7278 if (kcountHFpositivedirectionDigi2 == 11)
7279 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 38; depth = 2 \b");
7280 if (kcountHFpositivedirectionDigi2 == 12)
7281 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 39; depth = 2 \b");
7282 if (kcountHFpositivedirectionDigi2 == 13)
7283 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 40; depth = 2 \b");
7284 HFpositivedirectionDigi2->Draw(
"Error");
7285 kcountHFpositivedirectionDigi2++;
7286 if (kcountHFpositivedirectionDigi2 > 13)
7295 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png");
7298 if (h2CeffHFpositivedirectionDigi2)
7299 delete h2CeffHFpositivedirectionDigi2;
7308 int kcountHFpositivedirectionDigi3 = 1;
7309 TH1F *h2CeffHFpositivedirectionDigi3 =
new TH1F(
"h2CeffHFpositivedirectionDigi3",
"",
nphi, 0., 72.);
7312 if (
jeta - 41 >= 0) {
7315 for (
int i = 2;
i < 3;
i++) {
7316 TH1F *HFpositivedirectionDigi3 = (TH1F *)h2CeffHFpositivedirectionDigi3->Clone(
"twod1");
7318 for (
int jphi = 0; jphi <
nphi; jphi++) {
7319 double ccc1 = adigiHF[
i][
jeta][jphi];
7321 HFpositivedirectionDigi3->Fill(jphi, ccc1);
7327 c3x5->cd(kcountHFpositivedirectionDigi3);
7328 HFpositivedirectionDigi3->SetMarkerStyle(20);
7329 HFpositivedirectionDigi3->SetMarkerSize(0.4);
7330 HFpositivedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
7331 HFpositivedirectionDigi3->SetXTitle(
"HFpositivedirectionDigi3 \b");
7332 HFpositivedirectionDigi3->SetMarkerColor(2);
7333 HFpositivedirectionDigi3->SetLineColor(0);
7337 if (kcountHFpositivedirectionDigi3 == 1)
7338 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 28; depth = 3 \b");
7339 if (kcountHFpositivedirectionDigi3 == 2)
7340 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 29; depth = 3 \b");
7341 if (kcountHFpositivedirectionDigi3 == 3)
7342 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 30; depth = 3 \b");
7343 if (kcountHFpositivedirectionDigi3 == 4)
7344 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 31; depth = 3 \b");
7345 if (kcountHFpositivedirectionDigi3 == 5)
7346 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 32; depth = 3 \b");
7347 if (kcountHFpositivedirectionDigi3 == 6)
7348 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 33; depth = 3 \b");
7349 if (kcountHFpositivedirectionDigi3 == 7)
7350 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 34; depth = 3 \b");
7351 if (kcountHFpositivedirectionDigi3 == 8)
7352 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 35; depth = 3 \b");
7353 if (kcountHFpositivedirectionDigi3 == 9)
7354 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 36; depth = 3 \b");
7355 if (kcountHFpositivedirectionDigi3 == 10)
7356 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 37; depth = 3 \b");
7357 if (kcountHFpositivedirectionDigi3 == 11)
7358 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 38; depth = 3 \b");
7359 if (kcountHFpositivedirectionDigi3 == 12)
7360 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 39; depth = 3 \b");
7361 if (kcountHFpositivedirectionDigi3 == 13)
7362 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 40; depth = 3 \b");
7363 HFpositivedirectionDigi3->Draw(
"Error");
7364 kcountHFpositivedirectionDigi3++;
7365 if (kcountHFpositivedirectionDigi3 > 13)
7374 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png");
7377 if (h2CeffHFpositivedirectionDigi3)
7378 delete h2CeffHFpositivedirectionDigi3;
7387 int kcountHFpositivedirectionDigi4 = 1;
7388 TH1F *h2CeffHFpositivedirectionDigi4 =
new TH1F(
"h2CeffHFpositivedirectionDigi4",
"",
nphi, 0., 72.);
7392 if (
jeta - 41 >= 0) {
7395 for (
int i = 3;
i < 4;
i++) {
7396 TH1F *HFpositivedirectionDigi4 = (TH1F *)h2CeffHFpositivedirectionDigi4->Clone(
"twod1");
7399 for (
int jphi = 0; jphi <
nphi; jphi++) {
7400 double ccc1 = adigiHF[
i][
jeta][jphi];
7402 HFpositivedirectionDigi4->Fill(jphi, ccc1);
7408 c3x5->cd(kcountHFpositivedirectionDigi4);
7409 HFpositivedirectionDigi4->SetMarkerStyle(20);
7410 HFpositivedirectionDigi4->SetMarkerSize(0.4);
7411 HFpositivedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
7412 HFpositivedirectionDigi4->SetXTitle(
"HFpositivedirectionDigi4 \b");
7413 HFpositivedirectionDigi4->SetMarkerColor(2);
7414 HFpositivedirectionDigi4->SetLineColor(0);
7418 if (kcountHFpositivedirectionDigi4 == 1)
7419 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 28; depth = 4 \b");
7420 if (kcountHFpositivedirectionDigi4 == 2)
7421 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 29; depth = 4 \b");
7422 if (kcountHFpositivedirectionDigi4 == 3)
7423 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 30; depth = 4 \b");
7424 if (kcountHFpositivedirectionDigi4 == 4)
7425 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 31; depth = 4 \b");
7426 if (kcountHFpositivedirectionDigi4 == 5)
7427 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 32; depth = 4 \b");
7428 if (kcountHFpositivedirectionDigi4 == 6)
7429 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 33; depth = 4 \b");
7430 if (kcountHFpositivedirectionDigi4 == 7)
7431 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 34; depth = 4 \b");
7432 if (kcountHFpositivedirectionDigi4 == 8)
7433 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 35; depth = 4 \b");
7434 if (kcountHFpositivedirectionDigi4 == 9)
7435 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 36; depth = 4 \b");
7436 if (kcountHFpositivedirectionDigi4 == 10)
7437 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 37; depth = 4 \b");
7438 if (kcountHFpositivedirectionDigi4 == 11)
7439 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 38; depth = 4 \b");
7440 if (kcountHFpositivedirectionDigi4 == 12)
7441 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 39; depth = 4 \b");
7442 if (kcountHFpositivedirectionDigi4 == 13)
7443 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 40; depth = 4 \b");
7444 HFpositivedirectionDigi4->Draw(
"Error");
7445 kcountHFpositivedirectionDigi4++;
7446 if (kcountHFpositivedirectionDigi4 > 13)
7455 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png");
7458 if (h2CeffHFpositivedirectionDigi4)
7459 delete h2CeffHFpositivedirectionDigi4;
7469 int kcountHFnegativedirectionDigi1 = 1;
7470 TH1F *h2CeffHFnegativedirectionDigi1 =
new TH1F(
"h2CeffHFnegativedirectionDigi1",
"",
nphi, 0., 72.);
7473 if (
jeta - 41 < 0) {
7476 for (
int i = 0;
i < 1;
i++) {
7477 TH1F *HFnegativedirectionDigi1 = (TH1F *)h2CeffHFnegativedirectionDigi1->Clone(
"twod1");
7479 for (
int jphi = 0; jphi <
nphi; jphi++) {
7480 double ccc1 = adigiHF[
i][
jeta][jphi];
7482 HFnegativedirectionDigi1->Fill(jphi, ccc1);
7488 c3x5->cd(kcountHFnegativedirectionDigi1);
7489 HFnegativedirectionDigi1->SetMarkerStyle(20);
7490 HFnegativedirectionDigi1->SetMarkerSize(0.4);
7491 HFnegativedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
7492 HFnegativedirectionDigi1->SetXTitle(
"HFnegativedirectionDigi1 \b");
7493 HFnegativedirectionDigi1->SetMarkerColor(2);
7494 HFnegativedirectionDigi1->SetLineColor(0);
7498 if (kcountHFnegativedirectionDigi1 == 1)
7499 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-41; depth = 1 \b");
7500 if (kcountHFnegativedirectionDigi1 == 2)
7501 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-40; depth = 1 \b");
7502 if (kcountHFnegativedirectionDigi1 == 3)
7503 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-39; depth = 1 \b");
7504 if (kcountHFnegativedirectionDigi1 == 4)
7505 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-38; depth = 1 \b");
7506 if (kcountHFnegativedirectionDigi1 == 5)
7507 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-37; depth = 1 \b");
7508 if (kcountHFnegativedirectionDigi1 == 6)
7509 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-36; depth = 1 \b");
7510 if (kcountHFnegativedirectionDigi1 == 7)
7511 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-35; depth = 1 \b");
7512 if (kcountHFnegativedirectionDigi1 == 8)
7513 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-34; depth = 1 \b");
7514 if (kcountHFnegativedirectionDigi1 == 9)
7515 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-33; depth = 1 \b");
7516 if (kcountHFnegativedirectionDigi1 == 10)
7517 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-32; depth = 1 \b");
7518 if (kcountHFnegativedirectionDigi1 == 11)
7519 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-31; depth = 1 \b");
7520 if (kcountHFnegativedirectionDigi1 == 12)
7521 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-30; depth = 1 \b");
7522 if (kcountHFnegativedirectionDigi1 == 13)
7523 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-29; depth = 1 \b");
7524 HFnegativedirectionDigi1->Draw(
"Error");
7525 kcountHFnegativedirectionDigi1++;
7526 if (kcountHFnegativedirectionDigi1 > 13)
7535 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
7538 if (h2CeffHFnegativedirectionDigi1)
7539 delete h2CeffHFnegativedirectionDigi1;
7549 int kcountHFnegativedirectionDigi2 = 1;
7550 TH1F *h2CeffHFnegativedirectionDigi2 =
new TH1F(
"h2CeffHFnegativedirectionDigi2",
"",
nphi, 0., 72.);
7553 if (
jeta - 41 < 0) {
7556 for (
int i = 1;
i < 2;
i++) {
7557 TH1F *HFnegativedirectionDigi2 = (TH1F *)h2CeffHFnegativedirectionDigi2->Clone(
"twod1");
7559 for (
int jphi = 0; jphi <
nphi; jphi++) {
7560 double ccc1 = adigiHF[
i][
jeta][jphi];
7562 HFnegativedirectionDigi2->Fill(jphi, ccc1);
7568 c3x5->cd(kcountHFnegativedirectionDigi2);
7569 HFnegativedirectionDigi2->SetMarkerStyle(20);
7570 HFnegativedirectionDigi2->SetMarkerSize(0.4);
7571 HFnegativedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
7572 HFnegativedirectionDigi2->SetXTitle(
"HFnegativedirectionDigi2 \b");
7573 HFnegativedirectionDigi2->SetMarkerColor(2);
7574 HFnegativedirectionDigi2->SetLineColor(0);
7578 if (kcountHFnegativedirectionDigi2 == 1)
7579 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-41; depth = 2 \b");
7580 if (kcountHFnegativedirectionDigi2 == 2)
7581 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-40; depth = 2 \b");
7582 if (kcountHFnegativedirectionDigi2 == 3)
7583 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-39; depth = 2 \b");
7584 if (kcountHFnegativedirectionDigi2 == 4)
7585 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-38; depth = 2 \b");
7586 if (kcountHFnegativedirectionDigi2 == 5)
7587 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-37; depth = 2 \b");
7588 if (kcountHFnegativedirectionDigi2 == 6)
7589 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-36; depth = 2 \b");
7590 if (kcountHFnegativedirectionDigi2 == 7)
7591 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-35; depth = 2 \b");
7592 if (kcountHFnegativedirectionDigi2 == 8)
7593 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-34; depth = 2 \b");
7594 if (kcountHFnegativedirectionDigi2 == 9)
7595 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-33; depth = 2 \b");
7596 if (kcountHFnegativedirectionDigi2 == 10)
7597 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-32; depth = 2 \b");
7598 if (kcountHFnegativedirectionDigi2 == 11)
7599 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-31; depth = 2 \b");
7600 if (kcountHFnegativedirectionDigi2 == 12)
7601 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-30; depth = 2 \b");
7602 if (kcountHFnegativedirectionDigi2 == 13)
7603 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-20; depth = 2 \b");
7604 HFnegativedirectionDigi2->Draw(
"Error");
7605 kcountHFnegativedirectionDigi2++;
7606 if (kcountHFnegativedirectionDigi2 > 13)
7615 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
7618 if (h2CeffHFnegativedirectionDigi2)
7619 delete h2CeffHFnegativedirectionDigi2;
7628 int kcountHFnegativedirectionDigi3 = 1;
7629 TH1F *h2CeffHFnegativedirectionDigi3 =
new TH1F(
"h2CeffHFnegativedirectionDigi3",
"",
nphi, 0., 72.);
7632 if (
jeta - 41 < 0) {
7635 for (
int i = 2;
i < 3;
i++) {
7636 TH1F *HFnegativedirectionDigi3 = (TH1F *)h2CeffHFnegativedirectionDigi3->Clone(
"twod1");
7638 for (
int jphi = 0; jphi <
nphi; jphi++) {
7639 double ccc1 = adigiHF[
i][
jeta][jphi];
7641 HFnegativedirectionDigi3->Fill(jphi, ccc1);
7647 c3x5->cd(kcountHFnegativedirectionDigi3);
7648 HFnegativedirectionDigi3->SetMarkerStyle(20);
7649 HFnegativedirectionDigi3->SetMarkerSize(0.4);
7650 HFnegativedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
7651 HFnegativedirectionDigi3->SetXTitle(
"HFnegativedirectionDigi3 \b");
7652 HFnegativedirectionDigi3->SetMarkerColor(2);
7653 HFnegativedirectionDigi3->SetLineColor(0);
7657 if (kcountHFnegativedirectionDigi3 == 1)
7658 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-41; depth = 3 \b");
7659 if (kcountHFnegativedirectionDigi3 == 2)
7660 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-40; depth = 3 \b");
7661 if (kcountHFnegativedirectionDigi3 == 3)
7662 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-39; depth = 3 \b");
7663 if (kcountHFnegativedirectionDigi3 == 4)
7664 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-38; depth = 3 \b");
7665 if (kcountHFnegativedirectionDigi3 == 5)
7666 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-37; depth = 3 \b");
7667 if (kcountHFnegativedirectionDigi3 == 6)
7668 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-36; depth = 3 \b");
7669 if (kcountHFnegativedirectionDigi3 == 7)
7670 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-35; depth = 3 \b");
7671 if (kcountHFnegativedirectionDigi3 == 8)
7672 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-34; depth = 3 \b");
7673 if (kcountHFnegativedirectionDigi3 == 9)
7674 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-33; depth = 3 \b");
7675 if (kcountHFnegativedirectionDigi3 == 10)
7676 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-32; depth = 3 \b");
7677 if (kcountHFnegativedirectionDigi3 == 11)
7678 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-31; depth = 3 \b");
7679 if (kcountHFnegativedirectionDigi3 == 12)
7680 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-30; depth = 3 \b");
7681 if (kcountHFnegativedirectionDigi3 == 13)
7682 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-29; depth = 3 \b");
7683 HFnegativedirectionDigi3->Draw(
"Error");
7684 kcountHFnegativedirectionDigi3++;
7685 if (kcountHFnegativedirectionDigi3 > 13)
7694 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png");
7697 if (h2CeffHFnegativedirectionDigi3)
7698 delete h2CeffHFnegativedirectionDigi3;
7707 int kcountHFnegativedirectionDigi4 = 1;
7708 TH1F *h2CeffHFnegativedirectionDigi4 =
new TH1F(
"h2CeffHFnegativedirectionDigi4",
"",
nphi, 0., 72.);
7712 if (
jeta - 41 < 0) {
7715 for (
int i = 3;
i < 4;
i++) {
7716 TH1F *HFnegativedirectionDigi4 = (TH1F *)h2CeffHFnegativedirectionDigi4->Clone(
"twod1");
7719 for (
int jphi = 0; jphi <
nphi; jphi++) {
7720 double ccc1 = adigiHF[
i][
jeta][jphi];
7722 HFnegativedirectionDigi4->Fill(jphi, ccc1);
7728 c3x5->cd(kcountHFnegativedirectionDigi4);
7729 HFnegativedirectionDigi4->SetMarkerStyle(20);
7730 HFnegativedirectionDigi4->SetMarkerSize(0.4);
7731 HFnegativedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
7732 HFnegativedirectionDigi4->SetXTitle(
"HFnegativedirectionDigi4 \b");
7733 HFnegativedirectionDigi4->SetMarkerColor(2);
7734 HFnegativedirectionDigi4->SetLineColor(0);
7738 if (kcountHFnegativedirectionDigi4 == 1)
7739 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-41; depth = 4 \b");
7740 if (kcountHFnegativedirectionDigi4 == 2)
7741 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-40; depth = 4 \b");
7742 if (kcountHFnegativedirectionDigi4 == 3)
7743 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-39; depth = 4 \b");
7744 if (kcountHFnegativedirectionDigi4 == 4)
7745 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-38; depth = 4 \b");
7746 if (kcountHFnegativedirectionDigi4 == 5)
7747 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-37; depth = 4 \b");
7748 if (kcountHFnegativedirectionDigi4 == 6)
7749 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-36; depth = 4 \b");
7750 if (kcountHFnegativedirectionDigi4 == 7)
7751 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-35; depth = 4 \b");
7752 if (kcountHFnegativedirectionDigi4 == 8)
7753 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-34; depth = 4 \b");
7754 if (kcountHFnegativedirectionDigi4 == 9)
7755 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-33; depth = 4 \b");
7756 if (kcountHFnegativedirectionDigi4 == 10)
7757 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-32; depth = 4 \b");
7758 if (kcountHFnegativedirectionDigi4 == 11)
7759 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-31; depth = 4 \b");
7760 if (kcountHFnegativedirectionDigi4 == 12)
7761 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-30; depth = 4 \b");
7762 if (kcountHFnegativedirectionDigi4 == 13)
7763 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-29; depth = 4 \b");
7764 HFnegativedirectionDigi4->Draw(
"Error");
7765 kcountHFnegativedirectionDigi4++;
7766 if (kcountHFnegativedirectionDigi4 > 13)
7775 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png");
7778 if (h2CeffHFnegativedirectionDigi4)
7779 delete h2CeffHFnegativedirectionDigi4;
7787 TH2F *digiVariance1HF1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HF1");
7788 TH2F *digiVariance0HF1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF1");
7789 TH2F *digiVarianceHF1 = (TH2F *)digiVariance1HF1->Clone(
"digiVarianceHF1");
7790 digiVarianceHF1->Divide(digiVariance1HF1, digiVariance0HF1, 1, 1,
"B");
7791 TH2F *digiVariance1HF2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HF2");
7792 TH2F *digiVariance0HF2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF2");
7793 TH2F *digiVarianceHF2 = (TH2F *)digiVariance1HF2->Clone(
"digiVarianceHF2");
7794 digiVarianceHF2->Divide(digiVariance1HF2, digiVariance0HF2, 1, 1,
"B");
7795 TH2F *digiVariance1HF3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HF3");
7796 TH2F *digiVariance0HF3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF3");
7797 TH2F *digiVarianceHF3 = (TH2F *)digiVariance1HF3->Clone(
"digiVarianceHF3");
7798 digiVarianceHF3->Divide(digiVariance1HF3, digiVariance0HF3, 1, 1,
"B");
7799 TH2F *digiVariance1HF4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HF4");
7800 TH2F *digiVariance0HF4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF4");
7801 TH2F *digiVarianceHF4 = (TH2F *)digiVariance1HF4->Clone(
"digiVarianceHF4");
7802 digiVarianceHF4->Divide(digiVariance1HF4, digiVariance0HF4, 1, 1,
"B");
7808 double sumdigiHF0 = 0;
7809 int nsumdigiHF0 = 0;
7810 double sumdigiHF1 = 0;
7811 int nsumdigiHF1 = 0;
7812 double sumdigiHF2 = 0;
7813 int nsumdigiHF2 = 0;
7814 double sumdigiHF3 = 0;
7815 int nsumdigiHF3 = 0;
7816 for (
int jphi = 0; jphi < njphi; jphi++) {
7817 digivarianceHF[0][
jeta][jphi] = digiVarianceHF1->GetBinContent(
jeta + 1, jphi + 1);
7818 digivarianceHF[1][
jeta][jphi] = digiVarianceHF2->GetBinContent(
jeta + 1, jphi + 1);
7819 digivarianceHF[2][
jeta][jphi] = digiVarianceHF3->GetBinContent(
jeta + 1, jphi + 1);
7820 digivarianceHF[3][
jeta][jphi] = digiVarianceHF4->GetBinContent(
jeta + 1, jphi + 1);
7821 if (digivarianceHF[0][
jeta][jphi] > 0.) {
7822 sumdigiHF0 += digivarianceHF[0][
jeta][jphi];
7825 if (digivarianceHF[1][
jeta][jphi] > 0.) {
7826 sumdigiHF1 += digivarianceHF[1][
jeta][jphi];
7829 if (digivarianceHF[2][
jeta][jphi] > 0.) {
7830 sumdigiHF2 += digivarianceHF[2][
jeta][jphi];
7833 if (digivarianceHF[3][
jeta][jphi] > 0.) {
7834 sumdigiHF3 += digivarianceHF[3][
jeta][jphi];
7839 for (
int jphi = 0; jphi < njphi; jphi++) {
7840 if (digivarianceHF[0][
jeta][jphi] > 0.)
7841 digivarianceHF[0][
jeta][jphi] /= (sumdigiHF0 / nsumdigiHF0);
7842 if (digivarianceHF[1][
jeta][jphi] > 0.)
7843 digivarianceHF[1][
jeta][jphi] /= (sumdigiHF1 / nsumdigiHF1);
7844 if (digivarianceHF[2][
jeta][jphi] > 0.)
7845 digivarianceHF[2][
jeta][jphi] /= (sumdigiHF2 / nsumdigiHF2);
7846 if (digivarianceHF[3][
jeta][jphi] > 0.)
7847 digivarianceHF[3][
jeta][jphi] /= (sumdigiHF3 / nsumdigiHF3);
7850 for (
int jphi = 0; jphi < njphi; jphi++) {
7852 digivarianceHF[0][
jeta][jphi] -= adigiHF[0][
jeta][jphi] * adigiHF[0][
jeta][jphi];
7853 digivarianceHF[0][
jeta][jphi] = fabs(digivarianceHF[0][
jeta][jphi]);
7854 digivarianceHF[1][
jeta][jphi] -= adigiHF[1][
jeta][jphi] * adigiHF[1][
jeta][jphi];
7855 digivarianceHF[1][
jeta][jphi] = fabs(digivarianceHF[1][
jeta][jphi]);
7856 digivarianceHF[2][
jeta][jphi] -= adigiHF[2][
jeta][jphi] * adigiHF[2][
jeta][jphi];
7857 digivarianceHF[2][
jeta][jphi] = fabs(digivarianceHF[2][
jeta][jphi]);
7858 digivarianceHF[3][
jeta][jphi] -= adigiHF[3][
jeta][jphi] * adigiHF[3][
jeta][jphi];
7859 digivarianceHF[3][
jeta][jphi] = fabs(digivarianceHF[3][
jeta][jphi]);
7871 TH2F *DefzDdigiHF42D =
new TH2F(
"DefzDdigiHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
7872 TH2F *DefzDdigiHF42D0 =
new TH2F(
"DefzDdigiHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
7873 TH2F *DefzDdigiHF42DF = (TH2F *)DefzDdigiHF42D0->Clone(
"DefzDdigiHF42DF");
7876 for (
int jphi = 0; jphi <
nphi; jphi++) {
7877 double ccc1 = digivarianceHF[
i][
jeta][jphi];
7878 int k2plot =
jeta - 41;
7880 if (adigiHF[
i][
jeta][jphi] > 0.) {
7881 DefzDdigiHF42D->Fill(kkk, jphi, ccc1);
7882 DefzDdigiHF42D0->Fill(kkk, jphi, 1.);
7887 DefzDdigiHF42DF->Divide(DefzDdigiHF42D, DefzDdigiHF42D0, 1, 1,
"B");
7891 DefzDdigiHF42DF->SetMarkerStyle(20);
7892 DefzDdigiHF42DF->SetMarkerSize(0.4);
7893 DefzDdigiHF42DF->GetZaxis()->SetLabelSize(0.08);
7894 DefzDdigiHF42DF->SetXTitle(
"<D>_depth #eta \b");
7895 DefzDdigiHF42DF->SetYTitle(
" #phi \b");
7896 DefzDdigiHF42DF->SetZTitle(
"<D>_depth \b");
7897 DefzDdigiHF42DF->SetMarkerColor(2);
7898 DefzDdigiHF42DF->SetLineColor(
7900 DefzDdigiHF42DF->Draw(
"COLZ");
7903 c1x0->Print(
"DdigiGeneralD2PhiSymmetryHF.png");
7907 delete DefzDdigiHF42D;
7908 if (DefzDdigiHF42D0)
7909 delete DefzDdigiHF42D0;
7910 if (DefzDdigiHF42DF)
7911 delete DefzDdigiHF42DF;
7919 TH1F *DefzDdigiHF41D =
new TH1F(
"DefzDdigiHF41D",
"",
nphi, 0., 72.);
7920 TH1F *DefzDdigiHF41D0 =
new TH1F(
"DefzDdigiHF41D0",
"",
nphi, 0., 72.);
7921 TH1F *DefzDdigiHF41DF = (TH1F *)DefzDdigiHF41D0->Clone(
"DefzDdigiHF41DF");
7923 for (
int jphi = 0; jphi <
nphi; jphi++) {
7926 double ccc1 = digivarianceHF[
i][
jeta][jphi];
7927 if (adigiHF[
i][
jeta][jphi] > 0.) {
7928 DefzDdigiHF41D->Fill(jphi, ccc1);
7929 DefzDdigiHF41D0->Fill(jphi, 1.);
7936 DefzDdigiHF41DF->Divide(DefzDdigiHF41D, DefzDdigiHF41D0, 1, 1,
"B");
7937 DefzDdigiHF41D0->Sumw2();
7941 DefzDdigiHF41DF->SetMarkerStyle(20);
7942 DefzDdigiHF41DF->SetMarkerSize(1.4);
7943 DefzDdigiHF41DF->GetZaxis()->SetLabelSize(0.08);
7944 DefzDdigiHF41DF->SetXTitle(
"#phi \b");
7945 DefzDdigiHF41DF->SetYTitle(
" <D> \b");
7946 DefzDdigiHF41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
7947 DefzDdigiHF41DF->SetMarkerColor(4);
7948 DefzDdigiHF41DF->SetLineColor(4);
7949 DefzDdigiHF41DF->Draw(
"Error");
7952 c1x1->Print(
"DdigiGeneralD1PhiSymmetryHF.png");
7956 delete DefzDdigiHF41D;
7957 if (DefzDdigiHF41D0)
7958 delete DefzDdigiHF41D0;
7959 if (DefzDdigiHF41DF)
7960 delete DefzDdigiHF41DF;
7969 int kcountHFpositivedirectionDigiD1 = 1;
7970 TH1F *h2CeffHFpositivedirectionDigiD1 =
new TH1F(
"h2CeffHFpositivedirectionDigiD1",
"",
nphi, 0., 72.);
7974 if (
jeta - 41 >= 0) {
7977 for (
int i = 0;
i < 1;
i++) {
7978 TH1F *HFpositivedirectionDigiD1 = (TH1F *)h2CeffHFpositivedirectionDigiD1->Clone(
"twod1");
7981 for (
int jphi = 0; jphi <
nphi; jphi++) {
7982 double ccc1 = digivarianceHF[
i][
jeta][jphi];
7983 if (adigiHF[
i][
jeta][jphi] > 0.) {
7984 HFpositivedirectionDigiD1->Fill(jphi, ccc1);
7990 c3x5->cd(kcountHFpositivedirectionDigiD1);
7991 HFpositivedirectionDigiD1->SetMarkerStyle(20);
7992 HFpositivedirectionDigiD1->SetMarkerSize(0.4);
7993 HFpositivedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
7994 HFpositivedirectionDigiD1->SetXTitle(
"HFpositivedirectionDigiD1 \b");
7995 HFpositivedirectionDigiD1->SetMarkerColor(2);
7996 HFpositivedirectionDigiD1->SetLineColor(0);
8000 if (kcountHFpositivedirectionDigiD1 == 1)
8001 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 28; depth = 1 \b");
8002 if (kcountHFpositivedirectionDigiD1 == 2)
8003 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 29; depth = 1 \b");
8004 if (kcountHFpositivedirectionDigiD1 == 3)
8005 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 30; depth = 1 \b");
8006 if (kcountHFpositivedirectionDigiD1 == 4)
8007 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 31; depth = 1 \b");
8008 if (kcountHFpositivedirectionDigiD1 == 5)
8009 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 32; depth = 1 \b");
8010 if (kcountHFpositivedirectionDigiD1 == 6)
8011 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 33; depth = 1 \b");
8012 if (kcountHFpositivedirectionDigiD1 == 7)
8013 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 34; depth = 1 \b");
8014 if (kcountHFpositivedirectionDigiD1 == 8)
8015 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 35; depth = 1 \b");
8016 if (kcountHFpositivedirectionDigiD1 == 9)
8017 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 36; depth = 1 \b");
8018 if (kcountHFpositivedirectionDigiD1 == 10)
8019 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 37; depth = 1 \b");
8020 if (kcountHFpositivedirectionDigiD1 == 11)
8021 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 38; depth = 1 \b");
8022 if (kcountHFpositivedirectionDigiD1 == 12)
8023 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 39; depth = 1 \b");
8024 if (kcountHFpositivedirectionDigiD1 == 13)
8025 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 40; depth = 1 \b");
8026 HFpositivedirectionDigiD1->Draw(
"Error");
8027 kcountHFpositivedirectionDigiD1++;
8028 if (kcountHFpositivedirectionDigiD1 > 13)
8037 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png");
8040 if (h2CeffHFpositivedirectionDigiD1)
8041 delete h2CeffHFpositivedirectionDigiD1;
8049 int kcountHFpositivedirectionDigiD2 = 1;
8050 TH1F *h2CeffHFpositivedirectionDigiD2 =
new TH1F(
"h2CeffHFpositivedirectionDigiD2",
"",
nphi, 0., 72.);
8054 if (
jeta - 41 >= 0) {
8057 for (
int i = 1;
i < 2;
i++) {
8058 TH1F *HFpositivedirectionDigiD2 = (TH1F *)h2CeffHFpositivedirectionDigiD2->Clone(
"twod1");
8061 for (
int jphi = 0; jphi <
nphi; jphi++) {
8062 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8063 if (adigiHF[
i][
jeta][jphi] > 0.) {
8064 HFpositivedirectionDigiD2->Fill(jphi, ccc1);
8070 c3x5->cd(kcountHFpositivedirectionDigiD2);
8071 HFpositivedirectionDigiD2->SetMarkerStyle(20);
8072 HFpositivedirectionDigiD2->SetMarkerSize(0.4);
8073 HFpositivedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
8074 HFpositivedirectionDigiD2->SetXTitle(
"HFpositivedirectionDigiD2 \b");
8075 HFpositivedirectionDigiD2->SetMarkerColor(2);
8076 HFpositivedirectionDigiD2->SetLineColor(0);
8080 if (kcountHFpositivedirectionDigiD2 == 1)
8081 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 28; depth = 2 \b");
8082 if (kcountHFpositivedirectionDigiD2 == 2)
8083 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 29; depth = 2 \b");
8084 if (kcountHFpositivedirectionDigiD2 == 3)
8085 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 30; depth = 2 \b");
8086 if (kcountHFpositivedirectionDigiD2 == 4)
8087 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 31; depth = 2 \b");
8088 if (kcountHFpositivedirectionDigiD2 == 5)
8089 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 32; depth = 2 \b");
8090 if (kcountHFpositivedirectionDigiD2 == 6)
8091 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 33; depth = 2 \b");
8092 if (kcountHFpositivedirectionDigiD2 == 7)
8093 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 34; depth = 2 \b");
8094 if (kcountHFpositivedirectionDigiD2 == 8)
8095 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 35; depth = 2 \b");
8096 if (kcountHFpositivedirectionDigiD2 == 9)
8097 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 36; depth = 2 \b");
8098 if (kcountHFpositivedirectionDigiD2 == 10)
8099 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 37; depth = 2 \b");
8100 if (kcountHFpositivedirectionDigiD2 == 11)
8101 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 38; depth = 2 \b");
8102 if (kcountHFpositivedirectionDigiD2 == 12)
8103 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 39; depth = 2 \b");
8104 if (kcountHFpositivedirectionDigiD2 == 13)
8105 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 40; depth = 2 \b");
8106 HFpositivedirectionDigiD2->Draw(
"Error");
8107 kcountHFpositivedirectionDigiD2++;
8108 if (kcountHFpositivedirectionDigiD2 > 13)
8117 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png");
8120 if (h2CeffHFpositivedirectionDigiD2)
8121 delete h2CeffHFpositivedirectionDigiD2;
8129 int kcountHFpositivedirectionDigiD3 = 1;
8130 TH1F *h2CeffHFpositivedirectionDigiD3 =
new TH1F(
"h2CeffHFpositivedirectionDigiD3",
"",
nphi, 0., 72.);
8134 if (
jeta - 41 >= 0) {
8137 for (
int i = 2;
i < 3;
i++) {
8138 TH1F *HFpositivedirectionDigiD3 = (TH1F *)h2CeffHFpositivedirectionDigiD3->Clone(
"twod1");
8141 for (
int jphi = 0; jphi <
nphi; jphi++) {
8142 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8143 if (adigiHF[
i][
jeta][jphi] > 0.) {
8144 HFpositivedirectionDigiD3->Fill(jphi, ccc1);
8150 c3x5->cd(kcountHFpositivedirectionDigiD3);
8151 HFpositivedirectionDigiD3->SetMarkerStyle(20);
8152 HFpositivedirectionDigiD3->SetMarkerSize(0.4);
8153 HFpositivedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
8154 HFpositivedirectionDigiD3->SetXTitle(
"HFpositivedirectionDigiD3 \b");
8155 HFpositivedirectionDigiD3->SetMarkerColor(2);
8156 HFpositivedirectionDigiD3->SetLineColor(0);
8160 if (kcountHFpositivedirectionDigiD3 == 1)
8161 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 28; depth = 3 \b");
8162 if (kcountHFpositivedirectionDigiD3 == 2)
8163 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 29; depth = 3 \b");
8164 if (kcountHFpositivedirectionDigiD3 == 3)
8165 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 30; depth = 3 \b");
8166 if (kcountHFpositivedirectionDigiD3 == 4)
8167 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 31; depth = 3 \b");
8168 if (kcountHFpositivedirectionDigiD3 == 5)
8169 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 32; depth = 3 \b");
8170 if (kcountHFpositivedirectionDigiD3 == 6)
8171 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 33; depth = 3 \b");
8172 if (kcountHFpositivedirectionDigiD3 == 7)
8173 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 34; depth = 3 \b");
8174 if (kcountHFpositivedirectionDigiD3 == 8)
8175 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 35; depth = 3 \b");
8176 if (kcountHFpositivedirectionDigiD3 == 9)
8177 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 36; depth = 3 \b");
8178 if (kcountHFpositivedirectionDigiD3 == 10)
8179 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 37; depth = 3 \b");
8180 if (kcountHFpositivedirectionDigiD3 == 11)
8181 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 38; depth = 3 \b");
8182 if (kcountHFpositivedirectionDigiD3 == 12)
8183 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 39; depth = 3 \b");
8184 if (kcountHFpositivedirectionDigiD3 == 13)
8185 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 40; depth = 3 \b");
8186 HFpositivedirectionDigiD3->Draw(
"Error");
8187 kcountHFpositivedirectionDigiD3++;
8188 if (kcountHFpositivedirectionDigiD3 > 13)
8197 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png");
8200 if (h2CeffHFpositivedirectionDigiD3)
8201 delete h2CeffHFpositivedirectionDigiD3;
8209 int kcountHFpositivedirectionDigiD4 = 1;
8210 TH1F *h2CeffHFpositivedirectionDigiD4 =
new TH1F(
"h2CeffHFpositivedirectionDigiD4",
"",
nphi, 0., 72.);
8214 if (
jeta - 41 >= 0) {
8217 for (
int i = 3;
i < 4;
i++) {
8218 TH1F *HFpositivedirectionDigiD4 = (TH1F *)h2CeffHFpositivedirectionDigiD4->Clone(
"twod1");
8221 for (
int jphi = 0; jphi <
nphi; jphi++) {
8222 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8223 if (adigiHF[
i][
jeta][jphi] > 0.) {
8224 HFpositivedirectionDigiD4->Fill(jphi, ccc1);
8230 c3x5->cd(kcountHFpositivedirectionDigiD4);
8231 HFpositivedirectionDigiD4->SetMarkerStyle(20);
8232 HFpositivedirectionDigiD4->SetMarkerSize(0.4);
8233 HFpositivedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
8234 HFpositivedirectionDigiD4->SetXTitle(
"HFpositivedirectionDigiD4 \b");
8235 HFpositivedirectionDigiD4->SetMarkerColor(2);
8236 HFpositivedirectionDigiD4->SetLineColor(0);
8240 if (kcountHFpositivedirectionDigiD4 == 1)
8241 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 28; depth = 4 \b");
8242 if (kcountHFpositivedirectionDigiD4 == 2)
8243 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 29; depth = 4 \b");
8244 if (kcountHFpositivedirectionDigiD4 == 3)
8245 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 30; depth = 4 \b");
8246 if (kcountHFpositivedirectionDigiD4 == 4)
8247 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 31; depth = 4 \b");
8248 if (kcountHFpositivedirectionDigiD4 == 5)
8249 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 32; depth = 4 \b");
8250 if (kcountHFpositivedirectionDigiD4 == 6)
8251 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 33; depth = 4 \b");
8252 if (kcountHFpositivedirectionDigiD4 == 7)
8253 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 34; depth = 4 \b");
8254 if (kcountHFpositivedirectionDigiD4 == 8)
8255 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 35; depth = 4 \b");
8256 if (kcountHFpositivedirectionDigiD4 == 9)
8257 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 36; depth = 4 \b");
8258 if (kcountHFpositivedirectionDigiD4 == 10)
8259 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 37; depth = 4 \b");
8260 if (kcountHFpositivedirectionDigiD4 == 11)
8261 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 38; depth = 4 \b");
8262 if (kcountHFpositivedirectionDigiD4 == 12)
8263 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 39; depth = 4 \b");
8264 if (kcountHFpositivedirectionDigiD4 == 13)
8265 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 40; depth = 4 \b");
8266 HFpositivedirectionDigiD4->Draw(
"Error");
8267 kcountHFpositivedirectionDigiD4++;
8268 if (kcountHFpositivedirectionDigiD4 > 13)
8277 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png");
8280 if (h2CeffHFpositivedirectionDigiD4)
8281 delete h2CeffHFpositivedirectionDigiD4;
8291 int kcountHFnegativedirectionDigiD1 = 1;
8292 TH1F *h2CeffHFnegativedirectionDigiD1 =
new TH1F(
"h2CeffHFnegativedirectionDigiD1",
"",
nphi, 0., 72.);
8296 if (
jeta - 41 < 0) {
8299 for (
int i = 0;
i < 1;
i++) {
8300 TH1F *HFnegativedirectionDigiD1 = (TH1F *)h2CeffHFnegativedirectionDigiD1->Clone(
"twod1");
8303 for (
int jphi = 0; jphi <
nphi; jphi++) {
8304 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8305 if (adigiHF[
i][
jeta][jphi] > 0.) {
8306 HFnegativedirectionDigiD1->Fill(jphi, ccc1);
8312 c3x5->cd(kcountHFnegativedirectionDigiD1);
8313 HFnegativedirectionDigiD1->SetMarkerStyle(20);
8314 HFnegativedirectionDigiD1->SetMarkerSize(0.4);
8315 HFnegativedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
8316 HFnegativedirectionDigiD1->SetXTitle(
"HFnegativedirectionDigiD1 \b");
8317 HFnegativedirectionDigiD1->SetMarkerColor(2);
8318 HFnegativedirectionDigiD1->SetLineColor(0);
8322 if (kcountHFnegativedirectionDigiD1 == 1)
8323 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-41; depth = 1 \b");
8324 if (kcountHFnegativedirectionDigiD1 == 2)
8325 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-40; depth = 1 \b");
8326 if (kcountHFnegativedirectionDigiD1 == 3)
8327 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-39; depth = 1 \b");
8328 if (kcountHFnegativedirectionDigiD1 == 4)
8329 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-38; depth = 1 \b");
8330 if (kcountHFnegativedirectionDigiD1 == 5)
8331 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-37; depth = 1 \b");
8332 if (kcountHFnegativedirectionDigiD1 == 6)
8333 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-36; depth = 1 \b");
8334 if (kcountHFnegativedirectionDigiD1 == 7)
8335 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-35; depth = 1 \b");
8336 if (kcountHFnegativedirectionDigiD1 == 8)
8337 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-34; depth = 1 \b");
8338 if (kcountHFnegativedirectionDigiD1 == 9)
8339 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-33; depth = 1 \b");
8340 if (kcountHFnegativedirectionDigiD1 == 10)
8341 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-32; depth = 1 \b");
8342 if (kcountHFnegativedirectionDigiD1 == 11)
8343 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-31; depth = 1 \b");
8344 if (kcountHFnegativedirectionDigiD1 == 12)
8345 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-30; depth = 1 \b");
8346 if (kcountHFnegativedirectionDigiD1 == 13)
8347 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-29; depth = 1 \b");
8348 HFnegativedirectionDigiD1->Draw(
"Error");
8349 kcountHFnegativedirectionDigiD1++;
8350 if (kcountHFnegativedirectionDigiD1 > 13)
8359 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
8362 if (h2CeffHFnegativedirectionDigiD1)
8363 delete h2CeffHFnegativedirectionDigiD1;
8371 int kcountHFnegativedirectionDigiD2 = 1;
8372 TH1F *h2CeffHFnegativedirectionDigiD2 =
new TH1F(
"h2CeffHFnegativedirectionDigiD2",
"",
nphi, 0., 72.);
8376 if (
jeta - 41 < 0) {
8379 for (
int i = 1;
i < 2;
i++) {
8380 TH1F *HFnegativedirectionDigiD2 = (TH1F *)h2CeffHFnegativedirectionDigiD2->Clone(
"twod1");
8383 for (
int jphi = 0; jphi <
nphi; jphi++) {
8384 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8385 if (adigiHF[
i][
jeta][jphi] > 0.) {
8386 HFnegativedirectionDigiD2->Fill(jphi, ccc1);
8392 c3x5->cd(kcountHFnegativedirectionDigiD2);
8393 HFnegativedirectionDigiD2->SetMarkerStyle(20);
8394 HFnegativedirectionDigiD2->SetMarkerSize(0.4);
8395 HFnegativedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
8396 HFnegativedirectionDigiD2->SetXTitle(
"HFnegativedirectionDigiD2 \b");
8397 HFnegativedirectionDigiD2->SetMarkerColor(2);
8398 HFnegativedirectionDigiD2->SetLineColor(0);
8402 if (kcountHFnegativedirectionDigiD2 == 1)
8403 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-41; depth = 2 \b");
8404 if (kcountHFnegativedirectionDigiD2 == 2)
8405 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-40; depth = 2 \b");
8406 if (kcountHFnegativedirectionDigiD2 == 3)
8407 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-39; depth = 2 \b");
8408 if (kcountHFnegativedirectionDigiD2 == 4)
8409 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-38; depth = 2 \b");
8410 if (kcountHFnegativedirectionDigiD2 == 5)
8411 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-37; depth = 2 \b");
8412 if (kcountHFnegativedirectionDigiD2 == 6)
8413 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-36; depth = 2 \b");
8414 if (kcountHFnegativedirectionDigiD2 == 7)
8415 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-35; depth = 2 \b");
8416 if (kcountHFnegativedirectionDigiD2 == 8)
8417 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-34; depth = 2 \b");
8418 if (kcountHFnegativedirectionDigiD2 == 9)
8419 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-33; depth = 2 \b");
8420 if (kcountHFnegativedirectionDigiD2 == 10)
8421 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-32; depth = 2 \b");
8422 if (kcountHFnegativedirectionDigiD2 == 11)
8423 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-31; depth = 2 \b");
8424 if (kcountHFnegativedirectionDigiD2 == 12)
8425 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-30; depth = 2 \b");
8426 if (kcountHFnegativedirectionDigiD2 == 13)
8427 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-29; depth = 2 \b");
8428 HFnegativedirectionDigiD2->Draw(
"Error");
8429 kcountHFnegativedirectionDigiD2++;
8430 if (kcountHFnegativedirectionDigiD2 > 13)
8439 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
8442 if (h2CeffHFnegativedirectionDigiD2)
8443 delete h2CeffHFnegativedirectionDigiD2;
8451 int kcountHFnegativedirectionDigiD3 = 1;
8452 TH1F *h2CeffHFnegativedirectionDigiD3 =
new TH1F(
"h2CeffHFnegativedirectionDigiD3",
"",
nphi, 0., 72.);
8456 if (
jeta - 41 < 0) {
8459 for (
int i = 2;
i < 3;
i++) {
8460 TH1F *HFnegativedirectionDigiD3 = (TH1F *)h2CeffHFnegativedirectionDigiD3->Clone(
"twod1");
8463 for (
int jphi = 0; jphi <
nphi; jphi++) {
8464 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8465 if (adigiHF[
i][
jeta][jphi] > 0.) {
8466 HFnegativedirectionDigiD3->Fill(jphi, ccc1);
8472 c3x5->cd(kcountHFnegativedirectionDigiD3);
8473 HFnegativedirectionDigiD3->SetMarkerStyle(20);
8474 HFnegativedirectionDigiD3->SetMarkerSize(0.4);
8475 HFnegativedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
8476 HFnegativedirectionDigiD3->SetXTitle(
"HFnegativedirectionDigiD3 \b");
8477 HFnegativedirectionDigiD3->SetMarkerColor(2);
8478 HFnegativedirectionDigiD3->SetLineColor(0);
8482 if (kcountHFnegativedirectionDigiD3 == 1)
8483 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-41; depth = 3 \b");
8484 if (kcountHFnegativedirectionDigiD3 == 2)
8485 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-40; depth = 3 \b");
8486 if (kcountHFnegativedirectionDigiD3 == 3)
8487 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-39; depth = 3 \b");
8488 if (kcountHFnegativedirectionDigiD3 == 4)
8489 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-38; depth = 3 \b");
8490 if (kcountHFnegativedirectionDigiD3 == 5)
8491 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-37; depth = 3 \b");
8492 if (kcountHFnegativedirectionDigiD3 == 6)
8493 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-36; depth = 3 \b");
8494 if (kcountHFnegativedirectionDigiD3 == 7)
8495 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-35; depth = 3 \b");
8496 if (kcountHFnegativedirectionDigiD3 == 8)
8497 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-34; depth = 3 \b");
8498 if (kcountHFnegativedirectionDigiD3 == 9)
8499 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-33; depth = 3 \b");
8500 if (kcountHFnegativedirectionDigiD3 == 10)
8501 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-32; depth = 3 \b");
8502 if (kcountHFnegativedirectionDigiD3 == 11)
8503 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-31; depth = 3 \b");
8504 if (kcountHFnegativedirectionDigiD3 == 12)
8505 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-30; depth = 3 \b");
8506 if (kcountHFnegativedirectionDigiD3 == 13)
8507 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-29; depth = 3 \b");
8508 HFnegativedirectionDigiD3->Draw(
"Error");
8509 kcountHFnegativedirectionDigiD3++;
8510 if (kcountHFnegativedirectionDigiD3 > 13)
8519 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png");
8522 if (h2CeffHFnegativedirectionDigiD3)
8523 delete h2CeffHFnegativedirectionDigiD3;
8531 int kcountHFnegativedirectionDigiD4 = 1;
8532 TH1F *h2CeffHFnegativedirectionDigiD4 =
new TH1F(
"h2CeffHFnegativedirectionDigiD4",
"",
nphi, 0., 72.);
8536 if (
jeta - 41 < 0) {
8539 for (
int i = 3;
i < 4;
i++) {
8540 TH1F *HFnegativedirectionDigiD4 = (TH1F *)h2CeffHFnegativedirectionDigiD4->Clone(
"twod1");
8543 for (
int jphi = 0; jphi <
nphi; jphi++) {
8544 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8545 if (adigiHF[
i][
jeta][jphi] > 0.) {
8546 HFnegativedirectionDigiD4->Fill(jphi, ccc1);
8552 c3x5->cd(kcountHFnegativedirectionDigiD4);
8553 HFnegativedirectionDigiD4->SetMarkerStyle(20);
8554 HFnegativedirectionDigiD4->SetMarkerSize(0.4);
8555 HFnegativedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
8556 HFnegativedirectionDigiD4->SetXTitle(
"HFnegativedirectionDigiD4 \b");
8557 HFnegativedirectionDigiD4->SetMarkerColor(2);
8558 HFnegativedirectionDigiD4->SetLineColor(0);
8562 if (kcountHFnegativedirectionDigiD4 == 1)
8563 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-41; depth = 4 \b");
8564 if (kcountHFnegativedirectionDigiD4 == 2)
8565 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-40; depth = 4 \b");
8566 if (kcountHFnegativedirectionDigiD4 == 3)
8567 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-39; depth = 4 \b");
8568 if (kcountHFnegativedirectionDigiD4 == 4)
8569 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-38; depth = 4 \b");
8570 if (kcountHFnegativedirectionDigiD4 == 5)
8571 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-37; depth = 4 \b");
8572 if (kcountHFnegativedirectionDigiD4 == 6)
8573 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-36; depth = 4 \b");
8574 if (kcountHFnegativedirectionDigiD4 == 7)
8575 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-35; depth = 4 \b");
8576 if (kcountHFnegativedirectionDigiD4 == 8)
8577 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-34; depth = 4 \b");
8578 if (kcountHFnegativedirectionDigiD4 == 9)
8579 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-33; depth = 4 \b");
8580 if (kcountHFnegativedirectionDigiD4 == 10)
8581 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-32; depth = 4 \b");
8582 if (kcountHFnegativedirectionDigiD4 == 11)
8583 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-31; depth = 4 \b");
8584 if (kcountHFnegativedirectionDigiD4 == 12)
8585 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-30; depth = 4 \b");
8586 if (kcountHFnegativedirectionDigiD4 == 13)
8587 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-29; depth = 4 \b");
8588 HFnegativedirectionDigiD4->Draw(
"Error");
8589 kcountHFnegativedirectionDigiD4++;
8590 if (kcountHFnegativedirectionDigiD4 > 13)
8599 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png");
8602 if (h2CeffHFnegativedirectionDigiD4)
8603 delete h2CeffHFnegativedirectionDigiD4;
8635 double arecosignalHB[
ndepth][njeta][njphi];
8636 double recosignalvarianceHB[
ndepth][njeta][njphi];
8638 TH2F *recSignalEnergy1HB1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HB1");
8639 TH2F *recSignalEnergy0HB1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB1");
8640 TH2F *recSignalEnergyHB1 = (TH2F *)recSignalEnergy1HB1->Clone(
"recSignalEnergyHB1");
8641 recSignalEnergyHB1->Divide(recSignalEnergy1HB1, recSignalEnergy0HB1, 1, 1,
"B");
8642 TH2F *recSignalEnergy1HB2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HB2");
8643 TH2F *recSignalEnergy0HB2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB2");
8644 TH2F *recSignalEnergyHB2 = (TH2F *)recSignalEnergy1HB2->Clone(
"recSignalEnergyHB2");
8645 recSignalEnergyHB2->Divide(recSignalEnergy1HB2, recSignalEnergy0HB2, 1, 1,
"B");
8646 TH2F *recSignalEnergy1HB3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HB3");
8647 TH2F *recSignalEnergy0HB3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB3");
8648 TH2F *recSignalEnergyHB3 = (TH2F *)recSignalEnergy1HB3->Clone(
"recSignalEnergyHB3");
8649 recSignalEnergyHB3->Divide(recSignalEnergy1HB3, recSignalEnergy0HB3, 1, 1,
"B");
8650 TH2F *recSignalEnergy1HB4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HB4");
8651 TH2F *recSignalEnergy0HB4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB4");
8652 TH2F *recSignalEnergyHB4 = (TH2F *)recSignalEnergy1HB4->Clone(
"recSignalEnergyHB4");
8653 recSignalEnergyHB4->Divide(recSignalEnergy1HB4, recSignalEnergy0HB4, 1, 1,
"B");
8657 double sumrecosignalHB0 = 0;
8658 int nsumrecosignalHB0 = 0;
8659 double sumrecosignalHB1 = 0;
8660 int nsumrecosignalHB1 = 0;
8661 double sumrecosignalHB2 = 0;
8662 int nsumrecosignalHB2 = 0;
8663 double sumrecosignalHB3 = 0;
8664 int nsumrecosignalHB3 = 0;
8665 for (
int jphi = 0; jphi < njphi; jphi++) {
8666 arecosignalHB[0][
jeta][jphi] = recSignalEnergyHB1->GetBinContent(
jeta + 1, jphi + 1);
8667 arecosignalHB[1][
jeta][jphi] = recSignalEnergyHB2->GetBinContent(
jeta + 1, jphi + 1);
8668 arecosignalHB[2][
jeta][jphi] = recSignalEnergyHB3->GetBinContent(
jeta + 1, jphi + 1);
8669 arecosignalHB[3][
jeta][jphi] = recSignalEnergyHB4->GetBinContent(
jeta + 1, jphi + 1);
8670 if (arecosignalHB[0][
jeta][jphi] > 0.) {
8671 sumrecosignalHB0 += arecosignalHB[0][
jeta][jphi];
8672 ++nsumrecosignalHB0;
8674 if (arecosignalHB[1][
jeta][jphi] > 0.) {
8675 sumrecosignalHB1 += arecosignalHB[1][
jeta][jphi];
8676 ++nsumrecosignalHB1;
8678 if (arecosignalHB[2][
jeta][jphi] > 0.) {
8679 sumrecosignalHB2 += arecosignalHB[2][
jeta][jphi];
8680 ++nsumrecosignalHB2;
8682 if (arecosignalHB[3][
jeta][jphi] > 0.) {
8683 sumrecosignalHB3 += arecosignalHB[3][
jeta][jphi];
8684 ++nsumrecosignalHB3;
8688 for (
int jphi = 0; jphi < njphi; jphi++) {
8689 if (arecosignalHB[0][
jeta][jphi] > 0.)
8690 arecosignalHB[0][
jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0);
8691 if (arecosignalHB[1][
jeta][jphi] > 0.)
8692 arecosignalHB[1][
jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1);
8693 if (arecosignalHB[2][
jeta][jphi] > 0.)
8694 arecosignalHB[2][
jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2);
8695 if (arecosignalHB[3][
jeta][jphi] > 0.)
8696 arecosignalHB[3][
jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3);
8707 TH2F *GefzRrecosignalHB42D =
new TH2F(
"GefzRrecosignalHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
8708 TH2F *GefzRrecosignalHB42D0 =
new TH2F(
"GefzRrecosignalHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
8709 TH2F *GefzRrecosignalHB42DF = (TH2F *)GefzRrecosignalHB42D0->Clone(
"GefzRrecosignalHB42DF");
8712 for (
int jphi = 0; jphi <
nphi; jphi++) {
8713 double ccc1 = arecosignalHB[
i][
jeta][jphi];
8714 int k2plot =
jeta - 41;
8717 GefzRrecosignalHB42D->Fill(kkk, jphi, ccc1);
8718 GefzRrecosignalHB42D0->Fill(kkk, jphi, 1.);
8723 GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D, GefzRrecosignalHB42D0, 1, 1,
"B");
8726 GefzRrecosignalHB42DF->SetXTitle(
"<R>_depth #eta \b");
8727 GefzRrecosignalHB42DF->SetYTitle(
" #phi \b");
8728 GefzRrecosignalHB42DF->Draw(
"COLZ");
8731 TH1F *energyhitSignal_HB = (TH1F *)
dir->FindObjectAny(
"h_energyhitSignal_HB");
8732 energyhitSignal_HB->SetMarkerStyle(20);
8733 energyhitSignal_HB->SetMarkerSize(0.4);
8734 energyhitSignal_HB->GetYaxis()->SetLabelSize(0.04);
8735 energyhitSignal_HB->SetXTitle(
"energyhitSignal_HB \b");
8736 energyhitSignal_HB->SetMarkerColor(2);
8737 energyhitSignal_HB->SetLineColor(0);
8740 energyhitSignal_HB->Draw(
"Error");
8744 c2x1->Print(
"RrecosignalGeneralD2PhiSymmetryHB.png");
8747 if (GefzRrecosignalHB42D)
8748 delete GefzRrecosignalHB42D;
8749 if (GefzRrecosignalHB42D0)
8750 delete GefzRrecosignalHB42D0;
8751 if (GefzRrecosignalHB42DF)
8752 delete GefzRrecosignalHB42DF;
8760 TH1F *GefzRrecosignalHB41D =
new TH1F(
"GefzRrecosignalHB41D",
"",
nphi, 0., 72.);
8761 TH1F *GefzRrecosignalHB41D0 =
new TH1F(
"GefzRrecosignalHB41D0",
"",
nphi, 0., 72.);
8762 TH1F *GefzRrecosignalHB41DF = (TH1F *)GefzRrecosignalHB41D0->Clone(
"GefzRrecosignalHB41DF");
8763 for (
int jphi = 0; jphi <
nphi; jphi++) {
8766 double ccc1 = arecosignalHB[
i][
jeta][jphi];
8768 GefzRrecosignalHB41D->Fill(jphi, ccc1);
8769 GefzRrecosignalHB41D0->Fill(jphi, 1.);
8774 GefzRrecosignalHB41DF->Divide(
8775 GefzRrecosignalHB41D, GefzRrecosignalHB41D0, 1, 1,
"B");
8776 GefzRrecosignalHB41D0->Sumw2();
8780 GefzRrecosignalHB41DF->SetMarkerStyle(20);
8781 GefzRrecosignalHB41DF->SetMarkerSize(1.4);
8782 GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08);
8783 GefzRrecosignalHB41DF->SetXTitle(
"#phi \b");
8784 GefzRrecosignalHB41DF->SetYTitle(
" <R> \b");
8785 GefzRrecosignalHB41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
8786 GefzRrecosignalHB41DF->SetMarkerColor(4);
8787 GefzRrecosignalHB41DF->SetLineColor(
8789 GefzRrecosignalHB41DF->Draw(
"Error");
8792 c1x1->Print(
"RrecosignalGeneralD1PhiSymmetryHB.png");
8795 if (GefzRrecosignalHB41D)
8796 delete GefzRrecosignalHB41D;
8797 if (GefzRrecosignalHB41D0)
8798 delete GefzRrecosignalHB41D0;
8799 if (GefzRrecosignalHB41DF)
8800 delete GefzRrecosignalHB41DF;
8809 int kcountHBpositivedirectionRecosignal1 = 1;
8810 TH1F *h2CeffHBpositivedirectionRecosignal1 =
new TH1F(
"h2CeffHBpositivedirectionRecosignal1",
"",
nphi, 0., 72.);
8813 if (
jeta - 41 >= 0) {
8816 for (
int i = 0;
i < 1;
i++) {
8817 TH1F *HBpositivedirectionRecosignal1 = (TH1F *)h2CeffHBpositivedirectionRecosignal1->Clone(
"twod1");
8819 for (
int jphi = 0; jphi <
nphi; jphi++) {
8820 double ccc1 = arecosignalHB[
i][
jeta][jphi];
8822 HBpositivedirectionRecosignal1->Fill(jphi, ccc1);
8828 c3x5->cd(kcountHBpositivedirectionRecosignal1);
8829 HBpositivedirectionRecosignal1->SetMarkerStyle(20);
8830 HBpositivedirectionRecosignal1->SetMarkerSize(0.4);
8831 HBpositivedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
8832 HBpositivedirectionRecosignal1->SetXTitle(
"HBpositivedirectionRecosignal1 \b");
8833 HBpositivedirectionRecosignal1->SetMarkerColor(2);
8834 HBpositivedirectionRecosignal1->SetLineColor(0);
8838 if (kcountHBpositivedirectionRecosignal1 == 1)
8839 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 0; depth = 1 \b");
8840 if (kcountHBpositivedirectionRecosignal1 == 2)
8841 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 1; depth = 1 \b");
8842 if (kcountHBpositivedirectionRecosignal1 == 3)
8843 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 2; depth = 1 \b");
8844 if (kcountHBpositivedirectionRecosignal1 == 4)
8845 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 3; depth = 1 \b");
8846 if (kcountHBpositivedirectionRecosignal1 == 5)
8847 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 4; depth = 1 \b");
8848 if (kcountHBpositivedirectionRecosignal1 == 6)
8849 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 5; depth = 1 \b");
8850 if (kcountHBpositivedirectionRecosignal1 == 7)
8851 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 6; depth = 1 \b");
8852 if (kcountHBpositivedirectionRecosignal1 == 8)
8853 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 7; depth = 1 \b");
8854 if (kcountHBpositivedirectionRecosignal1 == 9)
8855 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 8; depth = 1 \b");
8856 if (kcountHBpositivedirectionRecosignal1 == 10)
8857 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 9; depth = 1 \b");
8858 if (kcountHBpositivedirectionRecosignal1 == 11)
8859 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 10; depth = 1 \b");
8860 if (kcountHBpositivedirectionRecosignal1 == 12)
8861 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 11; depth = 1 \b");
8862 if (kcountHBpositivedirectionRecosignal1 == 13)
8863 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 12; depth = 1 \b");
8864 if (kcountHBpositivedirectionRecosignal1 == 14)
8865 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 13; depth = 1 \b");
8866 if (kcountHBpositivedirectionRecosignal1 == 15)
8867 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 14; depth = 1 \b");
8868 if (kcountHBpositivedirectionRecosignal1 == 16)
8869 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 15; depth = 1 \b");
8870 HBpositivedirectionRecosignal1->Draw(
"Error");
8871 kcountHBpositivedirectionRecosignal1++;
8872 if (kcountHBpositivedirectionRecosignal1 > 16)
8881 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png");
8884 if (h2CeffHBpositivedirectionRecosignal1)
8885 delete h2CeffHBpositivedirectionRecosignal1;
8895 int kcountHBpositivedirectionRecosignal2 = 1;
8896 TH1F *h2CeffHBpositivedirectionRecosignal2 =
new TH1F(
"h2CeffHBpositivedirectionRecosignal2",
"",
nphi, 0., 72.);
8899 if (
jeta - 41 >= 0) {
8902 for (
int i = 1;
i < 2;
i++) {
8903 TH1F *HBpositivedirectionRecosignal2 = (TH1F *)h2CeffHBpositivedirectionRecosignal2->Clone(
"twod1");
8905 for (
int jphi = 0; jphi <
nphi; jphi++) {
8906 double ccc1 = arecosignalHB[
i][
jeta][jphi];
8908 HBpositivedirectionRecosignal2->Fill(jphi, ccc1);
8914 c3x5->cd(kcountHBpositivedirectionRecosignal2);
8915 HBpositivedirectionRecosignal2->SetMarkerStyle(20);
8916 HBpositivedirectionRecosignal2->SetMarkerSize(0.4);
8917 HBpositivedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
8918 HBpositivedirectionRecosignal2->SetXTitle(
"HBpositivedirectionRecosignal2 \b");
8919 HBpositivedirectionRecosignal2->SetMarkerColor(2);
8920 HBpositivedirectionRecosignal2->SetLineColor(0);
8924 if (kcountHBpositivedirectionRecosignal2 == 1)
8925 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 0; depth = 2 \b");
8926 if (kcountHBpositivedirectionRecosignal2 == 2)
8927 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 1; depth = 2 \b");
8928 if (kcountHBpositivedirectionRecosignal2 == 3)
8929 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 2; depth = 2 \b");
8930 if (kcountHBpositivedirectionRecosignal2 == 4)
8931 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 3; depth = 2 \b");
8932 if (kcountHBpositivedirectionRecosignal2 == 5)
8933 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 4; depth = 2 \b");
8934 if (kcountHBpositivedirectionRecosignal2 == 6)
8935 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 5; depth = 2 \b");
8936 if (kcountHBpositivedirectionRecosignal2 == 7)
8937 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 6; depth = 2 \b");
8938 if (kcountHBpositivedirectionRecosignal2 == 8)
8939 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 7; depth = 2 \b");
8940 if (kcountHBpositivedirectionRecosignal2 == 9)
8941 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 8; depth = 2 \b");
8942 if (kcountHBpositivedirectionRecosignal2 == 10)
8943 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 9; depth = 2 \b");
8944 if (kcountHBpositivedirectionRecosignal2 == 11)
8945 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 10; depth = 2 \b");
8946 if (kcountHBpositivedirectionRecosignal2 == 12)
8947 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 11; depth = 2 \b");
8948 if (kcountHBpositivedirectionRecosignal2 == 13)
8949 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 12; depth = 2 \b");
8950 if (kcountHBpositivedirectionRecosignal2 == 14)
8951 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 13; depth = 2 \b");
8952 if (kcountHBpositivedirectionRecosignal2 == 15)
8953 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 14; depth = 2 \b");
8954 if (kcountHBpositivedirectionRecosignal2 == 16)
8955 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 15; depth = 2 \b");
8956 HBpositivedirectionRecosignal2->Draw(
"Error");
8957 kcountHBpositivedirectionRecosignal2++;
8958 if (kcountHBpositivedirectionRecosignal2 > 16)
8967 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png");
8970 if (h2CeffHBpositivedirectionRecosignal2)
8971 delete h2CeffHBpositivedirectionRecosignal2;
8980 int kcountHBpositivedirectionRecosignal3 = 1;
8981 TH1F *h2CeffHBpositivedirectionRecosignal3 =
new TH1F(
"h2CeffHBpositivedirectionRecosignal3",
"",
nphi, 0., 72.);
8984 if (
jeta - 41 >= 0) {
8987 for (
int i = 2;
i < 3;
i++) {
8988 TH1F *HBpositivedirectionRecosignal3 = (TH1F *)h2CeffHBpositivedirectionRecosignal3->Clone(
"twod1");
8990 for (
int jphi = 0; jphi <
nphi; jphi++) {
8991 double ccc1 = arecosignalHB[
i][
jeta][jphi];
8993 HBpositivedirectionRecosignal3->Fill(jphi, ccc1);
8999 c3x5->cd(kcountHBpositivedirectionRecosignal3);
9000 HBpositivedirectionRecosignal3->SetMarkerStyle(20);
9001 HBpositivedirectionRecosignal3->SetMarkerSize(0.4);
9002 HBpositivedirectionRecosignal3->GetYaxis()->SetLabelSize(0.04);
9003 HBpositivedirectionRecosignal3->SetXTitle(
"HBpositivedirectionRecosignal3 \b");
9004 HBpositivedirectionRecosignal3->SetMarkerColor(2);
9005 HBpositivedirectionRecosignal3->SetLineColor(0);
9009 if (kcountHBpositivedirectionRecosignal3 == 1)
9010 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
9011 if (kcountHBpositivedirectionRecosignal3 == 2)
9012 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 1; depth = 3 \b");
9013 if (kcountHBpositivedirectionRecosignal3 == 3)
9014 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 2; depth = 3 \b");
9015 if (kcountHBpositivedirectionRecosignal3 == 4)
9016 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 3; depth = 3 \b");
9017 if (kcountHBpositivedirectionRecosignal3 == 5)
9018 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 4; depth = 3 \b");
9019 if (kcountHBpositivedirectionRecosignal3 == 6)
9020 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 5; depth = 3 \b");
9021 if (kcountHBpositivedirectionRecosignal3 == 7)
9022 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 6; depth = 3 \b");
9023 if (kcountHBpositivedirectionRecosignal3 == 8)
9024 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 7; depth = 3 \b");
9025 if (kcountHBpositivedirectionRecosignal3 == 9)
9026 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 8; depth = 3 \b");
9027 if (kcountHBpositivedirectionRecosignal3 == 10)
9028 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 9; depth = 3 \b");
9029 if (kcountHBpositivedirectionRecosignal3 == 11)
9030 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
9031 if (kcountHBpositivedirectionRecosignal3 == 12)
9032 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 11; depth = 3 \b");
9033 if (kcountHBpositivedirectionRecosignal3 == 13)
9034 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 12; depth = 3 \b");
9035 if (kcountHBpositivedirectionRecosignal3 == 14)
9036 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 13; depth = 3 \b");
9037 if (kcountHBpositivedirectionRecosignal3 == 15)
9038 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 14; depth = 3 \b");
9039 if (kcountHBpositivedirectionRecosignal3 == 16)
9040 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 15; depth = 3 \b");
9041 HBpositivedirectionRecosignal3->Draw(
"Error");
9042 kcountHBpositivedirectionRecosignal3++;
9043 if (kcountHBpositivedirectionRecosignal3 > 16)
9052 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png");
9055 if (h2CeffHBpositivedirectionRecosignal3)
9056 delete h2CeffHBpositivedirectionRecosignal3;
9065 int kcountHBpositivedirectionRecosignal4 = 1;
9066 TH1F *h2CeffHBpositivedirectionRecosignal4 =
new TH1F(
"h2CeffHBpositivedirectionRecosignal4",
"",
nphi, 0., 72.);
9070 if (
jeta - 41 >= 0) {
9073 for (
int i = 3;
i < 4;
i++) {
9074 TH1F *HBpositivedirectionRecosignal4 = (TH1F *)h2CeffHBpositivedirectionRecosignal4->Clone(
"twod1");
9077 for (
int jphi = 0; jphi <
nphi; jphi++) {
9078 double ccc1 = arecosignalHB[
i][
jeta][jphi];
9080 HBpositivedirectionRecosignal4->Fill(jphi, ccc1);
9086 c3x5->cd(kcountHBpositivedirectionRecosignal4);
9087 HBpositivedirectionRecosignal4->SetMarkerStyle(20);
9088 HBpositivedirectionRecosignal4->SetMarkerSize(0.4);
9089 HBpositivedirectionRecosignal4->GetYaxis()->SetLabelSize(0.04);
9090 HBpositivedirectionRecosignal4->SetXTitle(
"HBpositivedirectionRecosignal4 \b");
9091 HBpositivedirectionRecosignal4->SetMarkerColor(2);
9092 HBpositivedirectionRecosignal4->SetLineColor(0);
9096 if (kcountHBpositivedirectionRecosignal4 == 1)
9097 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 0; depth = 4 \b");
9098 if (kcountHBpositivedirectionRecosignal4 == 2)
9099 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 1; depth = 4 \b");
9100 if (kcountHBpositivedirectionRecosignal4 == 3)
9101 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 2; depth = 4 \b");
9102 if (kcountHBpositivedirectionRecosignal4 == 4)
9103 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 3; depth = 4 \b");
9104 if (kcountHBpositivedirectionRecosignal4 == 5)
9105 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 4; depth = 4 \b");
9106 if (kcountHBpositivedirectionRecosignal4 == 6)
9107 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 5; depth = 4 \b");
9108 if (kcountHBpositivedirectionRecosignal4 == 7)
9109 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 6; depth = 4 \b");
9110 if (kcountHBpositivedirectionRecosignal4 == 8)
9111 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 7; depth = 4 \b");
9112 if (kcountHBpositivedirectionRecosignal4 == 9)
9113 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 8; depth = 4 \b");
9114 if (kcountHBpositivedirectionRecosignal4 == 10)
9115 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 9; depth = 4 \b");
9116 if (kcountHBpositivedirectionRecosignal4 == 11)
9117 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 10; depth = 4 \b");
9118 if (kcountHBpositivedirectionRecosignal4 == 12)
9119 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 11; depth = 4 \b");
9120 if (kcountHBpositivedirectionRecosignal4 == 13)
9121 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 12; depth = 4 \b");
9122 if (kcountHBpositivedirectionRecosignal4 == 14)
9123 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 13; depth = 4 \b");
9124 if (kcountHBpositivedirectionRecosignal4 == 15)
9125 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 14; depth = 4 \b");
9126 if (kcountHBpositivedirectionRecosignal4 == 16)
9127 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 15; depth = 4 \b");
9128 HBpositivedirectionRecosignal4->Draw(
"Error");
9129 kcountHBpositivedirectionRecosignal4++;
9130 if (kcountHBpositivedirectionRecosignal4 > 16)
9139 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png");
9142 if (h2CeffHBpositivedirectionRecosignal4)
9143 delete h2CeffHBpositivedirectionRecosignal4;
9153 int kcountHBnegativedirectionRecosignal1 = 1;
9154 TH1F *h2CeffHBnegativedirectionRecosignal1 =
new TH1F(
"h2CeffHBnegativedirectionRecosignal1",
"",
nphi, 0., 72.);
9157 if (
jeta - 41 < 0) {
9160 for (
int i = 0;
i < 1;
i++) {
9161 TH1F *HBnegativedirectionRecosignal1 = (TH1F *)h2CeffHBnegativedirectionRecosignal1->Clone(
"twod1");
9163 for (
int jphi = 0; jphi <
nphi; jphi++) {
9164 double ccc1 = arecosignalHB[
i][
jeta][jphi];
9166 HBnegativedirectionRecosignal1->Fill(jphi, ccc1);
9172 c3x5->cd(kcountHBnegativedirectionRecosignal1);
9173 HBnegativedirectionRecosignal1->SetMarkerStyle(20);
9174 HBnegativedirectionRecosignal1->SetMarkerSize(0.4);
9175 HBnegativedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
9176 HBnegativedirectionRecosignal1->SetXTitle(
"HBnegativedirectionRecosignal1 \b");
9177 HBnegativedirectionRecosignal1->SetMarkerColor(2);
9178 HBnegativedirectionRecosignal1->SetLineColor(0);
9182 if (kcountHBnegativedirectionRecosignal1 == 1)
9183 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -16; depth = 1 \b");
9184 if (kcountHBnegativedirectionRecosignal1 == 2)
9185 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -15; depth = 1 \b");
9186 if (kcountHBnegativedirectionRecosignal1 == 3)
9187 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -14; depth = 1 \b");
9188 if (kcountHBnegativedirectionRecosignal1 == 4)
9189 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -13; depth = 1 \b");
9190 if (kcountHBnegativedirectionRecosignal1 == 5)
9191 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -12; depth = 1 \b");
9192 if (kcountHBnegativedirectionRecosignal1 == 6)
9193 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -11; depth = 1 \b");
9194 if (kcountHBnegativedirectionRecosignal1 == 7)
9195 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -10; depth = 1 \b");
9196 if (kcountHBnegativedirectionRecosignal1 == 8)
9197 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -9; depth = 1 \b");
9198 if (kcountHBnegativedirectionRecosignal1 == 9)
9199 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -8; depth = 1 \b");
9200 if (kcountHBnegativedirectionRecosignal1 == 10)
9201 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -7; depth = 1 \b");
9202 if (kcountHBnegativedirectionRecosignal1 == 11)
9203 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -6; depth = 1 \b");
9204 if (kcountHBnegativedirectionRecosignal1 == 12)
9205 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -5; depth = 1 \b");
9206 if (kcountHBnegativedirectionRecosignal1 == 13)
9207 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -4; depth = 1 \b");
9208 if (kcountHBnegativedirectionRecosignal1 == 14)
9209 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -3; depth = 1 \b");
9210 if (kcountHBnegativedirectionRecosignal1 == 15)
9211 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -2; depth = 1 \b");
9212 if (kcountHBnegativedirectionRecosignal1 == 16)
9213 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -1; depth = 1 \b");
9214 HBnegativedirectionRecosignal1->Draw(
"Error");
9215 kcountHBnegativedirectionRecosignal1++;
9216 if (kcountHBnegativedirectionRecosignal1 > 16)
9225 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
9228 if (h2CeffHBnegativedirectionRecosignal1)
9229 delete h2CeffHBnegativedirectionRecosignal1;
9239 int kcountHBnegativedirectionRecosignal2 = 1;
9240 TH1F *h2CeffHBnegativedirectionRecosignal2 =
new TH1F(
"h2CeffHBnegativedirectionRecosignal2",
"",
nphi, 0., 72.);
9243 if (
jeta - 41 < 0) {
9246 for (
int i = 1;
i < 2;
i++) {
9247 TH1F *HBnegativedirectionRecosignal2 = (TH1F *)h2CeffHBnegativedirectionRecosignal2->Clone(
"twod1");
9249 for (
int jphi = 0; jphi <
nphi; jphi++) {
9250 double ccc1 = arecosignalHB[
i][
jeta][jphi];
9252 HBnegativedirectionRecosignal2->Fill(jphi, ccc1);
9258 c3x5->cd(kcountHBnegativedirectionRecosignal2);
9259 HBnegativedirectionRecosignal2->SetMarkerStyle(20);
9260 HBnegativedirectionRecosignal2->SetMarkerSize(0.4);
9261 HBnegativedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
9262 HBnegativedirectionRecosignal2->SetXTitle(
"HBnegativedirectionRecosignal2 \b");
9263 HBnegativedirectionRecosignal2->SetMarkerColor(2);
9264 HBnegativedirectionRecosignal2->SetLineColor(0);
9268 if (kcountHBnegativedirectionRecosignal2 == 1)
9269 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -16; depth = 2 \b");
9270 if (kcountHBnegativedirectionRecosignal2 == 2)
9271 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -15; depth = 2 \b");
9272 if (kcountHBnegativedirectionRecosignal2 == 3)
9273 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -14; depth = 2 \b");
9274 if (kcountHBnegativedirectionRecosignal2 == 4)
9275 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -13; depth = 2 \b");
9276 if (kcountHBnegativedirectionRecosignal2 == 5)
9277 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -12; depth = 2 \b");
9278 if (kcountHBnegativedirectionRecosignal2 == 6)
9279 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -11; depth = 2 \b");
9280 if (kcountHBnegativedirectionRecosignal2 == 7)
9281 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -10; depth = 2 \b");
9282 if (kcountHBnegativedirectionRecosignal2 == 8)
9283 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -9; depth = 2 \b");
9284 if (kcountHBnegativedirectionRecosignal2 == 9)
9285 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -8; depth = 2 \b");
9286 if (kcountHBnegativedirectionRecosignal2 == 10)
9287 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -7; depth = 2 \b");
9288 if (kcountHBnegativedirectionRecosignal2 == 11)
9289 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -6; depth = 2 \b");
9290 if (kcountHBnegativedirectionRecosignal2 == 12)
9291 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -5; depth = 2 \b");
9292 if (kcountHBnegativedirectionRecosignal2 == 13)
9293 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -4; depth = 2 \b");
9294 if (kcountHBnegativedirectionRecosignal2 == 14)
9295 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -3; depth = 2 \b");
9296 if (kcountHBnegativedirectionRecosignal2 == 15)
9297 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -2; depth = 2 \b");
9298 if (kcountHBnegativedirectionRecosignal2 == 16)
9299 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -1; depth = 2 \b");
9300 HBnegativedirectionRecosignal2->Draw(
"Error");
9301 kcountHBnegativedirectionRecosignal2++;
9302 if (kcountHBnegativedirectionRecosignal2 > 16)
9311 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
9314 if (h2CeffHBnegativedirectionRecosignal2)
9315 delete h2CeffHBnegativedirectionRecosignal2;
9324 int kcountHBnegativedirectionRecosignal3 = 1;
9325 TH1F *h2CeffHBnegativedirectionRecosignal3 =
new TH1F(
"h2CeffHBnegativedirectionRecosignal3",
"",
nphi, 0., 72.);
9328 if (
jeta - 41 < 0) {
9331 for (
int i = 2;
i < 3;
i++) {
9332 TH1F *HBnegativedirectionRecosignal3 = (TH1F *)h2CeffHBnegativedirectionRecosignal3->Clone(
"twod1");
9334 for (
int jphi = 0; jphi <
nphi; jphi++) {
9335 double ccc1 = arecosignalHB[
i][
jeta][jphi];
9337 HBnegativedirectionRecosignal3->Fill(jphi, ccc1);
9343 c3x5->cd(kcountHBnegativedirectionRecosignal3);
9344 HBnegativedirectionRecosignal3->SetMarkerStyle(20);
9345 HBnegativedirectionRecosignal3->SetMarkerSize(0.4);
9346 HBnegativedirectionRecosignal3->GetYaxis()->SetLabelSize(0.04);
9347 HBnegativedirectionRecosignal3->SetXTitle(
"HBnegativedirectionRecosignal3 \b");
9348 HBnegativedirectionRecosignal3->SetMarkerColor(2);
9349 HBnegativedirectionRecosignal3->SetLineColor(0);
9353 if (kcountHBnegativedirectionRecosignal3 == 1)
9354 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -16; depth = 3 \b");
9355 if (kcountHBnegativedirectionRecosignal3 == 2)
9356 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -15; depth = 3 \b");
9357 if (kcountHBnegativedirectionRecosignal3 == 3)
9358 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -14; depth = 3 \b");
9359 if (kcountHBnegativedirectionRecosignal3 == 4)
9360 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -13; depth = 3 \b");
9361 if (kcountHBnegativedirectionRecosignal3 == 5)
9362 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -12; depth = 3 \b");
9363 if (kcountHBnegativedirectionRecosignal3 == 6)
9364 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -11; depth = 3 \b");
9365 if (kcountHBnegativedirectionRecosignal3 == 7)
9366 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -10; depth = 3 \b");
9367 if (kcountHBnegativedirectionRecosignal3 == 8)
9368 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -9; depth = 3 \b");
9369 if (kcountHBnegativedirectionRecosignal3 == 9)
9370 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -8; depth = 3 \b");
9371 if (kcountHBnegativedirectionRecosignal3 == 10)
9372 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -7; depth = 3 \b");
9373 if (kcountHBnegativedirectionRecosignal3 == 11)
9374 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -6; depth = 3 \b");
9375 if (kcountHBnegativedirectionRecosignal3 == 12)
9376 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -5; depth = 3 \b");
9377 if (kcountHBnegativedirectionRecosignal3 == 13)
9378 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -4; depth = 3 \b");
9379 if (kcountHBnegativedirectionRecosignal3 == 14)
9380 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -3; depth = 3 \b");
9381 if (kcountHBnegativedirectionRecosignal3 == 15)
9382 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -2; depth = 3 \b");
9383 if (kcountHBnegativedirectionRecosignal3 == 16)
9384 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -1; depth = 3 \b");
9386 HBnegativedirectionRecosignal3->Draw(
"Error");
9387 kcountHBnegativedirectionRecosignal3++;
9388 if (kcountHBnegativedirectionRecosignal3 > 16)
9397 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
9400 if (h2CeffHBnegativedirectionRecosignal3)
9401 delete h2CeffHBnegativedirectionRecosignal3;
9410 int kcountHBnegativedirectionRecosignal4 = 1;
9411 TH1F *h2CeffHBnegativedirectionRecosignal4 =
new TH1F(
"h2CeffHBnegativedirectionRecosignal4",
"",
nphi, 0., 72.);
9415 if (
jeta - 41 < 0) {
9418 for (
int i = 3;
i < 4;
i++) {
9419 TH1F *HBnegativedirectionRecosignal4 = (TH1F *)h2CeffHBnegativedirectionRecosignal4->Clone(
"twod1");
9422 for (
int jphi = 0; jphi <
nphi; jphi++) {
9423 double ccc1 = arecosignalHB[
i][
jeta][jphi];
9425 HBnegativedirectionRecosignal4->Fill(jphi, ccc1);
9431 c3x5->cd(kcountHBnegativedirectionRecosignal4);
9432 HBnegativedirectionRecosignal4->SetMarkerStyle(20);
9433 HBnegativedirectionRecosignal4->SetMarkerSize(0.4);
9434 HBnegativedirectionRecosignal4->GetYaxis()->SetLabelSize(0.04);
9435 HBnegativedirectionRecosignal4->SetXTitle(
"HBnegativedirectionRecosignal4 \b");
9436 HBnegativedirectionRecosignal4->SetMarkerColor(2);
9437 HBnegativedirectionRecosignal4->SetLineColor(0);
9441 if (kcountHBnegativedirectionRecosignal4 == 1)
9442 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -16; depth = 4 \b");
9443 if (kcountHBnegativedirectionRecosignal4 == 2)
9444 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -15; depth = 4 \b");
9445 if (kcountHBnegativedirectionRecosignal4 == 3)
9446 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -14; depth = 4 \b");
9447 if (kcountHBnegativedirectionRecosignal4 == 4)
9448 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -13; depth = 4 \b");
9449 if (kcountHBnegativedirectionRecosignal4 == 5)
9450 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -12; depth = 4 \b");
9451 if (kcountHBnegativedirectionRecosignal4 == 6)
9452 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -11; depth = 4 \b");
9453 if (kcountHBnegativedirectionRecosignal4 == 7)
9454 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -10; depth = 4 \b");
9455 if (kcountHBnegativedirectionRecosignal4 == 8)
9456 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -9; depth = 4 \b");
9457 if (kcountHBnegativedirectionRecosignal4 == 9)
9458 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -8; depth = 4 \b");
9459 if (kcountHBnegativedirectionRecosignal4 == 10)
9460 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -7; depth = 4 \b");
9461 if (kcountHBnegativedirectionRecosignal4 == 11)
9462 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -6; depth = 4 \b");
9463 if (kcountHBnegativedirectionRecosignal4 == 12)
9464 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -5; depth = 4 \b");
9465 if (kcountHBnegativedirectionRecosignal4 == 13)
9466 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -4; depth = 4 \b");
9467 if (kcountHBnegativedirectionRecosignal4 == 14)
9468 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -3; depth = 4 \b");
9469 if (kcountHBnegativedirectionRecosignal4 == 15)
9470 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -2; depth = 4 \b");
9471 if (kcountHBnegativedirectionRecosignal4 == 16)
9472 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -1; depth = 4 \b");
9473 HBnegativedirectionRecosignal4->Draw(
"Error");
9474 kcountHBnegativedirectionRecosignal4++;
9475 if (kcountHBnegativedirectionRecosignal4 > 16)
9484 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
9487 if (h2CeffHBnegativedirectionRecosignal4)
9488 delete h2CeffHBnegativedirectionRecosignal4;
9496 TH2F *recosignalVariance1HB1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HB1");
9497 TH2F *recosignalVariance0HB1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB1");
9498 TH2F *recosignalVarianceHB1 = (TH2F *)recosignalVariance1HB1->Clone(
"recosignalVarianceHB1");
9499 recosignalVarianceHB1->Divide(recosignalVariance1HB1, recosignalVariance0HB1, 1, 1,
"B");
9500 TH2F *recosignalVariance1HB2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HB2");
9501 TH2F *recosignalVariance0HB2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB2");
9502 TH2F *recosignalVarianceHB2 = (TH2F *)recosignalVariance1HB2->Clone(
"recosignalVarianceHB2");
9503 recosignalVarianceHB2->Divide(recosignalVariance1HB2, recosignalVariance0HB2, 1, 1,
"B");
9504 TH2F *recosignalVariance1HB3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HB3");
9505 TH2F *recosignalVariance0HB3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB3");
9506 TH2F *recosignalVarianceHB3 = (TH2F *)recosignalVariance1HB3->Clone(
"recosignalVarianceHB3");
9507 recosignalVarianceHB3->Divide(recosignalVariance1HB3, recosignalVariance0HB3, 1, 1,
"B");
9508 TH2F *recosignalVariance1HB4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HB4");
9509 TH2F *recosignalVariance0HB4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB4");
9510 TH2F *recosignalVarianceHB4 = (TH2F *)recosignalVariance1HB4->Clone(
"recosignalVarianceHB4");
9511 recosignalVarianceHB4->Divide(recosignalVariance1HB4, recosignalVariance0HB4, 1, 1,
"B");
9517 double sumrecosignalHB0 = 0;
9518 int nsumrecosignalHB0 = 0;
9519 double sumrecosignalHB1 = 0;
9520 int nsumrecosignalHB1 = 0;
9521 double sumrecosignalHB2 = 0;
9522 int nsumrecosignalHB2 = 0;
9523 double sumrecosignalHB3 = 0;
9524 int nsumrecosignalHB3 = 0;
9525 for (
int jphi = 0; jphi < njphi; jphi++) {
9526 recosignalvarianceHB[0][
jeta][jphi] = recosignalVarianceHB1->GetBinContent(
jeta + 1, jphi + 1);
9527 recosignalvarianceHB[1][
jeta][jphi] = recosignalVarianceHB2->GetBinContent(
jeta + 1, jphi + 1);
9528 recosignalvarianceHB[2][
jeta][jphi] = recosignalVarianceHB3->GetBinContent(
jeta + 1, jphi + 1);
9529 recosignalvarianceHB[3][
jeta][jphi] = recosignalVarianceHB4->GetBinContent(
jeta + 1, jphi + 1);
9530 if (recosignalvarianceHB[0][
jeta][jphi] > 0.) {
9531 sumrecosignalHB0 += recosignalvarianceHB[0][
jeta][jphi];
9532 ++nsumrecosignalHB0;
9534 if (recosignalvarianceHB[1][
jeta][jphi] > 0.) {
9535 sumrecosignalHB1 += recosignalvarianceHB[1][
jeta][jphi];
9536 ++nsumrecosignalHB1;
9538 if (recosignalvarianceHB[2][
jeta][jphi] > 0.) {
9539 sumrecosignalHB2 += recosignalvarianceHB[2][
jeta][jphi];
9540 ++nsumrecosignalHB2;
9542 if (recosignalvarianceHB[3][
jeta][jphi] > 0.) {
9543 sumrecosignalHB3 += recosignalvarianceHB[3][
jeta][jphi];
9544 ++nsumrecosignalHB3;
9548 for (
int jphi = 0; jphi < njphi; jphi++) {
9549 if (recosignalvarianceHB[0][
jeta][jphi] > 0.)
9550 recosignalvarianceHB[0][
jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0);
9551 if (recosignalvarianceHB[1][
jeta][jphi] > 0.)
9552 recosignalvarianceHB[1][
jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1);
9553 if (recosignalvarianceHB[2][
jeta][jphi] > 0.)
9554 recosignalvarianceHB[2][
jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2);
9555 if (recosignalvarianceHB[3][
jeta][jphi] > 0.)
9556 recosignalvarianceHB[3][
jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3);
9559 for (
int jphi = 0; jphi < njphi; jphi++) {
9561 recosignalvarianceHB[0][
jeta][jphi] -= arecosignalHB[0][
jeta][jphi] * arecosignalHB[0][
jeta][jphi];
9562 recosignalvarianceHB[0][
jeta][jphi] = fabs(recosignalvarianceHB[0][
jeta][jphi]);
9563 recosignalvarianceHB[1][
jeta][jphi] -= arecosignalHB[1][
jeta][jphi] * arecosignalHB[1][
jeta][jphi];
9564 recosignalvarianceHB[1][
jeta][jphi] = fabs(recosignalvarianceHB[1][
jeta][jphi]);
9565 recosignalvarianceHB[2][
jeta][jphi] -= arecosignalHB[2][
jeta][jphi] * arecosignalHB[2][
jeta][jphi];
9566 recosignalvarianceHB[2][
jeta][jphi] = fabs(recosignalvarianceHB[2][
jeta][jphi]);
9567 recosignalvarianceHB[3][
jeta][jphi] -= arecosignalHB[3][
jeta][jphi] * arecosignalHB[3][
jeta][jphi];
9568 recosignalvarianceHB[3][
jeta][jphi] = fabs(recosignalvarianceHB[3][
jeta][jphi]);
9580 TH2F *DefzDrecosignalHB42D =
new TH2F(
"DefzDrecosignalHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
9581 TH2F *DefzDrecosignalHB42D0 =
new TH2F(
"DefzDrecosignalHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
9582 TH2F *DefzDrecosignalHB42DF = (TH2F *)DefzDrecosignalHB42D0->Clone(
"DefzDrecosignalHB42DF");
9585 for (
int jphi = 0; jphi <
nphi; jphi++) {
9586 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9587 int k2plot =
jeta - 41;
9589 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9590 DefzDrecosignalHB42D->Fill(kkk, jphi, ccc1);
9591 DefzDrecosignalHB42D0->Fill(kkk, jphi, 1.);
9596 DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D, DefzDrecosignalHB42D0, 1, 1,
"B");
9600 DefzDrecosignalHB42DF->SetMarkerStyle(20);
9601 DefzDrecosignalHB42DF->SetMarkerSize(0.4);
9602 DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08);
9603 DefzDrecosignalHB42DF->SetXTitle(
"<D>_depth #eta \b");
9604 DefzDrecosignalHB42DF->SetYTitle(
" #phi \b");
9605 DefzDrecosignalHB42DF->SetZTitle(
"<D>_depth \b");
9606 DefzDrecosignalHB42DF->SetMarkerColor(2);
9607 DefzDrecosignalHB42DF->SetLineColor(
9609 DefzDrecosignalHB42DF->Draw(
"COLZ");
9612 c1x0->Print(
"DrecosignalGeneralD2PhiSymmetryHB.png");
9615 if (DefzDrecosignalHB42D)
9616 delete DefzDrecosignalHB42D;
9617 if (DefzDrecosignalHB42D0)
9618 delete DefzDrecosignalHB42D0;
9619 if (DefzDrecosignalHB42DF)
9620 delete DefzDrecosignalHB42DF;
9628 TH1F *DefzDrecosignalHB41D =
new TH1F(
"DefzDrecosignalHB41D",
"",
nphi, 0., 72.);
9629 TH1F *DefzDrecosignalHB41D0 =
new TH1F(
"DefzDrecosignalHB41D0",
"",
nphi, 0., 72.);
9630 TH1F *DefzDrecosignalHB41DF = (TH1F *)DefzDrecosignalHB41D0->Clone(
"DefzDrecosignalHB41DF");
9632 for (
int jphi = 0; jphi <
nphi; jphi++) {
9635 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9636 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9637 DefzDrecosignalHB41D->Fill(jphi, ccc1);
9638 DefzDrecosignalHB41D0->Fill(jphi, 1.);
9645 DefzDrecosignalHB41DF->Divide(
9646 DefzDrecosignalHB41D, DefzDrecosignalHB41D0, 1, 1,
"B");
9647 DefzDrecosignalHB41D0->Sumw2();
9651 DefzDrecosignalHB41DF->SetMarkerStyle(20);
9652 DefzDrecosignalHB41DF->SetMarkerSize(1.4);
9653 DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08);
9654 DefzDrecosignalHB41DF->SetXTitle(
"#phi \b");
9655 DefzDrecosignalHB41DF->SetYTitle(
" <D> \b");
9656 DefzDrecosignalHB41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
9657 DefzDrecosignalHB41DF->SetMarkerColor(4);
9658 DefzDrecosignalHB41DF->SetLineColor(
9660 DefzDrecosignalHB41DF->Draw(
"Error");
9663 c1x1->Print(
"DrecosignalGeneralD1PhiSymmetryHB.png");
9666 if (DefzDrecosignalHB41D)
9667 delete DefzDrecosignalHB41D;
9668 if (DefzDrecosignalHB41D0)
9669 delete DefzDrecosignalHB41D0;
9670 if (DefzDrecosignalHB41DF)
9671 delete DefzDrecosignalHB41DF;
9681 int kcountHBpositivedirectionRecosignalD1 = 1;
9682 TH1F *h2CeffHBpositivedirectionRecosignalD1 =
new TH1F(
"h2CeffHBpositivedirectionRecosignalD1",
"",
nphi, 0., 72.);
9686 if (
jeta - 41 >= 0) {
9689 for (
int i = 0;
i < 1;
i++) {
9690 TH1F *HBpositivedirectionRecosignalD1 = (TH1F *)h2CeffHBpositivedirectionRecosignalD1->Clone(
"twod1");
9693 for (
int jphi = 0; jphi <
nphi; jphi++) {
9694 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9695 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9696 HBpositivedirectionRecosignalD1->Fill(jphi, ccc1);
9702 c3x5->cd(kcountHBpositivedirectionRecosignalD1);
9703 HBpositivedirectionRecosignalD1->SetMarkerStyle(20);
9704 HBpositivedirectionRecosignalD1->SetMarkerSize(0.4);
9705 HBpositivedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
9706 HBpositivedirectionRecosignalD1->SetXTitle(
"HBpositivedirectionRecosignalD1 \b");
9707 HBpositivedirectionRecosignalD1->SetMarkerColor(2);
9708 HBpositivedirectionRecosignalD1->SetLineColor(0);
9712 if (kcountHBpositivedirectionRecosignalD1 == 1)
9713 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 0; depth = 1 \b");
9714 if (kcountHBpositivedirectionRecosignalD1 == 2)
9715 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 1; depth = 1 \b");
9716 if (kcountHBpositivedirectionRecosignalD1 == 3)
9717 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 2; depth = 1 \b");
9718 if (kcountHBpositivedirectionRecosignalD1 == 4)
9719 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 3; depth = 1 \b");
9720 if (kcountHBpositivedirectionRecosignalD1 == 5)
9721 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 4; depth = 1 \b");
9722 if (kcountHBpositivedirectionRecosignalD1 == 6)
9723 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 5; depth = 1 \b");
9724 if (kcountHBpositivedirectionRecosignalD1 == 7)
9725 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 6; depth = 1 \b");
9726 if (kcountHBpositivedirectionRecosignalD1 == 8)
9727 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 7; depth = 1 \b");
9728 if (kcountHBpositivedirectionRecosignalD1 == 9)
9729 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 8; depth = 1 \b");
9730 if (kcountHBpositivedirectionRecosignalD1 == 10)
9731 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 9; depth = 1 \b");
9732 if (kcountHBpositivedirectionRecosignalD1 == 11)
9733 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 10; depth = 1 \b");
9734 if (kcountHBpositivedirectionRecosignalD1 == 12)
9735 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 11; depth = 1 \b");
9736 if (kcountHBpositivedirectionRecosignalD1 == 13)
9737 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 12; depth = 1 \b");
9738 if (kcountHBpositivedirectionRecosignalD1 == 14)
9739 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 13; depth = 1 \b");
9740 if (kcountHBpositivedirectionRecosignalD1 == 15)
9741 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 14; depth = 1 \b");
9742 if (kcountHBpositivedirectionRecosignalD1 == 16)
9743 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 15; depth = 1 \b");
9744 HBpositivedirectionRecosignalD1->Draw(
"Error");
9745 kcountHBpositivedirectionRecosignalD1++;
9746 if (kcountHBpositivedirectionRecosignalD1 > 16)
9755 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png");
9758 if (h2CeffHBpositivedirectionRecosignalD1)
9759 delete h2CeffHBpositivedirectionRecosignalD1;
9767 int kcountHBpositivedirectionRecosignalD2 = 1;
9768 TH1F *h2CeffHBpositivedirectionRecosignalD2 =
new TH1F(
"h2CeffHBpositivedirectionRecosignalD2",
"",
nphi, 0., 72.);
9772 if (
jeta - 41 >= 0) {
9775 for (
int i = 1;
i < 2;
i++) {
9776 TH1F *HBpositivedirectionRecosignalD2 = (TH1F *)h2CeffHBpositivedirectionRecosignalD2->Clone(
"twod1");
9779 for (
int jphi = 0; jphi <
nphi; jphi++) {
9780 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9781 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9782 HBpositivedirectionRecosignalD2->Fill(jphi, ccc1);
9788 c3x5->cd(kcountHBpositivedirectionRecosignalD2);
9789 HBpositivedirectionRecosignalD2->SetMarkerStyle(20);
9790 HBpositivedirectionRecosignalD2->SetMarkerSize(0.4);
9791 HBpositivedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
9792 HBpositivedirectionRecosignalD2->SetXTitle(
"HBpositivedirectionRecosignalD2 \b");
9793 HBpositivedirectionRecosignalD2->SetMarkerColor(2);
9794 HBpositivedirectionRecosignalD2->SetLineColor(0);
9798 if (kcountHBpositivedirectionRecosignalD2 == 1)
9799 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 0; depth = 2 \b");
9800 if (kcountHBpositivedirectionRecosignalD2 == 2)
9801 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 1; depth = 2 \b");
9802 if (kcountHBpositivedirectionRecosignalD2 == 3)
9803 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 2; depth = 2 \b");
9804 if (kcountHBpositivedirectionRecosignalD2 == 4)
9805 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 3; depth = 2 \b");
9806 if (kcountHBpositivedirectionRecosignalD2 == 5)
9807 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 4; depth = 2 \b");
9808 if (kcountHBpositivedirectionRecosignalD2 == 6)
9809 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 5; depth = 2 \b");
9810 if (kcountHBpositivedirectionRecosignalD2 == 7)
9811 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 6; depth = 2 \b");
9812 if (kcountHBpositivedirectionRecosignalD2 == 8)
9813 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 7; depth = 2 \b");
9814 if (kcountHBpositivedirectionRecosignalD2 == 9)
9815 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 8; depth = 2 \b");
9816 if (kcountHBpositivedirectionRecosignalD2 == 10)
9817 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 9; depth = 2 \b");
9818 if (kcountHBpositivedirectionRecosignalD2 == 11)
9819 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 10; depth = 2 \b");
9820 if (kcountHBpositivedirectionRecosignalD2 == 12)
9821 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 11; depth = 2 \b");
9822 if (kcountHBpositivedirectionRecosignalD2 == 13)
9823 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 12; depth = 2 \b");
9824 if (kcountHBpositivedirectionRecosignalD2 == 14)
9825 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 13; depth = 2 \b");
9826 if (kcountHBpositivedirectionRecosignalD2 == 15)
9827 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 14; depth = 2 \b");
9828 if (kcountHBpositivedirectionRecosignalD2 == 16)
9829 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 15; depth = 2 \b");
9830 HBpositivedirectionRecosignalD2->Draw(
"Error");
9831 kcountHBpositivedirectionRecosignalD2++;
9832 if (kcountHBpositivedirectionRecosignalD2 > 16)
9841 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png");
9844 if (h2CeffHBpositivedirectionRecosignalD2)
9845 delete h2CeffHBpositivedirectionRecosignalD2;
9853 int kcountHBpositivedirectionRecosignalD3 = 1;
9854 TH1F *h2CeffHBpositivedirectionRecosignalD3 =
new TH1F(
"h2CeffHBpositivedirectionRecosignalD3",
"",
nphi, 0., 72.);
9858 if (
jeta - 41 >= 0) {
9861 for (
int i = 2;
i < 3;
i++) {
9862 TH1F *HBpositivedirectionRecosignalD3 = (TH1F *)h2CeffHBpositivedirectionRecosignalD3->Clone(
"twod1");
9865 for (
int jphi = 0; jphi <
nphi; jphi++) {
9866 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9867 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9868 HBpositivedirectionRecosignalD3->Fill(jphi, ccc1);
9874 c3x5->cd(kcountHBpositivedirectionRecosignalD3);
9875 HBpositivedirectionRecosignalD3->SetMarkerStyle(20);
9876 HBpositivedirectionRecosignalD3->SetMarkerSize(0.4);
9877 HBpositivedirectionRecosignalD3->GetYaxis()->SetLabelSize(0.04);
9878 HBpositivedirectionRecosignalD3->SetXTitle(
"HBpositivedirectionRecosignalD3 \b");
9879 HBpositivedirectionRecosignalD3->SetMarkerColor(2);
9880 HBpositivedirectionRecosignalD3->SetLineColor(0);
9884 if (kcountHBpositivedirectionRecosignalD3 == 1)
9885 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 0; depth = 3 \b");
9886 if (kcountHBpositivedirectionRecosignalD3 == 2)
9887 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 1; depth = 3 \b");
9888 if (kcountHBpositivedirectionRecosignalD3 == 3)
9889 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 2; depth = 3 \b");
9890 if (kcountHBpositivedirectionRecosignalD3 == 4)
9891 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 3; depth = 3 \b");
9892 if (kcountHBpositivedirectionRecosignalD3 == 5)
9893 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 4; depth = 3 \b");
9894 if (kcountHBpositivedirectionRecosignalD3 == 6)
9895 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 5; depth = 3 \b");
9896 if (kcountHBpositivedirectionRecosignalD3 == 7)
9897 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 6; depth = 3 \b");
9898 if (kcountHBpositivedirectionRecosignalD3 == 8)
9899 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 7; depth = 3 \b");
9900 if (kcountHBpositivedirectionRecosignalD3 == 9)
9901 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 8; depth = 3 \b");
9902 if (kcountHBpositivedirectionRecosignalD3 == 10)
9903 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 9; depth = 3 \b");
9904 if (kcountHBpositivedirectionRecosignalD3 == 11)
9905 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 10; depth = 3 \b");
9906 if (kcountHBpositivedirectionRecosignalD3 == 12)
9907 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 11; depth = 3 \b");
9908 if (kcountHBpositivedirectionRecosignalD3 == 13)
9909 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 12; depth = 3 \b");
9910 if (kcountHBpositivedirectionRecosignalD3 == 14)
9911 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 13; depth = 3 \b");
9912 if (kcountHBpositivedirectionRecosignalD3 == 15)
9913 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 14; depth = 3 \b");
9914 if (kcountHBpositivedirectionRecosignalD3 == 16)
9915 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 15; depth = 3 \b");
9916 HBpositivedirectionRecosignalD3->Draw(
"Error");
9917 kcountHBpositivedirectionRecosignalD3++;
9918 if (kcountHBpositivedirectionRecosignalD3 > 16)
9927 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png");
9930 if (h2CeffHBpositivedirectionRecosignalD3)
9931 delete h2CeffHBpositivedirectionRecosignalD3;
9939 int kcountHBpositivedirectionRecosignalD4 = 1;
9940 TH1F *h2CeffHBpositivedirectionRecosignalD4 =
new TH1F(
"h2CeffHBpositivedirectionRecosignalD4",
"",
nphi, 0., 72.);
9944 if (
jeta - 41 >= 0) {
9947 for (
int i = 3;
i < 4;
i++) {
9948 TH1F *HBpositivedirectionRecosignalD4 = (TH1F *)h2CeffHBpositivedirectionRecosignalD4->Clone(
"twod1");
9951 for (
int jphi = 0; jphi <
nphi; jphi++) {
9952 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9953 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9954 HBpositivedirectionRecosignalD4->Fill(jphi, ccc1);
9960 c3x5->cd(kcountHBpositivedirectionRecosignalD4);
9961 HBpositivedirectionRecosignalD4->SetMarkerStyle(20);
9962 HBpositivedirectionRecosignalD4->SetMarkerSize(0.4);
9963 HBpositivedirectionRecosignalD4->GetYaxis()->SetLabelSize(0.04);
9964 HBpositivedirectionRecosignalD4->SetXTitle(
"HBpositivedirectionRecosignalD4 \b");
9965 HBpositivedirectionRecosignalD4->SetMarkerColor(2);
9966 HBpositivedirectionRecosignalD4->SetLineColor(0);
9970 if (kcountHBpositivedirectionRecosignalD4 == 1)
9971 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 0; depth = 4 \b");
9972 if (kcountHBpositivedirectionRecosignalD4 == 2)
9973 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 1; depth = 4 \b");
9974 if (kcountHBpositivedirectionRecosignalD4 == 3)
9975 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 2; depth = 4 \b");
9976 if (kcountHBpositivedirectionRecosignalD4 == 4)
9977 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 3; depth = 4 \b");
9978 if (kcountHBpositivedirectionRecosignalD4 == 5)
9979 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 4; depth = 4 \b");
9980 if (kcountHBpositivedirectionRecosignalD4 == 6)
9981 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 5; depth = 4 \b");
9982 if (kcountHBpositivedirectionRecosignalD4 == 7)
9983 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 6; depth = 4 \b");
9984 if (kcountHBpositivedirectionRecosignalD4 == 8)
9985 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 7; depth = 4 \b");
9986 if (kcountHBpositivedirectionRecosignalD4 == 9)
9987 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 8; depth = 4 \b");
9988 if (kcountHBpositivedirectionRecosignalD4 == 10)
9989 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 9; depth = 4 \b");
9990 if (kcountHBpositivedirectionRecosignalD4 == 11)
9991 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 10; depth = 4 \b");
9992 if (kcountHBpositivedirectionRecosignalD4 == 12)
9993 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 11; depth = 4 \b");
9994 if (kcountHBpositivedirectionRecosignalD4 == 13)
9995 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 12; depth = 4 \b");
9996 if (kcountHBpositivedirectionRecosignalD4 == 14)
9997 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 13; depth = 4 \b");
9998 if (kcountHBpositivedirectionRecosignalD4 == 15)
9999 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 14; depth = 4 \b");
10000 if (kcountHBpositivedirectionRecosignalD4 == 16)
10001 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 15; depth = 4 \b");
10002 HBpositivedirectionRecosignalD4->Draw(
"Error");
10003 kcountHBpositivedirectionRecosignalD4++;
10004 if (kcountHBpositivedirectionRecosignalD4 > 16)
10013 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png");
10016 if (h2CeffHBpositivedirectionRecosignalD4)
10017 delete h2CeffHBpositivedirectionRecosignalD4;
10025 c3x5->Divide(4, 4);
10027 int kcountHBnegativedirectionRecosignalD1 = 1;
10028 TH1F *h2CeffHBnegativedirectionRecosignalD1 =
new TH1F(
"h2CeffHBnegativedirectionRecosignalD1",
"",
nphi, 0., 72.);
10032 if (
jeta - 41 < 0) {
10035 for (
int i = 0;
i < 1;
i++) {
10036 TH1F *HBnegativedirectionRecosignalD1 = (TH1F *)h2CeffHBnegativedirectionRecosignalD1->Clone(
"twod1");
10039 for (
int jphi = 0; jphi <
nphi; jphi++) {
10040 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
10041 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
10042 HBnegativedirectionRecosignalD1->Fill(jphi, ccc1);
10046 if (ccctest > 0.) {
10048 c3x5->cd(kcountHBnegativedirectionRecosignalD1);
10049 HBnegativedirectionRecosignalD1->SetMarkerStyle(20);
10050 HBnegativedirectionRecosignalD1->SetMarkerSize(0.4);
10051 HBnegativedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
10052 HBnegativedirectionRecosignalD1->SetXTitle(
"HBnegativedirectionRecosignalD1 \b");
10053 HBnegativedirectionRecosignalD1->SetMarkerColor(2);
10054 HBnegativedirectionRecosignalD1->SetLineColor(0);
10058 if (kcountHBnegativedirectionRecosignalD1 == 1)
10059 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -16; depth = 1 \b");
10060 if (kcountHBnegativedirectionRecosignalD1 == 2)
10061 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -15; depth = 1 \b");
10062 if (kcountHBnegativedirectionRecosignalD1 == 3)
10063 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -14; depth = 1 \b");
10064 if (kcountHBnegativedirectionRecosignalD1 == 4)
10065 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -13; depth = 1 \b");
10066 if (kcountHBnegativedirectionRecosignalD1 == 5)
10067 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -12; depth = 1 \b");
10068 if (kcountHBnegativedirectionRecosignalD1 == 6)
10069 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -11; depth = 1 \b");
10070 if (kcountHBnegativedirectionRecosignalD1 == 7)
10071 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -10; depth = 1 \b");
10072 if (kcountHBnegativedirectionRecosignalD1 == 8)
10073 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -9; depth = 1 \b");
10074 if (kcountHBnegativedirectionRecosignalD1 == 9)
10075 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -8; depth = 1 \b");
10076 if (kcountHBnegativedirectionRecosignalD1 == 10)
10077 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -7; depth = 1 \b");
10078 if (kcountHBnegativedirectionRecosignalD1 == 11)
10079 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -6; depth = 1 \b");
10080 if (kcountHBnegativedirectionRecosignalD1 == 12)
10081 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -5; depth = 1 \b");
10082 if (kcountHBnegativedirectionRecosignalD1 == 13)
10083 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -4; depth = 1 \b");
10084 if (kcountHBnegativedirectionRecosignalD1 == 14)
10085 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -3; depth = 1 \b");
10086 if (kcountHBnegativedirectionRecosignalD1 == 15)
10087 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -2; depth = 1 \b");
10088 if (kcountHBnegativedirectionRecosignalD1 == 16)
10089 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -1; depth = 1 \b");
10090 HBnegativedirectionRecosignalD1->Draw(
"Error");
10091 kcountHBnegativedirectionRecosignalD1++;
10092 if (kcountHBnegativedirectionRecosignalD1 > 16)
10101 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
10104 if (h2CeffHBnegativedirectionRecosignalD1)
10105 delete h2CeffHBnegativedirectionRecosignalD1;
10111 c3x5->Divide(4, 4);
10113 int kcountHBnegativedirectionRecosignalD2 = 1;
10114 TH1F *h2CeffHBnegativedirectionRecosignalD2 =
new TH1F(
"h2CeffHBnegativedirectionRecosignalD2",
"",
nphi, 0., 72.);
10118 if (
jeta - 41 < 0) {
10121 for (
int i = 1;
i < 2;
i++) {
10122 TH1F *HBnegativedirectionRecosignalD2 = (TH1F *)h2CeffHBnegativedirectionRecosignalD2->Clone(
"twod1");
10125 for (
int jphi = 0; jphi <
nphi; jphi++) {
10126 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
10127 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
10128 HBnegativedirectionRecosignalD2->Fill(jphi, ccc1);
10132 if (ccctest > 0.) {
10134 c3x5->cd(kcountHBnegativedirectionRecosignalD2);
10135 HBnegativedirectionRecosignalD2->SetMarkerStyle(20);
10136 HBnegativedirectionRecosignalD2->SetMarkerSize(0.4);
10137 HBnegativedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
10138 HBnegativedirectionRecosignalD2->SetXTitle(
"HBnegativedirectionRecosignalD2 \b");
10139 HBnegativedirectionRecosignalD2->SetMarkerColor(2);
10140 HBnegativedirectionRecosignalD2->SetLineColor(0);
10144 if (kcountHBnegativedirectionRecosignalD2 == 1)
10145 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-16; depth = 2 \b");
10146 if (kcountHBnegativedirectionRecosignalD2 == 2)
10147 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-15; depth = 2 \b");
10148 if (kcountHBnegativedirectionRecosignalD2 == 3)
10149 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-14; depth = 2 \b");
10150 if (kcountHBnegativedirectionRecosignalD2 == 4)
10151 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-13; depth = 2 \b");
10152 if (kcountHBnegativedirectionRecosignalD2 == 5)
10153 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-12; depth = 2 \b");
10154 if (kcountHBnegativedirectionRecosignalD2 == 6)
10155 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-11; depth = 2 \b");
10156 if (kcountHBnegativedirectionRecosignalD2 == 7)
10157 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-10; depth = 2 \b");
10158 if (kcountHBnegativedirectionRecosignalD2 == 8)
10159 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-9 ; depth = 2 \b");
10160 if (kcountHBnegativedirectionRecosignalD2 == 9)
10161 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-8 ; depth = 2 \b");
10162 if (kcountHBnegativedirectionRecosignalD2 == 10)
10163 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-7 ; depth = 2 \b");
10164 if (kcountHBnegativedirectionRecosignalD2 == 11)
10165 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-6 ; depth = 2 \b");
10166 if (kcountHBnegativedirectionRecosignalD2 == 12)
10167 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-5 ; depth = 2 \b");
10168 if (kcountHBnegativedirectionRecosignalD2 == 13)
10169 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-4 ; depth = 2 \b");
10170 if (kcountHBnegativedirectionRecosignalD2 == 14)
10171 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-3 ; depth = 2 \b");
10172 if (kcountHBnegativedirectionRecosignalD2 == 15)
10173 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-2 ; depth = 2 \b");
10174 if (kcountHBnegativedirectionRecosignalD2 == 16)
10175 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-1 ; depth = 2 \b");
10176 HBnegativedirectionRecosignalD2->Draw(
"Error");
10177 kcountHBnegativedirectionRecosignalD2++;
10178 if (kcountHBnegativedirectionRecosignalD2 > 16)
10187 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
10190 if (h2CeffHBnegativedirectionRecosignalD2)
10191 delete h2CeffHBnegativedirectionRecosignalD2;
10197 c3x5->Divide(4, 4);
10199 int kcountHBnegativedirectionRecosignalD3 = 1;
10200 TH1F *h2CeffHBnegativedirectionRecosignalD3 =
new TH1F(
"h2CeffHBnegativedirectionRecosignalD3",
"",
nphi, 0., 72.);
10204 if (
jeta - 41 < 0) {
10207 for (
int i = 2;
i < 3;
i++) {
10208 TH1F *HBnegativedirectionRecosignalD3 = (TH1F *)h2CeffHBnegativedirectionRecosignalD3->Clone(
"twod1");
10211 for (
int jphi = 0; jphi <
nphi; jphi++) {
10212 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
10213 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
10214 HBnegativedirectionRecosignalD3->Fill(jphi, ccc1);
10218 if (ccctest > 0.) {
10220 c3x5->cd(kcountHBnegativedirectionRecosignalD3);
10221 HBnegativedirectionRecosignalD3->SetMarkerStyle(20);
10222 HBnegativedirectionRecosignalD3->SetMarkerSize(0.4);
10223 HBnegativedirectionRecosignalD3->GetYaxis()->SetLabelSize(0.04);
10224 HBnegativedirectionRecosignalD3->SetXTitle(
"HBnegativedirectionRecosignalD3 \b");
10225 HBnegativedirectionRecosignalD3->SetMarkerColor(2);
10226 HBnegativedirectionRecosignalD3->SetLineColor(0);
10230 if (kcountHBnegativedirectionRecosignalD3 == 1)
10231 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-16; depth = 3 \b");
10232 if (kcountHBnegativedirectionRecosignalD3 == 2)
10233 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-15; depth = 3 \b");
10234 if (kcountHBnegativedirectionRecosignalD3 == 3)
10235 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-14; depth = 3 \b");
10236 if (kcountHBnegativedirectionRecosignalD3 == 4)
10237 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-13; depth = 3 \b");
10238 if (kcountHBnegativedirectionRecosignalD3 == 5)
10239 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-12; depth = 3 \b");
10240 if (kcountHBnegativedirectionRecosignalD3 == 6)
10241 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-11; depth = 3 \b");
10242 if (kcountHBnegativedirectionRecosignalD3 == 7)
10243 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-10; depth = 3 \b");
10244 if (kcountHBnegativedirectionRecosignalD3 == 8)
10245 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-9 ; depth = 3 \b");
10246 if (kcountHBnegativedirectionRecosignalD3 == 9)
10247 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-8 ; depth = 3 \b");
10248 if (kcountHBnegativedirectionRecosignalD3 == 10)
10249 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-7 ; depth = 3 \b");
10250 if (kcountHBnegativedirectionRecosignalD3 == 11)
10251 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-6 ; depth = 3 \b");
10252 if (kcountHBnegativedirectionRecosignalD3 == 12)
10253 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-5 ; depth = 3 \b");
10254 if (kcountHBnegativedirectionRecosignalD3 == 13)
10255 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-4 ; depth = 3 \b");
10256 if (kcountHBnegativedirectionRecosignalD3 == 14)
10257 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-3 ; depth = 3 \b");
10258 if (kcountHBnegativedirectionRecosignalD3 == 15)
10259 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-2 ; depth = 3 \b");
10260 if (kcountHBnegativedirectionRecosignalD3 == 16)
10261 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-1 ; depth = 3 \b");
10262 HBnegativedirectionRecosignalD3->Draw(
"Error");
10263 kcountHBnegativedirectionRecosignalD3++;
10264 if (kcountHBnegativedirectionRecosignalD3 > 16)
10273 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
10276 if (h2CeffHBnegativedirectionRecosignalD3)
10277 delete h2CeffHBnegativedirectionRecosignalD3;
10283 c3x5->Divide(4, 4);
10285 int kcountHBnegativedirectionRecosignalD4 = 1;
10286 TH1F *h2CeffHBnegativedirectionRecosignalD4 =
new TH1F(
"h2CeffHBnegativedirectionRecosignalD4",
"",
nphi, 0., 72.);
10290 if (
jeta - 41 < 0) {
10293 for (
int i = 3;
i < 4;
i++) {
10294 TH1F *HBnegativedirectionRecosignalD4 = (TH1F *)h2CeffHBnegativedirectionRecosignalD4->Clone(
"twod1");
10297 for (
int jphi = 0; jphi <
nphi; jphi++) {
10298 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
10299 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
10300 HBnegativedirectionRecosignalD4->Fill(jphi, ccc1);
10304 if (ccctest > 0.) {
10306 c3x5->cd(kcountHBnegativedirectionRecosignalD4);
10307 HBnegativedirectionRecosignalD4->SetMarkerStyle(20);
10308 HBnegativedirectionRecosignalD4->SetMarkerSize(0.4);
10309 HBnegativedirectionRecosignalD4->GetYaxis()->SetLabelSize(0.04);
10310 HBnegativedirectionRecosignalD4->SetXTitle(
"HBnegativedirectionRecosignalD4 \b");
10311 HBnegativedirectionRecosignalD4->SetMarkerColor(2);
10312 HBnegativedirectionRecosignalD4->SetLineColor(0);
10316 if (kcountHBnegativedirectionRecosignalD4 == 1)
10317 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-16; depth = 4 \b");
10318 if (kcountHBnegativedirectionRecosignalD4 == 2)
10319 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-15; depth = 4 \b");
10320 if (kcountHBnegativedirectionRecosignalD4 == 3)
10321 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-14; depth = 4 \b");
10322 if (kcountHBnegativedirectionRecosignalD4 == 4)
10323 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-13; depth = 4 \b");
10324 if (kcountHBnegativedirectionRecosignalD4 == 5)
10325 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-12; depth = 4 \b");
10326 if (kcountHBnegativedirectionRecosignalD4 == 6)
10327 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-11; depth = 4 \b");
10328 if (kcountHBnegativedirectionRecosignalD4 == 7)
10329 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-10; depth = 4 \b");
10330 if (kcountHBnegativedirectionRecosignalD4 == 8)
10331 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-9 ; depth = 4 \b");
10332 if (kcountHBnegativedirectionRecosignalD4 == 9)
10333 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-8 ; depth = 4 \b");
10334 if (kcountHBnegativedirectionRecosignalD4 == 10)
10335 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-7 ; depth = 4 \b");
10336 if (kcountHBnegativedirectionRecosignalD4 == 11)
10337 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-6 ; depth = 4 \b");
10338 if (kcountHBnegativedirectionRecosignalD4 == 12)
10339 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-5 ; depth = 4 \b");
10340 if (kcountHBnegativedirectionRecosignalD4 == 13)
10341 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-4 ; depth = 4 \b");
10342 if (kcountHBnegativedirectionRecosignalD4 == 14)
10343 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-3 ; depth = 4 \b");
10344 if (kcountHBnegativedirectionRecosignalD4 == 15)
10345 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-2 ; depth = 4 \b");
10346 if (kcountHBnegativedirectionRecosignalD4 == 16)
10347 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-1 ; depth = 4 \b");
10348 HBnegativedirectionRecosignalD4->Draw(
"Error");
10349 kcountHBnegativedirectionRecosignalD4++;
10350 if (kcountHBnegativedirectionRecosignalD4 > 16)
10359 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
10362 if (h2CeffHBnegativedirectionRecosignalD4)
10363 delete h2CeffHBnegativedirectionRecosignalD4;
10376 double arecosignalhe[
ndepth][njeta][njphi];
10377 double recosignalvariancehe[
ndepth][njeta][njphi];
10379 TH2F *recSignalEnergy1HE1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE1");
10380 TH2F *recSignalEnergy0HE1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE1");
10381 TH2F *recSignalEnergyHE1 = (TH2F *)recSignalEnergy1HE1->Clone(
"recSignalEnergyHE1");
10382 recSignalEnergyHE1->Divide(recSignalEnergy1HE1, recSignalEnergy0HE1, 1, 1,
"B");
10383 TH2F *recSignalEnergy1HE2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE2");
10384 TH2F *recSignalEnergy0HE2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE2");
10385 TH2F *recSignalEnergyHE2 = (TH2F *)recSignalEnergy1HE2->Clone(
"recSignalEnergyHE2");
10386 recSignalEnergyHE2->Divide(recSignalEnergy1HE2, recSignalEnergy0HE2, 1, 1,
"B");
10387 TH2F *recSignalEnergy1HE3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE3");
10388 TH2F *recSignalEnergy0HE3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE3");
10389 TH2F *recSignalEnergyHE3 = (TH2F *)recSignalEnergy1HE3->Clone(
"recSignalEnergyHE3");
10390 recSignalEnergyHE3->Divide(recSignalEnergy1HE3, recSignalEnergy0HE3, 1, 1,
"B");
10391 TH2F *recSignalEnergy1HE4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE4");
10392 TH2F *recSignalEnergy0HE4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE4");
10393 TH2F *recSignalEnergyHE4 = (TH2F *)recSignalEnergy1HE4->Clone(
"recSignalEnergyHE4");
10394 recSignalEnergyHE4->Divide(recSignalEnergy1HE4, recSignalEnergy0HE4, 1, 1,
"B");
10395 TH2F *recSignalEnergy1HE5 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE5");
10396 TH2F *recSignalEnergy0HE5 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE5");
10397 TH2F *recSignalEnergyHE5 = (TH2F *)recSignalEnergy1HE5->Clone(
"recSignalEnergyHE5");
10398 recSignalEnergyHE5->Divide(recSignalEnergy1HE5, recSignalEnergy0HE5, 1, 1,
"B");
10399 TH2F *recSignalEnergy1HE6 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE6");
10400 TH2F *recSignalEnergy0HE6 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE6");
10401 TH2F *recSignalEnergyHE6 = (TH2F *)recSignalEnergy1HE6->Clone(
"recSignalEnergyHE6");
10402 recSignalEnergyHE6->Divide(recSignalEnergy1HE6, recSignalEnergy0HE6, 1, 1,
"B");
10403 TH2F *recSignalEnergy1HE7 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE7");
10404 TH2F *recSignalEnergy0HE7 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE7");
10405 TH2F *recSignalEnergyHE7 = (TH2F *)recSignalEnergy1HE7->Clone(
"recSignalEnergyHE7");
10406 recSignalEnergyHE7->Divide(recSignalEnergy1HE7, recSignalEnergy0HE7, 1, 1,
"B");
10410 double sumrecosignalHE0 = 0;
10411 int nsumrecosignalHE0 = 0;
10412 double sumrecosignalHE1 = 0;
10413 int nsumrecosignalHE1 = 0;
10414 double sumrecosignalHE2 = 0;
10415 int nsumrecosignalHE2 = 0;
10416 double sumrecosignalHE3 = 0;
10417 int nsumrecosignalHE3 = 0;
10418 double sumrecosignalHE4 = 0;
10419 int nsumrecosignalHE4 = 0;
10420 double sumrecosignalHE5 = 0;
10421 int nsumrecosignalHE5 = 0;
10422 double sumrecosignalHE6 = 0;
10423 int nsumrecosignalHE6 = 0;
10424 for (
int jphi = 0; jphi < njphi; jphi++) {
10425 arecosignalhe[0][
jeta][jphi] = recSignalEnergyHE1->GetBinContent(
jeta + 1, jphi + 1);
10426 arecosignalhe[1][
jeta][jphi] = recSignalEnergyHE2->GetBinContent(
jeta + 1, jphi + 1);
10427 arecosignalhe[2][
jeta][jphi] = recSignalEnergyHE3->GetBinContent(
jeta + 1, jphi + 1);
10428 arecosignalhe[3][
jeta][jphi] = recSignalEnergyHE4->GetBinContent(
jeta + 1, jphi + 1);
10429 arecosignalhe[4][
jeta][jphi] = recSignalEnergyHE5->GetBinContent(
jeta + 1, jphi + 1);
10430 arecosignalhe[5][
jeta][jphi] = recSignalEnergyHE6->GetBinContent(
jeta + 1, jphi + 1);
10431 arecosignalhe[6][
jeta][jphi] = recSignalEnergyHE7->GetBinContent(
jeta + 1, jphi + 1);
10432 if (arecosignalhe[0][
jeta][jphi] > 0.) {
10433 sumrecosignalHE0 += arecosignalhe[0][
jeta][jphi];
10434 ++nsumrecosignalHE0;
10436 if (arecosignalhe[1][
jeta][jphi] > 0.) {
10437 sumrecosignalHE1 += arecosignalhe[1][
jeta][jphi];
10438 ++nsumrecosignalHE1;
10440 if (arecosignalhe[2][
jeta][jphi] > 0.) {
10441 sumrecosignalHE2 += arecosignalhe[2][
jeta][jphi];
10442 ++nsumrecosignalHE2;
10444 if (arecosignalhe[3][
jeta][jphi] > 0.) {
10445 sumrecosignalHE3 += arecosignalhe[3][
jeta][jphi];
10446 ++nsumrecosignalHE3;
10448 if (arecosignalhe[4][
jeta][jphi] > 0.) {
10449 sumrecosignalHE4 += arecosignalhe[4][
jeta][jphi];
10450 ++nsumrecosignalHE4;
10452 if (arecosignalhe[5][
jeta][jphi] > 0.) {
10453 sumrecosignalHE5 += arecosignalhe[5][
jeta][jphi];
10454 ++nsumrecosignalHE5;
10456 if (arecosignalhe[6][
jeta][jphi] > 0.) {
10457 sumrecosignalHE6 += arecosignalhe[6][
jeta][jphi];
10458 ++nsumrecosignalHE6;
10462 for (
int jphi = 0; jphi < njphi; jphi++) {
10463 if (arecosignalhe[0][
jeta][jphi] > 0.)
10464 arecosignalhe[0][
jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0);
10465 if (arecosignalhe[1][
jeta][jphi] > 0.)
10466 arecosignalhe[1][
jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1);
10467 if (arecosignalhe[2][
jeta][jphi] > 0.)
10468 arecosignalhe[2][
jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2);
10469 if (arecosignalhe[3][
jeta][jphi] > 0.)
10470 arecosignalhe[3][
jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3);
10471 if (arecosignalhe[4][
jeta][jphi] > 0.)
10472 arecosignalhe[4][
jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4);
10473 if (arecosignalhe[5][
jeta][jphi] > 0.)
10474 arecosignalhe[5][
jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5);
10475 if (arecosignalhe[6][
jeta][jphi] > 0.)
10476 arecosignalhe[6][
jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6);
10485 c2x1->Divide(2, 1);
10487 TH2F *GefzRrecosignalHE42D =
new TH2F(
"GefzRrecosignalHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
10488 TH2F *GefzRrecosignalHE42D0 =
new TH2F(
"GefzRrecosignalHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
10489 TH2F *GefzRrecosignalHE42DF = (TH2F *)GefzRrecosignalHE42D0->Clone(
"GefzRrecosignalHE42DF");
10492 for (
int jphi = 0; jphi <
nphi; jphi++) {
10493 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10494 int k2plot =
jeta - 41;
10497 GefzRrecosignalHE42D->Fill(kkk, jphi, ccc1);
10498 GefzRrecosignalHE42D0->Fill(kkk, jphi, 1.);
10503 GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D, GefzRrecosignalHE42D0, 1, 1,
"B");
10506 GefzRrecosignalHE42DF->SetXTitle(
"<R>_depth #eta \b");
10507 GefzRrecosignalHE42DF->SetYTitle(
" #phi \b");
10508 GefzRrecosignalHE42DF->Draw(
"COLZ");
10511 TH1F *energyhitSignal_HE = (TH1F *)
dir->FindObjectAny(
"h_energyhitSignal_HE");
10512 energyhitSignal_HE->SetMarkerStyle(20);
10513 energyhitSignal_HE->SetMarkerSize(0.4);
10514 energyhitSignal_HE->GetYaxis()->SetLabelSize(0.04);
10515 energyhitSignal_HE->SetXTitle(
"energyhitSignal_HE \b");
10516 energyhitSignal_HE->SetMarkerColor(2);
10517 energyhitSignal_HE->SetLineColor(0);
10520 energyhitSignal_HE->Draw(
"Error");
10524 c2x1->Print(
"RrecosignalGeneralD2PhiSymmetryHE.png");
10527 if (GefzRrecosignalHE42D)
10528 delete GefzRrecosignalHE42D;
10529 if (GefzRrecosignalHE42D0)
10530 delete GefzRrecosignalHE42D0;
10531 if (GefzRrecosignalHE42DF)
10532 delete GefzRrecosignalHE42DF;
10538 c1x1->Divide(1, 1);
10540 TH1F *GefzRrecosignalHE41D =
new TH1F(
"GefzRrecosignalHE41D",
"",
nphi, 0., 72.);
10541 TH1F *GefzRrecosignalHE41D0 =
new TH1F(
"GefzRrecosignalHE41D0",
"",
nphi, 0., 72.);
10542 TH1F *GefzRrecosignalHE41DF = (TH1F *)GefzRrecosignalHE41D0->Clone(
"GefzRrecosignalHE41DF");
10543 for (
int jphi = 0; jphi <
nphi; jphi++) {
10546 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10548 GefzRrecosignalHE41D->Fill(jphi, ccc1);
10549 GefzRrecosignalHE41D0->Fill(jphi, 1.);
10554 GefzRrecosignalHE41DF->Divide(
10555 GefzRrecosignalHE41D, GefzRrecosignalHE41D0, 1, 1,
"B");
10556 GefzRrecosignalHE41D0->Sumw2();
10560 GefzRrecosignalHE41DF->SetMarkerStyle(20);
10561 GefzRrecosignalHE41DF->SetMarkerSize(1.4);
10562 GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08);
10563 GefzRrecosignalHE41DF->SetXTitle(
"#phi \b");
10564 GefzRrecosignalHE41DF->SetYTitle(
" <R> \b");
10565 GefzRrecosignalHE41DF->SetZTitle(
"<R>_PHI - AllDepthes \b");
10566 GefzRrecosignalHE41DF->SetMarkerColor(4);
10567 GefzRrecosignalHE41DF->SetLineColor(
10569 GefzRrecosignalHE41DF->Draw(
"Error");
10572 c1x1->Print(
"RrecosignalGeneralD1PhiSymmetryHE.png");
10575 if (GefzRrecosignalHE41D)
10576 delete GefzRrecosignalHE41D;
10577 if (GefzRrecosignalHE41D0)
10578 delete GefzRrecosignalHE41D0;
10579 if (GefzRrecosignalHE41DF)
10580 delete GefzRrecosignalHE41DF;
10588 c3x5->Divide(3, 5);
10590 int kcountHEpositivedirectionRecosignal1 = 1;
10591 TH1F *h2CeffHEpositivedirectionRecosignal1 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal1",
"",
nphi, 0., 72.);
10594 if (
jeta - 41 >= 0) {
10597 for (
int i = 0;
i < 1;
i++) {
10598 TH1F *HEpositivedirectionRecosignal1 = (TH1F *)h2CeffHEpositivedirectionRecosignal1->Clone(
"twod1");
10600 for (
int jphi = 0; jphi <
nphi; jphi++) {
10601 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10603 HEpositivedirectionRecosignal1->Fill(jphi, ccc1);
10607 if (ccctest > 0.) {
10609 c3x5->cd(kcountHEpositivedirectionRecosignal1);
10610 HEpositivedirectionRecosignal1->SetMarkerStyle(20);
10611 HEpositivedirectionRecosignal1->SetMarkerSize(0.4);
10612 HEpositivedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
10613 HEpositivedirectionRecosignal1->SetXTitle(
"HEpositivedirectionRecosignal1 \b");
10614 HEpositivedirectionRecosignal1->SetMarkerColor(2);
10615 HEpositivedirectionRecosignal1->SetLineColor(0);
10619 if (kcountHEpositivedirectionRecosignal1 == 1)
10620 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 17; depth = 1 \b");
10621 if (kcountHEpositivedirectionRecosignal1 == 2)
10622 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 18; depth = 1 \b");
10623 if (kcountHEpositivedirectionRecosignal1 == 3)
10624 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 19; depth = 1 \b");
10625 if (kcountHEpositivedirectionRecosignal1 == 4)
10626 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 20; depth = 1 \b");
10627 if (kcountHEpositivedirectionRecosignal1 == 5)
10628 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 21; depth = 1 \b");
10629 if (kcountHEpositivedirectionRecosignal1 == 6)
10630 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 22; depth = 1 \b");
10631 if (kcountHEpositivedirectionRecosignal1 == 7)
10632 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 23; depth = 1 \b");
10633 if (kcountHEpositivedirectionRecosignal1 == 8)
10634 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 24; depth = 1 \b");
10635 if (kcountHEpositivedirectionRecosignal1 == 9)
10636 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 25; depth = 1 \b");
10637 if (kcountHEpositivedirectionRecosignal1 == 10)
10638 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 26; depth = 1 \b");
10639 if (kcountHEpositivedirectionRecosignal1 == 11)
10640 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 27; depth = 1 \b");
10641 if (kcountHEpositivedirectionRecosignal1 == 12)
10642 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 28; depth = 1 \b");
10643 HEpositivedirectionRecosignal1->Draw(
"Error");
10644 kcountHEpositivedirectionRecosignal1++;
10645 if (kcountHEpositivedirectionRecosignal1 > 12)
10654 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png");
10657 if (h2CeffHEpositivedirectionRecosignal1)
10658 delete h2CeffHEpositivedirectionRecosignal1;
10666 c3x5->Divide(3, 5);
10668 int kcountHEpositivedirectionRecosignal2 = 1;
10669 TH1F *h2CeffHEpositivedirectionRecosignal2 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal2",
"",
nphi, 0., 72.);
10672 if (
jeta - 41 >= 0) {
10675 for (
int i = 1;
i < 2;
i++) {
10676 TH1F *HEpositivedirectionRecosignal2 = (TH1F *)h2CeffHEpositivedirectionRecosignal2->Clone(
"twod1");
10678 for (
int jphi = 0; jphi <
nphi; jphi++) {
10679 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10681 HEpositivedirectionRecosignal2->Fill(jphi, ccc1);
10685 if (ccctest > 0.) {
10687 c3x5->cd(kcountHEpositivedirectionRecosignal2);
10688 HEpositivedirectionRecosignal2->SetMarkerStyle(20);
10689 HEpositivedirectionRecosignal2->SetMarkerSize(0.4);
10690 HEpositivedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
10691 HEpositivedirectionRecosignal2->SetXTitle(
"HEpositivedirectionRecosignal2 \b");
10692 HEpositivedirectionRecosignal2->SetMarkerColor(2);
10693 HEpositivedirectionRecosignal2->SetLineColor(0);
10697 if (kcountHEpositivedirectionRecosignal2 == 1)
10698 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 16; depth = 2 \b");
10699 if (kcountHEpositivedirectionRecosignal2 == 2)
10700 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 17; depth = 2 \b");
10701 if (kcountHEpositivedirectionRecosignal2 == 3)
10702 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 18; depth = 2 \b");
10703 if (kcountHEpositivedirectionRecosignal2 == 4)
10704 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 19; depth = 2 \b");
10705 if (kcountHEpositivedirectionRecosignal2 == 5)
10706 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 20; depth = 2 \b");
10707 if (kcountHEpositivedirectionRecosignal2 == 6)
10708 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 21; depth = 2 \b");
10709 if (kcountHEpositivedirectionRecosignal2 == 7)
10710 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 22; depth = 2 \b");
10711 if (kcountHEpositivedirectionRecosignal2 == 8)
10712 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 23; depth = 2 \b");
10713 if (kcountHEpositivedirectionRecosignal2 == 9)
10714 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 24; depth = 2 \b");
10715 if (kcountHEpositivedirectionRecosignal2 == 10)
10716 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 25; depth = 2 \b");
10717 if (kcountHEpositivedirectionRecosignal2 == 11)
10718 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 26; depth = 2 \b");
10719 if (kcountHEpositivedirectionRecosignal2 == 12)
10720 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 27; depth = 2 \b");
10721 if (kcountHEpositivedirectionRecosignal2 == 13)
10722 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 28; depth = 2 \b");
10723 HEpositivedirectionRecosignal2->Draw(
"Error");
10724 kcountHEpositivedirectionRecosignal2++;
10725 if (kcountHEpositivedirectionRecosignal2 > 13)
10734 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png");
10737 if (h2CeffHEpositivedirectionRecosignal2)
10738 delete h2CeffHEpositivedirectionRecosignal2;
10745 c3x5->Divide(3, 5);
10747 int kcountHEpositivedirectionRecosignal3 = 1;
10748 TH1F *h2CeffHEpositivedirectionRecosignal3 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal3",
"",
nphi, 0., 72.);
10751 if (
jeta - 41 >= 0) {
10754 for (
int i = 2;
i < 3;
i++) {
10755 TH1F *HEpositivedirectionRecosignal3 = (TH1F *)h2CeffHEpositivedirectionRecosignal3->Clone(
"twod1");
10757 for (
int jphi = 0; jphi <
nphi; jphi++) {
10758 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10760 HEpositivedirectionRecosignal3->Fill(jphi, ccc1);
10764 if (ccctest > 0.) {
10766 c3x5->cd(kcountHEpositivedirectionRecosignal3);
10767 HEpositivedirectionRecosignal3->SetMarkerStyle(20);
10768 HEpositivedirectionRecosignal3->SetMarkerSize(0.4);
10769 HEpositivedirectionRecosignal3->GetYaxis()->SetLabelSize(0.04);
10770 HEpositivedirectionRecosignal3->SetXTitle(
"HEpositivedirectionRecosignal3 \b");
10771 HEpositivedirectionRecosignal3->SetMarkerColor(2);
10772 HEpositivedirectionRecosignal3->SetLineColor(0);
10776 if (kcountHEpositivedirectionRecosignal3 == 1)
10777 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 16; depth = 3 \b");
10778 if (kcountHEpositivedirectionRecosignal3 == 2)
10779 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 17; depth = 3 \b");
10780 if (kcountHEpositivedirectionRecosignal3 == 3)
10781 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 18; depth = 3 \b");
10782 if (kcountHEpositivedirectionRecosignal3 == 4)
10783 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 19; depth = 3 \b");
10784 if (kcountHEpositivedirectionRecosignal3 == 5)
10785 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 20; depth = 3 \b");
10786 if (kcountHEpositivedirectionRecosignal3 == 6)
10787 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 21; depth = 3 \b");
10788 if (kcountHEpositivedirectionRecosignal3 == 7)
10789 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 22; depth = 3 \b");
10790 if (kcountHEpositivedirectionRecosignal3 == 8)
10791 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 23; depth = 3 \b");
10792 if (kcountHEpositivedirectionRecosignal3 == 9)
10793 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 24; depth = 3 \b");
10794 if (kcountHEpositivedirectionRecosignal3 == 10)
10795 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 25; depth = 3 \b");
10796 if (kcountHEpositivedirectionRecosignal3 == 11)
10797 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 26; depth = 3 \b");
10798 if (kcountHEpositivedirectionRecosignal3 == 12)
10799 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 27; depth = 3 \b");
10800 if (kcountHEpositivedirectionRecosignal3 == 13)
10801 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 28; depth = 3 \b");
10802 HEpositivedirectionRecosignal3->Draw(
"Error");
10803 kcountHEpositivedirectionRecosignal3++;
10804 if (kcountHEpositivedirectionRecosignal3 > 13)
10813 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png");
10816 if (h2CeffHEpositivedirectionRecosignal3)
10817 delete h2CeffHEpositivedirectionRecosignal3;
10824 c3x5->Divide(3, 5);
10826 int kcountHEpositivedirectionRecosignal4 = 1;
10827 TH1F *h2CeffHEpositivedirectionRecosignal4 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal4",
"",
nphi, 0., 72.);
10831 if (
jeta - 41 >= 0) {
10834 for (
int i = 3;
i < 4;
i++) {
10835 TH1F *HEpositivedirectionRecosignal4 = (TH1F *)h2CeffHEpositivedirectionRecosignal4->Clone(
"twod1");
10838 for (
int jphi = 0; jphi <
nphi; jphi++) {
10839 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10841 HEpositivedirectionRecosignal4->Fill(jphi, ccc1);
10845 if (ccctest > 0.) {
10847 c3x5->cd(kcountHEpositivedirectionRecosignal4);
10848 HEpositivedirectionRecosignal4->SetMarkerStyle(20);
10849 HEpositivedirectionRecosignal4->SetMarkerSize(0.4);
10850 HEpositivedirectionRecosignal4->GetYaxis()->SetLabelSize(0.04);
10851 HEpositivedirectionRecosignal4->SetXTitle(
"HEpositivedirectionRecosignal4 \b");
10852 HEpositivedirectionRecosignal4->SetMarkerColor(2);
10853 HEpositivedirectionRecosignal4->SetLineColor(0);
10857 if (kcountHEpositivedirectionRecosignal4 == 1)
10858 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 15; depth = 4 \b");
10859 if (kcountHEpositivedirectionRecosignal4 == 2)
10860 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 17; depth = 4 \b");
10861 if (kcountHEpositivedirectionRecosignal4 == 3)
10862 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 18; depth = 4 \b");
10863 if (kcountHEpositivedirectionRecosignal4 == 4)
10864 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 19; depth = 4 \b");
10865 if (kcountHEpositivedirectionRecosignal4 == 5)
10866 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 20; depth = 4 \b");
10867 if (kcountHEpositivedirectionRecosignal4 == 6)
10868 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 21; depth = 4 \b");
10869 if (kcountHEpositivedirectionRecosignal4 == 7)
10870 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 22; depth = 4 \b");
10871 if (kcountHEpositivedirectionRecosignal4 == 8)
10872 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 23; depth = 4 \b");
10873 if (kcountHEpositivedirectionRecosignal4 == 9)
10874 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 24; depth = 4 \b");
10875 if (kcountHEpositivedirectionRecosignal4 == 10)
10876 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 25; depth = 4 \b");
10877 if (kcountHEpositivedirectionRecosignal4 == 11)
10878 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 26; depth = 4 \b");
10879 if (kcountHEpositivedirectionRecosignal4 == 12)
10880 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 27; depth = 4 \b");
10881 HEpositivedirectionRecosignal4->Draw(
"Error");
10882 kcountHEpositivedirectionRecosignal4++;
10883 if (kcountHEpositivedirectionRecosignal4 > 12)
10892 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png");
10895 if (h2CeffHEpositivedirectionRecosignal4)
10896 delete h2CeffHEpositivedirectionRecosignal4;
10903 c3x5->Divide(3, 5);
10905 int kcountHEpositivedirectionRecosignal5 = 1;
10906 TH1F *h2CeffHEpositivedirectionRecosignal5 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal5",
"",
nphi, 0., 72.);
10910 if (
jeta - 41 >= 0) {
10913 for (
int i = 4;
i < 5;
i++) {
10914 TH1F *HEpositivedirectionRecosignal5 = (TH1F *)h2CeffHEpositivedirectionRecosignal5->Clone(
"twod1");
10917 for (
int jphi = 0; jphi <
nphi; jphi++) {
10920 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10922 HEpositivedirectionRecosignal5->Fill(jphi, ccc1);
10926 if (ccctest > 0.) {
10928 c3x5->cd(kcountHEpositivedirectionRecosignal5);
10929 HEpositivedirectionRecosignal5->SetMarkerStyle(20);
10930 HEpositivedirectionRecosignal5->SetMarkerSize(0.4);
10931 HEpositivedirectionRecosignal5->GetYaxis()->SetLabelSize(0.04);
10932 HEpositivedirectionRecosignal5->SetXTitle(
"HEpositivedirectionRecosignal5 \b");
10933 HEpositivedirectionRecosignal5->SetMarkerColor(2);
10934 HEpositivedirectionRecosignal5->SetLineColor(0);
10938 if (kcountHEpositivedirectionRecosignal5 == 1)
10939 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 17; depth = 5 \b");
10940 if (kcountHEpositivedirectionRecosignal5 == 2)
10941 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 18; depth = 5 \b");
10942 if (kcountHEpositivedirectionRecosignal5 == 3)
10943 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 19; depth = 5 \b");
10944 if (kcountHEpositivedirectionRecosignal5 == 4)
10945 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 20; depth = 5 \b");
10946 if (kcountHEpositivedirectionRecosignal5 == 5)
10947 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 21; depth = 5 \b");
10948 if (kcountHEpositivedirectionRecosignal5 == 6)
10949 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 22; depth = 5 \b");
10950 if (kcountHEpositivedirectionRecosignal5 == 7)
10951 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 23; depth = 5 \b");
10952 if (kcountHEpositivedirectionRecosignal5 == 8)
10953 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 24; depth = 5 \b");
10954 if (kcountHEpositivedirectionRecosignal5 == 9)
10955 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 25; depth = 5 \b");
10956 if (kcountHEpositivedirectionRecosignal5 == 10)
10957 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 26; depth = 5 \b");
10958 if (kcountHEpositivedirectionRecosignal5 == 11)
10959 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 27; depth = 5 \b");
10960 HEpositivedirectionRecosignal5->Draw(
"Error");
10961 kcountHEpositivedirectionRecosignal5++;
10962 if (kcountHEpositivedirectionRecosignal5 > 11)
10971 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png");
10974 if (h2CeffHEpositivedirectionRecosignal5)
10975 delete h2CeffHEpositivedirectionRecosignal5;
10982 c3x5->Divide(3, 5);
10984 int kcountHEpositivedirectionRecosignal6 = 1;
10985 TH1F *h2CeffHEpositivedirectionRecosignal6 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal6",
"",
nphi, 0., 72.);
10989 if (
jeta - 41 >= 0) {
10992 for (
int i = 5;
i < 6;
i++) {
10993 TH1F *HEpositivedirectionRecosignal6 = (TH1F *)h2CeffHEpositivedirectionRecosignal6->Clone(
"twod1");
10996 for (
int jphi = 0; jphi <
nphi; jphi++) {
10997 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10999 HEpositivedirectionRecosignal6->Fill(jphi, ccc1);
11003 if (ccctest > 0.) {
11005 c3x5->cd(kcountHEpositivedirectionRecosignal6);
11006 HEpositivedirectionRecosignal6->SetMarkerStyle(20);
11007 HEpositivedirectionRecosignal6->SetMarkerSize(0.4);
11008 HEpositivedirectionRecosignal6->GetYaxis()->SetLabelSize(0.04);
11009 HEpositivedirectionRecosignal6->SetXTitle(
"HEpositivedirectionRecosignal6 \b");
11010 HEpositivedirectionRecosignal6->SetMarkerColor(2);
11011 HEpositivedirectionRecosignal6->SetLineColor(0);
11015 if (kcountHEpositivedirectionRecosignal6 == 1)
11016 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 18; depth = 6 \b");
11017 if (kcountHEpositivedirectionRecosignal6 == 2)
11018 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 19; depth = 6 \b");
11019 if (kcountHEpositivedirectionRecosignal6 == 3)
11020 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 20; depth = 6 \b");
11021 if (kcountHEpositivedirectionRecosignal6 == 4)
11022 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 21; depth = 6 \b");
11023 if (kcountHEpositivedirectionRecosignal6 == 5)
11024 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 22; depth = 6 \b");
11025 if (kcountHEpositivedirectionRecosignal6 == 6)
11026 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 23; depth = 6 \b");
11027 if (kcountHEpositivedirectionRecosignal6 == 7)
11028 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 24; depth = 6 \b");
11029 if (kcountHEpositivedirectionRecosignal6 == 8)
11030 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 25; depth = 6 \b");
11031 if (kcountHEpositivedirectionRecosignal6 == 9)
11032 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 26; depth = 6 \b");
11033 if (kcountHEpositivedirectionRecosignal6 == 10)
11034 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 27; depth = 6 \b");
11035 HEpositivedirectionRecosignal6->Draw(
"Error");
11036 kcountHEpositivedirectionRecosignal6++;
11037 if (kcountHEpositivedirectionRecosignal6 > 10)
11046 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png");
11049 if (h2CeffHEpositivedirectionRecosignal6)
11050 delete h2CeffHEpositivedirectionRecosignal6;
11057 c3x5->Divide(3, 5);
11059 int kcountHEpositivedirectionRecosignal7 = 1;
11060 TH1F *h2CeffHEpositivedirectionRecosignal7 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal7",
"",
nphi, 0., 72.);
11064 if (
jeta - 41 >= 0) {
11067 for (
int i = 6;
i < 7;
i++) {
11068 TH1F *HEpositivedirectionRecosignal7 = (TH1F *)h2CeffHEpositivedirectionRecosignal7->Clone(
"twod1");
11071 for (
int jphi = 0; jphi <
nphi; jphi++) {
11072 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11074 HEpositivedirectionRecosignal7->Fill(jphi, ccc1);
11078 if (ccctest > 0.) {
11080 c3x5->cd(kcountHEpositivedirectionRecosignal7);
11081 HEpositivedirectionRecosignal7->SetMarkerStyle(20);
11082 HEpositivedirectionRecosignal7->SetMarkerSize(0.4);
11083 HEpositivedirectionRecosignal7->GetYaxis()->SetLabelSize(0.04);
11084 HEpositivedirectionRecosignal7->SetXTitle(
"HEpositivedirectionRecosignal7 \b");
11085 HEpositivedirectionRecosignal7->SetMarkerColor(2);
11086 HEpositivedirectionRecosignal7->SetLineColor(0);
11090 if (kcountHEpositivedirectionRecosignal7 == 1)
11091 HEpositivedirectionRecosignal7->SetXTitle(
"R for HE+ jeta = 25; depth = 7 \b");
11092 if (kcountHEpositivedirectionRecosignal7 == 2)
11093 HEpositivedirectionRecosignal7->SetXTitle(
"R for HE+ jeta = 26; depth = 7 \b");
11094 if (kcountHEpositivedirectionRecosignal7 == 3)
11095 HEpositivedirectionRecosignal7->SetXTitle(
"R for HE+ jeta = 27; depth = 7 \b");
11096 HEpositivedirectionRecosignal7->Draw(
"Error");
11097 kcountHEpositivedirectionRecosignal7++;
11098 if (kcountHEpositivedirectionRecosignal7 > 3)
11107 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png");
11110 if (h2CeffHEpositivedirectionRecosignal7)
11111 delete h2CeffHEpositivedirectionRecosignal7;
11120 c3x5->Divide(3, 5);
11122 int kcountHEnegativedirectionRecosignal1 = 1;
11123 TH1F *h2CeffHEnegativedirectionRecosignal1 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal1",
"",
nphi, 0., 72.);
11126 if (
jeta - 41 < 0) {
11129 for (
int i = 0;
i < 1;
i++) {
11130 TH1F *HEnegativedirectionRecosignal1 = (TH1F *)h2CeffHEnegativedirectionRecosignal1->Clone(
"twod1");
11132 for (
int jphi = 0; jphi <
nphi; jphi++) {
11133 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11135 HEnegativedirectionRecosignal1->Fill(jphi, ccc1);
11139 if (ccctest > 0.) {
11141 c3x5->cd(kcountHEnegativedirectionRecosignal1);
11142 HEnegativedirectionRecosignal1->SetMarkerStyle(20);
11143 HEnegativedirectionRecosignal1->SetMarkerSize(0.4);
11144 HEnegativedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
11145 HEnegativedirectionRecosignal1->SetXTitle(
"HEnegativedirectionRecosignal1 \b");
11146 HEnegativedirectionRecosignal1->SetMarkerColor(2);
11147 HEnegativedirectionRecosignal1->SetLineColor(0);
11151 if (kcountHEnegativedirectionRecosignal1 == 1)
11152 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-29; depth = 1 \b");
11153 if (kcountHEnegativedirectionRecosignal1 == 2)
11154 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-28; depth = 1 \b");
11155 if (kcountHEnegativedirectionRecosignal1 == 3)
11156 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-27; depth = 1 \b");
11157 if (kcountHEnegativedirectionRecosignal1 == 4)
11158 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-26; depth = 1 \b");
11159 if (kcountHEnegativedirectionRecosignal1 == 5)
11160 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-25; depth = 1 \b");
11161 if (kcountHEnegativedirectionRecosignal1 == 6)
11162 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-24; depth = 1 \b");
11163 if (kcountHEnegativedirectionRecosignal1 == 7)
11164 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-23; depth = 1 \b");
11165 if (kcountHEnegativedirectionRecosignal1 == 8)
11166 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-22; depth = 1 \b");
11167 if (kcountHEnegativedirectionRecosignal1 == 9)
11168 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-21; depth = 1 \b");
11169 if (kcountHEnegativedirectionRecosignal1 == 10)
11170 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-20; depth = 1 \b");
11171 if (kcountHEnegativedirectionRecosignal1 == 11)
11172 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-19; depth = 1 \b");
11173 if (kcountHEnegativedirectionRecosignal1 == 12)
11174 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-18; depth = 1 \b");
11175 HEnegativedirectionRecosignal1->Draw(
"Error");
11176 kcountHEnegativedirectionRecosignal1++;
11177 if (kcountHEnegativedirectionRecosignal1 > 12)
11186 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
11189 if (h2CeffHEnegativedirectionRecosignal1)
11190 delete h2CeffHEnegativedirectionRecosignal1;
11198 c3x5->Divide(3, 5);
11200 int kcountHEnegativedirectionRecosignal2 = 1;
11201 TH1F *h2CeffHEnegativedirectionRecosignal2 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal2",
"",
nphi, 0., 72.);
11204 if (
jeta - 41 < 0) {
11207 for (
int i = 1;
i < 2;
i++) {
11208 TH1F *HEnegativedirectionRecosignal2 = (TH1F *)h2CeffHEnegativedirectionRecosignal2->Clone(
"twod1");
11210 for (
int jphi = 0; jphi <
nphi; jphi++) {
11211 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11213 HEnegativedirectionRecosignal2->Fill(jphi, ccc1);
11217 if (ccctest > 0.) {
11219 c3x5->cd(kcountHEnegativedirectionRecosignal2);
11220 HEnegativedirectionRecosignal2->SetMarkerStyle(20);
11221 HEnegativedirectionRecosignal2->SetMarkerSize(0.4);
11222 HEnegativedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
11223 HEnegativedirectionRecosignal2->SetXTitle(
"HEnegativedirectionRecosignal2 \b");
11224 HEnegativedirectionRecosignal2->SetMarkerColor(2);
11225 HEnegativedirectionRecosignal2->SetLineColor(0);
11229 if (kcountHEnegativedirectionRecosignal2 == 1)
11230 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-29; depth = 2 \b");
11231 if (kcountHEnegativedirectionRecosignal2 == 2)
11232 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-28; depth = 2 \b");
11233 if (kcountHEnegativedirectionRecosignal2 == 3)
11234 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-27; depth = 2 \b");
11235 if (kcountHEnegativedirectionRecosignal2 == 4)
11236 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-26; depth = 2 \b");
11237 if (kcountHEnegativedirectionRecosignal2 == 5)
11238 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-25; depth = 2 \b");
11239 if (kcountHEnegativedirectionRecosignal2 == 6)
11240 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-24; depth = 2 \b");
11241 if (kcountHEnegativedirectionRecosignal2 == 7)
11242 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-23; depth = 2 \b");
11243 if (kcountHEnegativedirectionRecosignal2 == 8)
11244 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-22; depth = 2 \b");
11245 if (kcountHEnegativedirectionRecosignal2 == 9)
11246 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-21; depth = 2 \b");
11247 if (kcountHEnegativedirectionRecosignal2 == 10)
11248 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-20; depth = 2 \b");
11249 if (kcountHEnegativedirectionRecosignal2 == 11)
11250 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-19; depth = 2 \b");
11251 if (kcountHEnegativedirectionRecosignal2 == 12)
11252 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-18; depth = 2 \b");
11253 if (kcountHEnegativedirectionRecosignal2 == 13)
11254 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-17; depth = 2 \b");
11255 HEnegativedirectionRecosignal2->Draw(
"Error");
11256 kcountHEnegativedirectionRecosignal2++;
11257 if (kcountHEnegativedirectionRecosignal2 > 13)
11266 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
11269 if (h2CeffHEnegativedirectionRecosignal2)
11270 delete h2CeffHEnegativedirectionRecosignal2;
11277 c3x5->Divide(3, 5);
11279 int kcountHEnegativedirectionRecosignal3 = 1;
11280 TH1F *h2CeffHEnegativedirectionRecosignal3 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal3",
"",
nphi, 0., 72.);
11283 if (
jeta - 41 < 0) {
11286 for (
int i = 2;
i < 3;
i++) {
11287 TH1F *HEnegativedirectionRecosignal3 = (TH1F *)h2CeffHEnegativedirectionRecosignal3->Clone(
"twod1");
11289 for (
int jphi = 0; jphi <
nphi; jphi++) {
11290 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11292 HEnegativedirectionRecosignal3->Fill(jphi, ccc1);
11296 if (ccctest > 0.) {
11298 c3x5->cd(kcountHEnegativedirectionRecosignal3);
11299 HEnegativedirectionRecosignal3->SetMarkerStyle(20);
11300 HEnegativedirectionRecosignal3->SetMarkerSize(0.4);
11301 HEnegativedirectionRecosignal3->GetYaxis()->SetLabelSize(0.04);
11302 HEnegativedirectionRecosignal3->SetXTitle(
"HEnegativedirectionRecosignal3 \b");
11303 HEnegativedirectionRecosignal3->SetMarkerColor(2);
11304 HEnegativedirectionRecosignal3->SetLineColor(0);
11308 if (kcountHEnegativedirectionRecosignal3 == 1)
11309 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-29; depth = 3 \b");
11310 if (kcountHEnegativedirectionRecosignal3 == 2)
11311 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-28; depth = 3 \b");
11312 if (kcountHEnegativedirectionRecosignal3 == 3)
11313 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-27; depth = 3 \b");
11314 if (kcountHEnegativedirectionRecosignal3 == 4)
11315 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-26; depth = 3 \b");
11316 if (kcountHEnegativedirectionRecosignal3 == 5)
11317 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-25; depth = 3 \b");
11318 if (kcountHEnegativedirectionRecosignal3 == 6)
11319 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-24; depth = 3 \b");
11320 if (kcountHEnegativedirectionRecosignal3 == 7)
11321 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-23; depth = 3 \b");
11322 if (kcountHEnegativedirectionRecosignal3 == 8)
11323 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-22; depth = 3 \b");
11324 if (kcountHEnegativedirectionRecosignal3 == 9)
11325 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-21; depth = 3 \b");
11326 if (kcountHEnegativedirectionRecosignal3 == 10)
11327 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-20; depth = 3 \b");
11328 if (kcountHEnegativedirectionRecosignal3 == 11)
11329 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-19; depth = 3 \b");
11330 if (kcountHEnegativedirectionRecosignal3 == 12)
11331 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-18; depth = 3 \b");
11332 if (kcountHEnegativedirectionRecosignal3 == 13)
11333 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-17; depth = 3 \b");
11334 HEnegativedirectionRecosignal3->Draw(
"Error");
11335 kcountHEnegativedirectionRecosignal3++;
11336 if (kcountHEnegativedirectionRecosignal3 > 13)
11345 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
11348 if (h2CeffHEnegativedirectionRecosignal3)
11349 delete h2CeffHEnegativedirectionRecosignal3;
11356 c3x5->Divide(3, 5);
11358 int kcountHEnegativedirectionRecosignal4 = 1;
11359 TH1F *h2CeffHEnegativedirectionRecosignal4 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal4",
"",
nphi, 0., 72.);
11363 if (
jeta - 41 < 0) {
11366 for (
int i = 3;
i < 4;
i++) {
11367 TH1F *HEnegativedirectionRecosignal4 = (TH1F *)h2CeffHEnegativedirectionRecosignal4->Clone(
"twod1");
11370 for (
int jphi = 0; jphi <
nphi; jphi++) {
11371 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11373 HEnegativedirectionRecosignal4->Fill(jphi, ccc1);
11377 if (ccctest > 0.) {
11379 c3x5->cd(kcountHEnegativedirectionRecosignal4);
11380 HEnegativedirectionRecosignal4->SetMarkerStyle(20);
11381 HEnegativedirectionRecosignal4->SetMarkerSize(0.4);
11382 HEnegativedirectionRecosignal4->GetYaxis()->SetLabelSize(0.04);
11383 HEnegativedirectionRecosignal4->SetXTitle(
"HEnegativedirectionRecosignal4 \b");
11384 HEnegativedirectionRecosignal4->SetMarkerColor(2);
11385 HEnegativedirectionRecosignal4->SetLineColor(0);
11389 if (kcountHEnegativedirectionRecosignal4 == 1)
11390 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-28; depth = 4 \b");
11391 if (kcountHEnegativedirectionRecosignal4 == 2)
11392 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-27; depth = 4 \b");
11393 if (kcountHEnegativedirectionRecosignal4 == 3)
11394 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-26; depth = 4 \b");
11395 if (kcountHEnegativedirectionRecosignal4 == 4)
11396 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-25; depth = 4 \b");
11397 if (kcountHEnegativedirectionRecosignal4 == 5)
11398 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-24; depth = 4 \b");
11399 if (kcountHEnegativedirectionRecosignal4 == 6)
11400 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-23; depth = 4 \b");
11401 if (kcountHEnegativedirectionRecosignal4 == 7)
11402 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-22; depth = 4 \b");
11403 if (kcountHEnegativedirectionRecosignal4 == 8)
11404 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-21; depth = 4 \b");
11405 if (kcountHEnegativedirectionRecosignal4 == 9)
11406 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-20; depth = 4 \b");
11407 if (kcountHEnegativedirectionRecosignal4 == 10)
11408 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-19; depth = 4 \b");
11409 if (kcountHEnegativedirectionRecosignal4 == 11)
11410 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-18; depth = 4 \b");
11411 if (kcountHEnegativedirectionRecosignal4 == 12)
11412 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-16; depth = 4 \b");
11413 HEnegativedirectionRecosignal4->Draw(
"Error");
11414 kcountHEnegativedirectionRecosignal4++;
11415 if (kcountHEnegativedirectionRecosignal4 > 12)
11424 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
11427 if (h2CeffHEnegativedirectionRecosignal4)
11428 delete h2CeffHEnegativedirectionRecosignal4;
11435 c3x5->Divide(3, 5);
11437 int kcountHEnegativedirectionRecosignal5 = 1;
11438 TH1F *h2CeffHEnegativedirectionRecosignal5 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal5",
"",
nphi, 0., 72.);
11442 if (
jeta - 41 < 0) {
11445 for (
int i = 4;
i < 5;
i++) {
11446 TH1F *HEnegativedirectionRecosignal5 = (TH1F *)h2CeffHEnegativedirectionRecosignal5->Clone(
"twod1");
11449 for (
int jphi = 0; jphi <
nphi; jphi++) {
11452 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11454 HEnegativedirectionRecosignal5->Fill(jphi, ccc1);
11458 if (ccctest > 0.) {
11460 c3x5->cd(kcountHEnegativedirectionRecosignal5);
11461 HEnegativedirectionRecosignal5->SetMarkerStyle(20);
11462 HEnegativedirectionRecosignal5->SetMarkerSize(0.4);
11463 HEnegativedirectionRecosignal5->GetYaxis()->SetLabelSize(0.04);
11464 HEnegativedirectionRecosignal5->SetXTitle(
"HEnegativedirectionRecosignal5 \b");
11465 HEnegativedirectionRecosignal5->SetMarkerColor(2);
11466 HEnegativedirectionRecosignal5->SetLineColor(0);
11470 if (kcountHEnegativedirectionRecosignal5 == 1)
11471 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-28; depth = 5 \b");
11472 if (kcountHEnegativedirectionRecosignal5 == 2)
11473 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-27; depth = 5 \b");
11474 if (kcountHEnegativedirectionRecosignal5 == 3)
11475 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-26; depth = 5 \b");
11476 if (kcountHEnegativedirectionRecosignal5 == 4)
11477 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-25; depth = 5 \b");
11478 if (kcountHEnegativedirectionRecosignal5 == 5)
11479 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-24; depth = 5 \b");
11480 if (kcountHEnegativedirectionRecosignal5 == 6)
11481 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-23; depth = 5 \b");
11482 if (kcountHEnegativedirectionRecosignal5 == 7)
11483 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-22; depth = 5 \b");
11484 if (kcountHEnegativedirectionRecosignal5 == 8)
11485 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-21; depth = 5 \b");
11486 if (kcountHEnegativedirectionRecosignal5 == 9)
11487 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-20; depth = 5 \b");
11488 if (kcountHEnegativedirectionRecosignal5 == 10)
11489 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-19; depth = 5 \b");
11490 if (kcountHEnegativedirectionRecosignal5 == 11)
11491 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-18; depth = 5 \b");
11492 HEnegativedirectionRecosignal5->Draw(
"Error");
11493 kcountHEnegativedirectionRecosignal5++;
11494 if (kcountHEnegativedirectionRecosignal5 > 11)
11503 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
11506 if (h2CeffHEnegativedirectionRecosignal5)
11507 delete h2CeffHEnegativedirectionRecosignal5;
11514 c3x5->Divide(3, 5);
11516 int kcountHEnegativedirectionRecosignal6 = 1;
11517 TH1F *h2CeffHEnegativedirectionRecosignal6 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal6",
"",
nphi, 0., 72.);
11521 if (
jeta - 41 < 0) {
11524 for (
int i = 5;
i < 6;
i++) {
11525 TH1F *HEnegativedirectionRecosignal6 = (TH1F *)h2CeffHEnegativedirectionRecosignal6->Clone(
"twod1");
11528 for (
int jphi = 0; jphi <
nphi; jphi++) {
11529 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11531 HEnegativedirectionRecosignal6->Fill(jphi, ccc1);
11535 if (ccctest > 0.) {
11537 c3x5->cd(kcountHEnegativedirectionRecosignal6);
11538 HEnegativedirectionRecosignal6->SetMarkerStyle(20);
11539 HEnegativedirectionRecosignal6->SetMarkerSize(0.4);
11540 HEnegativedirectionRecosignal6->GetYaxis()->SetLabelSize(0.04);
11541 HEnegativedirectionRecosignal6->SetXTitle(
"HEnegativedirectionRecosignal6 \b");
11542 HEnegativedirectionRecosignal6->SetMarkerColor(2);
11543 HEnegativedirectionRecosignal6->SetLineColor(0);
11547 if (kcountHEnegativedirectionRecosignal6 == 1)
11548 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-28; depth = 6 \b");
11549 if (kcountHEnegativedirectionRecosignal6 == 2)
11550 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-27; depth = 6 \b");
11551 if (kcountHEnegativedirectionRecosignal6 == 3)
11552 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-26; depth = 6 \b");
11553 if (kcountHEnegativedirectionRecosignal6 == 4)
11554 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-25; depth = 6 \b");
11555 if (kcountHEnegativedirectionRecosignal6 == 5)
11556 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-24; depth = 6 \b");
11557 if (kcountHEnegativedirectionRecosignal6 == 6)
11558 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-23; depth = 6 \b");
11559 if (kcountHEnegativedirectionRecosignal6 == 7)
11560 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-22; depth = 6 \b");
11561 if (kcountHEnegativedirectionRecosignal6 == 8)
11562 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-21; depth = 6 \b");
11563 if (kcountHEnegativedirectionRecosignal6 == 9)
11564 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-20; depth = 6 \b");
11565 if (kcountHEnegativedirectionRecosignal6 == 10)
11566 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-19; depth = 6 \b");
11567 HEnegativedirectionRecosignal6->Draw(
"Error");
11568 kcountHEnegativedirectionRecosignal6++;
11569 if (kcountHEnegativedirectionRecosignal6 > 10)
11578 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
11581 if (h2CeffHEnegativedirectionRecosignal6)
11582 delete h2CeffHEnegativedirectionRecosignal6;
11589 c3x5->Divide(3, 5);
11591 int kcountHEnegativedirectionRecosignal7 = 1;
11592 TH1F *h2CeffHEnegativedirectionRecosignal7 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal7",
"",
nphi, 0., 72.);
11596 if (
jeta - 41 < 0) {
11599 for (
int i = 6;
i < 7;
i++) {
11600 TH1F *HEnegativedirectionRecosignal7 = (TH1F *)h2CeffHEnegativedirectionRecosignal7->Clone(
"twod1");
11603 for (
int jphi = 0; jphi <
nphi; jphi++) {
11604 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11606 HEnegativedirectionRecosignal7->Fill(jphi, ccc1);
11610 if (ccctest > 0.) {
11612 c3x5->cd(kcountHEnegativedirectionRecosignal7);
11613 HEnegativedirectionRecosignal7->SetMarkerStyle(20);
11614 HEnegativedirectionRecosignal7->SetMarkerSize(0.4);
11615 HEnegativedirectionRecosignal7->GetYaxis()->SetLabelSize(0.04);
11616 HEnegativedirectionRecosignal7->SetXTitle(
"HEnegativedirectionRecosignal7 \b");
11617 HEnegativedirectionRecosignal7->SetMarkerColor(2);
11618 HEnegativedirectionRecosignal7->SetLineColor(0);
11622 if (kcountHEnegativedirectionRecosignal7 == 1)
11623 HEnegativedirectionRecosignal7->SetXTitle(
"R for HE- jeta =-28; depth = 7 \b");
11624 if (kcountHEnegativedirectionRecosignal7 == 2)
11625 HEnegativedirectionRecosignal7->SetXTitle(
"R for HE- jeta =-27; depth = 7 \b");
11626 if (kcountHEnegativedirectionRecosignal7 == 3)
11627 HEnegativedirectionRecosignal7->SetXTitle(
"R for HE- jeta =-26; depth = 7 \b");
11628 HEnegativedirectionRecosignal7->Draw(
"Error");
11629 kcountHEnegativedirectionRecosignal7++;
11630 if (kcountHEnegativedirectionRecosignal7 > 3)
11639 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
11642 if (h2CeffHEnegativedirectionRecosignal7)
11643 delete h2CeffHEnegativedirectionRecosignal7;
11650 TH2F *recosignalVariance1HE1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE1");
11651 TH2F *recosignalVariance0HE1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE1");
11652 TH2F *recosignalVarianceHE1 = (TH2F *)recosignalVariance1HE1->Clone(
"recosignalVarianceHE1");
11653 recosignalVarianceHE1->Divide(recosignalVariance1HE1, recosignalVariance0HE1, 1, 1,
"B");
11654 TH2F *recosignalVariance1HE2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE2");
11655 TH2F *recosignalVariance0HE2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE2");
11656 TH2F *recosignalVarianceHE2 = (TH2F *)recosignalVariance1HE2->Clone(
"recosignalVarianceHE2");
11657 recosignalVarianceHE2->Divide(recosignalVariance1HE2, recosignalVariance0HE2, 1, 1,
"B");
11658 TH2F *recosignalVariance1HE3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE3");
11659 TH2F *recosignalVariance0HE3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE3");
11660 TH2F *recosignalVarianceHE3 = (TH2F *)recosignalVariance1HE3->Clone(
"recosignalVarianceHE3");
11661 recosignalVarianceHE3->Divide(recosignalVariance1HE3, recosignalVariance0HE3, 1, 1,
"B");
11662 TH2F *recosignalVariance1HE4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE4");
11663 TH2F *recosignalVariance0HE4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE4");
11664 TH2F *recosignalVarianceHE4 = (TH2F *)recosignalVariance1HE4->Clone(
"recosignalVarianceHE4");
11665 recosignalVarianceHE4->Divide(recosignalVariance1HE4, recosignalVariance0HE4, 1, 1,
"B");
11666 TH2F *recosignalVariance1HE5 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE5");
11667 TH2F *recosignalVariance0HE5 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE5");
11668 TH2F *recosignalVarianceHE5 = (TH2F *)recosignalVariance1HE5->Clone(
"recosignalVarianceHE5");
11669 recosignalVarianceHE5->Divide(recosignalVariance1HE5, recosignalVariance0HE5, 1, 1,
"B");
11670 TH2F *recosignalVariance1HE6 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE6");
11671 TH2F *recosignalVariance0HE6 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE6");
11672 TH2F *recosignalVarianceHE6 = (TH2F *)recosignalVariance1HE6->Clone(
"recosignalVarianceHE6");
11673 recosignalVarianceHE6->Divide(recosignalVariance1HE6, recosignalVariance0HE6, 1, 1,
"B");
11674 TH2F *recosignalVariance1HE7 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE7");
11675 TH2F *recosignalVariance0HE7 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE7");
11676 TH2F *recosignalVarianceHE7 = (TH2F *)recosignalVariance1HE7->Clone(
"recosignalVarianceHE7");
11677 recosignalVarianceHE7->Divide(recosignalVariance1HE7, recosignalVariance0HE7, 1, 1,
"B");
11683 double sumrecosignalHE0 = 0;
11684 int nsumrecosignalHE0 = 0;
11685 double sumrecosignalHE1 = 0;
11686 int nsumrecosignalHE1 = 0;
11687 double sumrecosignalHE2 = 0;
11688 int nsumrecosignalHE2 = 0;
11689 double sumrecosignalHE3 = 0;
11690 int nsumrecosignalHE3 = 0;
11691 double sumrecosignalHE4 = 0;
11692 int nsumrecosignalHE4 = 0;
11693 double sumrecosignalHE5 = 0;
11694 int nsumrecosignalHE5 = 0;
11695 double sumrecosignalHE6 = 0;
11696 int nsumrecosignalHE6 = 0;
11697 for (
int jphi = 0; jphi < njphi; jphi++) {
11698 recosignalvariancehe[0][
jeta][jphi] = recosignalVarianceHE1->GetBinContent(
jeta + 1, jphi + 1);
11699 recosignalvariancehe[1][
jeta][jphi] = recosignalVarianceHE2->GetBinContent(
jeta + 1, jphi + 1);
11700 recosignalvariancehe[2][
jeta][jphi] = recosignalVarianceHE3->GetBinContent(
jeta + 1, jphi + 1);
11701 recosignalvariancehe[3][
jeta][jphi] = recosignalVarianceHE4->GetBinContent(
jeta + 1, jphi + 1);
11702 recosignalvariancehe[4][
jeta][jphi] = recosignalVarianceHE5->GetBinContent(
jeta + 1, jphi + 1);
11703 recosignalvariancehe[5][
jeta][jphi] = recosignalVarianceHE6->GetBinContent(
jeta + 1, jphi + 1);
11704 recosignalvariancehe[6][
jeta][jphi] = recosignalVarianceHE7->GetBinContent(
jeta + 1, jphi + 1);
11705 if (recosignalvariancehe[0][
jeta][jphi] > 0.) {
11706 sumrecosignalHE0 += recosignalvariancehe[0][
jeta][jphi];
11707 ++nsumrecosignalHE0;
11709 if (recosignalvariancehe[1][
jeta][jphi] > 0.) {
11710 sumrecosignalHE1 += recosignalvariancehe[1][
jeta][jphi];
11711 ++nsumrecosignalHE1;
11713 if (recosignalvariancehe[2][
jeta][jphi] > 0.) {
11714 sumrecosignalHE2 += recosignalvariancehe[2][
jeta][jphi];
11715 ++nsumrecosignalHE2;
11717 if (recosignalvariancehe[3][
jeta][jphi] > 0.) {
11718 sumrecosignalHE3 += recosignalvariancehe[3][
jeta][jphi];
11719 ++nsumrecosignalHE3;
11721 if (recosignalvariancehe[4][
jeta][jphi] > 0.) {
11722 sumrecosignalHE4 += recosignalvariancehe[4][
jeta][jphi];
11723 ++nsumrecosignalHE4;
11725 if (recosignalvariancehe[5][
jeta][jphi] > 0.) {
11726 sumrecosignalHE5 += recosignalvariancehe[5][
jeta][jphi];
11727 ++nsumrecosignalHE5;
11729 if (recosignalvariancehe[6][
jeta][jphi] > 0.) {
11730 sumrecosignalHE6 += recosignalvariancehe[6][
jeta][jphi];
11731 ++nsumrecosignalHE6;
11735 for (
int jphi = 0; jphi < njphi; jphi++) {
11736 if (recosignalvariancehe[0][
jeta][jphi] > 0.)
11737 recosignalvariancehe[0][
jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0);
11738 if (recosignalvariancehe[1][
jeta][jphi] > 0.)
11739 recosignalvariancehe[1][
jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1);
11740 if (recosignalvariancehe[2][
jeta][jphi] > 0.)
11741 recosignalvariancehe[2][
jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2);
11742 if (recosignalvariancehe[3][
jeta][jphi] > 0.)
11743 recosignalvariancehe[3][
jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3);
11744 if (recosignalvariancehe[4][
jeta][jphi] > 0.)
11745 recosignalvariancehe[4][
jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4);
11746 if (recosignalvariancehe[5][
jeta][jphi] > 0.)
11747 recosignalvariancehe[5][
jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5);
11748 if (recosignalvariancehe[6][
jeta][jphi] > 0.)
11749 recosignalvariancehe[6][
jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6);
11752 for (
int jphi = 0; jphi < njphi; jphi++) {
11754 recosignalvariancehe[0][
jeta][jphi] -= arecosignalhe[0][
jeta][jphi] * arecosignalhe[0][
jeta][jphi];
11755 recosignalvariancehe[0][
jeta][jphi] = fabs(recosignalvariancehe[0][
jeta][jphi]);
11756 recosignalvariancehe[1][
jeta][jphi] -= arecosignalhe[1][
jeta][jphi] * arecosignalhe[1][
jeta][jphi];
11757 recosignalvariancehe[1][
jeta][jphi] = fabs(recosignalvariancehe[1][
jeta][jphi]);
11758 recosignalvariancehe[2][
jeta][jphi] -= arecosignalhe[2][
jeta][jphi] * arecosignalhe[2][
jeta][jphi];
11759 recosignalvariancehe[2][
jeta][jphi] = fabs(recosignalvariancehe[2][
jeta][jphi]);
11760 recosignalvariancehe[3][
jeta][jphi] -= arecosignalhe[3][
jeta][jphi] * arecosignalhe[3][
jeta][jphi];
11761 recosignalvariancehe[3][
jeta][jphi] = fabs(recosignalvariancehe[3][
jeta][jphi]);
11762 recosignalvariancehe[4][
jeta][jphi] -= arecosignalhe[4][
jeta][jphi] * arecosignalhe[4][
jeta][jphi];
11763 recosignalvariancehe[4][
jeta][jphi] = fabs(recosignalvariancehe[4][
jeta][jphi]);
11764 recosignalvariancehe[5][
jeta][jphi] -= arecosignalhe[5][
jeta][jphi] * arecosignalhe[5][
jeta][jphi];
11765 recosignalvariancehe[5][
jeta][jphi] = fabs(recosignalvariancehe[5][
jeta][jphi]);
11766 recosignalvariancehe[6][
jeta][jphi] -= arecosignalhe[6][
jeta][jphi] * arecosignalhe[6][
jeta][jphi];
11767 recosignalvariancehe[6][
jeta][jphi] = fabs(recosignalvariancehe[6][
jeta][jphi]);
11777 c1x0->Divide(1, 1);
11779 TH2F *DefzDrecosignalHE42D =
new TH2F(
"DefzDrecosignalHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
11780 TH2F *DefzDrecosignalHE42D0 =
new TH2F(
"DefzDrecosignalHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
11781 TH2F *DefzDrecosignalHE42DF = (TH2F *)DefzDrecosignalHE42D0->Clone(
"DefzDrecosignalHE42DF");
11784 for (
int jphi = 0; jphi <
nphi; jphi++) {
11785 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
11786 int k2plot =
jeta - 41;
11788 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
11789 DefzDrecosignalHE42D->Fill(kkk, jphi, ccc1);
11790 DefzDrecosignalHE42D0->Fill(kkk, jphi, 1.);
11795 DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D, DefzDrecosignalHE42D0, 1, 1,
"B");
11799 DefzDrecosignalHE42DF->SetMarkerStyle(20);
11800 DefzDrecosignalHE42DF->SetMarkerSize(0.4);
11801 DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08);
11802 DefzDrecosignalHE42DF->SetXTitle(
"<D>_depth #eta \b");
11803 DefzDrecosignalHE42DF->SetYTitle(
" #phi \b");
11804 DefzDrecosignalHE42DF->SetZTitle(
"<D>_depth \b");
11805 DefzDrecosignalHE42DF->SetMarkerColor(2);
11806 DefzDrecosignalHE42DF->SetLineColor(
11808 DefzDrecosignalHE42DF->Draw(
"COLZ");
11811 c1x0->Print(
"DrecosignalGeneralD2PhiSymmetryHE.png");
11814 if (DefzDrecosignalHE42D)
11815 delete DefzDrecosignalHE42D;
11816 if (DefzDrecosignalHE42D0)
11817 delete DefzDrecosignalHE42D0;
11818 if (DefzDrecosignalHE42DF)
11819 delete DefzDrecosignalHE42DF;
11825 c1x1->Divide(1, 1);
11827 TH1F *DefzDrecosignalHE41D =
new TH1F(
"DefzDrecosignalHE41D",
"",
nphi, 0., 72.);
11828 TH1F *DefzDrecosignalHE41D0 =
new TH1F(
"DefzDrecosignalHE41D0",
"",
nphi, 0., 72.);
11829 TH1F *DefzDrecosignalHE41DF = (TH1F *)DefzDrecosignalHE41D0->Clone(
"DefzDrecosignalHE41DF");
11831 for (
int jphi = 0; jphi <
nphi; jphi++) {
11834 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
11835 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
11836 DefzDrecosignalHE41D->Fill(jphi, ccc1);
11837 DefzDrecosignalHE41D0->Fill(jphi, 1.);
11844 DefzDrecosignalHE41DF->Divide(
11845 DefzDrecosignalHE41D, DefzDrecosignalHE41D0, 1, 1,
"B");
11846 DefzDrecosignalHE41D0->Sumw2();
11850 DefzDrecosignalHE41DF->SetMarkerStyle(20);
11851 DefzDrecosignalHE41DF->SetMarkerSize(1.4);
11852 DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08);
11853 DefzDrecosignalHE41DF->SetXTitle(
"#phi \b");
11854 DefzDrecosignalHE41DF->SetYTitle(
" <D> \b");
11855 DefzDrecosignalHE41DF->SetZTitle(
"<D>_PHI - AllDepthes \b");
11856 DefzDrecosignalHE41DF->SetMarkerColor(4);
11857 DefzDrecosignalHE41DF->SetLineColor(
11859 DefzDrecosignalHE41DF->Draw(
"Error");
11862 c1x1->Print(
"DrecosignalGeneralD1PhiSymmetryHE.png");
11865 if (DefzDrecosignalHE41D)
11866 delete DefzDrecosignalHE41D;
11867 if (DefzDrecosignalHE41D0)
11868 delete DefzDrecosignalHE41D0;
11869 if (DefzDrecosignalHE41DF)
11870 delete DefzDrecosignalHE41DF;
11877 c3x5->Divide(3, 5);
11879 int kcountHEpositivedirectionRecosignalD1 = 1;
11880 TH1F *h2CeffHEpositivedirectionRecosignalD1 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD1",
"",
nphi, 0., 72.);
11884 if (
jeta - 41 >= 0) {
11887 for (
int i = 0;
i < 1;
i++) {
11888 TH1F *HEpositivedirectionRecosignalD1 = (TH1F *)h2CeffHEpositivedirectionRecosignalD1->Clone(
"twod1");
11891 for (
int jphi = 0; jphi <
nphi; jphi++) {
11892 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
11893 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
11894 HEpositivedirectionRecosignalD1->Fill(jphi, ccc1);
11898 if (ccctest > 0.) {
11900 c3x5->cd(kcountHEpositivedirectionRecosignalD1);
11901 HEpositivedirectionRecosignalD1->SetMarkerStyle(20);
11902 HEpositivedirectionRecosignalD1->SetMarkerSize(0.4);
11903 HEpositivedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
11904 HEpositivedirectionRecosignalD1->SetXTitle(
"HEpositivedirectionRecosignalD1 \b");
11905 HEpositivedirectionRecosignalD1->SetMarkerColor(2);
11906 HEpositivedirectionRecosignalD1->SetLineColor(0);
11910 if (kcountHEpositivedirectionRecosignalD1 == 1)
11911 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 17; depth = 1 \b");
11912 if (kcountHEpositivedirectionRecosignalD1 == 2)
11913 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 18; depth = 1 \b");
11914 if (kcountHEpositivedirectionRecosignalD1 == 3)
11915 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 19; depth = 1 \b");
11916 if (kcountHEpositivedirectionRecosignalD1 == 4)
11917 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 20; depth = 1 \b");
11918 if (kcountHEpositivedirectionRecosignalD1 == 5)
11919 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 21; depth = 1 \b");
11920 if (kcountHEpositivedirectionRecosignalD1 == 6)
11921 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 22; depth = 1 \b");
11922 if (kcountHEpositivedirectionRecosignalD1 == 7)
11923 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 23; depth = 1 \b");
11924 if (kcountHEpositivedirectionRecosignalD1 == 8)
11925 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 24; depth = 1 \b");
11926 if (kcountHEpositivedirectionRecosignalD1 == 9)
11927 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 25; depth = 1 \b");
11928 if (kcountHEpositivedirectionRecosignalD1 == 10)
11929 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 26; depth = 1 \b");
11930 if (kcountHEpositivedirectionRecosignalD1 == 11)
11931 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 27; depth = 1 \b");
11932 if (kcountHEpositivedirectionRecosignalD1 == 12)
11933 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 28; depth = 1 \b");
11934 HEpositivedirectionRecosignalD1->Draw(
"Error");
11935 kcountHEpositivedirectionRecosignalD1++;
11936 if (kcountHEpositivedirectionRecosignalD1 > 12)
11945 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png");
11948 if (h2CeffHEpositivedirectionRecosignalD1)
11949 delete h2CeffHEpositivedirectionRecosignalD1;
11955 c3x5->Divide(3, 5);
11957 int kcountHEpositivedirectionRecosignalD2 = 1;
11958 TH1F *h2CeffHEpositivedirectionRecosignalD2 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD2",
"",
nphi, 0., 72.);
11962 if (
jeta - 41 >= 0) {
11965 for (
int i = 1;
i < 2;
i++) {
11966 TH1F *HEpositivedirectionRecosignalD2 = (TH1F *)h2CeffHEpositivedirectionRecosignalD2->Clone(
"twod1");
11969 for (
int jphi = 0; jphi <
nphi; jphi++) {
11970 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
11971 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
11972 HEpositivedirectionRecosignalD2->Fill(jphi, ccc1);
11976 if (ccctest > 0.) {
11978 c3x5->cd(kcountHEpositivedirectionRecosignalD2);
11979 HEpositivedirectionRecosignalD2->SetMarkerStyle(20);
11980 HEpositivedirectionRecosignalD2->SetMarkerSize(0.4);
11981 HEpositivedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
11982 HEpositivedirectionRecosignalD2->SetXTitle(
"HEpositivedirectionRecosignalD2 \b");
11983 HEpositivedirectionRecosignalD2->SetMarkerColor(2);
11984 HEpositivedirectionRecosignalD2->SetLineColor(0);
11988 if (kcountHEpositivedirectionRecosignalD2 == 1)
11989 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 16; depth = 2 \b");
11990 if (kcountHEpositivedirectionRecosignalD2 == 2)
11991 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 17; depth = 2 \b");
11992 if (kcountHEpositivedirectionRecosignalD2 == 3)
11993 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 18; depth = 2 \b");
11994 if (kcountHEpositivedirectionRecosignalD2 == 4)
11995 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 19; depth = 2 \b");
11996 if (kcountHEpositivedirectionRecosignalD2 == 5)
11997 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 20; depth = 2 \b");
11998 if (kcountHEpositivedirectionRecosignalD2 == 6)
11999 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 21; depth = 2 \b");
12000 if (kcountHEpositivedirectionRecosignalD2 == 7)
12001 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 22; depth = 2 \b");
12002 if (kcountHEpositivedirectionRecosignalD2 == 8)
12003 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 23; depth = 2 \b");
12004 if (kcountHEpositivedirectionRecosignalD2 == 9)
12005 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 24; depth = 2 \b");
12006 if (kcountHEpositivedirectionRecosignalD2 == 10)
12007 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 25; depth = 2 \b");
12008 if (kcountHEpositivedirectionRecosignalD2 == 11)
12009 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 26; depth = 2 \b");
12010 if (kcountHEpositivedirectionRecosignalD2 == 12)
12011 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 27; depth = 2 \b");
12012 if (kcountHEpositivedirectionRecosignalD2 == 13)
12013 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 28; depth = 2 \b");
12014 HEpositivedirectionRecosignalD2->Draw(
"Error");
12015 kcountHEpositivedirectionRecosignalD2++;
12016 if (kcountHEpositivedirectionRecosignalD2 > 13)
12025 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png");
12028 if (h2CeffHEpositivedirectionRecosignalD2)
12029 delete h2CeffHEpositivedirectionRecosignalD2;
12035 c3x5->Divide(3, 5);
12037 int kcountHEpositivedirectionRecosignalD3 = 1;
12038 TH1F *h2CeffHEpositivedirectionRecosignalD3 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD3",
"",
nphi, 0., 72.);
12042 if (
jeta - 41 >= 0) {
12045 for (
int i = 2;
i < 3;
i++) {
12046 TH1F *HEpositivedirectionRecosignalD3 = (TH1F *)h2CeffHEpositivedirectionRecosignalD3->Clone(
"twod1");
12049 for (
int jphi = 0; jphi <
nphi; jphi++) {
12050 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12051 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12052 HEpositivedirectionRecosignalD3->Fill(jphi, ccc1);
12056 if (ccctest > 0.) {
12058 c3x5->cd(kcountHEpositivedirectionRecosignalD3);
12059 HEpositivedirectionRecosignalD3->SetMarkerStyle(20);
12060 HEpositivedirectionRecosignalD3->SetMarkerSize(0.4);
12061 HEpositivedirectionRecosignalD3->GetYaxis()->SetLabelSize(0.04);
12062 HEpositivedirectionRecosignalD3->SetXTitle(
"HEpositivedirectionRecosignalD3 \b");
12063 HEpositivedirectionRecosignalD3->SetMarkerColor(2);
12064 HEpositivedirectionRecosignalD3->SetLineColor(0);
12068 if (kcountHEpositivedirectionRecosignalD3 == 1)
12069 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 16; depth = 3 \b");
12070 if (kcountHEpositivedirectionRecosignalD3 == 2)
12071 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 17; depth = 3 \b");
12072 if (kcountHEpositivedirectionRecosignalD3 == 3)
12073 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 18; depth = 3 \b");
12074 if (kcountHEpositivedirectionRecosignalD3 == 4)
12075 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 19; depth = 3 \b");
12076 if (kcountHEpositivedirectionRecosignalD3 == 5)
12077 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 20; depth = 3 \b");
12078 if (kcountHEpositivedirectionRecosignalD3 == 6)
12079 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 21; depth = 3 \b");
12080 if (kcountHEpositivedirectionRecosignalD3 == 7)
12081 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 22; depth = 3 \b");
12082 if (kcountHEpositivedirectionRecosignalD3 == 8)
12083 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 23; depth = 3 \b");
12084 if (kcountHEpositivedirectionRecosignalD3 == 9)
12085 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 24; depth = 3 \b");
12086 if (kcountHEpositivedirectionRecosignalD3 == 10)
12087 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 25; depth = 3 \b");
12088 if (kcountHEpositivedirectionRecosignalD3 == 11)
12089 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 26; depth = 3 \b");
12090 if (kcountHEpositivedirectionRecosignalD3 == 12)
12091 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 27; depth = 3 \b");
12092 if (kcountHEpositivedirectionRecosignalD3 == 13)
12093 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 28; depth = 3 \b");
12094 HEpositivedirectionRecosignalD3->Draw(
"Error");
12095 kcountHEpositivedirectionRecosignalD3++;
12096 if (kcountHEpositivedirectionRecosignalD3 > 13)
12105 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png");
12108 if (h2CeffHEpositivedirectionRecosignalD3)
12109 delete h2CeffHEpositivedirectionRecosignalD3;
12115 c3x5->Divide(3, 5);
12117 int kcountHEpositivedirectionRecosignalD4 = 1;
12118 TH1F *h2CeffHEpositivedirectionRecosignalD4 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD4",
"",
nphi, 0., 72.);
12122 if (
jeta - 41 >= 0) {
12125 for (
int i = 3;
i < 4;
i++) {
12126 TH1F *HEpositivedirectionRecosignalD4 = (TH1F *)h2CeffHEpositivedirectionRecosignalD4->Clone(
"twod1");
12129 for (
int jphi = 0; jphi <
nphi; jphi++) {
12130 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12131 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12132 HEpositivedirectionRecosignalD4->Fill(jphi, ccc1);
12136 if (ccctest > 0.) {
12138 c3x5->cd(kcountHEpositivedirectionRecosignalD4);
12139 HEpositivedirectionRecosignalD4->SetMarkerStyle(20);
12140 HEpositivedirectionRecosignalD4->SetMarkerSize(0.4);
12141 HEpositivedirectionRecosignalD4->GetYaxis()->SetLabelSize(0.04);
12142 HEpositivedirectionRecosignalD4->SetXTitle(
"HEpositivedirectionRecosignalD4 \b");
12143 HEpositivedirectionRecosignalD4->SetMarkerColor(2);
12144 HEpositivedirectionRecosignalD4->SetLineColor(0);
12148 if (kcountHEpositivedirectionRecosignalD4 == 1)
12149 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 15; depth = 4 \b");
12150 if (kcountHEpositivedirectionRecosignalD4 == 2)
12151 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 17; depth = 4 \b");
12152 if (kcountHEpositivedirectionRecosignalD4 == 3)
12153 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 18; depth = 4 \b");
12154 if (kcountHEpositivedirectionRecosignalD4 == 4)
12155 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 19; depth = 4 \b");
12156 if (kcountHEpositivedirectionRecosignalD4 == 5)
12157 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 20; depth = 4 \b");
12158 if (kcountHEpositivedirectionRecosignalD4 == 6)
12159 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 21; depth = 4 \b");
12160 if (kcountHEpositivedirectionRecosignalD4 == 7)
12161 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 22; depth = 4 \b");
12162 if (kcountHEpositivedirectionRecosignalD4 == 8)
12163 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 23; depth = 4 \b");
12164 if (kcountHEpositivedirectionRecosignalD4 == 9)
12165 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 24; depth = 4 \b");
12166 if (kcountHEpositivedirectionRecosignalD4 == 10)
12167 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 25; depth = 4 \b");
12168 if (kcountHEpositivedirectionRecosignalD4 == 11)
12169 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 26; depth = 4 \b");
12170 if (kcountHEpositivedirectionRecosignalD4 == 12)
12171 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 27; depth = 4 \b");
12172 HEpositivedirectionRecosignalD4->Draw(
"Error");
12173 kcountHEpositivedirectionRecosignalD4++;
12174 if (kcountHEpositivedirectionRecosignalD4 > 12)
12183 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png");
12186 if (h2CeffHEpositivedirectionRecosignalD4)
12187 delete h2CeffHEpositivedirectionRecosignalD4;
12193 c3x5->Divide(3, 5);
12195 int kcountHEpositivedirectionRecosignalD5 = 1;
12196 TH1F *h2CeffHEpositivedirectionRecosignalD5 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD5",
"",
nphi, 0., 72.);
12200 if (
jeta - 41 >= 0) {
12203 for (
int i = 4;
i < 5;
i++) {
12204 TH1F *HEpositivedirectionRecosignalD5 = (TH1F *)h2CeffHEpositivedirectionRecosignalD5->Clone(
"twod1");
12207 for (
int jphi = 0; jphi <
nphi; jphi++) {
12208 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12209 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12210 HEpositivedirectionRecosignalD5->Fill(jphi, ccc1);
12214 if (ccctest > 0.) {
12216 c3x5->cd(kcountHEpositivedirectionRecosignalD5);
12217 HEpositivedirectionRecosignalD5->SetMarkerStyle(20);
12218 HEpositivedirectionRecosignalD5->SetMarkerSize(0.4);
12219 HEpositivedirectionRecosignalD5->GetYaxis()->SetLabelSize(0.04);
12220 HEpositivedirectionRecosignalD5->SetXTitle(
"HEpositivedirectionRecosignalD5 \b");
12221 HEpositivedirectionRecosignalD5->SetMarkerColor(2);
12222 HEpositivedirectionRecosignalD5->SetLineColor(0);
12226 if (kcountHEpositivedirectionRecosignalD5 == 1)
12227 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 17; depth = 5 \b");
12228 if (kcountHEpositivedirectionRecosignalD5 == 2)
12229 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 18; depth = 5 \b");
12230 if (kcountHEpositivedirectionRecosignalD5 == 3)
12231 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 19; depth = 5 \b");
12232 if (kcountHEpositivedirectionRecosignalD5 == 4)
12233 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 20; depth = 5 \b");
12234 if (kcountHEpositivedirectionRecosignalD5 == 5)
12235 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 21; depth = 5 \b");
12236 if (kcountHEpositivedirectionRecosignalD5 == 6)
12237 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 22; depth = 5 \b");
12238 if (kcountHEpositivedirectionRecosignalD5 == 7)
12239 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 23; depth = 5 \b");
12240 if (kcountHEpositivedirectionRecosignalD5 == 8)
12241 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 24; depth = 5 \b");
12242 if (kcountHEpositivedirectionRecosignalD5 == 9)
12243 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 25; depth = 5 \b");
12244 if (kcountHEpositivedirectionRecosignalD5 == 10)
12245 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 26; depth = 5 \b");
12246 if (kcountHEpositivedirectionRecosignalD5 == 11)
12247 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 27; depth = 5 \b");
12248 HEpositivedirectionRecosignalD5->Draw(
"Error");
12249 kcountHEpositivedirectionRecosignalD5++;
12250 if (kcountHEpositivedirectionRecosignalD5 > 11)
12259 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png");
12262 if (h2CeffHEpositivedirectionRecosignalD5)
12263 delete h2CeffHEpositivedirectionRecosignalD5;
12269 c3x5->Divide(3, 5);
12271 int kcountHEpositivedirectionRecosignalD6 = 1;
12272 TH1F *h2CeffHEpositivedirectionRecosignalD6 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD6",
"",
nphi, 0., 72.);
12276 if (
jeta - 41 >= 0) {
12279 for (
int i = 5;
i < 6;
i++) {
12280 TH1F *HEpositivedirectionRecosignalD6 = (TH1F *)h2CeffHEpositivedirectionRecosignalD6->Clone(
"twod1");
12283 for (
int jphi = 0; jphi <
nphi; jphi++) {
12284 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12285 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12286 HEpositivedirectionRecosignalD6->Fill(jphi, ccc1);
12290 if (ccctest > 0.) {
12292 c3x5->cd(kcountHEpositivedirectionRecosignalD6);
12293 HEpositivedirectionRecosignalD6->SetMarkerStyle(20);
12294 HEpositivedirectionRecosignalD6->SetMarkerSize(0.4);
12295 HEpositivedirectionRecosignalD6->GetYaxis()->SetLabelSize(0.04);
12296 HEpositivedirectionRecosignalD6->SetXTitle(
"HEpositivedirectionRecosignalD6 \b");
12297 HEpositivedirectionRecosignalD6->SetMarkerColor(2);
12298 HEpositivedirectionRecosignalD6->SetLineColor(0);
12302 if (kcountHEpositivedirectionRecosignalD6 == 1)
12303 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 18; depth = 6 \b");
12304 if (kcountHEpositivedirectionRecosignalD6 == 2)
12305 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 19; depth = 6 \b");
12306 if (kcountHEpositivedirectionRecosignalD6 == 3)
12307 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 20; depth = 6 \b");
12308 if (kcountHEpositivedirectionRecosignalD6 == 4)
12309 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 21; depth = 6 \b");
12310 if (kcountHEpositivedirectionRecosignalD6 == 5)
12311 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 22; depth = 6 \b");
12312 if (kcountHEpositivedirectionRecosignalD6 == 6)
12313 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 23; depth = 6 \b");
12314 if (kcountHEpositivedirectionRecosignalD6 == 7)
12315 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 24; depth = 6 \b");
12316 if (kcountHEpositivedirectionRecosignalD6 == 8)
12317 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 25; depth = 6 \b");
12318 if (kcountHEpositivedirectionRecosignalD6 == 9)
12319 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 26; depth = 6 \b");
12320 if (kcountHEpositivedirectionRecosignalD6 == 10)
12321 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 27; depth = 6 \b");
12322 HEpositivedirectionRecosignalD6->Draw(
"Error");
12323 kcountHEpositivedirectionRecosignalD6++;
12324 if (kcountHEpositivedirectionRecosignalD6 > 10)
12333 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png");
12336 if (h2CeffHEpositivedirectionRecosignalD6)
12337 delete h2CeffHEpositivedirectionRecosignalD6;
12343 c3x5->Divide(3, 5);
12345 int kcountHEpositivedirectionRecosignalD7 = 1;
12346 TH1F *h2CeffHEpositivedirectionRecosignalD7 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD7",
"",
nphi, 0., 72.);
12350 if (
jeta - 41 >= 0) {
12353 for (
int i = 6;
i < 7;
i++) {
12354 TH1F *HEpositivedirectionRecosignalD7 = (TH1F *)h2CeffHEpositivedirectionRecosignalD7->Clone(
"twod1");
12357 for (
int jphi = 0; jphi <
nphi; jphi++) {
12358 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12359 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12360 HEpositivedirectionRecosignalD7->Fill(jphi, ccc1);
12364 if (ccctest != 0.) {
12366 c3x5->cd(kcountHEpositivedirectionRecosignalD7);
12367 HEpositivedirectionRecosignalD7->SetMarkerStyle(20);
12368 HEpositivedirectionRecosignalD7->SetMarkerSize(0.4);
12369 HEpositivedirectionRecosignalD7->GetYaxis()->SetLabelSize(0.04);
12370 HEpositivedirectionRecosignalD7->SetXTitle(
"HEpositivedirectionRecosignalD7 \b");
12371 HEpositivedirectionRecosignalD7->SetMarkerColor(2);
12372 HEpositivedirectionRecosignalD7->SetLineColor(0);
12376 if (kcountHEpositivedirectionRecosignalD7 == 1)
12377 HEpositivedirectionRecosignalD7->SetXTitle(
"D for HE+ jeta = 25; depth = 7 \b");
12378 if (kcountHEpositivedirectionRecosignalD7 == 2)
12379 HEpositivedirectionRecosignalD7->SetXTitle(
"D for HE+ jeta = 26; depth = 7 \b");
12380 if (kcountHEpositivedirectionRecosignalD7 == 3)
12381 HEpositivedirectionRecosignalD7->SetXTitle(
"D for HE+ jeta = 27; depth = 7 \b");
12382 HEpositivedirectionRecosignalD7->Draw(
"Error");
12383 kcountHEpositivedirectionRecosignalD7++;
12384 if (kcountHEpositivedirectionRecosignalD7 > 3)
12393 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png");
12396 if (h2CeffHEpositivedirectionRecosignalD7)
12397 delete h2CeffHEpositivedirectionRecosignalD7;
12405 c3x5->Divide(3, 5);
12407 int kcountHEnegativedirectionRecosignalD1 = 1;
12408 TH1F *h2CeffHEnegativedirectionRecosignalD1 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD1",
"",
nphi, 0., 72.);
12412 if (
jeta - 41 < 0) {
12415 for (
int i = 0;
i < 1;
i++) {
12416 TH1F *HEnegativedirectionRecosignalD1 = (TH1F *)h2CeffHEnegativedirectionRecosignalD1->Clone(
"twod1");
12419 for (
int jphi = 0; jphi <
nphi; jphi++) {
12420 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12421 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12422 HEnegativedirectionRecosignalD1->Fill(jphi, ccc1);
12426 if (ccctest > 0.) {
12428 c3x5->cd(kcountHEnegativedirectionRecosignalD1);
12429 HEnegativedirectionRecosignalD1->SetMarkerStyle(20);
12430 HEnegativedirectionRecosignalD1->SetMarkerSize(0.4);
12431 HEnegativedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
12432 HEnegativedirectionRecosignalD1->SetXTitle(
"HEnegativedirectionRecosignalD1 \b");
12433 HEnegativedirectionRecosignalD1->SetMarkerColor(2);
12434 HEnegativedirectionRecosignalD1->SetLineColor(0);
12438 if (kcountHEnegativedirectionRecosignalD1 == 1)
12439 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-29; depth = 1 \b");
12440 if (kcountHEnegativedirectionRecosignalD1 == 2)
12441 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-28; depth = 1 \b");
12442 if (kcountHEnegativedirectionRecosignalD1 == 3)
12443 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-27; depth = 1 \b");
12444 if (kcountHEnegativedirectionRecosignalD1 == 4)
12445 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-26; depth = 1 \b");
12446 if (kcountHEnegativedirectionRecosignalD1 == 5)
12447 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-25; depth = 1 \b");
12448 if (kcountHEnegativedirectionRecosignalD1 == 6)
12449 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-24; depth = 1 \b");
12450 if (kcountHEnegativedirectionRecosignalD1 == 7)
12451 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-23; depth = 1 \b");
12452 if (kcountHEnegativedirectionRecosignalD1 == 8)
12453 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-22; depth = 1 \b");
12454 if (kcountHEnegativedirectionRecosignalD1 == 9)
12455 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-21; depth = 1 \b");
12456 if (kcountHEnegativedirectionRecosignalD1 == 10)
12457 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-20; depth = 1 \b");
12458 if (kcountHEnegativedirectionRecosignalD1 == 11)
12459 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-19; depth = 1 \b");
12460 if (kcountHEnegativedirectionRecosignalD1 == 12)
12461 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-18; depth = 1 \b");
12462 HEnegativedirectionRecosignalD1->Draw(
"Error");
12463 kcountHEnegativedirectionRecosignalD1++;
12464 if (kcountHEnegativedirectionRecosignalD1 > 12)
12473 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
12476 if (h2CeffHEnegativedirectionRecosignalD1)
12477 delete h2CeffHEnegativedirectionRecosignalD1;
12483 c3x5->Divide(3, 5);
12485 int kcountHEnegativedirectionRecosignalD2 = 1;
12486 TH1F *h2CeffHEnegativedirectionRecosignalD2 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD2",
"",
nphi, 0., 72.);
12490 if (
jeta - 41 < 0) {
12493 for (
int i = 1;
i < 2;
i++) {
12494 TH1F *HEnegativedirectionRecosignalD2 = (TH1F *)h2CeffHEnegativedirectionRecosignalD2->Clone(
"twod1");
12497 for (
int jphi = 0; jphi <
nphi; jphi++) {
12498 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12499 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12500 HEnegativedirectionRecosignalD2->Fill(jphi, ccc1);
12504 if (ccctest > 0.) {
12506 c3x5->cd(kcountHEnegativedirectionRecosignalD2);
12507 HEnegativedirectionRecosignalD2->SetMarkerStyle(20);
12508 HEnegativedirectionRecosignalD2->SetMarkerSize(0.4);
12509 HEnegativedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
12510 HEnegativedirectionRecosignalD2->SetXTitle(
"HEnegativedirectionRecosignalD2 \b");
12511 HEnegativedirectionRecosignalD2->SetMarkerColor(2);
12512 HEnegativedirectionRecosignalD2->SetLineColor(0);
12516 if (kcountHEnegativedirectionRecosignalD2 == 1)
12517 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-29; depth = 2 \b");
12518 if (kcountHEnegativedirectionRecosignalD2 == 2)
12519 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-28; depth = 2 \b");
12520 if (kcountHEnegativedirectionRecosignalD2 == 3)
12521 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-27; depth = 2 \b");
12522 if (kcountHEnegativedirectionRecosignalD2 == 4)
12523 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-26; depth = 2 \b");
12524 if (kcountHEnegativedirectionRecosignalD2 == 5)
12525 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-25; depth = 2 \b");
12526 if (kcountHEnegativedirectionRecosignalD2 == 6)
12527 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-24; depth = 2 \b");
12528 if (kcountHEnegativedirectionRecosignalD2 == 7)
12529 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-23; depth = 2 \b");
12530 if (kcountHEnegativedirectionRecosignalD2 == 8)
12531 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-22; depth = 2 \b");
12532 if (kcountHEnegativedirectionRecosignalD2 == 9)
12533 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-21; depth = 2 \b");
12534 if (kcountHEnegativedirectionRecosignalD2 == 10)
12535 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-20; depth = 2 \b");
12536 if (kcountHEnegativedirectionRecosignalD2 == 11)
12537 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-19; depth = 2 \b");
12538 if (kcountHEnegativedirectionRecosignalD2 == 12)
12539 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-18; depth = 2 \b");
12540 if (kcountHEnegativedirectionRecosignalD2 == 13)
12541 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-17; depth = 2 \b");
12542 HEnegativedirectionRecosignalD2->Draw(
"Error");
12543 kcountHEnegativedirectionRecosignalD2++;
12544 if (kcountHEnegativedirectionRecosignalD2 > 13)
12553 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
12556 if (h2CeffHEnegativedirectionRecosignalD2)
12557 delete h2CeffHEnegativedirectionRecosignalD2;
12563 c3x5->Divide(3, 5);
12565 int kcountHEnegativedirectionRecosignalD3 = 1;
12566 TH1F *h2CeffHEnegativedirectionRecosignalD3 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD3",
"",
nphi, 0., 72.);
12570 if (
jeta - 41 < 0) {
12573 for (
int i = 2;
i < 3;
i++) {
12574 TH1F *HEnegativedirectionRecosignalD3 = (TH1F *)h2CeffHEnegativedirectionRecosignalD3->Clone(
"twod1");
12577 for (
int jphi = 0; jphi <
nphi; jphi++) {
12578 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12579 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12580 HEnegativedirectionRecosignalD3->Fill(jphi, ccc1);
12584 if (ccctest > 0.) {
12586 c3x5->cd(kcountHEnegativedirectionRecosignalD3);
12587 HEnegativedirectionRecosignalD3->SetMarkerStyle(20);
12588 HEnegativedirectionRecosignalD3->SetMarkerSize(0.4);
12589 HEnegativedirectionRecosignalD3->GetYaxis()->SetLabelSize(0.04);
12590 HEnegativedirectionRecosignalD3->SetXTitle(
"HEnegativedirectionRecosignalD3 \b");
12591 HEnegativedirectionRecosignalD3->SetMarkerColor(2);
12592 HEnegativedirectionRecosignalD3->SetLineColor(0);
12596 if (kcountHEnegativedirectionRecosignalD3 == 1)
12597 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-29; depth = 3 \b");
12598 if (kcountHEnegativedirectionRecosignalD3 == 2)
12599 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-28; depth = 3 \b");
12600 if (kcountHEnegativedirectionRecosignalD3 == 3)
12601 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-27; depth = 3 \b");
12602 if (kcountHEnegativedirectionRecosignalD3 == 4)
12603 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-26; depth = 3 \b");
12604 if (kcountHEnegativedirectionRecosignalD3 == 5)
12605 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-25; depth = 3 \b");
12606 if (kcountHEnegativedirectionRecosignalD3 == 6)
12607 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-24; depth = 3 \b");
12608 if (kcountHEnegativedirectionRecosignalD3 == 7)
12609 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-23; depth = 3 \b");
12610 if (kcountHEnegativedirectionRecosignalD3 == 8)
12611 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-22; depth = 3 \b");
12612 if (kcountHEnegativedirectionRecosignalD3 == 9)
12613 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-21; depth = 3 \b");
12614 if (kcountHEnegativedirectionRecosignalD3 == 10)
12615 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-20; depth = 3 \b");
12616 if (kcountHEnegativedirectionRecosignalD3 == 11)
12617 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-19; depth = 3 \b");
12618 if (kcountHEnegativedirectionRecosignalD3 == 12)
12619 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-18; depth = 3 \b");
12620 if (kcountHEnegativedirectionRecosignalD3 == 13)
12621 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-17; depth = 3 \b");
12622 HEnegativedirectionRecosignalD3->Draw(
"Error");
12623 kcountHEnegativedirectionRecosignalD3++;
12624 if (kcountHEnegativedirectionRecosignalD3 > 13)
12633 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
12636 if (h2CeffHEnegativedirectionRecosignalD3)
12637 delete h2CeffHEnegativedirectionRecosignalD3;
12643 c3x5->Divide(3, 5);
12645 int kcountHEnegativedirectionRecosignalD4 = 1;
12646 TH1F *h2CeffHEnegativedirectionRecosignalD4 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD4",
"",
nphi, 0., 72.);
12650 if (
jeta - 41 < 0) {
12653 for (
int i = 3;
i < 4;
i++) {
12654 TH1F *HEnegativedirectionRecosignalD4 = (TH1F *)h2CeffHEnegativedirectionRecosignalD4->Clone(
"twod1");
12657 for (
int jphi = 0; jphi <
nphi; jphi++) {
12658 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12659 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12660 HEnegativedirectionRecosignalD4->Fill(jphi, ccc1);
12664 if (ccctest > 0.) {
12666 c3x5->cd(kcountHEnegativedirectionRecosignalD4);
12667 HEnegativedirectionRecosignalD4->SetMarkerStyle(20);
12668 HEnegativedirectionRecosignalD4->SetMarkerSize(0.4);
12669 HEnegativedirectionRecosignalD4->GetYaxis()->SetLabelSize(0.04);
12670 HEnegativedirectionRecosignalD4->SetXTitle(
"HEnegativedirectionRecosignalD4 \b");
12671 HEnegativedirectionRecosignalD4->SetMarkerColor(2);
12672 HEnegativedirectionRecosignalD4->SetLineColor(0);
12676 if (kcountHEnegativedirectionRecosignalD4 == 1)
12677 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-28; depth = 4 \b");
12678 if (kcountHEnegativedirectionRecosignalD4 == 2)
12679 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-27; depth = 4 \b");
12680 if (kcountHEnegativedirectionRecosignalD4 == 3)
12681 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-26; depth = 4 \b");
12682 if (kcountHEnegativedirectionRecosignalD4 == 4)
12683 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-25; depth = 4 \b");
12684 if (kcountHEnegativedirectionRecosignalD4 == 5)
12685 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-24; depth = 4 \b");
12686 if (kcountHEnegativedirectionRecosignalD4 == 6)
12687 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-23; depth = 4 \b");
12688 if (kcountHEnegativedirectionRecosignalD4 == 7)
12689 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-22; depth = 4 \b");
12690 if (kcountHEnegativedirectionRecosignalD4 == 8)
12691 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-21; depth = 4 \b");
12692 if (kcountHEnegativedirectionRecosignalD4 == 9)
12693 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-20; depth = 4 \b");
12694 if (kcountHEnegativedirectionRecosignalD4 == 10)
12695 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-19; depth = 4 \b");
12696 if (kcountHEnegativedirectionRecosignalD4 == 11)
12697 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-18; depth = 4 \b");
12698 if (kcountHEnegativedirectionRecosignalD4 == 12)
12699 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-16; depth = 4 \b");
12700 HEnegativedirectionRecosignalD4->Draw(
"Error");
12701 kcountHEnegativedirectionRecosignalD4++;
12702 if (kcountHEnegativedirectionRecosignalD4 > 12)
12711 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
12714 if (h2CeffHEnegativedirectionRecosignalD4)
12715 delete h2CeffHEnegativedirectionRecosignalD4;
12721 c3x5->Divide(3, 5);
12723 int kcountHEnegativedirectionRecosignalD5 = 1;
12724 TH1F *h2CeffHEnegativedirectionRecosignalD5 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD5",
"",
nphi, 0., 72.);
12728 if (
jeta - 41 < 0) {
12731 for (
int i = 4;
i < 5;
i++) {
12732 TH1F *HEnegativedirectionRecosignalD5 = (TH1F *)h2CeffHEnegativedirectionRecosignalD5->Clone(
"twod1");
12735 for (
int jphi = 0; jphi <
nphi; jphi++) {
12736 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12737 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12738 HEnegativedirectionRecosignalD5->Fill(jphi, ccc1);
12742 if (ccctest > 0.) {
12744 c3x5->cd(kcountHEnegativedirectionRecosignalD5);
12745 HEnegativedirectionRecosignalD5->SetMarkerStyle(20);
12746 HEnegativedirectionRecosignalD5->SetMarkerSize(0.4);
12747 HEnegativedirectionRecosignalD5->GetYaxis()->SetLabelSize(0.04);
12748 HEnegativedirectionRecosignalD5->SetXTitle(
"HEnegativedirectionRecosignalD5 \b");
12749 HEnegativedirectionRecosignalD5->SetMarkerColor(2);
12750 HEnegativedirectionRecosignalD5->SetLineColor(0);
12754 if (kcountHEnegativedirectionRecosignalD5 == 1)
12755 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-28; depth = 5 \b");
12756 if (kcountHEnegativedirectionRecosignalD5 == 2)
12757 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-27; depth = 5 \b");
12758 if (kcountHEnegativedirectionRecosignalD5 == 3)
12759 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-26; depth = 5 \b");
12760 if (kcountHEnegativedirectionRecosignalD5 == 4)
12761 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-25; depth = 5 \b");
12762 if (kcountHEnegativedirectionRecosignalD5 == 5)
12763 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-24; depth = 5 \b");
12764 if (kcountHEnegativedirectionRecosignalD5 == 6)
12765 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-23; depth = 5 \b");
12766 if (kcountHEnegativedirectionRecosignalD5 == 7)
12767 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-22; depth = 5 \b");
12768 if (kcountHEnegativedirectionRecosignalD5 == 8)
12769 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-21; depth = 5 \b");
12770 if (kcountHEnegativedirectionRecosignalD5 == 9)
12771 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-20; depth = 5 \b");
12772 if (kcountHEnegativedirectionRecosignalD5 == 10)
12773 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-19; depth = 5 \b");
12774 if (kcountHEnegativedirectionRecosignalD5 == 11)
12775 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-18; depth = 5 \b");
12776 HEnegativedirectionRecosignalD5->Draw(
"Error");
12777 kcountHEnegativedirectionRecosignalD5++;
12778 if (kcountHEnegativedirectionRecosignalD5 > 11)
12787 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
12790 if (h2CeffHEnegativedirectionRecosignalD5)
12791 delete h2CeffHEnegativedirectionRecosignalD5;
12797 c3x5->Divide(3, 5);
12799 int kcountHEnegativedirectionRecosignalD6 = 1;
12800 TH1F *h2CeffHEnegativedirectionRecosignalD6 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD6",
"",
nphi, 0., 72.);
12804 if (
jeta - 41 < 0) {
12807 for (
int i = 5;
i < 6;
i++) {
12808 TH1F *HEnegativedirectionRecosignalD6 = (TH1F *)h2CeffHEnegativedirectionRecosignalD6->Clone(
"twod1");
12811 for (
int jphi = 0; jphi <
nphi; jphi++) {
12812 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12813 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12814 HEnegativedirectionRecosignalD6->Fill(jphi, ccc1);
12818 if (ccctest > 0.) {
12820 c3x5->cd(kcountHEnegativedirectionRecosignalD6);
12821 HEnegativedirectionRecosignalD6->SetMarkerStyle(20);
12822 HEnegativedirectionRecosignalD6->SetMarkerSize(0.4);
12823 HEnegativedirectionRecosignalD6->GetYaxis()->SetLabelSize(0.04);
12824 HEnegativedirectionRecosignalD6->SetXTitle(
"HEnegativedirectionRecosignalD6 \b");
12825 HEnegativedirectionRecosignalD6->SetMarkerColor(2);
12826 HEnegativedirectionRecosignalD6->SetLineColor(0);
12830 if (kcountHEnegativedirectionRecosignalD6 == 1)
12831 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-28; depth = 6 \b");
12832 if (kcountHEnegativedirectionRecosignalD6 == 2)
12833 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-27; depth = 6 \b");
12834 if (kcountHEnegativedirectionRecosignalD6 == 3)
12835 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-26; depth = 6 \b");
12836 if (kcountHEnegativedirectionRecosignalD6 == 4)
12837 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-25; depth = 6 \b");
12838 if (kcountHEnegativedirectionRecosignalD6 == 5)
12839 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-24; depth = 6 \b");
12840 if (kcountHEnegativedirectionRecosignalD6 == 6)
12841 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-23; depth = 6 \b");
12842 if (kcountHEnegativedirectionRecosignalD6 == 7)
12843 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-22; depth = 6 \b");
12844 if (kcountHEnegativedirectionRecosignalD6 == 8)
12845 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-21; depth = 6 \b");
12846 if (kcountHEnegativedirectionRecosignalD6 == 9)
12847 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-20; depth = 6 \b");
12848 if (kcountHEnegativedirectionRecosignalD6 == 10)
12849 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-19; depth = 6 \b");
12850 HEnegativedirectionRecosignalD6->Draw(
"Error");
12851 kcountHEnegativedirectionRecosignalD6++;
12852 if (kcountHEnegativedirectionRecosignalD6 > 10)
12861 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
12864 if (h2CeffHEnegativedirectionRecosignalD6)
12865 delete h2CeffHEnegativedirectionRecosignalD6;
12871 c3x5->Divide(3, 5);
12873 int kcountHEnegativedirectionRecosignalD7 = 1;
12874 TH1F *h2CeffHEnegativedirectionRecosignalD7 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD7",
"",
nphi, 0., 72.);
12878 if (
jeta - 41 < 0) {
12881 for (
int i = 6;
i < 7;
i++) {
12882 TH1F *HEnegativedirectionRecosignalD7 = (TH1F *)h2CeffHEnegativedirectionRecosignalD7->Clone(
"twod1");
12885 for (
int jphi = 0; jphi <
nphi; jphi++) {
12886 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12887 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12888 HEnegativedirectionRecosignalD7->Fill(jphi, ccc1);
12892 if (ccctest != 0.) {
12894 c3x5->cd(kcountHEnegativedirectionRecosignalD7);
12895 HEnegativedirectionRecosignalD7->SetMarkerStyle(20);
12896 HEnegativedirectionRecosignalD7->SetMarkerSize(0.4);
12897 HEnegativedirectionRecosignalD7->GetYaxis()->SetLabelSize(0.04);
12898 HEnegativedirectionRecosignalD7->SetXTitle(
"HEnegativedirectionRecosignalD7 \b");
12899 HEnegativedirectionRecosignalD7->SetMarkerColor(2);
12900 HEnegativedirectionRecosignalD7->SetLineColor(0);
12904 if (kcountHEnegativedirectionRecosignalD7 == 1)
12905 HEnegativedirectionRecosignalD7->SetXTitle(
"D for HE- jeta =-28; depth = 7 \b");
12906 if (kcountHEnegativedirectionRecosignalD7 == 2)
12907 HEnegativedirectionRecosignalD7->SetXTitle(
"D for HE- jeta =-27; depth = 7 \b");
12908 if (kcountHEnegativedirectionRecosignalD7 == 3)
12909 HEnegativedirectionRecosignalD7->SetXTitle(
"D for HE- jeta =-26; depth = 7 \b");
12910 HEnegativedirectionRecosignalD7->Draw(
"Error");
12911 kcountHEnegativedirectionRecosignalD7++;
12912 if (kcountHEnegativedirectionRecosignalD7 > 3)
12921 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
12924 if (h2CeffHEnegativedirectionRecosignalD7)
12925 delete h2CeffHEnegativedirectionRecosignalD7;
12935 double arecosignalHF[
ndepth][njeta][njphi];
12936 double recosignalvarianceHF[
ndepth][njeta][njphi];
12939 TH2F *recSignalEnergy1HF1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HF1");
12940 TH2F *recSignalEnergy0HF1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HF1");
12941 TH2F *recSignalEnergyHF1 = (TH2F *)recSignalEnergy1HF1->Clone(
"recSignalEnergyHF1");
12942 recSignalEnergyHF1->Divide(recSignalEnergy1HF1, recSignalEnergy0HF1, 1, 1,
"B");
12943 TH2F *recSignalEnergy1HF2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HF2");
12944 TH2F *recSignalEnergy0HF2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HF2");
12945 TH2F *recSignalEnergyHF2 = (TH2F *)recSignalEnergy1HF2->Clone(
"recSignalEnergyHF2");
12946 recSignalEnergyHF2->Divide(recSignalEnergy1HF2, recSignalEnergy0HF2, 1, 1,
"B");
12951 double sumrecosignalHF0 = 0;
12952 int nsumrecosignalHF0 = 0;
12953 double sumrecosignalHF1 = 0;
12954 int nsumrecosignalHF1 = 0;
12955 for (
int jphi = 0; jphi < njphi; jphi++) {
12956 arecosignalHF[0][
jeta][jphi] = recSignalEnergyHF1->GetBinContent(
jeta + 1, jphi + 1);
12957 arecosignalHF[1][
jeta][jphi] = recSignalEnergyHF2->GetBinContent(
jeta + 1, jphi + 1);
12958 if (arecosignalHF[0][
jeta][jphi] > 0.) {
12959 sumrecosignalHF0 += arecosignalHF[0][
jeta][jphi];
12960 ++nsumrecosignalHF0;
12962 if (arecosignalHF[1][
jeta][jphi] > 0.) {
12963 sumrecosignalHF1 += arecosignalHF[1][
jeta][jphi];
12964 ++nsumrecosignalHF1;
12968 for (
int jphi = 0; jphi < njphi; jphi++) {
12969 if (arecosignalHF[0][
jeta][jphi] > 0.)
12970 arecosignalHF[0][
jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0);
12971 if (arecosignalHF[1][
jeta][jphi] > 0.)
12972 arecosignalHF[1][
jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1);
12981 c2x1->Divide(2, 1);
12983 TH2F *GefzRrecosignalHF42D =
new TH2F(
"GefzRrecosignalHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
12984 TH2F *GefzRrecosignalHF42D0 =
new TH2F(
"GefzRrecosignalHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
12985 TH2F *GefzRrecosignalHF42DF = (TH2F *)GefzRrecosignalHF42D0->Clone(
"GefzRrecosignalHF42DF");
12988 for (
int jphi = 0; jphi <
nphi; jphi++) {
12989 double ccc1 = arecosignalHF[
i][
jeta][jphi];
12990 int k2plot =
jeta - 41;
12993 GefzRrecosignalHF42D->Fill(kkk, jphi, ccc1);
12994 GefzRrecosignalHF42D0->Fill(kkk, jphi, 1.);
12999 GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D, GefzRrecosignalHF42D0, 1, 1,
"B");
13002 GefzRrecosignalHF42DF->SetXTitle(
"<R>_depth #eta \b");
13003 GefzRrecosignalHF42DF->SetYTitle(
" #phi \b");
13004 GefzRrecosignalHF42DF->Draw(
"COLZ");
13007 TH1F *energyhitSignal_HF = (TH1F *)
dir->FindObjectAny(
"h_energyhitSignal_HF");
13008 energyhitSignal_HF->SetMarkerStyle(20);
13009 energyhitSignal_HF->SetMarkerSize(0.4);
13010 energyhitSignal_HF->GetYaxis()->SetLabelSize(0.04);
13011 energyhitSignal_HF->SetXTitle(
"energyhitSignal_HF \b");
13012 energyhitSignal_HF->SetMarkerColor(2);
13013 energyhitSignal_HF->SetLineColor(0);
13016 energyhitSignal_HF->Draw(
"Error");
13020 c2x1->Print(
"RrecosignalGeneralD2PhiSymmetryHF.png");
13023 if (GefzRrecosignalHF42D)
13024 delete GefzRrecosignalHF42D;
13025 if (GefzRrecosignalHF42D0)
13026 delete GefzRrecosignalHF42D0;
13027 if (GefzRrecosignalHF42DF)
13028 delete GefzRrecosignalHF42DF;
13034 c1x1->Divide(1, 1);
13036 TH1F *GefzRrecosignalHF41D =
new TH1F(
"GefzRrecosignalHF41D",
"",
nphi, 0., 72.);
13037 TH1F *GefzRrecosignalHF41D0 =
new TH1F(
"GefzRrecosignalHF41D0",
"",
nphi, 0., 72.);
13038 TH1F *GefzRrecosignalHF41DF = (TH1F *)GefzRrecosignalHF41D0->Clone(
"GefzRrecosignalHF41DF");
13039 for (
int jphi = 0; jphi <
nphi; jphi++) {
13042 double ccc1 = arecosignalHF[
i][
jeta][jphi];
13044 GefzRrecosignalHF41D->Fill(jphi, ccc1);
13045 GefzRrecosignalHF41D0->Fill(jphi, 1.);
13050 GefzRrecosignalHF41DF->Divide(
13051 GefzRrecosignalHF41D, GefzRrecosignalHF41D0, 1, 1,
"B");
13052 GefzRrecosignalHF41D0->Sumw2();
13056 GefzRrecosignalHF41DF->SetMarkerStyle(20);
13057 GefzRrecosignalHF41DF->SetMarkerSize(1.4);
13058 GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08);
13059 GefzRrecosignalHF41DF->SetXTitle(
"#phi \b");
13060 GefzRrecosignalHF41DF->SetYTitle(
" <R> \b");
13061 GefzRrecosignalHF41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
13062 GefzRrecosignalHF41DF->SetMarkerColor(4);
13063 GefzRrecosignalHF41DF->SetLineColor(
13065 GefzRrecosignalHF41DF->Draw(
"Error");
13068 c1x1->Print(
"RrecosignalGeneralD1PhiSymmetryHF.png");
13071 if (GefzRrecosignalHF41D)
13072 delete GefzRrecosignalHF41D;
13073 if (GefzRrecosignalHF41D0)
13074 delete GefzRrecosignalHF41D0;
13075 if (GefzRrecosignalHF41DF)
13076 delete GefzRrecosignalHF41DF;
13083 c3x5->Divide(3, 5);
13085 int kcountHFpositivedirectionRecosignal1 = 1;
13086 TH1F *h2CeffHFpositivedirectionRecosignal1 =
new TH1F(
"h2CeffHFpositivedirectionRecosignal1",
"",
nphi, 0., 72.);
13089 if (
jeta - 41 >= 0) {
13092 for (
int i = 0;
i < 1;
i++) {
13093 TH1F *HFpositivedirectionRecosignal1 = (TH1F *)h2CeffHFpositivedirectionRecosignal1->Clone(
"twod1");
13095 for (
int jphi = 0; jphi <
nphi; jphi++) {
13096 double ccc1 = arecosignalHF[
i][
jeta][jphi];
13098 HFpositivedirectionRecosignal1->Fill(jphi, ccc1);
13102 if (ccctest > 0.) {
13104 c3x5->cd(kcountHFpositivedirectionRecosignal1);
13105 HFpositivedirectionRecosignal1->SetMarkerStyle(20);
13106 HFpositivedirectionRecosignal1->SetMarkerSize(0.4);
13107 HFpositivedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
13108 HFpositivedirectionRecosignal1->SetXTitle(
"HFpositivedirectionRecosignal1 \b");
13109 HFpositivedirectionRecosignal1->SetMarkerColor(2);
13110 HFpositivedirectionRecosignal1->SetLineColor(0);
13114 if (kcountHFpositivedirectionRecosignal1 == 1)
13115 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 28; depth = 1 \b");
13116 if (kcountHFpositivedirectionRecosignal1 == 2)
13117 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 29; depth = 1 \b");
13118 if (kcountHFpositivedirectionRecosignal1 == 3)
13119 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 30; depth = 1 \b");
13120 if (kcountHFpositivedirectionRecosignal1 == 4)
13121 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 31; depth = 1 \b");
13122 if (kcountHFpositivedirectionRecosignal1 == 5)
13123 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 32; depth = 1 \b");
13124 if (kcountHFpositivedirectionRecosignal1 == 6)
13125 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 33; depth = 1 \b");
13126 if (kcountHFpositivedirectionRecosignal1 == 7)
13127 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 34; depth = 1 \b");
13128 if (kcountHFpositivedirectionRecosignal1 == 8)
13129 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 35; depth = 1 \b");
13130 if (kcountHFpositivedirectionRecosignal1 == 9)
13131 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 36; depth = 1 \b");
13132 if (kcountHFpositivedirectionRecosignal1 == 10)
13133 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 37; depth = 1 \b");
13134 if (kcountHFpositivedirectionRecosignal1 == 11)
13135 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 38; depth = 1 \b");
13136 if (kcountHFpositivedirectionRecosignal1 == 12)
13137 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 39; depth = 1 \b");
13138 if (kcountHFpositivedirectionRecosignal1 == 13)
13139 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 40; depth = 1 \b");
13140 HFpositivedirectionRecosignal1->Draw(
"Error");
13141 kcountHFpositivedirectionRecosignal1++;
13142 if (kcountHFpositivedirectionRecosignal1 > 13)
13151 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png");
13154 if (h2CeffHFpositivedirectionRecosignal1)
13155 delete h2CeffHFpositivedirectionRecosignal1;
13163 c3x5->Divide(3, 5);
13165 int kcountHFpositivedirectionRecosignal2 = 1;
13166 TH1F *h2CeffHFpositivedirectionRecosignal2 =
new TH1F(
"h2CeffHFpositivedirectionRecosignal2",
"",
nphi, 0., 72.);
13169 if (
jeta - 41 >= 0) {
13172 for (
int i = 1;
i < 2;
i++) {
13173 TH1F *HFpositivedirectionRecosignal2 = (TH1F *)h2CeffHFpositivedirectionRecosignal2->Clone(
"twod1");
13175 for (
int jphi = 0; jphi <
nphi; jphi++) {
13176 double ccc1 = arecosignalHF[
i][
jeta][jphi];
13178 HFpositivedirectionRecosignal2->Fill(jphi, ccc1);
13182 if (ccctest > 0.) {
13184 c3x5->cd(kcountHFpositivedirectionRecosignal2);
13185 HFpositivedirectionRecosignal2->SetMarkerStyle(20);
13186 HFpositivedirectionRecosignal2->SetMarkerSize(0.4);
13187 HFpositivedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
13188 HFpositivedirectionRecosignal2->SetXTitle(
"HFpositivedirectionRecosignal2 \b");
13189 HFpositivedirectionRecosignal2->SetMarkerColor(2);
13190 HFpositivedirectionRecosignal2->SetLineColor(0);
13194 if (kcountHFpositivedirectionRecosignal2 == 1)
13195 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 28; depth = 2 \b");
13196 if (kcountHFpositivedirectionRecosignal2 == 2)
13197 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 29; depth = 2 \b");
13198 if (kcountHFpositivedirectionRecosignal2 == 3)
13199 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 30; depth = 2 \b");
13200 if (kcountHFpositivedirectionRecosignal2 == 4)
13201 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 31; depth = 2 \b");
13202 if (kcountHFpositivedirectionRecosignal2 == 5)
13203 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 32; depth = 2 \b");
13204 if (kcountHFpositivedirectionRecosignal2 == 6)
13205 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 33; depth = 2 \b");
13206 if (kcountHFpositivedirectionRecosignal2 == 7)
13207 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 34; depth = 2 \b");
13208 if (kcountHFpositivedirectionRecosignal2 == 8)
13209 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 35; depth = 2 \b");
13210 if (kcountHFpositivedirectionRecosignal2 == 9)
13211 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 36; depth = 2 \b");
13212 if (kcountHFpositivedirectionRecosignal2 == 10)
13213 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 37; depth = 2 \b");
13214 if (kcountHFpositivedirectionRecosignal2 == 11)
13215 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 38; depth = 2 \b");
13216 if (kcountHFpositivedirectionRecosignal2 == 12)
13217 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 39; depth = 2 \b");
13218 if (kcountHFpositivedirectionRecosignal2 == 13)
13219 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 40; depth = 2 \b");
13220 HFpositivedirectionRecosignal2->Draw(
"Error");
13221 kcountHFpositivedirectionRecosignal2++;
13222 if (kcountHFpositivedirectionRecosignal2 > 13)
13231 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png");
13234 if (h2CeffHFpositivedirectionRecosignal2)
13235 delete h2CeffHFpositivedirectionRecosignal2;
13243 c3x5->Divide(3, 5);
13245 int kcountHFnegativedirectionRecosignal1 = 1;
13246 TH1F *h2CeffHFnegativedirectionRecosignal1 =
new TH1F(
"h2CeffHFnegativedirectionRecosignal1",
"",
nphi, 0., 72.);
13249 if (
jeta - 41 < 0) {
13252 for (
int i = 0;
i < 1;
i++) {
13253 TH1F *HFnegativedirectionRecosignal1 = (TH1F *)h2CeffHFnegativedirectionRecosignal1->Clone(
"twod1");
13255 for (
int jphi = 0; jphi <
nphi; jphi++) {
13256 double ccc1 = arecosignalHF[
i][
jeta][jphi];
13258 HFnegativedirectionRecosignal1->Fill(jphi, ccc1);
13262 if (ccctest > 0.) {
13264 c3x5->cd(kcountHFnegativedirectionRecosignal1);
13265 HFnegativedirectionRecosignal1->SetMarkerStyle(20);
13266 HFnegativedirectionRecosignal1->SetMarkerSize(0.4);
13267 HFnegativedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
13268 HFnegativedirectionRecosignal1->SetXTitle(
"HFnegativedirectionRecosignal1 \b");
13269 HFnegativedirectionRecosignal1->SetMarkerColor(2);
13270 HFnegativedirectionRecosignal1->SetLineColor(0);
13274 if (kcountHFnegativedirectionRecosignal1 == 1)
13275 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-41; depth = 1 \b");
13276 if (kcountHFnegativedirectionRecosignal1 == 2)
13277 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-40; depth = 1 \b");
13278 if (kcountHFnegativedirectionRecosignal1 == 3)
13279 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-39; depth = 1 \b");
13280 if (kcountHFnegativedirectionRecosignal1 == 4)
13281 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-38; depth = 1 \b");
13282 if (kcountHFnegativedirectionRecosignal1 == 5)
13283 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-37; depth = 1 \b");
13284 if (kcountHFnegativedirectionRecosignal1 == 6)
13285 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-36; depth = 1 \b");
13286 if (kcountHFnegativedirectionRecosignal1 == 7)
13287 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-35; depth = 1 \b");
13288 if (kcountHFnegativedirectionRecosignal1 == 8)
13289 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-34; depth = 1 \b");
13290 if (kcountHFnegativedirectionRecosignal1 == 9)
13291 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-33; depth = 1 \b");
13292 if (kcountHFnegativedirectionRecosignal1 == 10)
13293 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-32; depth = 1 \b");
13294 if (kcountHFnegativedirectionRecosignal1 == 11)
13295 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-31; depth = 1 \b");
13296 if (kcountHFnegativedirectionRecosignal1 == 12)
13297 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-30; depth = 1 \b");
13298 if (kcountHFnegativedirectionRecosignal1 == 13)
13299 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-29; depth = 1 \b");
13300 HFnegativedirectionRecosignal1->Draw(
"Error");
13301 kcountHFnegativedirectionRecosignal1++;
13302 if (kcountHFnegativedirectionRecosignal1 > 13)
13311 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
13314 if (h2CeffHFnegativedirectionRecosignal1)
13315 delete h2CeffHFnegativedirectionRecosignal1;
13323 c3x5->Divide(3, 5);
13325 int kcountHFnegativedirectionRecosignal2 = 1;
13326 TH1F *h2CeffHFnegativedirectionRecosignal2 =
new TH1F(
"h2CeffHFnegativedirectionRecosignal2",
"",
nphi, 0., 72.);
13329 if (
jeta - 41 < 0) {
13332 for (
int i = 1;
i < 2;
i++) {
13333 TH1F *HFnegativedirectionRecosignal2 = (TH1F *)h2CeffHFnegativedirectionRecosignal2->Clone(
"twod1");
13335 for (
int jphi = 0; jphi <
nphi; jphi++) {
13336 double ccc1 = arecosignalHF[
i][
jeta][jphi];
13338 HFnegativedirectionRecosignal2->Fill(jphi, ccc1);
13342 if (ccctest > 0.) {
13344 c3x5->cd(kcountHFnegativedirectionRecosignal2);
13345 HFnegativedirectionRecosignal2->SetMarkerStyle(20);
13346 HFnegativedirectionRecosignal2->SetMarkerSize(0.4);
13347 HFnegativedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
13348 HFnegativedirectionRecosignal2->SetXTitle(
"HFnegativedirectionRecosignal2 \b");
13349 HFnegativedirectionRecosignal2->SetMarkerColor(2);
13350 HFnegativedirectionRecosignal2->SetLineColor(0);
13354 if (kcountHFnegativedirectionRecosignal2 == 1)
13355 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-41; depth = 2 \b");
13356 if (kcountHFnegativedirectionRecosignal2 == 2)
13357 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-40; depth = 2 \b");
13358 if (kcountHFnegativedirectionRecosignal2 == 3)
13359 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-39; depth = 2 \b");
13360 if (kcountHFnegativedirectionRecosignal2 == 4)
13361 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-38; depth = 2 \b");
13362 if (kcountHFnegativedirectionRecosignal2 == 5)
13363 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-37; depth = 2 \b");
13364 if (kcountHFnegativedirectionRecosignal2 == 6)
13365 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-36; depth = 2 \b");
13366 if (kcountHFnegativedirectionRecosignal2 == 7)
13367 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-35; depth = 2 \b");
13368 if (kcountHFnegativedirectionRecosignal2 == 8)
13369 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-34; depth = 2 \b");
13370 if (kcountHFnegativedirectionRecosignal2 == 9)
13371 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-33; depth = 2 \b");
13372 if (kcountHFnegativedirectionRecosignal2 == 10)
13373 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-32; depth = 2 \b");
13374 if (kcountHFnegativedirectionRecosignal2 == 11)
13375 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-31; depth = 2 \b");
13376 if (kcountHFnegativedirectionRecosignal2 == 12)
13377 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-30; depth = 2 \b");
13378 if (kcountHFnegativedirectionRecosignal2 == 13)
13379 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-20; depth = 2 \b");
13380 HFnegativedirectionRecosignal2->Draw(
"Error");
13381 kcountHFnegativedirectionRecosignal2++;
13382 if (kcountHFnegativedirectionRecosignal2 > 13)
13391 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
13394 if (h2CeffHFnegativedirectionRecosignal2)
13395 delete h2CeffHFnegativedirectionRecosignal2;
13403 TH2F *recosignalVariance1HF1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HF1");
13404 TH2F *recosignalVariance0HF1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HF1");
13405 TH2F *recosignalVarianceHF1 = (TH2F *)recosignalVariance1HF1->Clone(
"recosignalVarianceHF1");
13406 recosignalVarianceHF1->Divide(recosignalVariance1HF1, recosignalVariance0HF1, 1, 1,
"B");
13407 TH2F *recosignalVariance1HF2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HF2");
13408 TH2F *recosignalVariance0HF2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HF2");
13409 TH2F *recosignalVarianceHF2 = (TH2F *)recosignalVariance1HF2->Clone(
"recosignalVarianceHF2");
13410 recosignalVarianceHF2->Divide(recosignalVariance1HF2, recosignalVariance0HF2, 1, 1,
"B");
13416 double sumrecosignalHF0 = 0;
13417 int nsumrecosignalHF0 = 0;
13418 double sumrecosignalHF1 = 0;
13419 int nsumrecosignalHF1 = 0;
13420 for (
int jphi = 0; jphi < njphi; jphi++) {
13421 recosignalvarianceHF[0][
jeta][jphi] = recosignalVarianceHF1->GetBinContent(
jeta + 1, jphi + 1);
13422 recosignalvarianceHF[1][
jeta][jphi] = recosignalVarianceHF2->GetBinContent(
jeta + 1, jphi + 1);
13423 if (recosignalvarianceHF[0][
jeta][jphi] > 0.) {
13424 sumrecosignalHF0 += recosignalvarianceHF[0][
jeta][jphi];
13425 ++nsumrecosignalHF0;
13427 if (recosignalvarianceHF[1][
jeta][jphi] > 0.) {
13428 sumrecosignalHF1 += recosignalvarianceHF[1][
jeta][jphi];
13429 ++nsumrecosignalHF1;
13433 for (
int jphi = 0; jphi < njphi; jphi++) {
13434 if (recosignalvarianceHF[0][
jeta][jphi] > 0.)
13435 recosignalvarianceHF[0][
jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0);
13436 if (recosignalvarianceHF[1][
jeta][jphi] > 0.)
13437 recosignalvarianceHF[1][
jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1);
13440 for (
int jphi = 0; jphi < njphi; jphi++) {
13442 recosignalvarianceHF[0][
jeta][jphi] -= arecosignalHF[0][
jeta][jphi] * arecosignalHF[0][
jeta][jphi];
13443 recosignalvarianceHF[0][
jeta][jphi] = fabs(recosignalvarianceHF[0][
jeta][jphi]);
13444 recosignalvarianceHF[1][
jeta][jphi] -= arecosignalHF[1][
jeta][jphi] * arecosignalHF[1][
jeta][jphi];
13445 recosignalvarianceHF[1][
jeta][jphi] = fabs(recosignalvarianceHF[1][
jeta][jphi]);
13455 c1x0->Divide(1, 1);
13457 TH2F *DefzDrecosignalHF42D =
new TH2F(
"DefzDrecosignalHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
13458 TH2F *DefzDrecosignalHF42D0 =
new TH2F(
"DefzDrecosignalHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
13459 TH2F *DefzDrecosignalHF42DF = (TH2F *)DefzDrecosignalHF42D0->Clone(
"DefzDrecosignalHF42DF");
13462 for (
int jphi = 0; jphi <
nphi; jphi++) {
13463 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13464 int k2plot =
jeta - 41;
13466 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13467 DefzDrecosignalHF42D->Fill(kkk, jphi, ccc1);
13468 DefzDrecosignalHF42D0->Fill(kkk, jphi, 1.);
13473 DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D, DefzDrecosignalHF42D0, 1, 1,
"B");
13477 DefzDrecosignalHF42DF->SetMarkerStyle(20);
13478 DefzDrecosignalHF42DF->SetMarkerSize(0.4);
13479 DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08);
13480 DefzDrecosignalHF42DF->SetXTitle(
"<D>_depth #eta \b");
13481 DefzDrecosignalHF42DF->SetYTitle(
" #phi \b");
13482 DefzDrecosignalHF42DF->SetZTitle(
"<D>_depth \b");
13483 DefzDrecosignalHF42DF->SetMarkerColor(2);
13484 DefzDrecosignalHF42DF->SetLineColor(
13486 DefzDrecosignalHF42DF->Draw(
"COLZ");
13489 c1x0->Print(
"DrecosignalGeneralD2PhiSymmetryHF.png");
13492 if (DefzDrecosignalHF42D)
13493 delete DefzDrecosignalHF42D;
13494 if (DefzDrecosignalHF42D0)
13495 delete DefzDrecosignalHF42D0;
13496 if (DefzDrecosignalHF42DF)
13497 delete DefzDrecosignalHF42DF;
13503 c1x1->Divide(1, 1);
13505 TH1F *DefzDrecosignalHF41D =
new TH1F(
"DefzDrecosignalHF41D",
"",
nphi, 0., 72.);
13506 TH1F *DefzDrecosignalHF41D0 =
new TH1F(
"DefzDrecosignalHF41D0",
"",
nphi, 0., 72.);
13507 TH1F *DefzDrecosignalHF41DF = (TH1F *)DefzDrecosignalHF41D0->Clone(
"DefzDrecosignalHF41DF");
13509 for (
int jphi = 0; jphi <
nphi; jphi++) {
13512 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13513 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13514 DefzDrecosignalHF41D->Fill(jphi, ccc1);
13515 DefzDrecosignalHF41D0->Fill(jphi, 1.);
13522 DefzDrecosignalHF41DF->Divide(
13523 DefzDrecosignalHF41D, DefzDrecosignalHF41D0, 1, 1,
"B");
13524 DefzDrecosignalHF41D0->Sumw2();
13528 DefzDrecosignalHF41DF->SetMarkerStyle(20);
13529 DefzDrecosignalHF41DF->SetMarkerSize(1.4);
13530 DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08);
13531 DefzDrecosignalHF41DF->SetXTitle(
"#phi \b");
13532 DefzDrecosignalHF41DF->SetYTitle(
" <D> \b");
13533 DefzDrecosignalHF41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
13534 DefzDrecosignalHF41DF->SetMarkerColor(4);
13535 DefzDrecosignalHF41DF->SetLineColor(
13537 DefzDrecosignalHF41DF->Draw(
"Error");
13540 c1x1->Print(
"DrecosignalGeneralD1PhiSymmetryHF.png");
13543 if (DefzDrecosignalHF41D)
13544 delete DefzDrecosignalHF41D;
13545 if (DefzDrecosignalHF41D0)
13546 delete DefzDrecosignalHF41D0;
13547 if (DefzDrecosignalHF41DF)
13548 delete DefzDrecosignalHF41DF;
13555 c3x5->Divide(3, 5);
13557 int kcountHFpositivedirectionRecosignalD1 = 1;
13558 TH1F *h2CeffHFpositivedirectionRecosignalD1 =
new TH1F(
"h2CeffHFpositivedirectionRecosignalD1",
"",
nphi, 0., 72.);
13562 if (
jeta - 41 >= 0) {
13565 for (
int i = 0;
i < 1;
i++) {
13566 TH1F *HFpositivedirectionRecosignalD1 = (TH1F *)h2CeffHFpositivedirectionRecosignalD1->Clone(
"twod1");
13569 for (
int jphi = 0; jphi <
nphi; jphi++) {
13570 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13571 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13572 HFpositivedirectionRecosignalD1->Fill(jphi, ccc1);
13576 if (ccctest > 0.) {
13578 c3x5->cd(kcountHFpositivedirectionRecosignalD1);
13579 HFpositivedirectionRecosignalD1->SetMarkerStyle(20);
13580 HFpositivedirectionRecosignalD1->SetMarkerSize(0.4);
13581 HFpositivedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
13582 HFpositivedirectionRecosignalD1->SetXTitle(
"HFpositivedirectionRecosignalD1 \b");
13583 HFpositivedirectionRecosignalD1->SetMarkerColor(2);
13584 HFpositivedirectionRecosignalD1->SetLineColor(0);
13588 if (kcountHFpositivedirectionRecosignalD1 == 1)
13589 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 28; depth = 1 \b");
13590 if (kcountHFpositivedirectionRecosignalD1 == 2)
13591 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 29; depth = 1 \b");
13592 if (kcountHFpositivedirectionRecosignalD1 == 3)
13593 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 30; depth = 1 \b");
13594 if (kcountHFpositivedirectionRecosignalD1 == 4)
13595 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 31; depth = 1 \b");
13596 if (kcountHFpositivedirectionRecosignalD1 == 5)
13597 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 32; depth = 1 \b");
13598 if (kcountHFpositivedirectionRecosignalD1 == 6)
13599 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 33; depth = 1 \b");
13600 if (kcountHFpositivedirectionRecosignalD1 == 7)
13601 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 34; depth = 1 \b");
13602 if (kcountHFpositivedirectionRecosignalD1 == 8)
13603 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 35; depth = 1 \b");
13604 if (kcountHFpositivedirectionRecosignalD1 == 9)
13605 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 36; depth = 1 \b");
13606 if (kcountHFpositivedirectionRecosignalD1 == 10)
13607 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 37; depth = 1 \b");
13608 if (kcountHFpositivedirectionRecosignalD1 == 11)
13609 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 38; depth = 1 \b");
13610 if (kcountHFpositivedirectionRecosignalD1 == 12)
13611 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 39; depth = 1 \b");
13612 if (kcountHFpositivedirectionRecosignalD1 == 13)
13613 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 40; depth = 1 \b");
13614 HFpositivedirectionRecosignalD1->Draw(
"Error");
13615 kcountHFpositivedirectionRecosignalD1++;
13616 if (kcountHFpositivedirectionRecosignalD1 > 13)
13625 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png");
13628 if (h2CeffHFpositivedirectionRecosignalD1)
13629 delete h2CeffHFpositivedirectionRecosignalD1;
13635 c3x5->Divide(3, 5);
13637 int kcountHFpositivedirectionRecosignalD2 = 1;
13638 TH1F *h2CeffHFpositivedirectionRecosignalD2 =
new TH1F(
"h2CeffHFpositivedirectionRecosignalD2",
"",
nphi, 0., 72.);
13642 if (
jeta - 41 >= 0) {
13645 for (
int i = 1;
i < 2;
i++) {
13646 TH1F *HFpositivedirectionRecosignalD2 = (TH1F *)h2CeffHFpositivedirectionRecosignalD2->Clone(
"twod1");
13649 for (
int jphi = 0; jphi <
nphi; jphi++) {
13650 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13651 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13652 HFpositivedirectionRecosignalD2->Fill(jphi, ccc1);
13656 if (ccctest > 0.) {
13658 c3x5->cd(kcountHFpositivedirectionRecosignalD2);
13659 HFpositivedirectionRecosignalD2->SetMarkerStyle(20);
13660 HFpositivedirectionRecosignalD2->SetMarkerSize(0.4);
13661 HFpositivedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
13662 HFpositivedirectionRecosignalD2->SetXTitle(
"HFpositivedirectionRecosignalD2 \b");
13663 HFpositivedirectionRecosignalD2->SetMarkerColor(2);
13664 HFpositivedirectionRecosignalD2->SetLineColor(0);
13668 if (kcountHFpositivedirectionRecosignalD2 == 1)
13669 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 28; depth = 2 \b");
13670 if (kcountHFpositivedirectionRecosignalD2 == 2)
13671 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 29; depth = 2 \b");
13672 if (kcountHFpositivedirectionRecosignalD2 == 3)
13673 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 30; depth = 2 \b");
13674 if (kcountHFpositivedirectionRecosignalD2 == 4)
13675 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 31; depth = 2 \b");
13676 if (kcountHFpositivedirectionRecosignalD2 == 5)
13677 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 32; depth = 2 \b");
13678 if (kcountHFpositivedirectionRecosignalD2 == 6)
13679 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 33; depth = 2 \b");
13680 if (kcountHFpositivedirectionRecosignalD2 == 7)
13681 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 34; depth = 2 \b");
13682 if (kcountHFpositivedirectionRecosignalD2 == 8)
13683 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 35; depth = 2 \b");
13684 if (kcountHFpositivedirectionRecosignalD2 == 9)
13685 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 36; depth = 2 \b");
13686 if (kcountHFpositivedirectionRecosignalD2 == 10)
13687 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 37; depth = 2 \b");
13688 if (kcountHFpositivedirectionRecosignalD2 == 11)
13689 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 38; depth = 2 \b");
13690 if (kcountHFpositivedirectionRecosignalD2 == 12)
13691 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 39; depth = 2 \b");
13692 if (kcountHFpositivedirectionRecosignalD2 == 13)
13693 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 40; depth = 2 \b");
13694 HFpositivedirectionRecosignalD2->Draw(
"Error");
13695 kcountHFpositivedirectionRecosignalD2++;
13696 if (kcountHFpositivedirectionRecosignalD2 > 13)
13705 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png");
13708 if (h2CeffHFpositivedirectionRecosignalD2)
13709 delete h2CeffHFpositivedirectionRecosignalD2;
13716 c3x5->Divide(3, 5);
13718 int kcountHFnegativedirectionRecosignalD1 = 1;
13719 TH1F *h2CeffHFnegativedirectionRecosignalD1 =
new TH1F(
"h2CeffHFnegativedirectionRecosignalD1",
"",
nphi, 0., 72.);
13723 if (
jeta - 41 < 0) {
13726 for (
int i = 0;
i < 1;
i++) {
13727 TH1F *HFnegativedirectionRecosignalD1 = (TH1F *)h2CeffHFnegativedirectionRecosignalD1->Clone(
"twod1");
13730 for (
int jphi = 0; jphi <
nphi; jphi++) {
13731 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13732 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13733 HFnegativedirectionRecosignalD1->Fill(jphi, ccc1);
13737 if (ccctest > 0.) {
13739 c3x5->cd(kcountHFnegativedirectionRecosignalD1);
13740 HFnegativedirectionRecosignalD1->SetMarkerStyle(20);
13741 HFnegativedirectionRecosignalD1->SetMarkerSize(0.4);
13742 HFnegativedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
13743 HFnegativedirectionRecosignalD1->SetXTitle(
"HFnegativedirectionRecosignalD1 \b");
13744 HFnegativedirectionRecosignalD1->SetMarkerColor(2);
13745 HFnegativedirectionRecosignalD1->SetLineColor(0);
13749 if (kcountHFnegativedirectionRecosignalD1 == 1)
13750 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-41; depth = 1 \b");
13751 if (kcountHFnegativedirectionRecosignalD1 == 2)
13752 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-40; depth = 1 \b");
13753 if (kcountHFnegativedirectionRecosignalD1 == 3)
13754 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-39; depth = 1 \b");
13755 if (kcountHFnegativedirectionRecosignalD1 == 4)
13756 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-38; depth = 1 \b");
13757 if (kcountHFnegativedirectionRecosignalD1 == 5)
13758 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-37; depth = 1 \b");
13759 if (kcountHFnegativedirectionRecosignalD1 == 6)
13760 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-36; depth = 1 \b");
13761 if (kcountHFnegativedirectionRecosignalD1 == 7)
13762 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-35; depth = 1 \b");
13763 if (kcountHFnegativedirectionRecosignalD1 == 8)
13764 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-34; depth = 1 \b");
13765 if (kcountHFnegativedirectionRecosignalD1 == 9)
13766 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-33; depth = 1 \b");
13767 if (kcountHFnegativedirectionRecosignalD1 == 10)
13768 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-32; depth = 1 \b");
13769 if (kcountHFnegativedirectionRecosignalD1 == 11)
13770 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-31; depth = 1 \b");
13771 if (kcountHFnegativedirectionRecosignalD1 == 12)
13772 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-30; depth = 1 \b");
13773 if (kcountHFnegativedirectionRecosignalD1 == 13)
13774 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-29; depth = 1 \b");
13775 HFnegativedirectionRecosignalD1->Draw(
"Error");
13776 kcountHFnegativedirectionRecosignalD1++;
13777 if (kcountHFnegativedirectionRecosignalD1 > 13)
13786 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
13789 if (h2CeffHFnegativedirectionRecosignalD1)
13790 delete h2CeffHFnegativedirectionRecosignalD1;
13796 c3x5->Divide(3, 5);
13798 int kcountHFnegativedirectionRecosignalD2 = 1;
13799 TH1F *h2CeffHFnegativedirectionRecosignalD2 =
new TH1F(
"h2CeffHFnegativedirectionRecosignalD2",
"",
nphi, 0., 72.);
13803 if (
jeta - 41 < 0) {
13806 for (
int i = 1;
i < 2;
i++) {
13807 TH1F *HFnegativedirectionRecosignalD2 = (TH1F *)h2CeffHFnegativedirectionRecosignalD2->Clone(
"twod1");
13810 for (
int jphi = 0; jphi <
nphi; jphi++) {
13811 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13812 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13813 HFnegativedirectionRecosignalD2->Fill(jphi, ccc1);
13817 if (ccctest > 0.) {
13819 c3x5->cd(kcountHFnegativedirectionRecosignalD2);
13820 HFnegativedirectionRecosignalD2->SetMarkerStyle(20);
13821 HFnegativedirectionRecosignalD2->SetMarkerSize(0.4);
13822 HFnegativedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
13823 HFnegativedirectionRecosignalD2->SetXTitle(
"HFnegativedirectionRecosignalD2 \b");
13824 HFnegativedirectionRecosignalD2->SetMarkerColor(2);
13825 HFnegativedirectionRecosignalD2->SetLineColor(0);
13829 if (kcountHFnegativedirectionRecosignalD2 == 1)
13830 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-41; depth = 2 \b");
13831 if (kcountHFnegativedirectionRecosignalD2 == 2)
13832 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-40; depth = 2 \b");
13833 if (kcountHFnegativedirectionRecosignalD2 == 3)
13834 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-39; depth = 2 \b");
13835 if (kcountHFnegativedirectionRecosignalD2 == 4)
13836 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-38; depth = 2 \b");
13837 if (kcountHFnegativedirectionRecosignalD2 == 5)
13838 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-37; depth = 2 \b");
13839 if (kcountHFnegativedirectionRecosignalD2 == 6)
13840 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-36; depth = 2 \b");
13841 if (kcountHFnegativedirectionRecosignalD2 == 7)
13842 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-35; depth = 2 \b");
13843 if (kcountHFnegativedirectionRecosignalD2 == 8)
13844 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-34; depth = 2 \b");
13845 if (kcountHFnegativedirectionRecosignalD2 == 9)
13846 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-33; depth = 2 \b");
13847 if (kcountHFnegativedirectionRecosignalD2 == 10)
13848 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-32; depth = 2 \b");
13849 if (kcountHFnegativedirectionRecosignalD2 == 11)
13850 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-31; depth = 2 \b");
13851 if (kcountHFnegativedirectionRecosignalD2 == 12)
13852 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-30; depth = 2 \b");
13853 if (kcountHFnegativedirectionRecosignalD2 == 13)
13854 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-29; depth = 2 \b");
13855 HFnegativedirectionRecosignalD2->Draw(
"Error");
13856 kcountHFnegativedirectionRecosignalD2++;
13857 if (kcountHFnegativedirectionRecosignalD2 > 13)
13866 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
13869 if (h2CeffHFnegativedirectionRecosignalD2)
13870 delete h2CeffHFnegativedirectionRecosignalD2;
13888 double areconoiseHB[
ndepth][njeta][njphi];
13889 double breconoiseHB[
ndepth][njeta][njphi];
13890 double reconoisevarianceHB[
ndepth][njeta][njphi];
13892 TH2F *recNoiseEnergy1HB1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HB1");
13893 TH2F *recNoiseEnergy0HB1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB1");
13894 TH2F *recNoiseEnergyHB1 = (TH2F *)recNoiseEnergy1HB1->Clone(
"recNoiseEnergyHB1");
13895 recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1, recNoiseEnergy0HB1, 1, 1,
"B");
13896 TH2F *recNoiseEnergy1HB2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HB2");
13897 TH2F *recNoiseEnergy0HB2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB2");
13898 TH2F *recNoiseEnergyHB2 = (TH2F *)recNoiseEnergy1HB2->Clone(
"recNoiseEnergyHB2");
13899 recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2, recNoiseEnergy0HB2, 1, 1,
"B");
13900 TH2F *recNoiseEnergy1HB3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HB3");
13901 TH2F *recNoiseEnergy0HB3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB3");
13902 TH2F *recNoiseEnergyHB3 = (TH2F *)recNoiseEnergy1HB3->Clone(
"recNoiseEnergyHB3");
13903 recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3, recNoiseEnergy0HB3, 1, 1,
"B");
13904 TH2F *recNoiseEnergy1HB4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HB4");
13905 TH2F *recNoiseEnergy0HB4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB4");
13906 TH2F *recNoiseEnergyHB4 = (TH2F *)recNoiseEnergy1HB4->Clone(
"recNoiseEnergyHB4");
13907 recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4, recNoiseEnergy0HB4, 1, 1,
"B");
13909 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
13912 double sumreconoiseHB0 = 0;
13913 int nsumreconoiseHB0 = 0;
13914 double sumreconoiseHB1 = 0;
13915 int nsumreconoiseHB1 = 0;
13916 double sumreconoiseHB2 = 0;
13917 int nsumreconoiseHB2 = 0;
13918 double sumreconoiseHB3 = 0;
13919 int nsumreconoiseHB3 = 0;
13920 for (
int jphi = 0; jphi < njphi; jphi++) {
13921 areconoiseHB[0][
jeta][jphi] = recNoiseEnergyHB1->GetBinContent(
jeta + 1, jphi + 1);
13922 areconoiseHB[1][
jeta][jphi] = recNoiseEnergyHB2->GetBinContent(
jeta + 1, jphi + 1);
13923 areconoiseHB[2][
jeta][jphi] = recNoiseEnergyHB3->GetBinContent(
jeta + 1, jphi + 1);
13924 areconoiseHB[3][
jeta][jphi] = recNoiseEnergyHB4->GetBinContent(
jeta + 1, jphi + 1);
13925 breconoiseHB[0][
jeta][jphi] = recNoiseEnergyHB1->GetBinContent(
jeta + 1, jphi + 1);
13926 breconoiseHB[1][
jeta][jphi] = recNoiseEnergyHB2->GetBinContent(
jeta + 1, jphi + 1);
13927 breconoiseHB[2][
jeta][jphi] = recNoiseEnergyHB3->GetBinContent(
jeta + 1, jphi + 1);
13928 breconoiseHB[3][
jeta][jphi] = recNoiseEnergyHB4->GetBinContent(
jeta + 1, jphi + 1);
13929 if (areconoiseHB[0][
jeta][jphi] != 0.) {
13930 sumreconoiseHB0 += areconoiseHB[0][
jeta][jphi];
13931 ++nsumreconoiseHB0;
13933 if (areconoiseHB[1][
jeta][jphi] != 0.) {
13934 sumreconoiseHB1 += areconoiseHB[1][
jeta][jphi];
13935 ++nsumreconoiseHB1;
13937 if (areconoiseHB[2][
jeta][jphi] != 0.) {
13938 sumreconoiseHB2 += areconoiseHB[2][
jeta][jphi];
13939 ++nsumreconoiseHB2;
13941 if (areconoiseHB[3][
jeta][jphi] != 0.) {
13942 sumreconoiseHB3 += areconoiseHB[3][
jeta][jphi];
13943 ++nsumreconoiseHB3;
13947 for (
int jphi = 0; jphi < njphi; jphi++) {
13948 if (sumreconoiseHB0 != 0.)
13949 breconoiseHB[0][
jeta][jphi] -= (sumreconoiseHB0 / nsumreconoiseHB0);
13950 if (sumreconoiseHB1 != 0.)
13951 breconoiseHB[1][
jeta][jphi] -= (sumreconoiseHB1 / nsumreconoiseHB1);
13952 if (sumreconoiseHB2 != 0.)
13953 breconoiseHB[2][
jeta][jphi] -= (sumreconoiseHB2 / nsumreconoiseHB2);
13954 if (sumreconoiseHB3 != 0.)
13955 breconoiseHB[3][
jeta][jphi] -= (sumreconoiseHB3 / nsumreconoiseHB3);
13958 for (
int jphi = 0; jphi < njphi; jphi++) {
13959 if (areconoiseHB[0][
jeta][jphi] != 0.)
13960 areconoiseHB[0][
jeta][jphi] /= (sumreconoiseHB0 / nsumreconoiseHB0);
13961 if (areconoiseHB[1][
jeta][jphi] != 0.)
13962 areconoiseHB[1][
jeta][jphi] /= (sumreconoiseHB1 / nsumreconoiseHB1);
13963 if (areconoiseHB[2][
jeta][jphi] != 0.)
13964 areconoiseHB[2][
jeta][jphi] /= (sumreconoiseHB2 / nsumreconoiseHB2);
13965 if (areconoiseHB[3][
jeta][jphi] != 0.)
13966 areconoiseHB[3][
jeta][jphi] /= (sumreconoiseHB3 / nsumreconoiseHB3);
13976 c2x1->Divide(2, 1);
13978 TH2F *GefzRreconoiseHB42D =
new TH2F(
"GefzRreconoiseHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
13979 TH2F *GefzRreconoiseHB42D0 =
new TH2F(
"GefzRreconoiseHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
13980 TH2F *GefzRreconoiseHB42DF = (TH2F *)GefzRreconoiseHB42D0->Clone(
"GefzRreconoiseHB42DF");
13983 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
13984 for (
int jphi = 0; jphi <
nphi; jphi++) {
13985 double ccc1 = areconoiseHB[
i][
jeta][jphi];
13986 int k2plot =
jeta - 41;
13989 GefzRreconoiseHB42D->Fill(kkk, jphi, ccc1);
13990 GefzRreconoiseHB42D0->Fill(kkk, jphi, 1.);
13996 GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D, GefzRreconoiseHB42D0, 1, 1,
"B");
13999 GefzRreconoiseHB42DF->SetXTitle(
"<R>_depth #eta \b");
14000 GefzRreconoiseHB42DF->SetYTitle(
" #phi \b");
14001 GefzRreconoiseHB42DF->Draw(
"COLZ");
14004 TH1F *energyhitNoise_HB = (TH1F *)
dir->FindObjectAny(
"h_energyhitNoise_HB");
14005 energyhitNoise_HB->SetMarkerStyle(20);
14006 energyhitNoise_HB->SetMarkerSize(0.4);
14007 energyhitNoise_HB->GetYaxis()->SetLabelSize(0.04);
14008 energyhitNoise_HB->SetXTitle(
"energyhitNoise_HB \b");
14009 energyhitNoise_HB->SetMarkerColor(2);
14010 energyhitNoise_HB->SetLineColor(0);
14013 energyhitNoise_HB->Draw(
"Error");
14017 c2x1->Print(
"RreconoiseGeneralD2PhiSymmetryHB.png");
14020 if (GefzRreconoiseHB42D)
14021 delete GefzRreconoiseHB42D;
14022 if (GefzRreconoiseHB42D0)
14023 delete GefzRreconoiseHB42D0;
14024 if (GefzRreconoiseHB42DF)
14025 delete GefzRreconoiseHB42DF;
14031 c1x1->Divide(1, 1);
14033 TH1F *GefzRreconoiseHB41D =
new TH1F(
"GefzRreconoiseHB41D",
"",
nphi, 0., 72.);
14034 TH1F *GefzRreconoiseHB41D0 =
new TH1F(
"GefzRreconoiseHB41D0",
"",
nphi, 0., 72.);
14035 TH1F *GefzRreconoiseHB41DF = (TH1F *)GefzRreconoiseHB41D0->Clone(
"GefzRreconoiseHB41DF");
14036 for (
int jphi = 0; jphi <
nphi; jphi++) {
14038 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
14040 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14042 GefzRreconoiseHB41D->Fill(jphi, ccc1);
14043 GefzRreconoiseHB41D0->Fill(jphi, 1.);
14049 GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D, GefzRreconoiseHB41D0, 1, 1,
"B");
14050 GefzRreconoiseHB41D0->Sumw2();
14054 GefzRreconoiseHB41DF->SetMarkerStyle(20);
14055 GefzRreconoiseHB41DF->SetMarkerSize(1.4);
14056 GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08);
14057 GefzRreconoiseHB41DF->SetXTitle(
"#phi \b");
14058 GefzRreconoiseHB41DF->SetYTitle(
" <R> \b");
14059 GefzRreconoiseHB41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
14060 GefzRreconoiseHB41DF->SetMarkerColor(4);
14061 GefzRreconoiseHB41DF->SetLineColor(
14063 GefzRreconoiseHB41DF->Draw(
"Error");
14066 c1x1->Print(
"RreconoiseGeneralD1PhiSymmetryHB.png");
14069 if (GefzRreconoiseHB41D)
14070 delete GefzRreconoiseHB41D;
14071 if (GefzRreconoiseHB41D0)
14072 delete GefzRreconoiseHB41D0;
14073 if (GefzRreconoiseHB41DF)
14074 delete GefzRreconoiseHB41DF;
14081 c3x5->Divide(4, 4);
14083 int kcountHBpositivedirectionReconoise1 = 1;
14084 TH1F *h2CeffHBpositivedirectionReconoise1 =
new TH1F(
"h2CeffHBpositivedirectionReconoise1",
"",
nphi, 0., 72.);
14087 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14090 for (
int i = 0;
i < 1;
i++) {
14091 TH1F *HBpositivedirectionReconoise1 = (TH1F *)h2CeffHBpositivedirectionReconoise1->Clone(
"twod1");
14093 for (
int jphi = 0; jphi <
nphi; jphi++) {
14094 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14096 HBpositivedirectionReconoise1->Fill(jphi, ccc1);
14100 if (ccctest > 0.) {
14102 c3x5->cd(kcountHBpositivedirectionReconoise1);
14103 HBpositivedirectionReconoise1->SetMarkerStyle(20);
14104 HBpositivedirectionReconoise1->SetMarkerSize(0.4);
14105 HBpositivedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
14106 HBpositivedirectionReconoise1->SetXTitle(
"HBpositivedirectionReconoise1 \b");
14107 HBpositivedirectionReconoise1->SetMarkerColor(2);
14108 HBpositivedirectionReconoise1->SetLineColor(0);
14112 if (kcountHBpositivedirectionReconoise1 == 1)
14113 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 0; depth = 1 \b");
14114 if (kcountHBpositivedirectionReconoise1 == 2)
14115 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 1; depth = 1 \b");
14116 if (kcountHBpositivedirectionReconoise1 == 3)
14117 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 2; depth = 1 \b");
14118 if (kcountHBpositivedirectionReconoise1 == 4)
14119 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 3; depth = 1 \b");
14120 if (kcountHBpositivedirectionReconoise1 == 5)
14121 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 4; depth = 1 \b");
14122 if (kcountHBpositivedirectionReconoise1 == 6)
14123 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 5; depth = 1 \b");
14124 if (kcountHBpositivedirectionReconoise1 == 7)
14125 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 6; depth = 1 \b");
14126 if (kcountHBpositivedirectionReconoise1 == 8)
14127 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 7; depth = 1 \b");
14128 if (kcountHBpositivedirectionReconoise1 == 9)
14129 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 8; depth = 1 \b");
14130 if (kcountHBpositivedirectionReconoise1 == 10)
14131 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 9; depth = 1 \b");
14132 if (kcountHBpositivedirectionReconoise1 == 11)
14133 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 10; depth = 1 \b");
14134 if (kcountHBpositivedirectionReconoise1 == 12)
14135 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 11; depth = 1 \b");
14136 if (kcountHBpositivedirectionReconoise1 == 13)
14137 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 12; depth = 1 \b");
14138 if (kcountHBpositivedirectionReconoise1 == 14)
14139 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 13; depth = 1 \b");
14140 if (kcountHBpositivedirectionReconoise1 == 15)
14141 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 14; depth = 1 \b");
14142 if (kcountHBpositivedirectionReconoise1 == 16)
14143 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 15; depth = 1 \b");
14144 HBpositivedirectionReconoise1->Draw(
"Error");
14145 kcountHBpositivedirectionReconoise1++;
14146 if (kcountHBpositivedirectionReconoise1 > 16)
14155 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png");
14158 if (h2CeffHBpositivedirectionReconoise1)
14159 delete h2CeffHBpositivedirectionReconoise1;
14167 c3x5->Divide(4, 4);
14169 int kcountHBpositivedirectionReconoise2 = 1;
14170 TH1F *h2CeffHBpositivedirectionReconoise2 =
new TH1F(
"h2CeffHBpositivedirectionReconoise2",
"",
nphi, 0., 72.);
14173 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14176 for (
int i = 1;
i < 2;
i++) {
14177 TH1F *HBpositivedirectionReconoise2 = (TH1F *)h2CeffHBpositivedirectionReconoise2->Clone(
"twod1");
14179 for (
int jphi = 0; jphi <
nphi; jphi++) {
14180 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14182 HBpositivedirectionReconoise2->Fill(jphi, ccc1);
14186 if (ccctest > 0.) {
14188 c3x5->cd(kcountHBpositivedirectionReconoise2);
14189 HBpositivedirectionReconoise2->SetMarkerStyle(20);
14190 HBpositivedirectionReconoise2->SetMarkerSize(0.4);
14191 HBpositivedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
14192 HBpositivedirectionReconoise2->SetXTitle(
"HBpositivedirectionReconoise2 \b");
14193 HBpositivedirectionReconoise2->SetMarkerColor(2);
14194 HBpositivedirectionReconoise2->SetLineColor(0);
14198 if (kcountHBpositivedirectionReconoise2 == 1)
14199 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 0; depth = 2 \b");
14200 if (kcountHBpositivedirectionReconoise2 == 2)
14201 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 1; depth = 2 \b");
14202 if (kcountHBpositivedirectionReconoise2 == 3)
14203 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 2; depth = 2 \b");
14204 if (kcountHBpositivedirectionReconoise2 == 4)
14205 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 3; depth = 2 \b");
14206 if (kcountHBpositivedirectionReconoise2 == 5)
14207 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 4; depth = 2 \b");
14208 if (kcountHBpositivedirectionReconoise2 == 6)
14209 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 5; depth = 2 \b");
14210 if (kcountHBpositivedirectionReconoise2 == 7)
14211 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 6; depth = 2 \b");
14212 if (kcountHBpositivedirectionReconoise2 == 8)
14213 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 7; depth = 2 \b");
14214 if (kcountHBpositivedirectionReconoise2 == 9)
14215 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 8; depth = 2 \b");
14216 if (kcountHBpositivedirectionReconoise2 == 10)
14217 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 9; depth = 2 \b");
14218 if (kcountHBpositivedirectionReconoise2 == 11)
14219 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 10; depth = 2 \b");
14220 if (kcountHBpositivedirectionReconoise2 == 12)
14221 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 11; depth = 2 \b");
14222 if (kcountHBpositivedirectionReconoise2 == 13)
14223 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 12; depth = 2 \b");
14224 if (kcountHBpositivedirectionReconoise2 == 14)
14225 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 13; depth = 2 \b");
14226 if (kcountHBpositivedirectionReconoise2 == 15)
14227 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 14; depth = 2 \b");
14228 if (kcountHBpositivedirectionReconoise2 == 16)
14229 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 15; depth = 2 \b");
14230 HBpositivedirectionReconoise2->Draw(
"Error");
14231 kcountHBpositivedirectionReconoise2++;
14232 if (kcountHBpositivedirectionReconoise2 > 16)
14241 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png");
14244 if (h2CeffHBpositivedirectionReconoise2)
14245 delete h2CeffHBpositivedirectionReconoise2;
14252 c3x5->Divide(4, 4);
14254 int kcountHBpositivedirectionReconoise3 = 1;
14255 TH1F *h2CeffHBpositivedirectionReconoise3 =
new TH1F(
"h2CeffHBpositivedirectionReconoise3",
"",
nphi, 0., 72.);
14258 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14261 for (
int i = 2;
i < 3;
i++) {
14262 TH1F *HBpositivedirectionReconoise3 = (TH1F *)h2CeffHBpositivedirectionReconoise3->Clone(
"twod1");
14264 for (
int jphi = 0; jphi <
nphi; jphi++) {
14265 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14267 HBpositivedirectionReconoise3->Fill(jphi, ccc1);
14271 if (ccctest > 0.) {
14273 c3x5->cd(kcountHBpositivedirectionReconoise3);
14274 HBpositivedirectionReconoise3->SetMarkerStyle(20);
14275 HBpositivedirectionReconoise3->SetMarkerSize(0.4);
14276 HBpositivedirectionReconoise3->GetYaxis()->SetLabelSize(0.04);
14277 HBpositivedirectionReconoise3->SetXTitle(
"HBpositivedirectionReconoise3 \b");
14278 HBpositivedirectionReconoise3->SetMarkerColor(2);
14279 HBpositivedirectionReconoise3->SetLineColor(0);
14283 if (kcountHBpositivedirectionReconoise3 == 1)
14284 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
14285 if (kcountHBpositivedirectionReconoise3 == 2)
14286 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 1; depth = 3 \b");
14287 if (kcountHBpositivedirectionReconoise3 == 3)
14288 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 2; depth = 3 \b");
14289 if (kcountHBpositivedirectionReconoise3 == 4)
14290 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 3; depth = 3 \b");
14291 if (kcountHBpositivedirectionReconoise3 == 5)
14292 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 4; depth = 3 \b");
14293 if (kcountHBpositivedirectionReconoise3 == 6)
14294 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 5; depth = 3 \b");
14295 if (kcountHBpositivedirectionReconoise3 == 7)
14296 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 6; depth = 3 \b");
14297 if (kcountHBpositivedirectionReconoise3 == 8)
14298 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 7; depth = 3 \b");
14299 if (kcountHBpositivedirectionReconoise3 == 9)
14300 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 8; depth = 3 \b");
14301 if (kcountHBpositivedirectionReconoise3 == 10)
14302 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 9; depth = 3 \b");
14303 if (kcountHBpositivedirectionReconoise3 == 11)
14304 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
14305 if (kcountHBpositivedirectionReconoise3 == 12)
14306 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 11; depth = 3 \b");
14307 if (kcountHBpositivedirectionReconoise3 == 13)
14308 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 12; depth = 3 \b");
14309 if (kcountHBpositivedirectionReconoise3 == 14)
14310 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 13; depth = 3 \b");
14311 if (kcountHBpositivedirectionReconoise3 == 15)
14312 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 14; depth = 3 \b");
14313 if (kcountHBpositivedirectionReconoise3 == 16)
14314 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 15; depth = 3 \b");
14315 HBpositivedirectionReconoise3->Draw(
"Error");
14316 kcountHBpositivedirectionReconoise3++;
14317 if (kcountHBpositivedirectionReconoise3 > 16)
14326 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png");
14329 if (h2CeffHBpositivedirectionReconoise3)
14330 delete h2CeffHBpositivedirectionReconoise3;
14337 c3x5->Divide(4, 4);
14339 int kcountHBpositivedirectionReconoise4 = 1;
14340 TH1F *h2CeffHBpositivedirectionReconoise4 =
new TH1F(
"h2CeffHBpositivedirectionReconoise4",
"",
nphi, 0., 72.);
14344 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14347 for (
int i = 3;
i < 4;
i++) {
14348 TH1F *HBpositivedirectionReconoise4 = (TH1F *)h2CeffHBpositivedirectionReconoise4->Clone(
"twod1");
14351 for (
int jphi = 0; jphi <
nphi; jphi++) {
14352 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14354 HBpositivedirectionReconoise4->Fill(jphi, ccc1);
14358 if (ccctest > 0.) {
14360 c3x5->cd(kcountHBpositivedirectionReconoise4);
14361 HBpositivedirectionReconoise4->SetMarkerStyle(20);
14362 HBpositivedirectionReconoise4->SetMarkerSize(0.4);
14363 HBpositivedirectionReconoise4->GetYaxis()->SetLabelSize(0.04);
14364 HBpositivedirectionReconoise4->SetXTitle(
"HBpositivedirectionReconoise4 \b");
14365 HBpositivedirectionReconoise4->SetMarkerColor(2);
14366 HBpositivedirectionReconoise4->SetLineColor(0);
14370 if (kcountHBpositivedirectionReconoise4 == 1)
14371 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 0; depth = 4 \b");
14372 if (kcountHBpositivedirectionReconoise4 == 2)
14373 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 1; depth = 4 \b");
14374 if (kcountHBpositivedirectionReconoise4 == 3)
14375 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 2; depth = 4 \b");
14376 if (kcountHBpositivedirectionReconoise4 == 4)
14377 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 3; depth = 4 \b");
14378 if (kcountHBpositivedirectionReconoise4 == 5)
14379 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 4; depth = 4 \b");
14380 if (kcountHBpositivedirectionReconoise4 == 6)
14381 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 5; depth = 4 \b");
14382 if (kcountHBpositivedirectionReconoise4 == 7)
14383 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 6; depth = 4 \b");
14384 if (kcountHBpositivedirectionReconoise4 == 8)
14385 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 7; depth = 4 \b");
14386 if (kcountHBpositivedirectionReconoise4 == 9)
14387 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 8; depth = 4 \b");
14388 if (kcountHBpositivedirectionReconoise4 == 10)
14389 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 9; depth = 4 \b");
14390 if (kcountHBpositivedirectionReconoise4 == 11)
14391 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 10; depth = 4 \b");
14392 if (kcountHBpositivedirectionReconoise4 == 12)
14393 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 11; depth = 4 \b");
14394 if (kcountHBpositivedirectionReconoise4 == 13)
14395 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 12; depth = 4 \b");
14396 if (kcountHBpositivedirectionReconoise4 == 14)
14397 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 13; depth = 4 \b");
14398 if (kcountHBpositivedirectionReconoise4 == 15)
14399 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 14; depth = 4 \b");
14400 if (kcountHBpositivedirectionReconoise4 == 16)
14401 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 15; depth = 4 \b");
14402 HBpositivedirectionReconoise4->Draw(
"Error");
14403 kcountHBpositivedirectionReconoise4++;
14404 if (kcountHBpositivedirectionReconoise4 > 16)
14413 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png");
14416 if (h2CeffHBpositivedirectionReconoise4)
14417 delete h2CeffHBpositivedirectionReconoise4;
14425 c3x5->Divide(4, 4);
14427 int kcountHBnegativedirectionReconoise1 = 1;
14428 TH1F *h2CeffHBnegativedirectionReconoise1 =
new TH1F(
"h2CeffHBnegativedirectionReconoise1",
"",
nphi, 0., 72.);
14431 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
14434 for (
int i = 0;
i < 1;
i++) {
14435 TH1F *HBnegativedirectionReconoise1 = (TH1F *)h2CeffHBnegativedirectionReconoise1->Clone(
"twod1");
14437 for (
int jphi = 0; jphi <
nphi; jphi++) {
14438 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14440 HBnegativedirectionReconoise1->Fill(jphi, ccc1);
14444 if (ccctest > 0.) {
14446 c3x5->cd(kcountHBnegativedirectionReconoise1);
14447 HBnegativedirectionReconoise1->SetMarkerStyle(20);
14448 HBnegativedirectionReconoise1->SetMarkerSize(0.4);
14449 HBnegativedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
14450 HBnegativedirectionReconoise1->SetXTitle(
"HBnegativedirectionReconoise1 \b");
14451 HBnegativedirectionReconoise1->SetMarkerColor(2);
14452 HBnegativedirectionReconoise1->SetLineColor(0);
14456 if (kcountHBnegativedirectionReconoise1 == 1)
14457 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -16; depth = 1 \b");
14458 if (kcountHBnegativedirectionReconoise1 == 2)
14459 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -15; depth = 1 \b");
14460 if (kcountHBnegativedirectionReconoise1 == 3)
14461 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -14; depth = 1 \b");
14462 if (kcountHBnegativedirectionReconoise1 == 4)
14463 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -13; depth = 1 \b");
14464 if (kcountHBnegativedirectionReconoise1 == 5)
14465 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -12; depth = 1 \b");
14466 if (kcountHBnegativedirectionReconoise1 == 6)
14467 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -11; depth = 1 \b");
14468 if (kcountHBnegativedirectionReconoise1 == 7)
14469 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -10; depth = 1 \b");
14470 if (kcountHBnegativedirectionReconoise1 == 8)
14471 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -9; depth = 1 \b");
14472 if (kcountHBnegativedirectionReconoise1 == 9)
14473 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -8; depth = 1 \b");
14474 if (kcountHBnegativedirectionReconoise1 == 10)
14475 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -7; depth = 1 \b");
14476 if (kcountHBnegativedirectionReconoise1 == 11)
14477 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -6; depth = 1 \b");
14478 if (kcountHBnegativedirectionReconoise1 == 12)
14479 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -5; depth = 1 \b");
14480 if (kcountHBnegativedirectionReconoise1 == 13)
14481 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -4; depth = 1 \b");
14482 if (kcountHBnegativedirectionReconoise1 == 14)
14483 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -3; depth = 1 \b");
14484 if (kcountHBnegativedirectionReconoise1 == 15)
14485 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -2; depth = 1 \b");
14486 if (kcountHBnegativedirectionReconoise1 == 16)
14487 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -1; depth = 1 \b");
14488 HBnegativedirectionReconoise1->Draw(
"Error");
14489 kcountHBnegativedirectionReconoise1++;
14490 if (kcountHBnegativedirectionReconoise1 > 16)
14499 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
14502 if (h2CeffHBnegativedirectionReconoise1)
14503 delete h2CeffHBnegativedirectionReconoise1;
14511 c3x5->Divide(4, 4);
14513 int kcountHBnegativedirectionReconoise2 = 1;
14514 TH1F *h2CeffHBnegativedirectionReconoise2 =
new TH1F(
"h2CeffHBnegativedirectionReconoise2",
"",
nphi, 0., 72.);
14517 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
14520 for (
int i = 1;
i < 2;
i++) {
14521 TH1F *HBnegativedirectionReconoise2 = (TH1F *)h2CeffHBnegativedirectionReconoise2->Clone(
"twod1");
14523 for (
int jphi = 0; jphi <
nphi; jphi++) {
14524 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14526 HBnegativedirectionReconoise2->Fill(jphi, ccc1);
14530 if (ccctest > 0.) {
14532 c3x5->cd(kcountHBnegativedirectionReconoise2);
14533 HBnegativedirectionReconoise2->SetMarkerStyle(20);
14534 HBnegativedirectionReconoise2->SetMarkerSize(0.4);
14535 HBnegativedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
14536 HBnegativedirectionReconoise2->SetXTitle(
"HBnegativedirectionReconoise2 \b");
14537 HBnegativedirectionReconoise2->SetMarkerColor(2);
14538 HBnegativedirectionReconoise2->SetLineColor(0);
14542 if (kcountHBnegativedirectionReconoise2 == 1)
14543 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -16; depth = 2 \b");
14544 if (kcountHBnegativedirectionReconoise2 == 2)
14545 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -15; depth = 2 \b");
14546 if (kcountHBnegativedirectionReconoise2 == 3)
14547 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -14; depth = 2 \b");
14548 if (kcountHBnegativedirectionReconoise2 == 4)
14549 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -13; depth = 2 \b");
14550 if (kcountHBnegativedirectionReconoise2 == 5)
14551 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -12; depth = 2 \b");
14552 if (kcountHBnegativedirectionReconoise2 == 6)
14553 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -11; depth = 2 \b");
14554 if (kcountHBnegativedirectionReconoise2 == 7)
14555 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -10; depth = 2 \b");
14556 if (kcountHBnegativedirectionReconoise2 == 8)
14557 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -9; depth = 2 \b");
14558 if (kcountHBnegativedirectionReconoise2 == 9)
14559 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -8; depth = 2 \b");
14560 if (kcountHBnegativedirectionReconoise2 == 10)
14561 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -7; depth = 2 \b");
14562 if (kcountHBnegativedirectionReconoise2 == 11)
14563 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -6; depth = 2 \b");
14564 if (kcountHBnegativedirectionReconoise2 == 12)
14565 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -5; depth = 2 \b");
14566 if (kcountHBnegativedirectionReconoise2 == 13)
14567 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -4; depth = 2 \b");
14568 if (kcountHBnegativedirectionReconoise2 == 14)
14569 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -3; depth = 2 \b");
14570 if (kcountHBnegativedirectionReconoise2 == 15)
14571 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -2; depth = 2 \b");
14572 if (kcountHBnegativedirectionReconoise2 == 16)
14573 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -1; depth = 2 \b");
14574 HBnegativedirectionReconoise2->Draw(
"Error");
14575 kcountHBnegativedirectionReconoise2++;
14576 if (kcountHBnegativedirectionReconoise2 > 16)
14585 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
14588 if (h2CeffHBnegativedirectionReconoise2)
14589 delete h2CeffHBnegativedirectionReconoise2;
14596 c3x5->Divide(4, 4);
14598 int kcountHBnegativedirectionReconoise3 = 1;
14599 TH1F *h2CeffHBnegativedirectionReconoise3 =
new TH1F(
"h2CeffHBnegativedirectionReconoise3",
"",
nphi, 0., 72.);
14602 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
14605 for (
int i = 2;
i < 3;
i++) {
14606 TH1F *HBnegativedirectionReconoise3 = (TH1F *)h2CeffHBnegativedirectionReconoise3->Clone(
"twod1");
14608 for (
int jphi = 0; jphi <
nphi; jphi++) {
14609 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14611 HBnegativedirectionReconoise3->Fill(jphi, ccc1);
14615 if (ccctest > 0.) {
14617 c3x5->cd(kcountHBnegativedirectionReconoise3);
14618 HBnegativedirectionReconoise3->SetMarkerStyle(20);
14619 HBnegativedirectionReconoise3->SetMarkerSize(0.4);
14620 HBnegativedirectionReconoise3->GetYaxis()->SetLabelSize(0.04);
14621 HBnegativedirectionReconoise3->SetXTitle(
"HBnegativedirectionReconoise3 \b");
14622 HBnegativedirectionReconoise3->SetMarkerColor(2);
14623 HBnegativedirectionReconoise3->SetLineColor(0);
14627 if (kcountHBnegativedirectionReconoise3 == 1)
14628 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -16; depth = 3 \b");
14629 if (kcountHBnegativedirectionReconoise3 == 2)
14630 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -15; depth = 3 \b");
14631 if (kcountHBnegativedirectionReconoise3 == 3)
14632 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -14; depth = 3 \b");
14633 if (kcountHBnegativedirectionReconoise3 == 4)
14634 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -13; depth = 3 \b");
14635 if (kcountHBnegativedirectionReconoise3 == 5)
14636 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -12; depth = 3 \b");
14637 if (kcountHBnegativedirectionReconoise3 == 6)
14638 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -11; depth = 3 \b");
14639 if (kcountHBnegativedirectionReconoise3 == 7)
14640 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -10; depth = 3 \b");
14641 if (kcountHBnegativedirectionReconoise3 == 8)
14642 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -9; depth = 3 \b");
14643 if (kcountHBnegativedirectionReconoise3 == 9)
14644 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -8; depth = 3 \b");
14645 if (kcountHBnegativedirectionReconoise3 == 10)
14646 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -7; depth = 3 \b");
14647 if (kcountHBnegativedirectionReconoise3 == 11)
14648 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -6; depth = 3 \b");
14649 if (kcountHBnegativedirectionReconoise3 == 12)
14650 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -5; depth = 3 \b");
14651 if (kcountHBnegativedirectionReconoise3 == 13)
14652 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -4; depth = 3 \b");
14653 if (kcountHBnegativedirectionReconoise3 == 14)
14654 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -3; depth = 3 \b");
14655 if (kcountHBnegativedirectionReconoise3 == 15)
14656 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -2; depth = 3 \b");
14657 if (kcountHBnegativedirectionReconoise3 == 16)
14658 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -1; depth = 3 \b");
14660 HBnegativedirectionReconoise3->Draw(
"Error");
14661 kcountHBnegativedirectionReconoise3++;
14662 if (kcountHBnegativedirectionReconoise3 > 16)
14671 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
14674 if (h2CeffHBnegativedirectionReconoise3)
14675 delete h2CeffHBnegativedirectionReconoise3;
14682 c3x5->Divide(4, 4);
14684 int kcountHBnegativedirectionReconoise4 = 1;
14685 TH1F *h2CeffHBnegativedirectionReconoise4 =
new TH1F(
"h2CeffHBnegativedirectionReconoise4",
"",
nphi, 0., 72.);
14689 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
14692 for (
int i = 3;
i < 4;
i++) {
14693 TH1F *HBnegativedirectionReconoise4 = (TH1F *)h2CeffHBnegativedirectionReconoise4->Clone(
"twod1");
14696 for (
int jphi = 0; jphi <
nphi; jphi++) {
14697 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14699 HBnegativedirectionReconoise4->Fill(jphi, ccc1);
14703 if (ccctest > 0.) {
14705 c3x5->cd(kcountHBnegativedirectionReconoise4);
14706 HBnegativedirectionReconoise4->SetMarkerStyle(20);
14707 HBnegativedirectionReconoise4->SetMarkerSize(0.4);
14708 HBnegativedirectionReconoise4->GetYaxis()->SetLabelSize(0.04);
14709 HBnegativedirectionReconoise4->SetXTitle(
"HBnegativedirectionReconoise4 \b");
14710 HBnegativedirectionReconoise4->SetMarkerColor(2);
14711 HBnegativedirectionReconoise4->SetLineColor(0);
14715 if (kcountHBnegativedirectionReconoise4 == 1)
14716 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -16; depth = 4 \b");
14717 if (kcountHBnegativedirectionReconoise4 == 2)
14718 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -15; depth = 4 \b");
14719 if (kcountHBnegativedirectionReconoise4 == 3)
14720 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -14; depth = 4 \b");
14721 if (kcountHBnegativedirectionReconoise4 == 4)
14722 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -13; depth = 4 \b");
14723 if (kcountHBnegativedirectionReconoise4 == 5)
14724 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -12; depth = 4 \b");
14725 if (kcountHBnegativedirectionReconoise4 == 6)
14726 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -11; depth = 4 \b");
14727 if (kcountHBnegativedirectionReconoise4 == 7)
14728 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -10; depth = 4 \b");
14729 if (kcountHBnegativedirectionReconoise4 == 8)
14730 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -9; depth = 4 \b");
14731 if (kcountHBnegativedirectionReconoise4 == 9)
14732 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -8; depth = 4 \b");
14733 if (kcountHBnegativedirectionReconoise4 == 10)
14734 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -7; depth = 4 \b");
14735 if (kcountHBnegativedirectionReconoise4 == 11)
14736 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -6; depth = 4 \b");
14737 if (kcountHBnegativedirectionReconoise4 == 12)
14738 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -5; depth = 4 \b");
14739 if (kcountHBnegativedirectionReconoise4 == 13)
14740 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -4; depth = 4 \b");
14741 if (kcountHBnegativedirectionReconoise4 == 14)
14742 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -3; depth = 4 \b");
14743 if (kcountHBnegativedirectionReconoise4 == 15)
14744 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -2; depth = 4 \b");
14745 if (kcountHBnegativedirectionReconoise4 == 16)
14746 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -1; depth = 4 \b");
14747 HBnegativedirectionReconoise4->Draw(
"Error");
14748 kcountHBnegativedirectionReconoise4++;
14749 if (kcountHBnegativedirectionReconoise4 > 16)
14758 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
14761 if (h2CeffHBnegativedirectionReconoise4)
14762 delete h2CeffHBnegativedirectionReconoise4;
14771 c2x1->Divide(2, 1);
14773 TH2F *GefzDIFreconoiseHB42D =
new TH2F(
"GefzDIFreconoiseHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
14774 TH2F *GefzDIFreconoiseHB42D0 =
new TH2F(
"GefzDIFreconoiseHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
14775 TH2F *GefzDIFreconoiseHB42DF = (TH2F *)GefzDIFreconoiseHB42D0->Clone(
"GefzDIFreconoiseHB42DF");
14778 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
14779 for (
int jphi = 0; jphi <
nphi; jphi++) {
14780 double ccc1 = breconoiseHB[
i][
jeta][jphi];
14781 int k2plot =
jeta - 41;
14784 GefzDIFreconoiseHB42D->Fill(kkk, jphi, ccc1);
14785 GefzDIFreconoiseHB42D0->Fill(kkk, jphi, 1.);
14791 GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D, GefzDIFreconoiseHB42D0, 1, 1,
"B");
14794 GefzDIFreconoiseHB42DF->SetXTitle(
"<DIF>_depth #eta \b");
14795 GefzDIFreconoiseHB42DF->SetYTitle(
" #phi \b");
14796 GefzDIFreconoiseHB42DF->Draw(
"COLZ");
14804 c2x1->Print(
"DIFreconoiseGeneralD2PhiSymmetryHB.png");
14807 if (GefzDIFreconoiseHB42D)
14808 delete GefzDIFreconoiseHB42D;
14809 if (GefzDIFreconoiseHB42D0)
14810 delete GefzDIFreconoiseHB42D0;
14811 if (GefzDIFreconoiseHB42DF)
14812 delete GefzDIFreconoiseHB42DF;
14818 c1x1->Divide(1, 1);
14820 TH1F *GefzDIFreconoiseHB41D =
new TH1F(
"GefzDIFreconoiseHB41D",
"",
nphi, 0., 72.);
14821 TH1F *GefzDIFreconoiseHB41D0 =
new TH1F(
"GefzDIFreconoiseHB41D0",
"",
nphi, 0., 72.);
14822 TH1F *GefzDIFreconoiseHB41DF = (TH1F *)GefzDIFreconoiseHB41D0->Clone(
"GefzDIFreconoiseHB41DF");
14823 for (
int jphi = 0; jphi <
nphi; jphi++) {
14825 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
14827 double ccc1 = breconoiseHB[
i][
jeta][jphi];
14829 GefzDIFreconoiseHB41D->Fill(jphi, ccc1);
14830 GefzDIFreconoiseHB41D0->Fill(jphi, 1.);
14836 GefzDIFreconoiseHB41DF->Divide(
14837 GefzDIFreconoiseHB41D, GefzDIFreconoiseHB41D0, 1, 1,
"B");
14838 GefzDIFreconoiseHB41D0->Sumw2();
14842 GefzDIFreconoiseHB41DF->SetMarkerStyle(20);
14843 GefzDIFreconoiseHB41DF->SetMarkerSize(1.4);
14844 GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08);
14845 GefzDIFreconoiseHB41DF->SetXTitle(
"#phi \b");
14846 GefzDIFreconoiseHB41DF->SetYTitle(
" <DIF> \b");
14847 GefzDIFreconoiseHB41DF->SetZTitle(
"<DIF>_PHI - AllDepthfs \b");
14848 GefzDIFreconoiseHB41DF->SetMarkerColor(4);
14849 GefzDIFreconoiseHB41DF->SetLineColor(
14851 GefzDIFreconoiseHB41DF->Draw(
"Error");
14854 c1x1->Print(
"DIFreconoiseGeneralD1PhiSymmetryHB.png");
14857 if (GefzDIFreconoiseHB41D)
14858 delete GefzDIFreconoiseHB41D;
14859 if (GefzDIFreconoiseHB41D0)
14860 delete GefzDIFreconoiseHB41D0;
14861 if (GefzDIFreconoiseHB41DF)
14862 delete GefzDIFreconoiseHB41DF;
14869 c3x5->Divide(4, 4);
14871 int kcountHBpositivedirectionReconoiseDIF1 = 1;
14872 TH1F *h2CeffHBpositivedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
14875 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14878 for (
int i = 0;
i < 1;
i++) {
14879 TH1F *HBpositivedirectionReconoiseDIF1 = (TH1F *)h2CeffHBpositivedirectionReconoiseDIF1->Clone(
"twod1");
14881 for (
int jphi = 0; jphi <
nphi; jphi++) {
14882 double ccc1 = breconoiseHB[
i][
jeta][jphi];
14884 HBpositivedirectionReconoiseDIF1->Fill(jphi, ccc1);
14888 if (ccctest > 0.) {
14890 c3x5->cd(kcountHBpositivedirectionReconoiseDIF1);
14891 HBpositivedirectionReconoiseDIF1->SetMarkerStyle(20);
14892 HBpositivedirectionReconoiseDIF1->SetMarkerSize(0.4);
14893 HBpositivedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
14894 HBpositivedirectionReconoiseDIF1->SetXTitle(
"HBpositivedirectionReconoiseDIF1 \b");
14895 HBpositivedirectionReconoiseDIF1->SetMarkerColor(2);
14896 HBpositivedirectionReconoiseDIF1->SetLineColor(0);
14900 if (kcountHBpositivedirectionReconoiseDIF1 == 1)
14901 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 0; depth = 1 \b");
14902 if (kcountHBpositivedirectionReconoiseDIF1 == 2)
14903 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 1; depth = 1 \b");
14904 if (kcountHBpositivedirectionReconoiseDIF1 == 3)
14905 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 2; depth = 1 \b");
14906 if (kcountHBpositivedirectionReconoiseDIF1 == 4)
14907 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 3; depth = 1 \b");
14908 if (kcountHBpositivedirectionReconoiseDIF1 == 5)
14909 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 4; depth = 1 \b");
14910 if (kcountHBpositivedirectionReconoiseDIF1 == 6)
14911 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 5; depth = 1 \b");
14912 if (kcountHBpositivedirectionReconoiseDIF1 == 7)
14913 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 6; depth = 1 \b");
14914 if (kcountHBpositivedirectionReconoiseDIF1 == 8)
14915 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 7; depth = 1 \b");
14916 if (kcountHBpositivedirectionReconoiseDIF1 == 9)
14917 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 8; depth = 1 \b");
14918 if (kcountHBpositivedirectionReconoiseDIF1 == 10)
14919 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 9; depth = 1 \b");
14920 if (kcountHBpositivedirectionReconoiseDIF1 == 11)
14921 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 10; depth = 1 \b");
14922 if (kcountHBpositivedirectionReconoiseDIF1 == 12)
14923 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 11; depth = 1 \b");
14924 if (kcountHBpositivedirectionReconoiseDIF1 == 13)
14925 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 12; depth = 1 \b");
14926 if (kcountHBpositivedirectionReconoiseDIF1 == 14)
14927 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 13; depth = 1 \b");
14928 if (kcountHBpositivedirectionReconoiseDIF1 == 15)
14929 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 14; depth = 1 \b");
14930 if (kcountHBpositivedirectionReconoiseDIF1 == 16)
14931 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 15; depth = 1 \b");
14932 HBpositivedirectionReconoiseDIF1->Draw(
"Error");
14933 kcountHBpositivedirectionReconoiseDIF1++;
14934 if (kcountHBpositivedirectionReconoiseDIF1 > 16)
14943 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png");
14946 if (h2CeffHBpositivedirectionReconoiseDIF1)
14947 delete h2CeffHBpositivedirectionReconoiseDIF1;
14955 c3x5->Divide(4, 4);
14957 int kcountHBpositivedirectionReconoiseDIF2 = 1;
14958 TH1F *h2CeffHBpositivedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
14961 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14964 for (
int i = 1;
i < 2;
i++) {
14965 TH1F *HBpositivedirectionReconoiseDIF2 = (TH1F *)h2CeffHBpositivedirectionReconoiseDIF2->Clone(
"twod1");
14967 for (
int jphi = 0; jphi <
nphi; jphi++) {
14968 double ccc1 = breconoiseHB[
i][
jeta][jphi];
14970 HBpositivedirectionReconoiseDIF2->Fill(jphi, ccc1);
14974 if (ccctest > 0.) {
14976 c3x5->cd(kcountHBpositivedirectionReconoiseDIF2);
14977 HBpositivedirectionReconoiseDIF2->SetMarkerStyle(20);
14978 HBpositivedirectionReconoiseDIF2->SetMarkerSize(0.4);
14979 HBpositivedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
14980 HBpositivedirectionReconoiseDIF2->SetXTitle(
"HBpositivedirectionReconoiseDIF2 \b");
14981 HBpositivedirectionReconoiseDIF2->SetMarkerColor(2);
14982 HBpositivedirectionReconoiseDIF2->SetLineColor(0);
14986 if (kcountHBpositivedirectionReconoiseDIF2 == 1)
14987 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 0; depth = 2 \b");
14988 if (kcountHBpositivedirectionReconoiseDIF2 == 2)
14989 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 1; depth = 2 \b");
14990 if (kcountHBpositivedirectionReconoiseDIF2 == 3)
14991 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 2; depth = 2 \b");
14992 if (kcountHBpositivedirectionReconoiseDIF2 == 4)
14993 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 3; depth = 2 \b");
14994 if (kcountHBpositivedirectionReconoiseDIF2 == 5)
14995 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 4; depth = 2 \b");
14996 if (kcountHBpositivedirectionReconoiseDIF2 == 6)
14997 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 5; depth = 2 \b");
14998 if (kcountHBpositivedirectionReconoiseDIF2 == 7)
14999 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 6; depth = 2 \b");
15000 if (kcountHBpositivedirectionReconoiseDIF2 == 8)
15001 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 7; depth = 2 \b");
15002 if (kcountHBpositivedirectionReconoiseDIF2 == 9)
15003 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 8; depth = 2 \b");
15004 if (kcountHBpositivedirectionReconoiseDIF2 == 10)
15005 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 9; depth = 2 \b");
15006 if (kcountHBpositivedirectionReconoiseDIF2 == 11)
15007 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 10; depth = 2 \b");
15008 if (kcountHBpositivedirectionReconoiseDIF2 == 12)
15009 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 11; depth = 2 \b");
15010 if (kcountHBpositivedirectionReconoiseDIF2 == 13)
15011 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 12; depth = 2 \b");
15012 if (kcountHBpositivedirectionReconoiseDIF2 == 14)
15013 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 13; depth = 2 \b");
15014 if (kcountHBpositivedirectionReconoiseDIF2 == 15)
15015 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 14; depth = 2 \b");
15016 if (kcountHBpositivedirectionReconoiseDIF2 == 16)
15017 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 15; depth = 2 \b");
15018 HBpositivedirectionReconoiseDIF2->Draw(
"Error");
15019 kcountHBpositivedirectionReconoiseDIF2++;
15020 if (kcountHBpositivedirectionReconoiseDIF2 > 16)
15029 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png");
15032 if (h2CeffHBpositivedirectionReconoiseDIF2)
15033 delete h2CeffHBpositivedirectionReconoiseDIF2;
15040 c3x5->Divide(4, 4);
15042 int kcountHBpositivedirectionReconoiseDIF3 = 1;
15043 TH1F *h2CeffHBpositivedirectionReconoiseDIF3 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseDIF3",
"",
nphi, 0., 72.);
15046 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
15049 for (
int i = 2;
i < 3;
i++) {
15050 TH1F *HBpositivedirectionReconoiseDIF3 = (TH1F *)h2CeffHBpositivedirectionReconoiseDIF3->Clone(
"twod1");
15052 for (
int jphi = 0; jphi <
nphi; jphi++) {
15053 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15055 HBpositivedirectionReconoiseDIF3->Fill(jphi, ccc1);
15059 if (ccctest > 0.) {
15061 c3x5->cd(kcountHBpositivedirectionReconoiseDIF3);
15062 HBpositivedirectionReconoiseDIF3->SetMarkerStyle(20);
15063 HBpositivedirectionReconoiseDIF3->SetMarkerSize(0.4);
15064 HBpositivedirectionReconoiseDIF3->GetYaxis()->SetLabelSize(0.04);
15065 HBpositivedirectionReconoiseDIF3->SetXTitle(
"HBpositivedirectionReconoiseDIF3 \b");
15066 HBpositivedirectionReconoiseDIF3->SetMarkerColor(2);
15067 HBpositivedirectionReconoiseDIF3->SetLineColor(0);
15071 if (kcountHBpositivedirectionReconoiseDIF3 == 1)
15072 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 0; depth = 3 \b");
15073 if (kcountHBpositivedirectionReconoiseDIF3 == 2)
15074 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 1; depth = 3 \b");
15075 if (kcountHBpositivedirectionReconoiseDIF3 == 3)
15076 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 2; depth = 3 \b");
15077 if (kcountHBpositivedirectionReconoiseDIF3 == 4)
15078 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 3; depth = 3 \b");
15079 if (kcountHBpositivedirectionReconoiseDIF3 == 5)
15080 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 4; depth = 3 \b");
15081 if (kcountHBpositivedirectionReconoiseDIF3 == 6)
15082 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 5; depth = 3 \b");
15083 if (kcountHBpositivedirectionReconoiseDIF3 == 7)
15084 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 6; depth = 3 \b");
15085 if (kcountHBpositivedirectionReconoiseDIF3 == 8)
15086 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 7; depth = 3 \b");
15087 if (kcountHBpositivedirectionReconoiseDIF3 == 9)
15088 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 8; depth = 3 \b");
15089 if (kcountHBpositivedirectionReconoiseDIF3 == 10)
15090 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 9; depth = 3 \b");
15091 if (kcountHBpositivedirectionReconoiseDIF3 == 11)
15092 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 0; depth = 3 \b");
15093 if (kcountHBpositivedirectionReconoiseDIF3 == 12)
15094 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 11; depth = 3 \b");
15095 if (kcountHBpositivedirectionReconoiseDIF3 == 13)
15096 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 12; depth = 3 \b");
15097 if (kcountHBpositivedirectionReconoiseDIF3 == 14)
15098 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 13; depth = 3 \b");
15099 if (kcountHBpositivedirectionReconoiseDIF3 == 15)
15100 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 14; depth = 3 \b");
15101 if (kcountHBpositivedirectionReconoiseDIF3 == 16)
15102 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 15; depth = 3 \b");
15103 HBpositivedirectionReconoiseDIF3->Draw(
"Error");
15104 kcountHBpositivedirectionReconoiseDIF3++;
15105 if (kcountHBpositivedirectionReconoiseDIF3 > 16)
15114 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png");
15117 if (h2CeffHBpositivedirectionReconoiseDIF3)
15118 delete h2CeffHBpositivedirectionReconoiseDIF3;
15125 c3x5->Divide(4, 4);
15127 int kcountHBpositivedirectionReconoiseDIF4 = 1;
15128 TH1F *h2CeffHBpositivedirectionReconoiseDIF4 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseDIF4",
"",
nphi, 0., 72.);
15132 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
15135 for (
int i = 3;
i < 4;
i++) {
15136 TH1F *HBpositivedirectionReconoiseDIF4 = (TH1F *)h2CeffHBpositivedirectionReconoiseDIF4->Clone(
"twod1");
15139 for (
int jphi = 0; jphi <
nphi; jphi++) {
15140 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15142 HBpositivedirectionReconoiseDIF4->Fill(jphi, ccc1);
15146 if (ccctest > 0.) {
15148 c3x5->cd(kcountHBpositivedirectionReconoiseDIF4);
15149 HBpositivedirectionReconoiseDIF4->SetMarkerStyle(20);
15150 HBpositivedirectionReconoiseDIF4->SetMarkerSize(0.4);
15151 HBpositivedirectionReconoiseDIF4->GetYaxis()->SetLabelSize(0.04);
15152 HBpositivedirectionReconoiseDIF4->SetXTitle(
"HBpositivedirectionReconoiseDIF4 \b");
15153 HBpositivedirectionReconoiseDIF4->SetMarkerColor(2);
15154 HBpositivedirectionReconoiseDIF4->SetLineColor(0);
15158 if (kcountHBpositivedirectionReconoiseDIF4 == 1)
15159 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 0; depth = 4 \b");
15160 if (kcountHBpositivedirectionReconoiseDIF4 == 2)
15161 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 1; depth = 4 \b");
15162 if (kcountHBpositivedirectionReconoiseDIF4 == 3)
15163 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 2; depth = 4 \b");
15164 if (kcountHBpositivedirectionReconoiseDIF4 == 4)
15165 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 3; depth = 4 \b");
15166 if (kcountHBpositivedirectionReconoiseDIF4 == 5)
15167 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 4; depth = 4 \b");
15168 if (kcountHBpositivedirectionReconoiseDIF4 == 6)
15169 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 5; depth = 4 \b");
15170 if (kcountHBpositivedirectionReconoiseDIF4 == 7)
15171 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 6; depth = 4 \b");
15172 if (kcountHBpositivedirectionReconoiseDIF4 == 8)
15173 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 7; depth = 4 \b");
15174 if (kcountHBpositivedirectionReconoiseDIF4 == 9)
15175 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 8; depth = 4 \b");
15176 if (kcountHBpositivedirectionReconoiseDIF4 == 10)
15177 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 9; depth = 4 \b");
15178 if (kcountHBpositivedirectionReconoiseDIF4 == 11)
15179 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 10; depth = 4 \b");
15180 if (kcountHBpositivedirectionReconoiseDIF4 == 12)
15181 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 11; depth = 4 \b");
15182 if (kcountHBpositivedirectionReconoiseDIF4 == 13)
15183 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 12; depth = 4 \b");
15184 if (kcountHBpositivedirectionReconoiseDIF4 == 14)
15185 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 13; depth = 4 \b");
15186 if (kcountHBpositivedirectionReconoiseDIF4 == 15)
15187 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 14; depth = 4 \b");
15188 if (kcountHBpositivedirectionReconoiseDIF4 == 16)
15189 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 15; depth = 4 \b");
15190 HBpositivedirectionReconoiseDIF4->Draw(
"Error");
15191 kcountHBpositivedirectionReconoiseDIF4++;
15192 if (kcountHBpositivedirectionReconoiseDIF4 > 16)
15201 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png");
15204 if (h2CeffHBpositivedirectionReconoiseDIF4)
15205 delete h2CeffHBpositivedirectionReconoiseDIF4;
15213 c3x5->Divide(4, 4);
15215 int kcountHBnegativedirectionReconoiseDIF1 = 1;
15216 TH1F *h2CeffHBnegativedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
15219 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
15222 for (
int i = 0;
i < 1;
i++) {
15223 TH1F *HBnegativedirectionReconoiseDIF1 = (TH1F *)h2CeffHBnegativedirectionReconoiseDIF1->Clone(
"twod1");
15225 for (
int jphi = 0; jphi <
nphi; jphi++) {
15226 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15228 HBnegativedirectionReconoiseDIF1->Fill(jphi, ccc1);
15232 if (ccctest > 0.) {
15234 c3x5->cd(kcountHBnegativedirectionReconoiseDIF1);
15235 HBnegativedirectionReconoiseDIF1->SetMarkerStyle(20);
15236 HBnegativedirectionReconoiseDIF1->SetMarkerSize(0.4);
15237 HBnegativedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
15238 HBnegativedirectionReconoiseDIF1->SetXTitle(
"HBnegativedirectionReconoiseDIF1 \b");
15239 HBnegativedirectionReconoiseDIF1->SetMarkerColor(2);
15240 HBnegativedirectionReconoiseDIF1->SetLineColor(0);
15244 if (kcountHBnegativedirectionReconoiseDIF1 == 1)
15245 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -16; depth = 1 \b");
15246 if (kcountHBnegativedirectionReconoiseDIF1 == 2)
15247 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -15; depth = 1 \b");
15248 if (kcountHBnegativedirectionReconoiseDIF1 == 3)
15249 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -14; depth = 1 \b");
15250 if (kcountHBnegativedirectionReconoiseDIF1 == 4)
15251 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -13; depth = 1 \b");
15252 if (kcountHBnegativedirectionReconoiseDIF1 == 5)
15253 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -12; depth = 1 \b");
15254 if (kcountHBnegativedirectionReconoiseDIF1 == 6)
15255 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -11; depth = 1 \b");
15256 if (kcountHBnegativedirectionReconoiseDIF1 == 7)
15257 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -10; depth = 1 \b");
15258 if (kcountHBnegativedirectionReconoiseDIF1 == 8)
15259 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -9; depth = 1 \b");
15260 if (kcountHBnegativedirectionReconoiseDIF1 == 9)
15261 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -8; depth = 1 \b");
15262 if (kcountHBnegativedirectionReconoiseDIF1 == 10)
15263 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -7; depth = 1 \b");
15264 if (kcountHBnegativedirectionReconoiseDIF1 == 11)
15265 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -6; depth = 1 \b");
15266 if (kcountHBnegativedirectionReconoiseDIF1 == 12)
15267 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -5; depth = 1 \b");
15268 if (kcountHBnegativedirectionReconoiseDIF1 == 13)
15269 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -4; depth = 1 \b");
15270 if (kcountHBnegativedirectionReconoiseDIF1 == 14)
15271 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -3; depth = 1 \b");
15272 if (kcountHBnegativedirectionReconoiseDIF1 == 15)
15273 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -2; depth = 1 \b");
15274 if (kcountHBnegativedirectionReconoiseDIF1 == 16)
15275 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -1; depth = 1 \b");
15276 HBnegativedirectionReconoiseDIF1->Draw(
"Error");
15277 kcountHBnegativedirectionReconoiseDIF1++;
15278 if (kcountHBnegativedirectionReconoiseDIF1 > 16)
15287 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
15290 if (h2CeffHBnegativedirectionReconoiseDIF1)
15291 delete h2CeffHBnegativedirectionReconoiseDIF1;
15299 c3x5->Divide(4, 4);
15301 int kcountHBnegativedirectionReconoiseDIF2 = 1;
15302 TH1F *h2CeffHBnegativedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
15305 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
15308 for (
int i = 1;
i < 2;
i++) {
15309 TH1F *HBnegativedirectionReconoiseDIF2 = (TH1F *)h2CeffHBnegativedirectionReconoiseDIF2->Clone(
"twod1");
15311 for (
int jphi = 0; jphi <
nphi; jphi++) {
15312 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15314 HBnegativedirectionReconoiseDIF2->Fill(jphi, ccc1);
15318 if (ccctest > 0.) {
15320 c3x5->cd(kcountHBnegativedirectionReconoiseDIF2);
15321 HBnegativedirectionReconoiseDIF2->SetMarkerStyle(20);
15322 HBnegativedirectionReconoiseDIF2->SetMarkerSize(0.4);
15323 HBnegativedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
15324 HBnegativedirectionReconoiseDIF2->SetXTitle(
"HBnegativedirectionReconoiseDIF2 \b");
15325 HBnegativedirectionReconoiseDIF2->SetMarkerColor(2);
15326 HBnegativedirectionReconoiseDIF2->SetLineColor(0);
15330 if (kcountHBnegativedirectionReconoiseDIF2 == 1)
15331 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -16; depth = 2 \b");
15332 if (kcountHBnegativedirectionReconoiseDIF2 == 2)
15333 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -15; depth = 2 \b");
15334 if (kcountHBnegativedirectionReconoiseDIF2 == 3)
15335 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -14; depth = 2 \b");
15336 if (kcountHBnegativedirectionReconoiseDIF2 == 4)
15337 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -13; depth = 2 \b");
15338 if (kcountHBnegativedirectionReconoiseDIF2 == 5)
15339 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -12; depth = 2 \b");
15340 if (kcountHBnegativedirectionReconoiseDIF2 == 6)
15341 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -11; depth = 2 \b");
15342 if (kcountHBnegativedirectionReconoiseDIF2 == 7)
15343 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -10; depth = 2 \b");
15344 if (kcountHBnegativedirectionReconoiseDIF2 == 8)
15345 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -9; depth = 2 \b");
15346 if (kcountHBnegativedirectionReconoiseDIF2 == 9)
15347 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -8; depth = 2 \b");
15348 if (kcountHBnegativedirectionReconoiseDIF2 == 10)
15349 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -7; depth = 2 \b");
15350 if (kcountHBnegativedirectionReconoiseDIF2 == 11)
15351 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -6; depth = 2 \b");
15352 if (kcountHBnegativedirectionReconoiseDIF2 == 12)
15353 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -5; depth = 2 \b");
15354 if (kcountHBnegativedirectionReconoiseDIF2 == 13)
15355 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -4; depth = 2 \b");
15356 if (kcountHBnegativedirectionReconoiseDIF2 == 14)
15357 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -3; depth = 2 \b");
15358 if (kcountHBnegativedirectionReconoiseDIF2 == 15)
15359 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -2; depth = 2 \b");
15360 if (kcountHBnegativedirectionReconoiseDIF2 == 16)
15361 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -1; depth = 2 \b");
15362 HBnegativedirectionReconoiseDIF2->Draw(
"Error");
15363 kcountHBnegativedirectionReconoiseDIF2++;
15364 if (kcountHBnegativedirectionReconoiseDIF2 > 16)
15373 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
15376 if (h2CeffHBnegativedirectionReconoiseDIF2)
15377 delete h2CeffHBnegativedirectionReconoiseDIF2;
15384 c3x5->Divide(4, 4);
15386 int kcountHBnegativedirectionReconoiseDIF3 = 1;
15387 TH1F *h2CeffHBnegativedirectionReconoiseDIF3 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseDIF3",
"",
nphi, 0., 72.);
15390 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
15393 for (
int i = 2;
i < 3;
i++) {
15394 TH1F *HBnegativedirectionReconoiseDIF3 = (TH1F *)h2CeffHBnegativedirectionReconoiseDIF3->Clone(
"twod1");
15396 for (
int jphi = 0; jphi <
nphi; jphi++) {
15397 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15399 HBnegativedirectionReconoiseDIF3->Fill(jphi, ccc1);
15403 if (ccctest > 0.) {
15405 c3x5->cd(kcountHBnegativedirectionReconoiseDIF3);
15406 HBnegativedirectionReconoiseDIF3->SetMarkerStyle(20);
15407 HBnegativedirectionReconoiseDIF3->SetMarkerSize(0.4);
15408 HBnegativedirectionReconoiseDIF3->GetYaxis()->SetLabelSize(0.04);
15409 HBnegativedirectionReconoiseDIF3->SetXTitle(
"HBnegativedirectionReconoiseDIF3 \b");
15410 HBnegativedirectionReconoiseDIF3->SetMarkerColor(2);
15411 HBnegativedirectionReconoiseDIF3->SetLineColor(0);
15415 if (kcountHBnegativedirectionReconoiseDIF3 == 1)
15416 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -16; depth = 3 \b");
15417 if (kcountHBnegativedirectionReconoiseDIF3 == 2)
15418 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -15; depth = 3 \b");
15419 if (kcountHBnegativedirectionReconoiseDIF3 == 3)
15420 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -14; depth = 3 \b");
15421 if (kcountHBnegativedirectionReconoiseDIF3 == 4)
15422 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -13; depth = 3 \b");
15423 if (kcountHBnegativedirectionReconoiseDIF3 == 5)
15424 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -12; depth = 3 \b");
15425 if (kcountHBnegativedirectionReconoiseDIF3 == 6)
15426 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -11; depth = 3 \b");
15427 if (kcountHBnegativedirectionReconoiseDIF3 == 7)
15428 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -10; depth = 3 \b");
15429 if (kcountHBnegativedirectionReconoiseDIF3 == 8)
15430 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -9; depth = 3 \b");
15431 if (kcountHBnegativedirectionReconoiseDIF3 == 9)
15432 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -8; depth = 3 \b");
15433 if (kcountHBnegativedirectionReconoiseDIF3 == 10)
15434 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -7; depth = 3 \b");
15435 if (kcountHBnegativedirectionReconoiseDIF3 == 11)
15436 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -6; depth = 3 \b");
15437 if (kcountHBnegativedirectionReconoiseDIF3 == 12)
15438 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -5; depth = 3 \b");
15439 if (kcountHBnegativedirectionReconoiseDIF3 == 13)
15440 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -4; depth = 3 \b");
15441 if (kcountHBnegativedirectionReconoiseDIF3 == 14)
15442 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -3; depth = 3 \b");
15443 if (kcountHBnegativedirectionReconoiseDIF3 == 15)
15444 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -2; depth = 3 \b");
15445 if (kcountHBnegativedirectionReconoiseDIF3 == 16)
15446 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -1; depth = 3 \b");
15448 HBnegativedirectionReconoiseDIF3->Draw(
"Error");
15449 kcountHBnegativedirectionReconoiseDIF3++;
15450 if (kcountHBnegativedirectionReconoiseDIF3 > 16)
15459 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
15462 if (h2CeffHBnegativedirectionReconoiseDIF3)
15463 delete h2CeffHBnegativedirectionReconoiseDIF3;
15470 c3x5->Divide(4, 4);
15472 int kcountHBnegativedirectionReconoiseDIF4 = 1;
15473 TH1F *h2CeffHBnegativedirectionReconoiseDIF4 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseDIF4",
"",
nphi, 0., 72.);
15477 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
15480 for (
int i = 3;
i < 4;
i++) {
15481 TH1F *HBnegativedirectionReconoiseDIF4 = (TH1F *)h2CeffHBnegativedirectionReconoiseDIF4->Clone(
"twod1");
15484 for (
int jphi = 0; jphi <
nphi; jphi++) {
15485 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15487 HBnegativedirectionReconoiseDIF4->Fill(jphi, ccc1);
15491 if (ccctest > 0.) {
15493 c3x5->cd(kcountHBnegativedirectionReconoiseDIF4);
15494 HBnegativedirectionReconoiseDIF4->SetMarkerStyle(20);
15495 HBnegativedirectionReconoiseDIF4->SetMarkerSize(0.4);
15496 HBnegativedirectionReconoiseDIF4->GetYaxis()->SetLabelSize(0.04);
15497 HBnegativedirectionReconoiseDIF4->SetXTitle(
"HBnegativedirectionReconoiseDIF4 \b");
15498 HBnegativedirectionReconoiseDIF4->SetMarkerColor(2);
15499 HBnegativedirectionReconoiseDIF4->SetLineColor(0);
15503 if (kcountHBnegativedirectionReconoiseDIF4 == 1)
15504 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -16; depth = 4 \b");
15505 if (kcountHBnegativedirectionReconoiseDIF4 == 2)
15506 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -15; depth = 4 \b");
15507 if (kcountHBnegativedirectionReconoiseDIF4 == 3)
15508 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -14; depth = 4 \b");
15509 if (kcountHBnegativedirectionReconoiseDIF4 == 4)
15510 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -13; depth = 4 \b");
15511 if (kcountHBnegativedirectionReconoiseDIF4 == 5)
15512 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -12; depth = 4 \b");
15513 if (kcountHBnegativedirectionReconoiseDIF4 == 6)
15514 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -11; depth = 4 \b");
15515 if (kcountHBnegativedirectionReconoiseDIF4 == 7)
15516 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -10; depth = 4 \b");
15517 if (kcountHBnegativedirectionReconoiseDIF4 == 8)
15518 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -9; depth = 4 \b");
15519 if (kcountHBnegativedirectionReconoiseDIF4 == 9)
15520 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -8; depth = 4 \b");
15521 if (kcountHBnegativedirectionReconoiseDIF4 == 10)
15522 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -7; depth = 4 \b");
15523 if (kcountHBnegativedirectionReconoiseDIF4 == 11)
15524 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -6; depth = 4 \b");
15525 if (kcountHBnegativedirectionReconoiseDIF4 == 12)
15526 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -5; depth = 4 \b");
15527 if (kcountHBnegativedirectionReconoiseDIF4 == 13)
15528 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -4; depth = 4 \b");
15529 if (kcountHBnegativedirectionReconoiseDIF4 == 14)
15530 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -3; depth = 4 \b");
15531 if (kcountHBnegativedirectionReconoiseDIF4 == 15)
15532 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -2; depth = 4 \b");
15533 if (kcountHBnegativedirectionReconoiseDIF4 == 16)
15534 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -1; depth = 4 \b");
15535 HBnegativedirectionReconoiseDIF4->Draw(
"Error");
15536 kcountHBnegativedirectionReconoiseDIF4++;
15537 if (kcountHBnegativedirectionReconoiseDIF4 > 16)
15546 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
15549 if (h2CeffHBnegativedirectionReconoiseDIF4)
15550 delete h2CeffHBnegativedirectionReconoiseDIF4;
15558 TH2F *reconoiseVariance1HB1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HB1");
15559 TH2F *reconoiseVariance0HB1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB1");
15560 TH2F *reconoiseVarianceHB1 = (TH2F *)reconoiseVariance1HB1->Clone(
"reconoiseVarianceHB1");
15561 reconoiseVarianceHB1->Divide(reconoiseVariance1HB1, reconoiseVariance0HB1, 1, 1,
"B");
15562 TH2F *reconoiseVariance1HB2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HB2");
15563 TH2F *reconoiseVariance0HB2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB2");
15564 TH2F *reconoiseVarianceHB2 = (TH2F *)reconoiseVariance1HB2->Clone(
"reconoiseVarianceHB2");
15565 reconoiseVarianceHB2->Divide(reconoiseVariance1HB2, reconoiseVariance0HB2, 1, 1,
"B");
15566 TH2F *reconoiseVariance1HB3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HB3");
15567 TH2F *reconoiseVariance0HB3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB3");
15568 TH2F *reconoiseVarianceHB3 = (TH2F *)reconoiseVariance1HB3->Clone(
"reconoiseVarianceHB3");
15569 reconoiseVarianceHB3->Divide(reconoiseVariance1HB3, reconoiseVariance0HB3, 1, 1,
"B");
15570 TH2F *reconoiseVariance1HB4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HB4");
15571 TH2F *reconoiseVariance0HB4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB4");
15572 TH2F *reconoiseVarianceHB4 = (TH2F *)reconoiseVariance1HB4->Clone(
"reconoiseVarianceHB4");
15573 reconoiseVarianceHB4->Divide(reconoiseVariance1HB4, reconoiseVariance0HB4, 1, 1,
"B");
15578 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
15580 double sumreconoiseHB0 = 0;
15581 int nsumreconoiseHB0 = 0;
15582 double sumreconoiseHB1 = 0;
15583 int nsumreconoiseHB1 = 0;
15584 double sumreconoiseHB2 = 0;
15585 int nsumreconoiseHB2 = 0;
15586 double sumreconoiseHB3 = 0;
15587 int nsumreconoiseHB3 = 0;
15588 for (
int jphi = 0; jphi < njphi; jphi++) {
15589 reconoisevarianceHB[0][
jeta][jphi] = reconoiseVarianceHB1->GetBinContent(
jeta + 1, jphi + 1);
15590 reconoisevarianceHB[1][
jeta][jphi] = reconoiseVarianceHB2->GetBinContent(
jeta + 1, jphi + 1);
15591 reconoisevarianceHB[2][
jeta][jphi] = reconoiseVarianceHB3->GetBinContent(
jeta + 1, jphi + 1);
15592 reconoisevarianceHB[3][
jeta][jphi] = reconoiseVarianceHB4->GetBinContent(
jeta + 1, jphi + 1);
15593 if (reconoisevarianceHB[0][
jeta][jphi] != 0.) {
15594 sumreconoiseHB0 += reconoisevarianceHB[0][
jeta][jphi];
15595 ++nsumreconoiseHB0;
15597 if (reconoisevarianceHB[1][
jeta][jphi] != 0.) {
15598 sumreconoiseHB1 += reconoisevarianceHB[1][
jeta][jphi];
15599 ++nsumreconoiseHB1;
15601 if (reconoisevarianceHB[2][
jeta][jphi] != 0.) {
15602 sumreconoiseHB2 += reconoisevarianceHB[2][
jeta][jphi];
15603 ++nsumreconoiseHB2;
15605 if (reconoisevarianceHB[3][
jeta][jphi] != 0.) {
15606 sumreconoiseHB3 += reconoisevarianceHB[3][
jeta][jphi];
15607 ++nsumreconoiseHB3;
15611 for (
int jphi = 0; jphi < njphi; jphi++) {
15612 if (sumreconoiseHB0 != 0.)
15613 reconoisevarianceHB[0][
jeta][jphi] /= (sumreconoiseHB0 / nsumreconoiseHB0);
15614 if (sumreconoiseHB1 != 0.)
15615 reconoisevarianceHB[1][
jeta][jphi] /= (sumreconoiseHB1 / nsumreconoiseHB1);
15616 if (sumreconoiseHB2 != 0.)
15617 reconoisevarianceHB[2][
jeta][jphi] /= (sumreconoiseHB2 / nsumreconoiseHB2);
15618 if (sumreconoiseHB3 != 0.)
15619 reconoisevarianceHB[3][
jeta][jphi] /= (sumreconoiseHB3 / nsumreconoiseHB3);
15622 for (
int jphi = 0; jphi < njphi; jphi++) {
15624 reconoisevarianceHB[0][
jeta][jphi] -= areconoiseHB[0][
jeta][jphi] * areconoiseHB[0][
jeta][jphi];
15625 reconoisevarianceHB[0][
jeta][jphi] = fabs(reconoisevarianceHB[0][
jeta][jphi]);
15626 reconoisevarianceHB[1][
jeta][jphi] -= areconoiseHB[1][
jeta][jphi] * areconoiseHB[1][
jeta][jphi];
15627 reconoisevarianceHB[1][
jeta][jphi] = fabs(reconoisevarianceHB[1][
jeta][jphi]);
15628 reconoisevarianceHB[2][
jeta][jphi] -= areconoiseHB[2][
jeta][jphi] * areconoiseHB[2][
jeta][jphi];
15629 reconoisevarianceHB[2][
jeta][jphi] = fabs(reconoisevarianceHB[2][
jeta][jphi]);
15630 reconoisevarianceHB[3][
jeta][jphi] -= areconoiseHB[3][
jeta][jphi] * areconoiseHB[3][
jeta][jphi];
15631 reconoisevarianceHB[3][
jeta][jphi] = fabs(reconoisevarianceHB[3][
jeta][jphi]);
15642 c1x0->Divide(1, 1);
15644 TH2F *DefzDreconoiseHB42D =
new TH2F(
"DefzDreconoiseHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
15645 TH2F *DefzDreconoiseHB42D0 =
new TH2F(
"DefzDreconoiseHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
15646 TH2F *DefzDreconoiseHB42DF = (TH2F *)DefzDreconoiseHB42D0->Clone(
"DefzDreconoiseHB42DF");
15649 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
15650 for (
int jphi = 0; jphi <
nphi; jphi++) {
15651 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
15652 int k2plot =
jeta - 41;
15654 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
15655 DefzDreconoiseHB42D->Fill(kkk, jphi, ccc1);
15656 DefzDreconoiseHB42D0->Fill(kkk, jphi, 1.);
15662 DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D, DefzDreconoiseHB42D0, 1, 1,
"B");
15666 DefzDreconoiseHB42DF->SetMarkerStyle(20);
15667 DefzDreconoiseHB42DF->SetMarkerSize(0.4);
15668 DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08);
15669 DefzDreconoiseHB42DF->SetXTitle(
"<D>_depth #eta \b");
15670 DefzDreconoiseHB42DF->SetYTitle(
" #phi \b");
15671 DefzDreconoiseHB42DF->SetZTitle(
"<D>_depth \b");
15672 DefzDreconoiseHB42DF->SetMarkerColor(2);
15673 DefzDreconoiseHB42DF->SetLineColor(
15675 DefzDreconoiseHB42DF->Draw(
"COLZ");
15678 c1x0->Print(
"DreconoiseGeneralD2PhiSymmetryHB.png");
15681 if (DefzDreconoiseHB42D)
15682 delete DefzDreconoiseHB42D;
15683 if (DefzDreconoiseHB42D0)
15684 delete DefzDreconoiseHB42D0;
15685 if (DefzDreconoiseHB42DF)
15686 delete DefzDreconoiseHB42DF;
15692 c1x1->Divide(1, 1);
15694 TH1F *DefzDreconoiseHB41D =
new TH1F(
"DefzDreconoiseHB41D",
"",
nphi, 0., 72.);
15695 TH1F *DefzDreconoiseHB41D0 =
new TH1F(
"DefzDreconoiseHB41D0",
"",
nphi, 0., 72.);
15696 TH1F *DefzDreconoiseHB41DF = (TH1F *)DefzDreconoiseHB41D0->Clone(
"DefzDreconoiseHB41DF");
15698 for (
int jphi = 0; jphi <
nphi; jphi++) {
15700 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
15702 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
15703 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
15704 DefzDreconoiseHB41D->Fill(jphi, ccc1);
15705 DefzDreconoiseHB41D0->Fill(jphi, 1.);
15713 DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D, DefzDreconoiseHB41D0, 1, 1,
"B");
15714 DefzDreconoiseHB41D0->Sumw2();
15718 DefzDreconoiseHB41DF->SetMarkerStyle(20);
15719 DefzDreconoiseHB41DF->SetMarkerSize(1.4);
15720 DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08);
15721 DefzDreconoiseHB41DF->SetXTitle(
"#phi \b");
15722 DefzDreconoiseHB41DF->SetYTitle(
" <D> \b");
15723 DefzDreconoiseHB41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
15724 DefzDreconoiseHB41DF->SetMarkerColor(4);
15725 DefzDreconoiseHB41DF->SetLineColor(
15727 DefzDreconoiseHB41DF->Draw(
"Error");
15730 c1x1->Print(
"DreconoiseGeneralD1PhiSymmetryHB.png");
15733 if (DefzDreconoiseHB41D)
15734 delete DefzDreconoiseHB41D;
15735 if (DefzDreconoiseHB41D0)
15736 delete DefzDreconoiseHB41D0;
15737 if (DefzDreconoiseHB41DF)
15738 delete DefzDreconoiseHB41DF;
15746 c3x5->Divide(4, 4);
15748 int kcountHBpositivedirectionReconoiseD1 = 1;
15749 TH1F *h2CeffHBpositivedirectionReconoiseD1 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseD1",
"",
nphi, 0., 72.);
15753 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
15756 for (
int i = 0;
i < 1;
i++) {
15757 TH1F *HBpositivedirectionReconoiseD1 = (TH1F *)h2CeffHBpositivedirectionReconoiseD1->Clone(
"twod1");
15760 for (
int jphi = 0; jphi <
nphi; jphi++) {
15761 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
15762 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
15763 HBpositivedirectionReconoiseD1->Fill(jphi, ccc1);
15767 if (ccctest > 0.) {
15769 c3x5->cd(kcountHBpositivedirectionReconoiseD1);
15770 HBpositivedirectionReconoiseD1->SetMarkerStyle(20);
15771 HBpositivedirectionReconoiseD1->SetMarkerSize(0.4);
15772 HBpositivedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
15773 HBpositivedirectionReconoiseD1->SetXTitle(
"HBpositivedirectionReconoiseD1 \b");
15774 HBpositivedirectionReconoiseD1->SetMarkerColor(2);
15775 HBpositivedirectionReconoiseD1->SetLineColor(0);
15779 if (kcountHBpositivedirectionReconoiseD1 == 1)
15780 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 0; depth = 1 \b");
15781 if (kcountHBpositivedirectionReconoiseD1 == 2)
15782 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 1; depth = 1 \b");
15783 if (kcountHBpositivedirectionReconoiseD1 == 3)
15784 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 2; depth = 1 \b");
15785 if (kcountHBpositivedirectionReconoiseD1 == 4)
15786 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 3; depth = 1 \b");
15787 if (kcountHBpositivedirectionReconoiseD1 == 5)
15788 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 4; depth = 1 \b");
15789 if (kcountHBpositivedirectionReconoiseD1 == 6)
15790 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 5; depth = 1 \b");
15791 if (kcountHBpositivedirectionReconoiseD1 == 7)
15792 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 6; depth = 1 \b");
15793 if (kcountHBpositivedirectionReconoiseD1 == 8)
15794 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 7; depth = 1 \b");
15795 if (kcountHBpositivedirectionReconoiseD1 == 9)
15796 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 8; depth = 1 \b");
15797 if (kcountHBpositivedirectionReconoiseD1 == 10)
15798 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 9; depth = 1 \b");
15799 if (kcountHBpositivedirectionReconoiseD1 == 11)
15800 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 10; depth = 1 \b");
15801 if (kcountHBpositivedirectionReconoiseD1 == 12)
15802 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 11; depth = 1 \b");
15803 if (kcountHBpositivedirectionReconoiseD1 == 13)
15804 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 12; depth = 1 \b");
15805 if (kcountHBpositivedirectionReconoiseD1 == 14)
15806 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 13; depth = 1 \b");
15807 if (kcountHBpositivedirectionReconoiseD1 == 15)
15808 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 14; depth = 1 \b");
15809 if (kcountHBpositivedirectionReconoiseD1 == 16)
15810 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 15; depth = 1 \b");
15811 HBpositivedirectionReconoiseD1->Draw(
"Error");
15812 kcountHBpositivedirectionReconoiseD1++;
15813 if (kcountHBpositivedirectionReconoiseD1 > 16)
15822 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png");
15825 if (h2CeffHBpositivedirectionReconoiseD1)
15826 delete h2CeffHBpositivedirectionReconoiseD1;
15832 c3x5->Divide(4, 4);
15834 int kcountHBpositivedirectionReconoiseD2 = 1;
15835 TH1F *h2CeffHBpositivedirectionReconoiseD2 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseD2",
"",
nphi, 0., 72.);
15839 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
15842 for (
int i = 1;
i < 2;
i++) {
15843 TH1F *HBpositivedirectionReconoiseD2 = (TH1F *)h2CeffHBpositivedirectionReconoiseD2->Clone(
"twod1");
15846 for (
int jphi = 0; jphi <
nphi; jphi++) {
15847 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
15848 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
15849 HBpositivedirectionReconoiseD2->Fill(jphi, ccc1);
15853 if (ccctest > 0.) {
15855 c3x5->cd(kcountHBpositivedirectionReconoiseD2);
15856 HBpositivedirectionReconoiseD2->SetMarkerStyle(20);
15857 HBpositivedirectionReconoiseD2->SetMarkerSize(0.4);
15858 HBpositivedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
15859 HBpositivedirectionReconoiseD2->SetXTitle(
"HBpositivedirectionReconoiseD2 \b");
15860 HBpositivedirectionReconoiseD2->SetMarkerColor(2);
15861 HBpositivedirectionReconoiseD2->SetLineColor(0);
15865 if (kcountHBpositivedirectionReconoiseD2 == 1)
15866 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 0; depth = 2 \b");
15867 if (kcountHBpositivedirectionReconoiseD2 == 2)
15868 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 1; depth = 2 \b");
15869 if (kcountHBpositivedirectionReconoiseD2 == 3)
15870 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 2; depth = 2 \b");
15871 if (kcountHBpositivedirectionReconoiseD2 == 4)
15872 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 3; depth = 2 \b");
15873 if (kcountHBpositivedirectionReconoiseD2 == 5)
15874 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 4; depth = 2 \b");
15875 if (kcountHBpositivedirectionReconoiseD2 == 6)
15876 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 5; depth = 2 \b");
15877 if (kcountHBpositivedirectionReconoiseD2 == 7)
15878 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 6; depth = 2 \b");
15879 if (kcountHBpositivedirectionReconoiseD2 == 8)
15880 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 7; depth = 2 \b");
15881 if (kcountHBpositivedirectionReconoiseD2 == 9)
15882 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 8; depth = 2 \b");
15883 if (kcountHBpositivedirectionReconoiseD2 == 10)
15884 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 9; depth = 2 \b");
15885 if (kcountHBpositivedirectionReconoiseD2 == 11)
15886 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 10; depth = 2 \b");
15887 if (kcountHBpositivedirectionReconoiseD2 == 12)
15888 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 11; depth = 2 \b");
15889 if (kcountHBpositivedirectionReconoiseD2 == 13)
15890 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 12; depth = 2 \b");
15891 if (kcountHBpositivedirectionReconoiseD2 == 14)
15892 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 13; depth = 2 \b");
15893 if (kcountHBpositivedirectionReconoiseD2 == 15)
15894 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 14; depth = 2 \b");
15895 if (kcountHBpositivedirectionReconoiseD2 == 16)
15896 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 15; depth = 2 \b");
15897 HBpositivedirectionReconoiseD2->Draw(
"Error");
15898 kcountHBpositivedirectionReconoiseD2++;
15899 if (kcountHBpositivedirectionReconoiseD2 > 16)
15908 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png");
15911 if (h2CeffHBpositivedirectionReconoiseD2)
15912 delete h2CeffHBpositivedirectionReconoiseD2;
15918 c3x5->Divide(4, 4);
15920 int kcountHBpositivedirectionReconoiseD3 = 1;
15921 TH1F *h2CeffHBpositivedirectionReconoiseD3 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseD3",
"",
nphi, 0., 72.);
15925 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
15928 for (
int i = 2;
i < 3;
i++) {
15929 TH1F *HBpositivedirectionReconoiseD3 = (TH1F *)h2CeffHBpositivedirectionReconoiseD3->Clone(
"twod1");
15932 for (
int jphi = 0; jphi <
nphi; jphi++) {
15933 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
15934 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
15935 HBpositivedirectionReconoiseD3->Fill(jphi, ccc1);
15939 if (ccctest > 0.) {
15941 c3x5->cd(kcountHBpositivedirectionReconoiseD3);
15942 HBpositivedirectionReconoiseD3->SetMarkerStyle(20);
15943 HBpositivedirectionReconoiseD3->SetMarkerSize(0.4);
15944 HBpositivedirectionReconoiseD3->GetYaxis()->SetLabelSize(0.04);
15945 HBpositivedirectionReconoiseD3->SetXTitle(
"HBpositivedirectionReconoiseD3 \b");
15946 HBpositivedirectionReconoiseD3->SetMarkerColor(2);
15947 HBpositivedirectionReconoiseD3->SetLineColor(0);
15951 if (kcountHBpositivedirectionReconoiseD3 == 1)
15952 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 0; depth = 3 \b");
15953 if (kcountHBpositivedirectionReconoiseD3 == 2)
15954 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 1; depth = 3 \b");
15955 if (kcountHBpositivedirectionReconoiseD3 == 3)
15956 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 2; depth = 3 \b");
15957 if (kcountHBpositivedirectionReconoiseD3 == 4)
15958 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 3; depth = 3 \b");
15959 if (kcountHBpositivedirectionReconoiseD3 == 5)
15960 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 4; depth = 3 \b");
15961 if (kcountHBpositivedirectionReconoiseD3 == 6)
15962 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 5; depth = 3 \b");
15963 if (kcountHBpositivedirectionReconoiseD3 == 7)
15964 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 6; depth = 3 \b");
15965 if (kcountHBpositivedirectionReconoiseD3 == 8)
15966 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 7; depth = 3 \b");
15967 if (kcountHBpositivedirectionReconoiseD3 == 9)
15968 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 8; depth = 3 \b");
15969 if (kcountHBpositivedirectionReconoiseD3 == 10)
15970 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 9; depth = 3 \b");
15971 if (kcountHBpositivedirectionReconoiseD3 == 11)
15972 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 10; depth = 3 \b");
15973 if (kcountHBpositivedirectionReconoiseD3 == 12)
15974 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 11; depth = 3 \b");
15975 if (kcountHBpositivedirectionReconoiseD3 == 13)
15976 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 12; depth = 3 \b");
15977 if (kcountHBpositivedirectionReconoiseD3 == 14)
15978 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 13; depth = 3 \b");
15979 if (kcountHBpositivedirectionReconoiseD3 == 15)
15980 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 14; depth = 3 \b");
15981 if (kcountHBpositivedirectionReconoiseD3 == 16)
15982 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 15; depth = 3 \b");
15983 HBpositivedirectionReconoiseD3->Draw(
"Error");
15984 kcountHBpositivedirectionReconoiseD3++;
15985 if (kcountHBpositivedirectionReconoiseD3 > 16)
15994 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png");
15997 if (h2CeffHBpositivedirectionReconoiseD3)
15998 delete h2CeffHBpositivedirectionReconoiseD3;
16004 c3x5->Divide(4, 4);
16006 int kcountHBpositivedirectionReconoiseD4 = 1;
16007 TH1F *h2CeffHBpositivedirectionReconoiseD4 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseD4",
"",
nphi, 0., 72.);
16011 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
16014 for (
int i = 3;
i < 4;
i++) {
16015 TH1F *HBpositivedirectionReconoiseD4 = (TH1F *)h2CeffHBpositivedirectionReconoiseD4->Clone(
"twod1");
16018 for (
int jphi = 0; jphi <
nphi; jphi++) {
16019 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
16020 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
16021 HBpositivedirectionReconoiseD4->Fill(jphi, ccc1);
16025 if (ccctest > 0.) {
16027 c3x5->cd(kcountHBpositivedirectionReconoiseD4);
16028 HBpositivedirectionReconoiseD4->SetMarkerStyle(20);
16029 HBpositivedirectionReconoiseD4->SetMarkerSize(0.4);
16030 HBpositivedirectionReconoiseD4->GetYaxis()->SetLabelSize(0.04);
16031 HBpositivedirectionReconoiseD4->SetXTitle(
"HBpositivedirectionReconoiseD4 \b");
16032 HBpositivedirectionReconoiseD4->SetMarkerColor(2);
16033 HBpositivedirectionReconoiseD4->SetLineColor(0);
16037 if (kcountHBpositivedirectionReconoiseD4 == 1)
16038 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 0; depth = 4 \b");
16039 if (kcountHBpositivedirectionReconoiseD4 == 2)
16040 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 1; depth = 4 \b");
16041 if (kcountHBpositivedirectionReconoiseD4 == 3)
16042 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 2; depth = 4 \b");
16043 if (kcountHBpositivedirectionReconoiseD4 == 4)
16044 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 3; depth = 4 \b");
16045 if (kcountHBpositivedirectionReconoiseD4 == 5)
16046 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 4; depth = 4 \b");
16047 if (kcountHBpositivedirectionReconoiseD4 == 6)
16048 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 5; depth = 4 \b");
16049 if (kcountHBpositivedirectionReconoiseD4 == 7)
16050 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 6; depth = 4 \b");
16051 if (kcountHBpositivedirectionReconoiseD4 == 8)
16052 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 7; depth = 4 \b");
16053 if (kcountHBpositivedirectionReconoiseD4 == 9)
16054 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 8; depth = 4 \b");
16055 if (kcountHBpositivedirectionReconoiseD4 == 10)
16056 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 9; depth = 4 \b");
16057 if (kcountHBpositivedirectionReconoiseD4 == 11)
16058 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 10; depth = 4 \b");
16059 if (kcountHBpositivedirectionReconoiseD4 == 12)
16060 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 11; depth = 4 \b");
16061 if (kcountHBpositivedirectionReconoiseD4 == 13)
16062 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 12; depth = 4 \b");
16063 if (kcountHBpositivedirectionReconoiseD4 == 14)
16064 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 13; depth = 4 \b");
16065 if (kcountHBpositivedirectionReconoiseD4 == 15)
16066 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 14; depth = 4 \b");
16067 if (kcountHBpositivedirectionReconoiseD4 == 16)
16068 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 15; depth = 4 \b");
16069 HBpositivedirectionReconoiseD4->Draw(
"Error");
16070 kcountHBpositivedirectionReconoiseD4++;
16071 if (kcountHBpositivedirectionReconoiseD4 > 16)
16080 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png");
16083 if (h2CeffHBpositivedirectionReconoiseD4)
16084 delete h2CeffHBpositivedirectionReconoiseD4;
16092 c3x5->Divide(4, 4);
16094 int kcountHBnegativedirectionReconoiseD1 = 1;
16095 TH1F *h2CeffHBnegativedirectionReconoiseD1 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseD1",
"",
nphi, 0., 72.);
16099 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
16102 for (
int i = 0;
i < 1;
i++) {
16103 TH1F *HBnegativedirectionReconoiseD1 = (TH1F *)h2CeffHBnegativedirectionReconoiseD1->Clone(
"twod1");
16106 for (
int jphi = 0; jphi <
nphi; jphi++) {
16107 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
16108 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
16109 HBnegativedirectionReconoiseD1->Fill(jphi, ccc1);
16113 if (ccctest > 0.) {
16115 c3x5->cd(kcountHBnegativedirectionReconoiseD1);
16116 HBnegativedirectionReconoiseD1->SetMarkerStyle(20);
16117 HBnegativedirectionReconoiseD1->SetMarkerSize(0.4);
16118 HBnegativedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
16119 HBnegativedirectionReconoiseD1->SetXTitle(
"HBnegativedirectionReconoiseD1 \b");
16120 HBnegativedirectionReconoiseD1->SetMarkerColor(2);
16121 HBnegativedirectionReconoiseD1->SetLineColor(0);
16125 if (kcountHBnegativedirectionReconoiseD1 == 1)
16126 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-16; depth = 1 \b");
16127 if (kcountHBnegativedirectionReconoiseD1 == 2)
16128 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-15; depth = 1 \b");
16129 if (kcountHBnegativedirectionReconoiseD1 == 3)
16130 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-14; depth = 1 \b");
16131 if (kcountHBnegativedirectionReconoiseD1 == 4)
16132 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-13; depth = 1 \b");
16133 if (kcountHBnegativedirectionReconoiseD1 == 5)
16134 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-12; depth = 1 \b");
16135 if (kcountHBnegativedirectionReconoiseD1 == 6)
16136 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-11; depth = 1 \b");
16137 if (kcountHBnegativedirectionReconoiseD1 == 7)
16138 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-10; depth = 1 \b");
16139 if (kcountHBnegativedirectionReconoiseD1 == 8)
16140 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-9; depth = 1 \b");
16141 if (kcountHBnegativedirectionReconoiseD1 == 9)
16142 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-8; depth = 1 \b");
16143 if (kcountHBnegativedirectionReconoiseD1 == 10)
16144 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-7; depth = 1 \b");
16145 if (kcountHBnegativedirectionReconoiseD1 == 11)
16146 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-6; depth = 1 \b");
16147 if (kcountHBnegativedirectionReconoiseD1 == 12)
16148 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-5; depth = 1 \b");
16149 if (kcountHBnegativedirectionReconoiseD1 == 13)
16150 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-4; depth = 1 \b");
16151 if (kcountHBnegativedirectionReconoiseD1 == 14)
16152 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-3; depth = 1 \b");
16153 if (kcountHBnegativedirectionReconoiseD1 == 15)
16154 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-2; depth = 1 \b");
16155 if (kcountHBnegativedirectionReconoiseD1 == 16)
16156 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-1; depth = 1 \b");
16157 HBnegativedirectionReconoiseD1->Draw(
"Error");
16158 kcountHBnegativedirectionReconoiseD1++;
16159 if (kcountHBnegativedirectionReconoiseD1 > 16)
16168 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
16171 if (h2CeffHBnegativedirectionReconoiseD1)
16172 delete h2CeffHBnegativedirectionReconoiseD1;
16178 c3x5->Divide(4, 4);
16180 int kcountHBnegativedirectionReconoiseD2 = 1;
16181 TH1F *h2CeffHBnegativedirectionReconoiseD2 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseD2",
"",
nphi, 0., 72.);
16185 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
16188 for (
int i = 1;
i < 2;
i++) {
16189 TH1F *HBnegativedirectionReconoiseD2 = (TH1F *)h2CeffHBnegativedirectionReconoiseD2->Clone(
"twod1");
16192 for (
int jphi = 0; jphi <
nphi; jphi++) {
16193 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
16194 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
16195 HBnegativedirectionReconoiseD2->Fill(jphi, ccc1);
16199 if (ccctest > 0.) {
16201 c3x5->cd(kcountHBnegativedirectionReconoiseD2);
16202 HBnegativedirectionReconoiseD2->SetMarkerStyle(20);
16203 HBnegativedirectionReconoiseD2->SetMarkerSize(0.4);
16204 HBnegativedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
16205 HBnegativedirectionReconoiseD2->SetXTitle(
"HBnegativedirectionReconoiseD2 \b");
16206 HBnegativedirectionReconoiseD2->SetMarkerColor(2);
16207 HBnegativedirectionReconoiseD2->SetLineColor(0);
16211 if (kcountHBnegativedirectionReconoiseD2 == 1)
16212 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-16; depth = 2 \b");
16213 if (kcountHBnegativedirectionReconoiseD2 == 2)
16214 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-15; depth = 2 \b");
16215 if (kcountHBnegativedirectionReconoiseD2 == 3)
16216 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-14; depth = 2 \b");
16217 if (kcountHBnegativedirectionReconoiseD2 == 4)
16218 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-13; depth = 2 \b");
16219 if (kcountHBnegativedirectionReconoiseD2 == 5)
16220 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-12; depth = 2 \b");
16221 if (kcountHBnegativedirectionReconoiseD2 == 6)
16222 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-11; depth = 2 \b");
16223 if (kcountHBnegativedirectionReconoiseD2 == 7)
16224 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-10; depth = 2 \b");
16225 if (kcountHBnegativedirectionReconoiseD2 == 8)
16226 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-9; depth = 2 \b");
16227 if (kcountHBnegativedirectionReconoiseD2 == 9)
16228 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-8; depth = 2 \b");
16229 if (kcountHBnegativedirectionReconoiseD2 == 10)
16230 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-7; depth = 2 \b");
16231 if (kcountHBnegativedirectionReconoiseD2 == 11)
16232 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-6; depth = 2 \b");
16233 if (kcountHBnegativedirectionReconoiseD2 == 12)
16234 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-5; depth = 2 \b");
16235 if (kcountHBnegativedirectionReconoiseD2 == 13)
16236 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-4; depth = 2 \b");
16237 if (kcountHBnegativedirectionReconoiseD2 == 14)
16238 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-3; depth = 2 \b");
16239 if (kcountHBnegativedirectionReconoiseD2 == 15)
16240 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-2; depth = 2 \b");
16241 if (kcountHBnegativedirectionReconoiseD2 == 16)
16242 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-1; depth = 2 \b");
16243 HBnegativedirectionReconoiseD2->Draw(
"Error");
16244 kcountHBnegativedirectionReconoiseD2++;
16245 if (kcountHBnegativedirectionReconoiseD2 > 16)
16254 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
16257 if (h2CeffHBnegativedirectionReconoiseD2)
16258 delete h2CeffHBnegativedirectionReconoiseD2;
16264 c3x5->Divide(4, 4);
16266 int kcountHBnegativedirectionReconoiseD3 = 1;
16267 TH1F *h2CeffHBnegativedirectionReconoiseD3 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseD3",
"",
nphi, 0., 72.);
16271 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
16274 for (
int i = 2;
i < 3;
i++) {
16275 TH1F *HBnegativedirectionReconoiseD3 = (TH1F *)h2CeffHBnegativedirectionReconoiseD3->Clone(
"twod1");
16278 for (
int jphi = 0; jphi <
nphi; jphi++) {
16279 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
16280 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
16281 HBnegativedirectionReconoiseD3->Fill(jphi, ccc1);
16285 if (ccctest > 0.) {
16287 c3x5->cd(kcountHBnegativedirectionReconoiseD3);
16288 HBnegativedirectionReconoiseD3->SetMarkerStyle(20);
16289 HBnegativedirectionReconoiseD3->SetMarkerSize(0.4);
16290 HBnegativedirectionReconoiseD3->GetYaxis()->SetLabelSize(0.04);
16291 HBnegativedirectionReconoiseD3->SetXTitle(
"HBnegativedirectionReconoiseD3 \b");
16292 HBnegativedirectionReconoiseD3->SetMarkerColor(2);
16293 HBnegativedirectionReconoiseD3->SetLineColor(0);
16297 if (kcountHBnegativedirectionReconoiseD3 == 1)
16298 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-16; depth = 3 \b");
16299 if (kcountHBnegativedirectionReconoiseD3 == 2)
16300 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-15; depth = 3 \b");
16301 if (kcountHBnegativedirectionReconoiseD3 == 3)
16302 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-14; depth = 3 \b");
16303 if (kcountHBnegativedirectionReconoiseD3 == 4)
16304 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-13; depth = 3 \b");
16305 if (kcountHBnegativedirectionReconoiseD3 == 5)
16306 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-12; depth = 3 \b");
16307 if (kcountHBnegativedirectionReconoiseD3 == 6)
16308 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-11; depth = 3 \b");
16309 if (kcountHBnegativedirectionReconoiseD3 == 7)
16310 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-10; depth = 3 \b");
16311 if (kcountHBnegativedirectionReconoiseD3 == 8)
16312 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-9; depth = 3 \b");
16313 if (kcountHBnegativedirectionReconoiseD3 == 9)
16314 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-8; depth = 3 \b");
16315 if (kcountHBnegativedirectionReconoiseD3 == 10)
16316 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-7; depth = 3 \b");
16317 if (kcountHBnegativedirectionReconoiseD3 == 11)
16318 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-6; depth = 3 \b");
16319 if (kcountHBnegativedirectionReconoiseD3 == 12)
16320 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-5; depth = 3 \b");
16321 if (kcountHBnegativedirectionReconoiseD3 == 13)
16322 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-4; depth = 3 \b");
16323 if (kcountHBnegativedirectionReconoiseD3 == 14)
16324 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-3; depth = 3 \b");
16325 if (kcountHBnegativedirectionReconoiseD3 == 15)
16326 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-2; depth = 3 \b");
16327 if (kcountHBnegativedirectionReconoiseD3 == 16)
16328 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-1; depth = 3 \b");
16329 HBnegativedirectionReconoiseD3->Draw(
"Error");
16330 kcountHBnegativedirectionReconoiseD3++;
16331 if (kcountHBnegativedirectionReconoiseD3 > 16)
16340 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
16343 if (h2CeffHBnegativedirectionReconoiseD3)
16344 delete h2CeffHBnegativedirectionReconoiseD3;
16350 c3x5->Divide(4, 4);
16352 int kcountHBnegativedirectionReconoiseD4 = 1;
16353 TH1F *h2CeffHBnegativedirectionReconoiseD4 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseD4",
"",
nphi, 0., 72.);
16357 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
16360 for (
int i = 3;
i < 4;
i++) {
16361 TH1F *HBnegativedirectionReconoiseD4 = (TH1F *)h2CeffHBnegativedirectionReconoiseD4->Clone(
"twod1");
16364 for (
int jphi = 0; jphi <
nphi; jphi++) {
16365 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
16366 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
16367 HBnegativedirectionReconoiseD4->Fill(jphi, ccc1);
16371 if (ccctest > 0.) {
16373 c3x5->cd(kcountHBnegativedirectionReconoiseD4);
16374 HBnegativedirectionReconoiseD4->SetMarkerStyle(20);
16375 HBnegativedirectionReconoiseD4->SetMarkerSize(0.4);
16376 HBnegativedirectionReconoiseD4->GetYaxis()->SetLabelSize(0.04);
16377 HBnegativedirectionReconoiseD4->SetXTitle(
"HBnegativedirectionReconoiseD4 \b");
16378 HBnegativedirectionReconoiseD4->SetMarkerColor(2);
16379 HBnegativedirectionReconoiseD4->SetLineColor(0);
16383 if (kcountHBnegativedirectionReconoiseD4 == 1)
16384 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-16; depth = 4 \b");
16385 if (kcountHBnegativedirectionReconoiseD4 == 2)
16386 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-15; depth = 4 \b");
16387 if (kcountHBnegativedirectionReconoiseD4 == 3)
16388 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-14; depth = 4 \b");
16389 if (kcountHBnegativedirectionReconoiseD4 == 4)
16390 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-13; depth = 4 \b");
16391 if (kcountHBnegativedirectionReconoiseD4 == 5)
16392 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-12; depth = 4 \b");
16393 if (kcountHBnegativedirectionReconoiseD4 == 6)
16394 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-11; depth = 4 \b");
16395 if (kcountHBnegativedirectionReconoiseD4 == 7)
16396 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-10; depth = 4 \b");
16397 if (kcountHBnegativedirectionReconoiseD4 == 8)
16398 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-9; depth = 4 \b");
16399 if (kcountHBnegativedirectionReconoiseD4 == 9)
16400 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-8; depth = 4 \b");
16401 if (kcountHBnegativedirectionReconoiseD4 == 10)
16402 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-7; depth = 4 \b");
16403 if (kcountHBnegativedirectionReconoiseD4 == 11)
16404 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-6; depth = 4 \b");
16405 if (kcountHBnegativedirectionReconoiseD4 == 12)
16406 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-5; depth = 4 \b");
16407 if (kcountHBnegativedirectionReconoiseD4 == 13)
16408 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-4; depth = 4 \b");
16409 if (kcountHBnegativedirectionReconoiseD4 == 14)
16410 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-3; depth = 4 \b");
16411 if (kcountHBnegativedirectionReconoiseD4 == 15)
16412 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-2; depth = 4 \b");
16413 if (kcountHBnegativedirectionReconoiseD4 == 16)
16414 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-1; depth = 4 \b");
16415 HBnegativedirectionReconoiseD4->Draw(
"Error");
16416 kcountHBnegativedirectionReconoiseD4++;
16417 if (kcountHBnegativedirectionReconoiseD4 > 16)
16426 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
16429 if (h2CeffHBnegativedirectionReconoiseD4)
16430 delete h2CeffHBnegativedirectionReconoiseD4;
16443 double areconoisehe[
ndepth][njeta][njphi];
16444 double breconoisehe[
ndepth][njeta][njphi];
16445 double reconoisevariancehe[
ndepth][njeta][njphi];
16447 TH2F *recNoiseEnergy1HE1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE1");
16448 TH2F *recNoiseEnergy0HE1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE1");
16449 TH2F *recNoiseEnergyHE1 = (TH2F *)recNoiseEnergy1HE1->Clone(
"recNoiseEnergyHE1");
16450 recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1, recNoiseEnergy0HE1, 1, 1,
"B");
16451 TH2F *recNoiseEnergy1HE2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE2");
16452 TH2F *recNoiseEnergy0HE2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE2");
16453 TH2F *recNoiseEnergyHE2 = (TH2F *)recNoiseEnergy1HE2->Clone(
"recNoiseEnergyHE2");
16454 recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2, recNoiseEnergy0HE2, 1, 1,
"B");
16455 TH2F *recNoiseEnergy1HE3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE3");
16456 TH2F *recNoiseEnergy0HE3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE3");
16457 TH2F *recNoiseEnergyHE3 = (TH2F *)recNoiseEnergy1HE3->Clone(
"recNoiseEnergyHE3");
16458 recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3, recNoiseEnergy0HE3, 1, 1,
"B");
16459 TH2F *recNoiseEnergy1HE4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE4");
16460 TH2F *recNoiseEnergy0HE4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE4");
16461 TH2F *recNoiseEnergyHE4 = (TH2F *)recNoiseEnergy1HE4->Clone(
"recNoiseEnergyHE4");
16462 recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4, recNoiseEnergy0HE4, 1, 1,
"B");
16463 TH2F *recNoiseEnergy1HE5 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE5");
16464 TH2F *recNoiseEnergy0HE5 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE5");
16465 TH2F *recNoiseEnergyHE5 = (TH2F *)recNoiseEnergy1HE5->Clone(
"recNoiseEnergyHE5");
16466 recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5, recNoiseEnergy0HE5, 1, 1,
"B");
16467 TH2F *recNoiseEnergy1HE6 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE6");
16468 TH2F *recNoiseEnergy0HE6 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE6");
16469 TH2F *recNoiseEnergyHE6 = (TH2F *)recNoiseEnergy1HE6->Clone(
"recNoiseEnergyHE6");
16470 recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6, recNoiseEnergy0HE6, 1, 1,
"B");
16471 TH2F *recNoiseEnergy1HE7 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE7");
16472 TH2F *recNoiseEnergy0HE7 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE7");
16473 TH2F *recNoiseEnergyHE7 = (TH2F *)recNoiseEnergy1HE7->Clone(
"recNoiseEnergyHE7");
16474 recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7, recNoiseEnergy0HE7, 1, 1,
"B");
16476 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
16479 double sumreconoiseHE0 = 0;
16480 int nsumreconoiseHE0 = 0;
16481 double sumreconoiseHE1 = 0;
16482 int nsumreconoiseHE1 = 0;
16483 double sumreconoiseHE2 = 0;
16484 int nsumreconoiseHE2 = 0;
16485 double sumreconoiseHE3 = 0;
16486 int nsumreconoiseHE3 = 0;
16487 double sumreconoiseHE4 = 0;
16488 int nsumreconoiseHE4 = 0;
16489 double sumreconoiseHE5 = 0;
16490 int nsumreconoiseHE5 = 0;
16491 double sumreconoiseHE6 = 0;
16492 int nsumreconoiseHE6 = 0;
16493 for (
int jphi = 0; jphi < njphi; jphi++) {
16494 areconoisehe[0][
jeta][jphi] = recNoiseEnergyHE1->GetBinContent(
jeta + 1, jphi + 1);
16495 areconoisehe[1][
jeta][jphi] = recNoiseEnergyHE2->GetBinContent(
jeta + 1, jphi + 1);
16496 areconoisehe[2][
jeta][jphi] = recNoiseEnergyHE3->GetBinContent(
jeta + 1, jphi + 1);
16497 areconoisehe[3][
jeta][jphi] = recNoiseEnergyHE4->GetBinContent(
jeta + 1, jphi + 1);
16498 areconoisehe[4][
jeta][jphi] = recNoiseEnergyHE5->GetBinContent(
jeta + 1, jphi + 1);
16499 areconoisehe[5][
jeta][jphi] = recNoiseEnergyHE6->GetBinContent(
jeta + 1, jphi + 1);
16500 areconoisehe[6][
jeta][jphi] = recNoiseEnergyHE7->GetBinContent(
jeta + 1, jphi + 1);
16502 breconoisehe[0][
jeta][jphi] = recNoiseEnergyHE1->GetBinContent(
jeta + 1, jphi + 1);
16503 breconoisehe[1][
jeta][jphi] = recNoiseEnergyHE2->GetBinContent(
jeta + 1, jphi + 1);
16504 breconoisehe[2][
jeta][jphi] = recNoiseEnergyHE3->GetBinContent(
jeta + 1, jphi + 1);
16505 breconoisehe[3][
jeta][jphi] = recNoiseEnergyHE4->GetBinContent(
jeta + 1, jphi + 1);
16506 breconoisehe[4][
jeta][jphi] = recNoiseEnergyHE5->GetBinContent(
jeta + 1, jphi + 1);
16507 breconoisehe[5][
jeta][jphi] = recNoiseEnergyHE6->GetBinContent(
jeta + 1, jphi + 1);
16508 breconoisehe[6][
jeta][jphi] = recNoiseEnergyHE7->GetBinContent(
jeta + 1, jphi + 1);
16510 if (areconoisehe[0][
jeta][jphi] != 0.) {
16511 sumreconoiseHE0 += areconoisehe[0][
jeta][jphi];
16512 ++nsumreconoiseHE0;
16514 if (areconoisehe[1][
jeta][jphi] != 0.) {
16515 sumreconoiseHE1 += areconoisehe[1][
jeta][jphi];
16516 ++nsumreconoiseHE1;
16518 if (areconoisehe[2][
jeta][jphi] != 0.) {
16519 sumreconoiseHE2 += areconoisehe[2][
jeta][jphi];
16520 ++nsumreconoiseHE2;
16522 if (areconoisehe[3][
jeta][jphi] != 0.) {
16523 sumreconoiseHE3 += areconoisehe[3][
jeta][jphi];
16524 ++nsumreconoiseHE3;
16526 if (areconoisehe[4][
jeta][jphi] != 0.) {
16527 sumreconoiseHE4 += areconoisehe[4][
jeta][jphi];
16528 ++nsumreconoiseHE4;
16530 if (areconoisehe[5][
jeta][jphi] != 0.) {
16531 sumreconoiseHE5 += areconoisehe[5][
jeta][jphi];
16532 ++nsumreconoiseHE5;
16534 if (areconoisehe[6][
jeta][jphi] != 0.) {
16535 sumreconoiseHE6 += areconoisehe[6][
jeta][jphi];
16536 ++nsumreconoiseHE6;
16541 for (
int jphi = 0; jphi < njphi; jphi++) {
16542 if (sumreconoiseHE0 != 0.)
16543 breconoisehe[0][
jeta][jphi] -= (sumreconoiseHE0 / nsumreconoiseHE0);
16544 if (sumreconoiseHE1 != 0.)
16545 breconoisehe[1][
jeta][jphi] -= (sumreconoiseHE1 / nsumreconoiseHE1);
16546 if (sumreconoiseHE2 != 0.)
16547 breconoisehe[2][
jeta][jphi] -= (sumreconoiseHE2 / nsumreconoiseHE2);
16548 if (sumreconoiseHE3 != 0.)
16549 breconoisehe[3][
jeta][jphi] -= (sumreconoiseHE3 / nsumreconoiseHE3);
16550 if (sumreconoiseHE4 != 0.)
16551 breconoisehe[4][
jeta][jphi] -= (sumreconoiseHE4 / nsumreconoiseHE4);
16552 if (sumreconoiseHE5 != 0.)
16553 breconoisehe[5][
jeta][jphi] -= (sumreconoiseHE5 / nsumreconoiseHE5);
16554 if (sumreconoiseHE6 != 0.)
16555 breconoisehe[6][
jeta][jphi] -= (sumreconoiseHE6 / nsumreconoiseHE6);
16559 for (
int jphi = 0; jphi < njphi; jphi++) {
16560 if (sumreconoiseHE0 != 0.)
16561 areconoisehe[0][
jeta][jphi] /= (sumreconoiseHE0 / nsumreconoiseHE0);
16562 if (sumreconoiseHE1 != 0.)
16563 areconoisehe[1][
jeta][jphi] /= (sumreconoiseHE1 / nsumreconoiseHE1);
16564 if (sumreconoiseHE2 != 0.)
16565 areconoisehe[2][
jeta][jphi] /= (sumreconoiseHE2 / nsumreconoiseHE2);
16566 if (sumreconoiseHE3 != 0.)
16567 areconoisehe[3][
jeta][jphi] /= (sumreconoiseHE3 / nsumreconoiseHE3);
16568 if (sumreconoiseHE4 != 0.)
16569 areconoisehe[4][
jeta][jphi] /= (sumreconoiseHE4 / nsumreconoiseHE4);
16570 if (sumreconoiseHE5 != 0.)
16571 areconoisehe[5][
jeta][jphi] /= (sumreconoiseHE5 / nsumreconoiseHE5);
16572 if (sumreconoiseHE6 != 0.)
16573 areconoisehe[6][
jeta][jphi] /= (sumreconoiseHE6 / nsumreconoiseHE6);
16583 c2x1->Divide(2, 1);
16585 TH2F *GefzRreconoiseHE42D =
new TH2F(
"GefzRreconoiseHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
16586 TH2F *GefzRreconoiseHE42D0 =
new TH2F(
"GefzRreconoiseHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
16587 TH2F *GefzRreconoiseHE42DF = (TH2F *)GefzRreconoiseHE42D0->Clone(
"GefzRreconoiseHE42DF");
16590 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
16591 for (
int jphi = 0; jphi <
nphi; jphi++) {
16592 double ccc1 = areconoisehe[
i][
jeta][jphi];
16593 int k2plot =
jeta - 41;
16596 GefzRreconoiseHE42D->Fill(kkk, jphi, ccc1);
16597 GefzRreconoiseHE42D0->Fill(kkk, jphi, 1.);
16603 GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D, GefzRreconoiseHE42D0, 1, 1,
"B");
16606 GefzRreconoiseHE42DF->SetXTitle(
"<R>_depth #eta \b");
16607 GefzRreconoiseHE42DF->SetYTitle(
" #phi \b");
16608 GefzRreconoiseHE42DF->Draw(
"COLZ");
16611 TH1F *energyhitNoise_HE = (TH1F *)
dir->FindObjectAny(
"h_energyhitNoise_HE");
16612 energyhitNoise_HE->SetMarkerStyle(20);
16613 energyhitNoise_HE->SetMarkerSize(0.4);
16614 energyhitNoise_HE->GetYaxis()->SetLabelSize(0.04);
16615 energyhitNoise_HE->SetXTitle(
"energyhitNoise_HE \b");
16616 energyhitNoise_HE->SetMarkerColor(2);
16617 energyhitNoise_HE->SetLineColor(0);
16620 energyhitNoise_HE->Draw(
"Error");
16624 c2x1->Print(
"RreconoiseGeneralD2PhiSymmetryHE.png");
16627 if (GefzRreconoiseHE42D)
16628 delete GefzRreconoiseHE42D;
16629 if (GefzRreconoiseHE42D0)
16630 delete GefzRreconoiseHE42D0;
16631 if (GefzRreconoiseHE42DF)
16632 delete GefzRreconoiseHE42DF;
16638 c1x1->Divide(1, 1);
16640 TH1F *GefzRreconoiseHE41D =
new TH1F(
"GefzRreconoiseHE41D",
"",
nphi, 0., 72.);
16641 TH1F *GefzRreconoiseHE41D0 =
new TH1F(
"GefzRreconoiseHE41D0",
"",
nphi, 0., 72.);
16642 TH1F *GefzRreconoiseHE41DF = (TH1F *)GefzRreconoiseHE41D0->Clone(
"GefzRreconoiseHE41DF");
16643 for (
int jphi = 0; jphi <
nphi; jphi++) {
16645 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
16647 double ccc1 = areconoisehe[
i][
jeta][jphi];
16649 GefzRreconoiseHE41D->Fill(jphi, ccc1);
16650 GefzRreconoiseHE41D0->Fill(jphi, 1.);
16656 GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D, GefzRreconoiseHE41D0, 1, 1,
"B");
16657 GefzRreconoiseHE41D0->Sumw2();
16661 GefzRreconoiseHE41DF->SetMarkerStyle(20);
16662 GefzRreconoiseHE41DF->SetMarkerSize(1.4);
16663 GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08);
16664 GefzRreconoiseHE41DF->SetXTitle(
"#phi \b");
16665 GefzRreconoiseHE41DF->SetYTitle(
" <R> \b");
16666 GefzRreconoiseHE41DF->SetZTitle(
"<R>_PHI - AllDepthes \b");
16667 GefzRreconoiseHE41DF->SetMarkerColor(4);
16668 GefzRreconoiseHE41DF->SetLineColor(
16670 GefzRreconoiseHE41DF->Draw(
"Error");
16673 c1x1->Print(
"RreconoiseGeneralD1PhiSymmetryHE.png");
16676 if (GefzRreconoiseHE41D)
16677 delete GefzRreconoiseHE41D;
16678 if (GefzRreconoiseHE41D0)
16679 delete GefzRreconoiseHE41D0;
16680 if (GefzRreconoiseHE41DF)
16681 delete GefzRreconoiseHE41DF;
16689 c3x5->Divide(3, 5);
16691 int kcountHEpositivedirectionReconoise1 = 1;
16692 TH1F *h2CeffHEpositivedirectionReconoise1 =
new TH1F(
"h2CeffHEpositivedirectionReconoise1",
"",
nphi, 0., 72.);
16695 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
16698 for (
int i = 0;
i < 1;
i++) {
16699 TH1F *HEpositivedirectionReconoise1 = (TH1F *)h2CeffHEpositivedirectionReconoise1->Clone(
"twod1");
16701 for (
int jphi = 0; jphi <
nphi; jphi++) {
16702 double ccc1 = areconoisehe[
i][
jeta][jphi];
16704 HEpositivedirectionReconoise1->Fill(jphi, ccc1);
16708 if (ccctest > 0.) {
16710 c3x5->cd(kcountHEpositivedirectionReconoise1);
16711 HEpositivedirectionReconoise1->SetMarkerStyle(20);
16712 HEpositivedirectionReconoise1->SetMarkerSize(0.4);
16713 HEpositivedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
16714 HEpositivedirectionReconoise1->SetXTitle(
"HEpositivedirectionReconoise1 \b");
16715 HEpositivedirectionReconoise1->SetMarkerColor(2);
16716 HEpositivedirectionReconoise1->SetLineColor(0);
16720 if (kcountHEpositivedirectionReconoise1 == 1)
16721 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 17; depth = 1 \b");
16722 if (kcountHEpositivedirectionReconoise1 == 2)
16723 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 18; depth = 1 \b");
16724 if (kcountHEpositivedirectionReconoise1 == 3)
16725 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 19; depth = 1 \b");
16726 if (kcountHEpositivedirectionReconoise1 == 4)
16727 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 20; depth = 1 \b");
16728 if (kcountHEpositivedirectionReconoise1 == 5)
16729 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 21; depth = 1 \b");
16730 if (kcountHEpositivedirectionReconoise1 == 6)
16731 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 22; depth = 1 \b");
16732 if (kcountHEpositivedirectionReconoise1 == 7)
16733 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 23; depth = 1 \b");
16734 if (kcountHEpositivedirectionReconoise1 == 8)
16735 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 24; depth = 1 \b");
16736 if (kcountHEpositivedirectionReconoise1 == 9)
16737 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 25; depth = 1 \b");
16738 if (kcountHEpositivedirectionReconoise1 == 10)
16739 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 26; depth = 1 \b");
16740 if (kcountHEpositivedirectionReconoise1 == 11)
16741 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 27; depth = 1 \b");
16742 if (kcountHEpositivedirectionReconoise1 == 12)
16743 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 28; depth = 1 \b");
16744 HEpositivedirectionReconoise1->Draw(
"Error");
16745 kcountHEpositivedirectionReconoise1++;
16746 if (kcountHEpositivedirectionReconoise1 > 12)
16755 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png");
16758 if (h2CeffHEpositivedirectionReconoise1)
16759 delete h2CeffHEpositivedirectionReconoise1;
16767 c3x5->Divide(3, 5);
16769 int kcountHEpositivedirectionReconoise2 = 1;
16770 TH1F *h2CeffHEpositivedirectionReconoise2 =
new TH1F(
"h2CeffHEpositivedirectionReconoise2",
"",
nphi, 0., 72.);
16773 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
16776 for (
int i = 1;
i < 2;
i++) {
16777 TH1F *HEpositivedirectionReconoise2 = (TH1F *)h2CeffHEpositivedirectionReconoise2->Clone(
"twod1");
16779 for (
int jphi = 0; jphi <
nphi; jphi++) {
16780 double ccc1 = areconoisehe[
i][
jeta][jphi];
16782 HEpositivedirectionReconoise2->Fill(jphi, ccc1);
16786 if (ccctest > 0.) {
16788 c3x5->cd(kcountHEpositivedirectionReconoise2);
16789 HEpositivedirectionReconoise2->SetMarkerStyle(20);
16790 HEpositivedirectionReconoise2->SetMarkerSize(0.4);
16791 HEpositivedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
16792 HEpositivedirectionReconoise2->SetXTitle(
"HEpositivedirectionReconoise2 \b");
16793 HEpositivedirectionReconoise2->SetMarkerColor(2);
16794 HEpositivedirectionReconoise2->SetLineColor(0);
16798 if (kcountHEpositivedirectionReconoise2 == 1)
16799 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 16; depth = 2 \b");
16800 if (kcountHEpositivedirectionReconoise2 == 2)
16801 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 17; depth = 2 \b");
16802 if (kcountHEpositivedirectionReconoise2 == 3)
16803 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 18; depth = 2 \b");
16804 if (kcountHEpositivedirectionReconoise2 == 4)
16805 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 19; depth = 2 \b");
16806 if (kcountHEpositivedirectionReconoise2 == 5)
16807 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 20; depth = 2 \b");
16808 if (kcountHEpositivedirectionReconoise2 == 6)
16809 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 21; depth = 2 \b");
16810 if (kcountHEpositivedirectionReconoise2 == 7)
16811 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 22; depth = 2 \b");
16812 if (kcountHEpositivedirectionReconoise2 == 8)
16813 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 23; depth = 2 \b");
16814 if (kcountHEpositivedirectionReconoise2 == 9)
16815 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 24; depth = 2 \b");
16816 if (kcountHEpositivedirectionReconoise2 == 10)
16817 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 25; depth = 2 \b");
16818 if (kcountHEpositivedirectionReconoise2 == 11)
16819 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 26; depth = 2 \b");
16820 if (kcountHEpositivedirectionReconoise2 == 12)
16821 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 27; depth = 2 \b");
16822 if (kcountHEpositivedirectionReconoise2 == 13)
16823 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 28; depth = 2 \b");
16824 HEpositivedirectionReconoise2->Draw(
"Error");
16825 kcountHEpositivedirectionReconoise2++;
16826 if (kcountHEpositivedirectionReconoise2 > 13)
16835 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png");
16838 if (h2CeffHEpositivedirectionReconoise2)
16839 delete h2CeffHEpositivedirectionReconoise2;
16846 c3x5->Divide(3, 5);
16848 int kcountHEpositivedirectionReconoise3 = 1;
16849 TH1F *h2CeffHEpositivedirectionReconoise3 =
new TH1F(
"h2CeffHEpositivedirectionReconoise3",
"",
nphi, 0., 72.);
16852 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
16855 for (
int i = 2;
i < 3;
i++) {
16856 TH1F *HEpositivedirectionReconoise3 = (TH1F *)h2CeffHEpositivedirectionReconoise3->Clone(
"twod1");
16858 for (
int jphi = 0; jphi <
nphi; jphi++) {
16859 double ccc1 = areconoisehe[
i][
jeta][jphi];
16861 HEpositivedirectionReconoise3->Fill(jphi, ccc1);
16865 if (ccctest > 0.) {
16867 c3x5->cd(kcountHEpositivedirectionReconoise3);
16868 HEpositivedirectionReconoise3->SetMarkerStyle(20);
16869 HEpositivedirectionReconoise3->SetMarkerSize(0.4);
16870 HEpositivedirectionReconoise3->GetYaxis()->SetLabelSize(0.04);
16871 HEpositivedirectionReconoise3->SetXTitle(
"HEpositivedirectionReconoise3 \b");
16872 HEpositivedirectionReconoise3->SetMarkerColor(2);
16873 HEpositivedirectionReconoise3->SetLineColor(0);
16877 if (kcountHEpositivedirectionReconoise3 == 1)
16878 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 16; depth = 3 \b");
16879 if (kcountHEpositivedirectionReconoise3 == 2)
16880 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 17; depth = 3 \b");
16881 if (kcountHEpositivedirectionReconoise3 == 3)
16882 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 18; depth = 3 \b");
16883 if (kcountHEpositivedirectionReconoise3 == 4)
16884 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 19; depth = 3 \b");
16885 if (kcountHEpositivedirectionReconoise3 == 5)
16886 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 20; depth = 3 \b");
16887 if (kcountHEpositivedirectionReconoise3 == 6)
16888 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 21; depth = 3 \b");
16889 if (kcountHEpositivedirectionReconoise3 == 7)
16890 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 22; depth = 3 \b");
16891 if (kcountHEpositivedirectionReconoise3 == 8)
16892 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 23; depth = 3 \b");
16893 if (kcountHEpositivedirectionReconoise3 == 9)
16894 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 24; depth = 3 \b");
16895 if (kcountHEpositivedirectionReconoise3 == 10)
16896 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 25; depth = 3 \b");
16897 if (kcountHEpositivedirectionReconoise3 == 11)
16898 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 26; depth = 3 \b");
16899 if (kcountHEpositivedirectionReconoise3 == 12)
16900 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 27; depth = 3 \b");
16901 if (kcountHEpositivedirectionReconoise3 == 13)
16902 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 28; depth = 3 \b");
16903 HEpositivedirectionReconoise3->Draw(
"Error");
16904 kcountHEpositivedirectionReconoise3++;
16905 if (kcountHEpositivedirectionReconoise3 > 13)
16914 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png");
16917 if (h2CeffHEpositivedirectionReconoise3)
16918 delete h2CeffHEpositivedirectionReconoise3;
16925 c3x5->Divide(3, 5);
16927 int kcountHEpositivedirectionReconoise4 = 1;
16928 TH1F *h2CeffHEpositivedirectionReconoise4 =
new TH1F(
"h2CeffHEpositivedirectionReconoise4",
"",
nphi, 0., 72.);
16932 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
16935 for (
int i = 3;
i < 4;
i++) {
16936 TH1F *HEpositivedirectionReconoise4 = (TH1F *)h2CeffHEpositivedirectionReconoise4->Clone(
"twod1");
16939 for (
int jphi = 0; jphi <
nphi; jphi++) {
16940 double ccc1 = areconoisehe[
i][
jeta][jphi];
16942 HEpositivedirectionReconoise4->Fill(jphi, ccc1);
16946 if (ccctest > 0.) {
16948 c3x5->cd(kcountHEpositivedirectionReconoise4);
16949 HEpositivedirectionReconoise4->SetMarkerStyle(20);
16950 HEpositivedirectionReconoise4->SetMarkerSize(0.4);
16951 HEpositivedirectionReconoise4->GetYaxis()->SetLabelSize(0.04);
16952 HEpositivedirectionReconoise4->SetXTitle(
"HEpositivedirectionReconoise4 \b");
16953 HEpositivedirectionReconoise4->SetMarkerColor(2);
16954 HEpositivedirectionReconoise4->SetLineColor(0);
16958 if (kcountHEpositivedirectionReconoise4 == 1)
16959 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 15; depth = 4 \b");
16960 if (kcountHEpositivedirectionReconoise4 == 2)
16961 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 17; depth = 4 \b");
16962 if (kcountHEpositivedirectionReconoise4 == 3)
16963 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 18; depth = 4 \b");
16964 if (kcountHEpositivedirectionReconoise4 == 4)
16965 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 19; depth = 4 \b");
16966 if (kcountHEpositivedirectionReconoise4 == 5)
16967 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 20; depth = 4 \b");
16968 if (kcountHEpositivedirectionReconoise4 == 6)
16969 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 21; depth = 4 \b");
16970 if (kcountHEpositivedirectionReconoise4 == 7)
16971 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 22; depth = 4 \b");
16972 if (kcountHEpositivedirectionReconoise4 == 8)
16973 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 23; depth = 4 \b");
16974 if (kcountHEpositivedirectionReconoise4 == 9)
16975 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 24; depth = 4 \b");
16976 if (kcountHEpositivedirectionReconoise4 == 10)
16977 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 25; depth = 4 \b");
16978 if (kcountHEpositivedirectionReconoise4 == 11)
16979 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 26; depth = 4 \b");
16980 if (kcountHEpositivedirectionReconoise4 == 12)
16981 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 27; depth = 4 \b");
16982 HEpositivedirectionReconoise4->Draw(
"Error");
16983 kcountHEpositivedirectionReconoise4++;
16984 if (kcountHEpositivedirectionReconoise4 > 12)
16993 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png");
16996 if (h2CeffHEpositivedirectionReconoise4)
16997 delete h2CeffHEpositivedirectionReconoise4;
17004 c3x5->Divide(3, 5);
17006 int kcountHEpositivedirectionReconoise5 = 1;
17007 TH1F *h2CeffHEpositivedirectionReconoise5 =
new TH1F(
"h2CeffHEpositivedirectionReconoise5",
"",
nphi, 0., 72.);
17011 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
17014 for (
int i = 4;
i < 5;
i++) {
17015 TH1F *HEpositivedirectionReconoise5 = (TH1F *)h2CeffHEpositivedirectionReconoise5->Clone(
"twod1");
17018 for (
int jphi = 0; jphi <
nphi; jphi++) {
17021 double ccc1 = areconoisehe[
i][
jeta][jphi];
17023 HEpositivedirectionReconoise5->Fill(jphi, ccc1);
17027 if (ccctest > 0.) {
17029 c3x5->cd(kcountHEpositivedirectionReconoise5);
17030 HEpositivedirectionReconoise5->SetMarkerStyle(20);
17031 HEpositivedirectionReconoise5->SetMarkerSize(0.4);
17032 HEpositivedirectionReconoise5->GetYaxis()->SetLabelSize(0.04);
17033 HEpositivedirectionReconoise5->SetXTitle(
"HEpositivedirectionReconoise5 \b");
17034 HEpositivedirectionReconoise5->SetMarkerColor(2);
17035 HEpositivedirectionReconoise5->SetLineColor(0);
17039 if (kcountHEpositivedirectionReconoise5 == 1)
17040 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 17; depth = 5 \b");
17041 if (kcountHEpositivedirectionReconoise5 == 2)
17042 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 18; depth = 5 \b");
17043 if (kcountHEpositivedirectionReconoise5 == 3)
17044 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 19; depth = 5 \b");
17045 if (kcountHEpositivedirectionReconoise5 == 4)
17046 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 20; depth = 5 \b");
17047 if (kcountHEpositivedirectionReconoise5 == 5)
17048 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 21; depth = 5 \b");
17049 if (kcountHEpositivedirectionReconoise5 == 6)
17050 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 22; depth = 5 \b");
17051 if (kcountHEpositivedirectionReconoise5 == 7)
17052 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 23; depth = 5 \b");
17053 if (kcountHEpositivedirectionReconoise5 == 8)
17054 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 24; depth = 5 \b");
17055 if (kcountHEpositivedirectionReconoise5 == 9)
17056 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 25; depth = 5 \b");
17057 if (kcountHEpositivedirectionReconoise5 == 10)
17058 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 26; depth = 5 \b");
17059 if (kcountHEpositivedirectionReconoise5 == 11)
17060 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 27; depth = 5 \b");
17061 HEpositivedirectionReconoise5->Draw(
"Error");
17062 kcountHEpositivedirectionReconoise5++;
17063 if (kcountHEpositivedirectionReconoise5 > 11)
17072 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png");
17075 if (h2CeffHEpositivedirectionReconoise5)
17076 delete h2CeffHEpositivedirectionReconoise5;
17083 c3x5->Divide(3, 5);
17085 int kcountHEpositivedirectionReconoise6 = 1;
17086 TH1F *h2CeffHEpositivedirectionReconoise6 =
new TH1F(
"h2CeffHEpositivedirectionReconoise6",
"",
nphi, 0., 72.);
17090 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
17093 for (
int i = 5;
i < 6;
i++) {
17094 TH1F *HEpositivedirectionReconoise6 = (TH1F *)h2CeffHEpositivedirectionReconoise6->Clone(
"twod1");
17097 for (
int jphi = 0; jphi <
nphi; jphi++) {
17098 double ccc1 = areconoisehe[
i][
jeta][jphi];
17100 HEpositivedirectionReconoise6->Fill(jphi, ccc1);
17104 if (ccctest > 0.) {
17106 c3x5->cd(kcountHEpositivedirectionReconoise6);
17107 HEpositivedirectionReconoise6->SetMarkerStyle(20);
17108 HEpositivedirectionReconoise6->SetMarkerSize(0.4);
17109 HEpositivedirectionReconoise6->GetYaxis()->SetLabelSize(0.04);
17110 HEpositivedirectionReconoise6->SetXTitle(
"HEpositivedirectionReconoise6 \b");
17111 HEpositivedirectionReconoise6->SetMarkerColor(2);
17112 HEpositivedirectionReconoise6->SetLineColor(0);
17116 if (kcountHEpositivedirectionReconoise6 == 1)
17117 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 18; depth = 6 \b");
17118 if (kcountHEpositivedirectionReconoise6 == 2)
17119 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 19; depth = 6 \b");
17120 if (kcountHEpositivedirectionReconoise6 == 3)
17121 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 20; depth = 6 \b");
17122 if (kcountHEpositivedirectionReconoise6 == 4)
17123 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 21; depth = 6 \b");
17124 if (kcountHEpositivedirectionReconoise6 == 5)
17125 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 22; depth = 6 \b");
17126 if (kcountHEpositivedirectionReconoise6 == 6)
17127 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 23; depth = 6 \b");
17128 if (kcountHEpositivedirectionReconoise6 == 7)
17129 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 24; depth = 6 \b");
17130 if (kcountHEpositivedirectionReconoise6 == 8)
17131 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 25; depth = 6 \b");
17132 if (kcountHEpositivedirectionReconoise6 == 9)
17133 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 26; depth = 6 \b");
17134 if (kcountHEpositivedirectionReconoise6 == 10)
17135 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 27; depth = 6 \b");
17136 HEpositivedirectionReconoise6->Draw(
"Error");
17137 kcountHEpositivedirectionReconoise6++;
17138 if (kcountHEpositivedirectionReconoise6 > 10)
17147 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png");
17150 if (h2CeffHEpositivedirectionReconoise6)
17151 delete h2CeffHEpositivedirectionReconoise6;
17158 c3x5->Divide(3, 5);
17160 int kcountHEpositivedirectionReconoise7 = 1;
17161 TH1F *h2CeffHEpositivedirectionReconoise7 =
new TH1F(
"h2CeffHEpositivedirectionReconoise7",
"",
nphi, 0., 72.);
17165 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
17168 for (
int i = 6;
i < 7;
i++) {
17169 TH1F *HEpositivedirectionReconoise7 = (TH1F *)h2CeffHEpositivedirectionReconoise7->Clone(
"twod1");
17172 for (
int jphi = 0; jphi <
nphi; jphi++) {
17173 double ccc1 = areconoisehe[
i][
jeta][jphi];
17175 HEpositivedirectionReconoise7->Fill(jphi, ccc1);
17179 if (ccctest > 0.) {
17181 c3x5->cd(kcountHEpositivedirectionReconoise7);
17182 HEpositivedirectionReconoise7->SetMarkerStyle(20);
17183 HEpositivedirectionReconoise7->SetMarkerSize(0.4);
17184 HEpositivedirectionReconoise7->GetYaxis()->SetLabelSize(0.04);
17185 HEpositivedirectionReconoise7->SetXTitle(
"HEpositivedirectionReconoise7 \b");
17186 HEpositivedirectionReconoise7->SetMarkerColor(2);
17187 HEpositivedirectionReconoise7->SetLineColor(0);
17191 if (kcountHEpositivedirectionReconoise7 == 1)
17192 HEpositivedirectionReconoise7->SetXTitle(
"R for HE+ jeta = 25; depth = 7 \b");
17193 if (kcountHEpositivedirectionReconoise7 == 2)
17194 HEpositivedirectionReconoise7->SetXTitle(
"R for HE+ jeta = 26; depth = 7 \b");
17195 if (kcountHEpositivedirectionReconoise7 == 3)
17196 HEpositivedirectionReconoise7->SetXTitle(
"R for HE+ jeta = 27; depth = 7 \b");
17197 HEpositivedirectionReconoise7->Draw(
"Error");
17198 kcountHEpositivedirectionReconoise7++;
17199 if (kcountHEpositivedirectionReconoise7 > 3)
17208 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png");
17211 if (h2CeffHEpositivedirectionReconoise7)
17212 delete h2CeffHEpositivedirectionReconoise7;
17221 c3x5->Divide(3, 5);
17223 int kcountHEnegativedirectionReconoise1 = 1;
17224 TH1F *h2CeffHEnegativedirectionReconoise1 =
new TH1F(
"h2CeffHEnegativedirectionReconoise1",
"",
nphi, 0., 72.);
17227 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17230 for (
int i = 0;
i < 1;
i++) {
17231 TH1F *HEnegativedirectionReconoise1 = (TH1F *)h2CeffHEnegativedirectionReconoise1->Clone(
"twod1");
17233 for (
int jphi = 0; jphi <
nphi; jphi++) {
17234 double ccc1 = areconoisehe[
i][
jeta][jphi];
17236 HEnegativedirectionReconoise1->Fill(jphi, ccc1);
17240 if (ccctest > 0.) {
17242 c3x5->cd(kcountHEnegativedirectionReconoise1);
17243 HEnegativedirectionReconoise1->SetMarkerStyle(20);
17244 HEnegativedirectionReconoise1->SetMarkerSize(0.4);
17245 HEnegativedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
17246 HEnegativedirectionReconoise1->SetXTitle(
"HEnegativedirectionReconoise1 \b");
17247 HEnegativedirectionReconoise1->SetMarkerColor(2);
17248 HEnegativedirectionReconoise1->SetLineColor(0);
17252 if (kcountHEnegativedirectionReconoise1 == 1)
17253 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-29; depth = 1 \b");
17254 if (kcountHEnegativedirectionReconoise1 == 2)
17255 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-28; depth = 1 \b");
17256 if (kcountHEnegativedirectionReconoise1 == 3)
17257 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-27; depth = 1 \b");
17258 if (kcountHEnegativedirectionReconoise1 == 4)
17259 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-26; depth = 1 \b");
17260 if (kcountHEnegativedirectionReconoise1 == 5)
17261 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-25; depth = 1 \b");
17262 if (kcountHEnegativedirectionReconoise1 == 6)
17263 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-24; depth = 1 \b");
17264 if (kcountHEnegativedirectionReconoise1 == 7)
17265 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-23; depth = 1 \b");
17266 if (kcountHEnegativedirectionReconoise1 == 8)
17267 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-22; depth = 1 \b");
17268 if (kcountHEnegativedirectionReconoise1 == 9)
17269 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-21; depth = 1 \b");
17270 if (kcountHEnegativedirectionReconoise1 == 10)
17271 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-20; depth = 1 \b");
17272 if (kcountHEnegativedirectionReconoise1 == 11)
17273 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-19; depth = 1 \b");
17274 if (kcountHEnegativedirectionReconoise1 == 12)
17275 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-18; depth = 1 \b");
17276 HEnegativedirectionReconoise1->Draw(
"Error");
17277 kcountHEnegativedirectionReconoise1++;
17278 if (kcountHEnegativedirectionReconoise1 > 12)
17287 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
17290 if (h2CeffHEnegativedirectionReconoise1)
17291 delete h2CeffHEnegativedirectionReconoise1;
17299 c3x5->Divide(3, 5);
17301 int kcountHEnegativedirectionReconoise2 = 1;
17302 TH1F *h2CeffHEnegativedirectionReconoise2 =
new TH1F(
"h2CeffHEnegativedirectionReconoise2",
"",
nphi, 0., 72.);
17305 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17308 for (
int i = 1;
i < 2;
i++) {
17309 TH1F *HEnegativedirectionReconoise2 = (TH1F *)h2CeffHEnegativedirectionReconoise2->Clone(
"twod1");
17311 for (
int jphi = 0; jphi <
nphi; jphi++) {
17312 double ccc1 = areconoisehe[
i][
jeta][jphi];
17314 HEnegativedirectionReconoise2->Fill(jphi, ccc1);
17318 if (ccctest > 0.) {
17320 c3x5->cd(kcountHEnegativedirectionReconoise2);
17321 HEnegativedirectionReconoise2->SetMarkerStyle(20);
17322 HEnegativedirectionReconoise2->SetMarkerSize(0.4);
17323 HEnegativedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
17324 HEnegativedirectionReconoise2->SetXTitle(
"HEnegativedirectionReconoise2 \b");
17325 HEnegativedirectionReconoise2->SetMarkerColor(2);
17326 HEnegativedirectionReconoise2->SetLineColor(0);
17330 if (kcountHEnegativedirectionReconoise2 == 1)
17331 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-29; depth = 2 \b");
17332 if (kcountHEnegativedirectionReconoise2 == 2)
17333 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-28; depth = 2 \b");
17334 if (kcountHEnegativedirectionReconoise2 == 3)
17335 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-27; depth = 2 \b");
17336 if (kcountHEnegativedirectionReconoise2 == 4)
17337 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-26; depth = 2 \b");
17338 if (kcountHEnegativedirectionReconoise2 == 5)
17339 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-25; depth = 2 \b");
17340 if (kcountHEnegativedirectionReconoise2 == 6)
17341 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-24; depth = 2 \b");
17342 if (kcountHEnegativedirectionReconoise2 == 7)
17343 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-23; depth = 2 \b");
17344 if (kcountHEnegativedirectionReconoise2 == 8)
17345 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-22; depth = 2 \b");
17346 if (kcountHEnegativedirectionReconoise2 == 9)
17347 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-21; depth = 2 \b");
17348 if (kcountHEnegativedirectionReconoise2 == 10)
17349 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-20; depth = 2 \b");
17350 if (kcountHEnegativedirectionReconoise2 == 11)
17351 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-19; depth = 2 \b");
17352 if (kcountHEnegativedirectionReconoise2 == 12)
17353 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-18; depth = 2 \b");
17354 if (kcountHEnegativedirectionReconoise2 == 13)
17355 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-17; depth = 2 \b");
17356 HEnegativedirectionReconoise2->Draw(
"Error");
17357 kcountHEnegativedirectionReconoise2++;
17358 if (kcountHEnegativedirectionReconoise2 > 13)
17367 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
17370 if (h2CeffHEnegativedirectionReconoise2)
17371 delete h2CeffHEnegativedirectionReconoise2;
17378 c3x5->Divide(3, 5);
17380 int kcountHEnegativedirectionReconoise3 = 1;
17381 TH1F *h2CeffHEnegativedirectionReconoise3 =
new TH1F(
"h2CeffHEnegativedirectionReconoise3",
"",
nphi, 0., 72.);
17384 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17387 for (
int i = 2;
i < 3;
i++) {
17388 TH1F *HEnegativedirectionReconoise3 = (TH1F *)h2CeffHEnegativedirectionReconoise3->Clone(
"twod1");
17390 for (
int jphi = 0; jphi <
nphi; jphi++) {
17391 double ccc1 = areconoisehe[
i][
jeta][jphi];
17393 HEnegativedirectionReconoise3->Fill(jphi, ccc1);
17397 if (ccctest > 0.) {
17399 c3x5->cd(kcountHEnegativedirectionReconoise3);
17400 HEnegativedirectionReconoise3->SetMarkerStyle(20);
17401 HEnegativedirectionReconoise3->SetMarkerSize(0.4);
17402 HEnegativedirectionReconoise3->GetYaxis()->SetLabelSize(0.04);
17403 HEnegativedirectionReconoise3->SetXTitle(
"HEnegativedirectionReconoise3 \b");
17404 HEnegativedirectionReconoise3->SetMarkerColor(2);
17405 HEnegativedirectionReconoise3->SetLineColor(0);
17409 if (kcountHEnegativedirectionReconoise3 == 1)
17410 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-29; depth = 3 \b");
17411 if (kcountHEnegativedirectionReconoise3 == 2)
17412 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-28; depth = 3 \b");
17413 if (kcountHEnegativedirectionReconoise3 == 3)
17414 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-27; depth = 3 \b");
17415 if (kcountHEnegativedirectionReconoise3 == 4)
17416 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-26; depth = 3 \b");
17417 if (kcountHEnegativedirectionReconoise3 == 5)
17418 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-25; depth = 3 \b");
17419 if (kcountHEnegativedirectionReconoise3 == 6)
17420 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-24; depth = 3 \b");
17421 if (kcountHEnegativedirectionReconoise3 == 7)
17422 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-23; depth = 3 \b");
17423 if (kcountHEnegativedirectionReconoise3 == 8)
17424 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-22; depth = 3 \b");
17425 if (kcountHEnegativedirectionReconoise3 == 9)
17426 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-21; depth = 3 \b");
17427 if (kcountHEnegativedirectionReconoise3 == 10)
17428 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-20; depth = 3 \b");
17429 if (kcountHEnegativedirectionReconoise3 == 11)
17430 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-19; depth = 3 \b");
17431 if (kcountHEnegativedirectionReconoise3 == 12)
17432 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-18; depth = 3 \b");
17433 if (kcountHEnegativedirectionReconoise3 == 13)
17434 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-17; depth = 3 \b");
17435 HEnegativedirectionReconoise3->Draw(
"Error");
17436 kcountHEnegativedirectionReconoise3++;
17437 if (kcountHEnegativedirectionReconoise3 > 13)
17446 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
17449 if (h2CeffHEnegativedirectionReconoise3)
17450 delete h2CeffHEnegativedirectionReconoise3;
17457 c3x5->Divide(3, 5);
17459 int kcountHEnegativedirectionReconoise4 = 1;
17460 TH1F *h2CeffHEnegativedirectionReconoise4 =
new TH1F(
"h2CeffHEnegativedirectionReconoise4",
"",
nphi, 0., 72.);
17464 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17467 for (
int i = 3;
i < 4;
i++) {
17468 TH1F *HEnegativedirectionReconoise4 = (TH1F *)h2CeffHEnegativedirectionReconoise4->Clone(
"twod1");
17471 for (
int jphi = 0; jphi <
nphi; jphi++) {
17472 double ccc1 = areconoisehe[
i][
jeta][jphi];
17474 HEnegativedirectionReconoise4->Fill(jphi, ccc1);
17478 if (ccctest > 0.) {
17480 c3x5->cd(kcountHEnegativedirectionReconoise4);
17481 HEnegativedirectionReconoise4->SetMarkerStyle(20);
17482 HEnegativedirectionReconoise4->SetMarkerSize(0.4);
17483 HEnegativedirectionReconoise4->GetYaxis()->SetLabelSize(0.04);
17484 HEnegativedirectionReconoise4->SetXTitle(
"HEnegativedirectionReconoise4 \b");
17485 HEnegativedirectionReconoise4->SetMarkerColor(2);
17486 HEnegativedirectionReconoise4->SetLineColor(0);
17490 if (kcountHEnegativedirectionReconoise4 == 1)
17491 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-28; depth = 4 \b");
17492 if (kcountHEnegativedirectionReconoise4 == 2)
17493 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-27; depth = 4 \b");
17494 if (kcountHEnegativedirectionReconoise4 == 3)
17495 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-26; depth = 4 \b");
17496 if (kcountHEnegativedirectionReconoise4 == 4)
17497 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-25; depth = 4 \b");
17498 if (kcountHEnegativedirectionReconoise4 == 5)
17499 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-24; depth = 4 \b");
17500 if (kcountHEnegativedirectionReconoise4 == 6)
17501 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-23; depth = 4 \b");
17502 if (kcountHEnegativedirectionReconoise4 == 7)
17503 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-22; depth = 4 \b");
17504 if (kcountHEnegativedirectionReconoise4 == 8)
17505 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-21; depth = 4 \b");
17506 if (kcountHEnegativedirectionReconoise4 == 9)
17507 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-20; depth = 4 \b");
17508 if (kcountHEnegativedirectionReconoise4 == 10)
17509 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-19; depth = 4 \b");
17510 if (kcountHEnegativedirectionReconoise4 == 11)
17511 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-18; depth = 4 \b");
17512 if (kcountHEnegativedirectionReconoise4 == 12)
17513 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-16; depth = 4 \b");
17514 HEnegativedirectionReconoise4->Draw(
"Error");
17515 kcountHEnegativedirectionReconoise4++;
17516 if (kcountHEnegativedirectionReconoise4 > 12)
17525 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
17528 if (h2CeffHEnegativedirectionReconoise4)
17529 delete h2CeffHEnegativedirectionReconoise4;
17536 c3x5->Divide(3, 5);
17538 int kcountHEnegativedirectionReconoise5 = 1;
17539 TH1F *h2CeffHEnegativedirectionReconoise5 =
new TH1F(
"h2CeffHEnegativedirectionReconoise5",
"",
nphi, 0., 72.);
17543 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17546 for (
int i = 4;
i < 5;
i++) {
17547 TH1F *HEnegativedirectionReconoise5 = (TH1F *)h2CeffHEnegativedirectionReconoise5->Clone(
"twod1");
17550 for (
int jphi = 0; jphi <
nphi; jphi++) {
17553 double ccc1 = areconoisehe[
i][
jeta][jphi];
17555 HEnegativedirectionReconoise5->Fill(jphi, ccc1);
17559 if (ccctest > 0.) {
17561 c3x5->cd(kcountHEnegativedirectionReconoise5);
17562 HEnegativedirectionReconoise5->SetMarkerStyle(20);
17563 HEnegativedirectionReconoise5->SetMarkerSize(0.4);
17564 HEnegativedirectionReconoise5->GetYaxis()->SetLabelSize(0.04);
17565 HEnegativedirectionReconoise5->SetXTitle(
"HEnegativedirectionReconoise5 \b");
17566 HEnegativedirectionReconoise5->SetMarkerColor(2);
17567 HEnegativedirectionReconoise5->SetLineColor(0);
17571 if (kcountHEnegativedirectionReconoise5 == 1)
17572 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-28; depth = 5 \b");
17573 if (kcountHEnegativedirectionReconoise5 == 2)
17574 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-27; depth = 5 \b");
17575 if (kcountHEnegativedirectionReconoise5 == 3)
17576 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-26; depth = 5 \b");
17577 if (kcountHEnegativedirectionReconoise5 == 4)
17578 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-25; depth = 5 \b");
17579 if (kcountHEnegativedirectionReconoise5 == 5)
17580 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-24; depth = 5 \b");
17581 if (kcountHEnegativedirectionReconoise5 == 6)
17582 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-23; depth = 5 \b");
17583 if (kcountHEnegativedirectionReconoise5 == 7)
17584 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-22; depth = 5 \b");
17585 if (kcountHEnegativedirectionReconoise5 == 8)
17586 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-21; depth = 5 \b");
17587 if (kcountHEnegativedirectionReconoise5 == 9)
17588 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-20; depth = 5 \b");
17589 if (kcountHEnegativedirectionReconoise5 == 10)
17590 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-19; depth = 5 \b");
17591 if (kcountHEnegativedirectionReconoise5 == 11)
17592 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-18; depth = 5 \b");
17593 HEnegativedirectionReconoise5->Draw(
"Error");
17594 kcountHEnegativedirectionReconoise5++;
17595 if (kcountHEnegativedirectionReconoise5 > 11)
17604 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
17607 if (h2CeffHEnegativedirectionReconoise5)
17608 delete h2CeffHEnegativedirectionReconoise5;
17615 c3x5->Divide(3, 5);
17617 int kcountHEnegativedirectionReconoise6 = 1;
17618 TH1F *h2CeffHEnegativedirectionReconoise6 =
new TH1F(
"h2CeffHEnegativedirectionReconoise6",
"",
nphi, 0., 72.);
17622 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17625 for (
int i = 5;
i < 6;
i++) {
17626 TH1F *HEnegativedirectionReconoise6 = (TH1F *)h2CeffHEnegativedirectionReconoise6->Clone(
"twod1");
17629 for (
int jphi = 0; jphi <
nphi; jphi++) {
17630 double ccc1 = areconoisehe[
i][
jeta][jphi];
17632 HEnegativedirectionReconoise6->Fill(jphi, ccc1);
17636 if (ccctest > 0.) {
17638 c3x5->cd(kcountHEnegativedirectionReconoise6);
17639 HEnegativedirectionReconoise6->SetMarkerStyle(20);
17640 HEnegativedirectionReconoise6->SetMarkerSize(0.4);
17641 HEnegativedirectionReconoise6->GetYaxis()->SetLabelSize(0.04);
17642 HEnegativedirectionReconoise6->SetXTitle(
"HEnegativedirectionReconoise6 \b");
17643 HEnegativedirectionReconoise6->SetMarkerColor(2);
17644 HEnegativedirectionReconoise6->SetLineColor(0);
17648 if (kcountHEnegativedirectionReconoise6 == 1)
17649 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-28; depth = 6 \b");
17650 if (kcountHEnegativedirectionReconoise6 == 2)
17651 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-27; depth = 6 \b");
17652 if (kcountHEnegativedirectionReconoise6 == 3)
17653 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-26; depth = 6 \b");
17654 if (kcountHEnegativedirectionReconoise6 == 4)
17655 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-25; depth = 6 \b");
17656 if (kcountHEnegativedirectionReconoise6 == 5)
17657 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-24; depth = 6 \b");
17658 if (kcountHEnegativedirectionReconoise6 == 6)
17659 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-23; depth = 6 \b");
17660 if (kcountHEnegativedirectionReconoise6 == 7)
17661 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-22; depth = 6 \b");
17662 if (kcountHEnegativedirectionReconoise6 == 8)
17663 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-21; depth = 6 \b");
17664 if (kcountHEnegativedirectionReconoise6 == 9)
17665 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-20; depth = 6 \b");
17666 if (kcountHEnegativedirectionReconoise6 == 10)
17667 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-19; depth = 6 \b");
17668 HEnegativedirectionReconoise6->Draw(
"Error");
17669 kcountHEnegativedirectionReconoise6++;
17670 if (kcountHEnegativedirectionReconoise6 > 10)
17679 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
17682 if (h2CeffHEnegativedirectionReconoise6)
17683 delete h2CeffHEnegativedirectionReconoise6;
17690 c3x5->Divide(3, 5);
17692 int kcountHEnegativedirectionReconoise7 = 1;
17693 TH1F *h2CeffHEnegativedirectionReconoise7 =
new TH1F(
"h2CeffHEnegativedirectionReconoise7",
"",
nphi, 0., 72.);
17697 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17700 for (
int i = 6;
i < 7;
i++) {
17701 TH1F *HEnegativedirectionReconoise7 = (TH1F *)h2CeffHEnegativedirectionReconoise7->Clone(
"twod1");
17704 for (
int jphi = 0; jphi <
nphi; jphi++) {
17705 double ccc1 = areconoisehe[
i][
jeta][jphi];
17707 HEnegativedirectionReconoise7->Fill(jphi, ccc1);
17711 if (ccctest > 0.) {
17713 c3x5->cd(kcountHEnegativedirectionReconoise7);
17714 HEnegativedirectionReconoise7->SetMarkerStyle(20);
17715 HEnegativedirectionReconoise7->SetMarkerSize(0.4);
17716 HEnegativedirectionReconoise7->GetYaxis()->SetLabelSize(0.04);
17717 HEnegativedirectionReconoise7->SetXTitle(
"HEnegativedirectionReconoise7 \b");
17718 HEnegativedirectionReconoise7->SetMarkerColor(2);
17719 HEnegativedirectionReconoise7->SetLineColor(0);
17723 if (kcountHEnegativedirectionReconoise7 == 1)
17724 HEnegativedirectionReconoise7->SetXTitle(
"R for HE- jeta =-28; depth = 7 \b");
17725 if (kcountHEnegativedirectionReconoise7 == 2)
17726 HEnegativedirectionReconoise7->SetXTitle(
"R for HE- jeta =-27; depth = 7 \b");
17727 if (kcountHEnegativedirectionReconoise7 == 3)
17728 HEnegativedirectionReconoise7->SetXTitle(
"R for HE- jeta =-26; depth = 7 \b");
17729 HEnegativedirectionReconoise7->Draw(
"Error");
17730 kcountHEnegativedirectionReconoise7++;
17731 if (kcountHEnegativedirectionReconoise7 > 3)
17740 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
17743 if (h2CeffHEnegativedirectionReconoise7)
17744 delete h2CeffHEnegativedirectionReconoise7;
17755 c2x1->Divide(2, 1);
17757 TH2F *GefzDIFreconoiseHE42D =
new TH2F(
"GefzDIFreconoiseHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
17758 TH2F *GefzDIFreconoiseHE42D0 =
new TH2F(
"GefzDIFreconoiseHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
17759 TH2F *GefzDIFreconoiseHE42DF = (TH2F *)GefzDIFreconoiseHE42D0->Clone(
"GefzDIFreconoiseHE42DF");
17762 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
17763 for (
int jphi = 0; jphi <
nphi; jphi++) {
17764 double ccc1 = breconoisehe[
i][
jeta][jphi];
17765 int k2plot =
jeta - 41;
17768 GefzDIFreconoiseHE42D->Fill(kkk, jphi, ccc1);
17769 GefzDIFreconoiseHE42D0->Fill(kkk, jphi, 1.);
17775 GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D, GefzDIFreconoiseHE42D0, 1, 1,
"B");
17778 GefzDIFreconoiseHE42DF->SetXTitle(
"<DIF>_depth #eta \b");
17779 GefzDIFreconoiseHE42DF->SetYTitle(
" #phi \b");
17780 GefzDIFreconoiseHE42DF->Draw(
"COLZ");
17788 c2x1->Print(
"DIFreconoiseGeneralD2PhiSymmetryHE.png");
17791 if (GefzDIFreconoiseHE42D)
17792 delete GefzDIFreconoiseHE42D;
17793 if (GefzDIFreconoiseHE42D0)
17794 delete GefzDIFreconoiseHE42D0;
17795 if (GefzDIFreconoiseHE42DF)
17796 delete GefzDIFreconoiseHE42DF;
17802 c1x1->Divide(1, 1);
17804 TH1F *GefzDIFreconoiseHE41D =
new TH1F(
"GefzDIFreconoiseHE41D",
"",
nphi, 0., 72.);
17805 TH1F *GefzDIFreconoiseHE41D0 =
new TH1F(
"GefzDIFreconoiseHE41D0",
"",
nphi, 0., 72.);
17806 TH1F *GefzDIFreconoiseHE41DF = (TH1F *)GefzDIFreconoiseHE41D0->Clone(
"GefzDIFreconoiseHE41DF");
17807 for (
int jphi = 0; jphi <
nphi; jphi++) {
17809 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
17811 double ccc1 = breconoisehe[
i][
jeta][jphi];
17813 GefzDIFreconoiseHE41D->Fill(jphi, ccc1);
17814 GefzDIFreconoiseHE41D0->Fill(jphi, 1.);
17820 GefzDIFreconoiseHE41DF->Divide(
17821 GefzDIFreconoiseHE41D, GefzDIFreconoiseHE41D0, 1, 1,
"B");
17822 GefzDIFreconoiseHE41D0->Sumw2();
17826 GefzDIFreconoiseHE41DF->SetMarkerStyle(20);
17827 GefzDIFreconoiseHE41DF->SetMarkerSize(1.4);
17828 GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08);
17829 GefzDIFreconoiseHE41DF->SetXTitle(
"#phi \b");
17830 GefzDIFreconoiseHE41DF->SetYTitle(
" <DIF> \b");
17831 GefzDIFreconoiseHE41DF->SetZTitle(
"<DIF>_PHI - AllDepthes \b");
17832 GefzDIFreconoiseHE41DF->SetMarkerColor(4);
17833 GefzDIFreconoiseHE41DF->SetLineColor(
17835 GefzDIFreconoiseHE41DF->Draw(
"Error");
17838 c1x1->Print(
"DIFreconoiseGeneralD1PhiSymmetryHE.png");
17841 if (GefzDIFreconoiseHE41D)
17842 delete GefzDIFreconoiseHE41D;
17843 if (GefzDIFreconoiseHE41D0)
17844 delete GefzDIFreconoiseHE41D0;
17845 if (GefzDIFreconoiseHE41DF)
17846 delete GefzDIFreconoiseHE41DF;
17854 c3x5->Divide(3, 5);
17856 int kcountHEpositivedirectionReconoiseDIF1 = 1;
17857 TH1F *h2CeffHEpositivedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
17860 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
17863 for (
int i = 0;
i < 1;
i++) {
17864 TH1F *HEpositivedirectionReconoiseDIF1 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF1->Clone(
"twod1");
17866 for (
int jphi = 0; jphi <
nphi; jphi++) {
17867 double ccc1 = breconoisehe[
i][
jeta][jphi];
17869 HEpositivedirectionReconoiseDIF1->Fill(jphi, ccc1);
17873 if (ccctest > 0.) {
17875 c3x5->cd(kcountHEpositivedirectionReconoiseDIF1);
17876 HEpositivedirectionReconoiseDIF1->SetMarkerStyle(20);
17877 HEpositivedirectionReconoiseDIF1->SetMarkerSize(0.4);
17878 HEpositivedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
17879 HEpositivedirectionReconoiseDIF1->SetXTitle(
"HEpositivedirectionReconoiseDIF1 \b");
17880 HEpositivedirectionReconoiseDIF1->SetMarkerColor(2);
17881 HEpositivedirectionReconoiseDIF1->SetLineColor(0);
17885 if (kcountHEpositivedirectionReconoiseDIF1 == 1)
17886 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 17; depth = 1 \b");
17887 if (kcountHEpositivedirectionReconoiseDIF1 == 2)
17888 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 18; depth = 1 \b");
17889 if (kcountHEpositivedirectionReconoiseDIF1 == 3)
17890 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 19; depth = 1 \b");
17891 if (kcountHEpositivedirectionReconoiseDIF1 == 4)
17892 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 20; depth = 1 \b");
17893 if (kcountHEpositivedirectionReconoiseDIF1 == 5)
17894 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 21; depth = 1 \b");
17895 if (kcountHEpositivedirectionReconoiseDIF1 == 6)
17896 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 22; depth = 1 \b");
17897 if (kcountHEpositivedirectionReconoiseDIF1 == 7)
17898 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 23; depth = 1 \b");
17899 if (kcountHEpositivedirectionReconoiseDIF1 == 8)
17900 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 24; depth = 1 \b");
17901 if (kcountHEpositivedirectionReconoiseDIF1 == 9)
17902 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 25; depth = 1 \b");
17903 if (kcountHEpositivedirectionReconoiseDIF1 == 10)
17904 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 26; depth = 1 \b");
17905 if (kcountHEpositivedirectionReconoiseDIF1 == 11)
17906 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 27; depth = 1 \b");
17907 if (kcountHEpositivedirectionReconoiseDIF1 == 12)
17908 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 28; depth = 1 \b");
17909 HEpositivedirectionReconoiseDIF1->Draw(
"Error");
17910 kcountHEpositivedirectionReconoiseDIF1++;
17911 if (kcountHEpositivedirectionReconoiseDIF1 > 12)
17920 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png");
17923 if (h2CeffHEpositivedirectionReconoiseDIF1)
17924 delete h2CeffHEpositivedirectionReconoiseDIF1;
17932 c3x5->Divide(3, 5);
17934 int kcountHEpositivedirectionReconoiseDIF2 = 1;
17935 TH1F *h2CeffHEpositivedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
17938 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
17941 for (
int i = 1;
i < 2;
i++) {
17942 TH1F *HEpositivedirectionReconoiseDIF2 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF2->Clone(
"twod1");
17944 for (
int jphi = 0; jphi <
nphi; jphi++) {
17945 double ccc1 = breconoisehe[
i][
jeta][jphi];
17947 HEpositivedirectionReconoiseDIF2->Fill(jphi, ccc1);
17951 if (ccctest > 0.) {
17953 c3x5->cd(kcountHEpositivedirectionReconoiseDIF2);
17954 HEpositivedirectionReconoiseDIF2->SetMarkerStyle(20);
17955 HEpositivedirectionReconoiseDIF2->SetMarkerSize(0.4);
17956 HEpositivedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
17957 HEpositivedirectionReconoiseDIF2->SetXTitle(
"HEpositivedirectionReconoiseDIF2 \b");
17958 HEpositivedirectionReconoiseDIF2->SetMarkerColor(2);
17959 HEpositivedirectionReconoiseDIF2->SetLineColor(0);
17963 if (kcountHEpositivedirectionReconoiseDIF2 == 1)
17964 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 16; depth = 2 \b");
17965 if (kcountHEpositivedirectionReconoiseDIF2 == 2)
17966 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 17; depth = 2 \b");
17967 if (kcountHEpositivedirectionReconoiseDIF2 == 3)
17968 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 18; depth = 2 \b");
17969 if (kcountHEpositivedirectionReconoiseDIF2 == 4)
17970 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 19; depth = 2 \b");
17971 if (kcountHEpositivedirectionReconoiseDIF2 == 5)
17972 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 20; depth = 2 \b");
17973 if (kcountHEpositivedirectionReconoiseDIF2 == 6)
17974 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 21; depth = 2 \b");
17975 if (kcountHEpositivedirectionReconoiseDIF2 == 7)
17976 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 22; depth = 2 \b");
17977 if (kcountHEpositivedirectionReconoiseDIF2 == 8)
17978 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 23; depth = 2 \b");
17979 if (kcountHEpositivedirectionReconoiseDIF2 == 9)
17980 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 24; depth = 2 \b");
17981 if (kcountHEpositivedirectionReconoiseDIF2 == 10)
17982 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 25; depth = 2 \b");
17983 if (kcountHEpositivedirectionReconoiseDIF2 == 11)
17984 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 26; depth = 2 \b");
17985 if (kcountHEpositivedirectionReconoiseDIF2 == 12)
17986 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 27; depth = 2 \b");
17987 if (kcountHEpositivedirectionReconoiseDIF2 == 13)
17988 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 28; depth = 2 \b");
17989 HEpositivedirectionReconoiseDIF2->Draw(
"Error");
17990 kcountHEpositivedirectionReconoiseDIF2++;
17991 if (kcountHEpositivedirectionReconoiseDIF2 > 13)
18000 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png");
18003 if (h2CeffHEpositivedirectionReconoiseDIF2)
18004 delete h2CeffHEpositivedirectionReconoiseDIF2;
18011 c3x5->Divide(3, 5);
18013 int kcountHEpositivedirectionReconoiseDIF3 = 1;
18014 TH1F *h2CeffHEpositivedirectionReconoiseDIF3 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF3",
"",
nphi, 0., 72.);
18017 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
18020 for (
int i = 2;
i < 3;
i++) {
18021 TH1F *HEpositivedirectionReconoiseDIF3 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF3->Clone(
"twod1");
18023 for (
int jphi = 0; jphi <
nphi; jphi++) {
18024 double ccc1 = breconoisehe[
i][
jeta][jphi];
18026 HEpositivedirectionReconoiseDIF3->Fill(jphi, ccc1);
18030 if (ccctest > 0.) {
18032 c3x5->cd(kcountHEpositivedirectionReconoiseDIF3);
18033 HEpositivedirectionReconoiseDIF3->SetMarkerStyle(20);
18034 HEpositivedirectionReconoiseDIF3->SetMarkerSize(0.4);
18035 HEpositivedirectionReconoiseDIF3->GetYaxis()->SetLabelSize(0.04);
18036 HEpositivedirectionReconoiseDIF3->SetXTitle(
"HEpositivedirectionReconoiseDIF3 \b");
18037 HEpositivedirectionReconoiseDIF3->SetMarkerColor(2);
18038 HEpositivedirectionReconoiseDIF3->SetLineColor(0);
18042 if (kcountHEpositivedirectionReconoiseDIF3 == 1)
18043 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 16; depth = 3 \b");
18044 if (kcountHEpositivedirectionReconoiseDIF3 == 2)
18045 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 17; depth = 3 \b");
18046 if (kcountHEpositivedirectionReconoiseDIF3 == 3)
18047 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 18; depth = 3 \b");
18048 if (kcountHEpositivedirectionReconoiseDIF3 == 4)
18049 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 19; depth = 3 \b");
18050 if (kcountHEpositivedirectionReconoiseDIF3 == 5)
18051 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 20; depth = 3 \b");
18052 if (kcountHEpositivedirectionReconoiseDIF3 == 6)
18053 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 21; depth = 3 \b");
18054 if (kcountHEpositivedirectionReconoiseDIF3 == 7)
18055 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 22; depth = 3 \b");
18056 if (kcountHEpositivedirectionReconoiseDIF3 == 8)
18057 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 23; depth = 3 \b");
18058 if (kcountHEpositivedirectionReconoiseDIF3 == 9)
18059 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 24; depth = 3 \b");
18060 if (kcountHEpositivedirectionReconoiseDIF3 == 10)
18061 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 25; depth = 3 \b");
18062 if (kcountHEpositivedirectionReconoiseDIF3 == 11)
18063 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 26; depth = 3 \b");
18064 if (kcountHEpositivedirectionReconoiseDIF3 == 12)
18065 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 27; depth = 3 \b");
18066 if (kcountHEpositivedirectionReconoiseDIF3 == 13)
18067 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 28; depth = 3 \b");
18068 HEpositivedirectionReconoiseDIF3->Draw(
"Error");
18069 kcountHEpositivedirectionReconoiseDIF3++;
18070 if (kcountHEpositivedirectionReconoiseDIF3 > 13)
18079 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png");
18082 if (h2CeffHEpositivedirectionReconoiseDIF3)
18083 delete h2CeffHEpositivedirectionReconoiseDIF3;
18090 c3x5->Divide(3, 5);
18092 int kcountHEpositivedirectionReconoiseDIF4 = 1;
18093 TH1F *h2CeffHEpositivedirectionReconoiseDIF4 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF4",
"",
nphi, 0., 72.);
18097 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
18100 for (
int i = 3;
i < 4;
i++) {
18101 TH1F *HEpositivedirectionReconoiseDIF4 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF4->Clone(
"twod1");
18104 for (
int jphi = 0; jphi <
nphi; jphi++) {
18105 double ccc1 = breconoisehe[
i][
jeta][jphi];
18107 HEpositivedirectionReconoiseDIF4->Fill(jphi, ccc1);
18111 if (ccctest > 0.) {
18113 c3x5->cd(kcountHEpositivedirectionReconoiseDIF4);
18114 HEpositivedirectionReconoiseDIF4->SetMarkerStyle(20);
18115 HEpositivedirectionReconoiseDIF4->SetMarkerSize(0.4);
18116 HEpositivedirectionReconoiseDIF4->GetYaxis()->SetLabelSize(0.04);
18117 HEpositivedirectionReconoiseDIF4->SetXTitle(
"HEpositivedirectionReconoiseDIF4 \b");
18118 HEpositivedirectionReconoiseDIF4->SetMarkerColor(2);
18119 HEpositivedirectionReconoiseDIF4->SetLineColor(0);
18123 if (kcountHEpositivedirectionReconoiseDIF4 == 1)
18124 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 15; depth = 4 \b");
18125 if (kcountHEpositivedirectionReconoiseDIF4 == 2)
18126 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 17; depth = 4 \b");
18127 if (kcountHEpositivedirectionReconoiseDIF4 == 3)
18128 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 18; depth = 4 \b");
18129 if (kcountHEpositivedirectionReconoiseDIF4 == 4)
18130 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 19; depth = 4 \b");
18131 if (kcountHEpositivedirectionReconoiseDIF4 == 5)
18132 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 20; depth = 4 \b");
18133 if (kcountHEpositivedirectionReconoiseDIF4 == 6)
18134 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 21; depth = 4 \b");
18135 if (kcountHEpositivedirectionReconoiseDIF4 == 7)
18136 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 22; depth = 4 \b");
18137 if (kcountHEpositivedirectionReconoiseDIF4 == 8)
18138 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 23; depth = 4 \b");
18139 if (kcountHEpositivedirectionReconoiseDIF4 == 9)
18140 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 24; depth = 4 \b");
18141 if (kcountHEpositivedirectionReconoiseDIF4 == 10)
18142 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 25; depth = 4 \b");
18143 if (kcountHEpositivedirectionReconoiseDIF4 == 11)
18144 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 26; depth = 4 \b");
18145 if (kcountHEpositivedirectionReconoiseDIF4 == 12)
18146 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 27; depth = 4 \b");
18147 HEpositivedirectionReconoiseDIF4->Draw(
"Error");
18148 kcountHEpositivedirectionReconoiseDIF4++;
18149 if (kcountHEpositivedirectionReconoiseDIF4 > 12)
18158 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png");
18161 if (h2CeffHEpositivedirectionReconoiseDIF4)
18162 delete h2CeffHEpositivedirectionReconoiseDIF4;
18169 c3x5->Divide(3, 5);
18171 int kcountHEpositivedirectionReconoiseDIF5 = 1;
18172 TH1F *h2CeffHEpositivedirectionReconoiseDIF5 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF5",
"",
nphi, 0., 72.);
18176 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
18179 for (
int i = 4;
i < 5;
i++) {
18180 TH1F *HEpositivedirectionReconoiseDIF5 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF5->Clone(
"twod1");
18183 for (
int jphi = 0; jphi <
nphi; jphi++) {
18186 double ccc1 = breconoisehe[
i][
jeta][jphi];
18188 HEpositivedirectionReconoiseDIF5->Fill(jphi, ccc1);
18192 if (ccctest > 0.) {
18194 c3x5->cd(kcountHEpositivedirectionReconoiseDIF5);
18195 HEpositivedirectionReconoiseDIF5->SetMarkerStyle(20);
18196 HEpositivedirectionReconoiseDIF5->SetMarkerSize(0.4);
18197 HEpositivedirectionReconoiseDIF5->GetYaxis()->SetLabelSize(0.04);
18198 HEpositivedirectionReconoiseDIF5->SetXTitle(
"HEpositivedirectionReconoiseDIF5 \b");
18199 HEpositivedirectionReconoiseDIF5->SetMarkerColor(2);
18200 HEpositivedirectionReconoiseDIF5->SetLineColor(0);
18204 if (kcountHEpositivedirectionReconoiseDIF5 == 1)
18205 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 17; depth = 5 \b");
18206 if (kcountHEpositivedirectionReconoiseDIF5 == 2)
18207 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 18; depth = 5 \b");
18208 if (kcountHEpositivedirectionReconoiseDIF5 == 3)
18209 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 19; depth = 5 \b");
18210 if (kcountHEpositivedirectionReconoiseDIF5 == 4)
18211 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 20; depth = 5 \b");
18212 if (kcountHEpositivedirectionReconoiseDIF5 == 5)
18213 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 21; depth = 5 \b");
18214 if (kcountHEpositivedirectionReconoiseDIF5 == 6)
18215 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 22; depth = 5 \b");
18216 if (kcountHEpositivedirectionReconoiseDIF5 == 7)
18217 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 23; depth = 5 \b");
18218 if (kcountHEpositivedirectionReconoiseDIF5 == 8)
18219 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 24; depth = 5 \b");
18220 if (kcountHEpositivedirectionReconoiseDIF5 == 9)
18221 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 25; depth = 5 \b");
18222 if (kcountHEpositivedirectionReconoiseDIF5 == 10)
18223 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 26; depth = 5 \b");
18224 if (kcountHEpositivedirectionReconoiseDIF5 == 11)
18225 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 27; depth = 5 \b");
18226 HEpositivedirectionReconoiseDIF5->Draw(
"Error");
18227 kcountHEpositivedirectionReconoiseDIF5++;
18228 if (kcountHEpositivedirectionReconoiseDIF5 > 11)
18237 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png");
18240 if (h2CeffHEpositivedirectionReconoiseDIF5)
18241 delete h2CeffHEpositivedirectionReconoiseDIF5;
18248 c3x5->Divide(3, 5);
18250 int kcountHEpositivedirectionReconoiseDIF6 = 1;
18251 TH1F *h2CeffHEpositivedirectionReconoiseDIF6 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF6",
"",
nphi, 0., 72.);
18255 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
18258 for (
int i = 5;
i < 6;
i++) {
18259 TH1F *HEpositivedirectionReconoiseDIF6 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF6->Clone(
"twod1");
18262 for (
int jphi = 0; jphi <
nphi; jphi++) {
18263 double ccc1 = breconoisehe[
i][
jeta][jphi];
18265 HEpositivedirectionReconoiseDIF6->Fill(jphi, ccc1);
18269 if (ccctest > 0.) {
18271 c3x5->cd(kcountHEpositivedirectionReconoiseDIF6);
18272 HEpositivedirectionReconoiseDIF6->SetMarkerStyle(20);
18273 HEpositivedirectionReconoiseDIF6->SetMarkerSize(0.4);
18274 HEpositivedirectionReconoiseDIF6->GetYaxis()->SetLabelSize(0.04);
18275 HEpositivedirectionReconoiseDIF6->SetXTitle(
"HEpositivedirectionReconoiseDIF6 \b");
18276 HEpositivedirectionReconoiseDIF6->SetMarkerColor(2);
18277 HEpositivedirectionReconoiseDIF6->SetLineColor(0);
18281 if (kcountHEpositivedirectionReconoiseDIF6 == 1)
18282 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 18; depth = 6 \b");
18283 if (kcountHEpositivedirectionReconoiseDIF6 == 2)
18284 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 19; depth = 6 \b");
18285 if (kcountHEpositivedirectionReconoiseDIF6 == 3)
18286 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 20; depth = 6 \b");
18287 if (kcountHEpositivedirectionReconoiseDIF6 == 4)
18288 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 21; depth = 6 \b");
18289 if (kcountHEpositivedirectionReconoiseDIF6 == 5)
18290 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 22; depth = 6 \b");
18291 if (kcountHEpositivedirectionReconoiseDIF6 == 6)
18292 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 23; depth = 6 \b");
18293 if (kcountHEpositivedirectionReconoiseDIF6 == 7)
18294 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 24; depth = 6 \b");
18295 if (kcountHEpositivedirectionReconoiseDIF6 == 8)
18296 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 25; depth = 6 \b");
18297 if (kcountHEpositivedirectionReconoiseDIF6 == 9)
18298 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 26; depth = 6 \b");
18299 if (kcountHEpositivedirectionReconoiseDIF6 == 10)
18300 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 27; depth = 6 \b");
18301 HEpositivedirectionReconoiseDIF6->Draw(
"Error");
18302 kcountHEpositivedirectionReconoiseDIF6++;
18303 if (kcountHEpositivedirectionReconoiseDIF6 > 10)
18312 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png");
18315 if (h2CeffHEpositivedirectionReconoiseDIF6)
18316 delete h2CeffHEpositivedirectionReconoiseDIF6;
18323 c3x5->Divide(3, 5);
18325 int kcountHEpositivedirectionReconoiseDIF7 = 1;
18326 TH1F *h2CeffHEpositivedirectionReconoiseDIF7 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF7",
"",
nphi, 0., 72.);
18330 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
18333 for (
int i = 6;
i < 7;
i++) {
18334 TH1F *HEpositivedirectionReconoiseDIF7 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF7->Clone(
"twod1");
18337 for (
int jphi = 0; jphi <
nphi; jphi++) {
18338 double ccc1 = breconoisehe[
i][
jeta][jphi];
18340 HEpositivedirectionReconoiseDIF7->Fill(jphi, ccc1);
18344 if (ccctest > 0.) {
18346 c3x5->cd(kcountHEpositivedirectionReconoiseDIF7);
18347 HEpositivedirectionReconoiseDIF7->SetMarkerStyle(20);
18348 HEpositivedirectionReconoiseDIF7->SetMarkerSize(0.4);
18349 HEpositivedirectionReconoiseDIF7->GetYaxis()->SetLabelSize(0.04);
18350 HEpositivedirectionReconoiseDIF7->SetXTitle(
"HEpositivedirectionReconoiseDIF7 \b");
18351 HEpositivedirectionReconoiseDIF7->SetMarkerColor(2);
18352 HEpositivedirectionReconoiseDIF7->SetLineColor(0);
18356 if (kcountHEpositivedirectionReconoiseDIF7 == 1)
18357 HEpositivedirectionReconoiseDIF7->SetXTitle(
"DIF for HE+ jeta = 25; depth = 7 \b");
18358 if (kcountHEpositivedirectionReconoiseDIF7 == 2)
18359 HEpositivedirectionReconoiseDIF7->SetXTitle(
"DIF for HE+ jeta = 26; depth = 7 \b");
18360 if (kcountHEpositivedirectionReconoiseDIF7 == 3)
18361 HEpositivedirectionReconoiseDIF7->SetXTitle(
"DIF for HE+ jeta = 27; depth = 7 \b");
18362 HEpositivedirectionReconoiseDIF7->Draw(
"Error");
18363 kcountHEpositivedirectionReconoiseDIF7++;
18364 if (kcountHEpositivedirectionReconoiseDIF7 > 3)
18373 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png");
18376 if (h2CeffHEpositivedirectionReconoiseDIF7)
18377 delete h2CeffHEpositivedirectionReconoiseDIF7;
18386 c3x5->Divide(3, 5);
18388 int kcountHEnegativedirectionReconoiseDIF1 = 1;
18389 TH1F *h2CeffHEnegativedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
18392 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18395 for (
int i = 0;
i < 1;
i++) {
18396 TH1F *HEnegativedirectionReconoiseDIF1 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF1->Clone(
"twod1");
18398 for (
int jphi = 0; jphi <
nphi; jphi++) {
18399 double ccc1 = breconoisehe[
i][
jeta][jphi];
18401 HEnegativedirectionReconoiseDIF1->Fill(jphi, ccc1);
18405 if (ccctest > 0.) {
18407 c3x5->cd(kcountHEnegativedirectionReconoiseDIF1);
18408 HEnegativedirectionReconoiseDIF1->SetMarkerStyle(20);
18409 HEnegativedirectionReconoiseDIF1->SetMarkerSize(0.4);
18410 HEnegativedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
18411 HEnegativedirectionReconoiseDIF1->SetXTitle(
"HEnegativedirectionReconoiseDIF1 \b");
18412 HEnegativedirectionReconoiseDIF1->SetMarkerColor(2);
18413 HEnegativedirectionReconoiseDIF1->SetLineColor(0);
18417 if (kcountHEnegativedirectionReconoiseDIF1 == 1)
18418 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-29; depth = 1 \b");
18419 if (kcountHEnegativedirectionReconoiseDIF1 == 2)
18420 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-28; depth = 1 \b");
18421 if (kcountHEnegativedirectionReconoiseDIF1 == 3)
18422 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-27; depth = 1 \b");
18423 if (kcountHEnegativedirectionReconoiseDIF1 == 4)
18424 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-26; depth = 1 \b");
18425 if (kcountHEnegativedirectionReconoiseDIF1 == 5)
18426 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-25; depth = 1 \b");
18427 if (kcountHEnegativedirectionReconoiseDIF1 == 6)
18428 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-24; depth = 1 \b");
18429 if (kcountHEnegativedirectionReconoiseDIF1 == 7)
18430 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-23; depth = 1 \b");
18431 if (kcountHEnegativedirectionReconoiseDIF1 == 8)
18432 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-22; depth = 1 \b");
18433 if (kcountHEnegativedirectionReconoiseDIF1 == 9)
18434 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-21; depth = 1 \b");
18435 if (kcountHEnegativedirectionReconoiseDIF1 == 10)
18436 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-20; depth = 1 \b");
18437 if (kcountHEnegativedirectionReconoiseDIF1 == 11)
18438 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-19; depth = 1 \b");
18439 if (kcountHEnegativedirectionReconoiseDIF1 == 12)
18440 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-18; depth = 1 \b");
18441 HEnegativedirectionReconoiseDIF1->Draw(
"Error");
18442 kcountHEnegativedirectionReconoiseDIF1++;
18443 if (kcountHEnegativedirectionReconoiseDIF1 > 12)
18452 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
18455 if (h2CeffHEnegativedirectionReconoiseDIF1)
18456 delete h2CeffHEnegativedirectionReconoiseDIF1;
18464 c3x5->Divide(3, 5);
18466 int kcountHEnegativedirectionReconoiseDIF2 = 1;
18467 TH1F *h2CeffHEnegativedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
18470 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18473 for (
int i = 1;
i < 2;
i++) {
18474 TH1F *HEnegativedirectionReconoiseDIF2 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF2->Clone(
"twod1");
18476 for (
int jphi = 0; jphi <
nphi; jphi++) {
18477 double ccc1 = breconoisehe[
i][
jeta][jphi];
18479 HEnegativedirectionReconoiseDIF2->Fill(jphi, ccc1);
18483 if (ccctest > 0.) {
18485 c3x5->cd(kcountHEnegativedirectionReconoiseDIF2);
18486 HEnegativedirectionReconoiseDIF2->SetMarkerStyle(20);
18487 HEnegativedirectionReconoiseDIF2->SetMarkerSize(0.4);
18488 HEnegativedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
18489 HEnegativedirectionReconoiseDIF2->SetXTitle(
"HEnegativedirectionReconoiseDIF2 \b");
18490 HEnegativedirectionReconoiseDIF2->SetMarkerColor(2);
18491 HEnegativedirectionReconoiseDIF2->SetLineColor(0);
18495 if (kcountHEnegativedirectionReconoiseDIF2 == 1)
18496 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-29; depth = 2 \b");
18497 if (kcountHEnegativedirectionReconoiseDIF2 == 2)
18498 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-28; depth = 2 \b");
18499 if (kcountHEnegativedirectionReconoiseDIF2 == 3)
18500 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-27; depth = 2 \b");
18501 if (kcountHEnegativedirectionReconoiseDIF2 == 4)
18502 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-26; depth = 2 \b");
18503 if (kcountHEnegativedirectionReconoiseDIF2 == 5)
18504 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-25; depth = 2 \b");
18505 if (kcountHEnegativedirectionReconoiseDIF2 == 6)
18506 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-24; depth = 2 \b");
18507 if (kcountHEnegativedirectionReconoiseDIF2 == 7)
18508 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-23; depth = 2 \b");
18509 if (kcountHEnegativedirectionReconoiseDIF2 == 8)
18510 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-22; depth = 2 \b");
18511 if (kcountHEnegativedirectionReconoiseDIF2 == 9)
18512 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-21; depth = 2 \b");
18513 if (kcountHEnegativedirectionReconoiseDIF2 == 10)
18514 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-20; depth = 2 \b");
18515 if (kcountHEnegativedirectionReconoiseDIF2 == 11)
18516 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-19; depth = 2 \b");
18517 if (kcountHEnegativedirectionReconoiseDIF2 == 12)
18518 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-18; depth = 2 \b");
18519 if (kcountHEnegativedirectionReconoiseDIF2 == 13)
18520 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-17; depth = 2 \b");
18521 HEnegativedirectionReconoiseDIF2->Draw(
"Error");
18522 kcountHEnegativedirectionReconoiseDIF2++;
18523 if (kcountHEnegativedirectionReconoiseDIF2 > 13)
18532 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
18535 if (h2CeffHEnegativedirectionReconoiseDIF2)
18536 delete h2CeffHEnegativedirectionReconoiseDIF2;
18543 c3x5->Divide(3, 5);
18545 int kcountHEnegativedirectionReconoiseDIF3 = 1;
18546 TH1F *h2CeffHEnegativedirectionReconoiseDIF3 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF3",
"",
nphi, 0., 72.);
18549 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18552 for (
int i = 2;
i < 3;
i++) {
18553 TH1F *HEnegativedirectionReconoiseDIF3 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF3->Clone(
"twod1");
18555 for (
int jphi = 0; jphi <
nphi; jphi++) {
18556 double ccc1 = breconoisehe[
i][
jeta][jphi];
18558 HEnegativedirectionReconoiseDIF3->Fill(jphi, ccc1);
18562 if (ccctest > 0.) {
18564 c3x5->cd(kcountHEnegativedirectionReconoiseDIF3);
18565 HEnegativedirectionReconoiseDIF3->SetMarkerStyle(20);
18566 HEnegativedirectionReconoiseDIF3->SetMarkerSize(0.4);
18567 HEnegativedirectionReconoiseDIF3->GetYaxis()->SetLabelSize(0.04);
18568 HEnegativedirectionReconoiseDIF3->SetXTitle(
"HEnegativedirectionReconoiseDIF3 \b");
18569 HEnegativedirectionReconoiseDIF3->SetMarkerColor(2);
18570 HEnegativedirectionReconoiseDIF3->SetLineColor(0);
18574 if (kcountHEnegativedirectionReconoiseDIF3 == 1)
18575 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-29; depth = 3 \b");
18576 if (kcountHEnegativedirectionReconoiseDIF3 == 2)
18577 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-28; depth = 3 \b");
18578 if (kcountHEnegativedirectionReconoiseDIF3 == 3)
18579 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-27; depth = 3 \b");
18580 if (kcountHEnegativedirectionReconoiseDIF3 == 4)
18581 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-26; depth = 3 \b");
18582 if (kcountHEnegativedirectionReconoiseDIF3 == 5)
18583 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-25; depth = 3 \b");
18584 if (kcountHEnegativedirectionReconoiseDIF3 == 6)
18585 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-24; depth = 3 \b");
18586 if (kcountHEnegativedirectionReconoiseDIF3 == 7)
18587 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-23; depth = 3 \b");
18588 if (kcountHEnegativedirectionReconoiseDIF3 == 8)
18589 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-22; depth = 3 \b");
18590 if (kcountHEnegativedirectionReconoiseDIF3 == 9)
18591 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-21; depth = 3 \b");
18592 if (kcountHEnegativedirectionReconoiseDIF3 == 10)
18593 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-20; depth = 3 \b");
18594 if (kcountHEnegativedirectionReconoiseDIF3 == 11)
18595 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-19; depth = 3 \b");
18596 if (kcountHEnegativedirectionReconoiseDIF3 == 12)
18597 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-18; depth = 3 \b");
18598 if (kcountHEnegativedirectionReconoiseDIF3 == 13)
18599 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-17; depth = 3 \b");
18600 HEnegativedirectionReconoiseDIF3->Draw(
"Error");
18601 kcountHEnegativedirectionReconoiseDIF3++;
18602 if (kcountHEnegativedirectionReconoiseDIF3 > 13)
18611 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
18614 if (h2CeffHEnegativedirectionReconoiseDIF3)
18615 delete h2CeffHEnegativedirectionReconoiseDIF3;
18622 c3x5->Divide(3, 5);
18624 int kcountHEnegativedirectionReconoiseDIF4 = 1;
18625 TH1F *h2CeffHEnegativedirectionReconoiseDIF4 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF4",
"",
nphi, 0., 72.);
18629 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18632 for (
int i = 3;
i < 4;
i++) {
18633 TH1F *HEnegativedirectionReconoiseDIF4 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF4->Clone(
"twod1");
18636 for (
int jphi = 0; jphi <
nphi; jphi++) {
18637 double ccc1 = breconoisehe[
i][
jeta][jphi];
18639 HEnegativedirectionReconoiseDIF4->Fill(jphi, ccc1);
18643 if (ccctest > 0.) {
18645 c3x5->cd(kcountHEnegativedirectionReconoiseDIF4);
18646 HEnegativedirectionReconoiseDIF4->SetMarkerStyle(20);
18647 HEnegativedirectionReconoiseDIF4->SetMarkerSize(0.4);
18648 HEnegativedirectionReconoiseDIF4->GetYaxis()->SetLabelSize(0.04);
18649 HEnegativedirectionReconoiseDIF4->SetXTitle(
"HEnegativedirectionReconoiseDIF4 \b");
18650 HEnegativedirectionReconoiseDIF4->SetMarkerColor(2);
18651 HEnegativedirectionReconoiseDIF4->SetLineColor(0);
18655 if (kcountHEnegativedirectionReconoiseDIF4 == 1)
18656 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-28; depth = 4 \b");
18657 if (kcountHEnegativedirectionReconoiseDIF4 == 2)
18658 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-27; depth = 4 \b");
18659 if (kcountHEnegativedirectionReconoiseDIF4 == 3)
18660 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-26; depth = 4 \b");
18661 if (kcountHEnegativedirectionReconoiseDIF4 == 4)
18662 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-25; depth = 4 \b");
18663 if (kcountHEnegativedirectionReconoiseDIF4 == 5)
18664 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-24; depth = 4 \b");
18665 if (kcountHEnegativedirectionReconoiseDIF4 == 6)
18666 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-23; depth = 4 \b");
18667 if (kcountHEnegativedirectionReconoiseDIF4 == 7)
18668 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-22; depth = 4 \b");
18669 if (kcountHEnegativedirectionReconoiseDIF4 == 8)
18670 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-21; depth = 4 \b");
18671 if (kcountHEnegativedirectionReconoiseDIF4 == 9)
18672 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-20; depth = 4 \b");
18673 if (kcountHEnegativedirectionReconoiseDIF4 == 10)
18674 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-19; depth = 4 \b");
18675 if (kcountHEnegativedirectionReconoiseDIF4 == 11)
18676 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-18; depth = 4 \b");
18677 if (kcountHEnegativedirectionReconoiseDIF4 == 12)
18678 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-16; depth = 4 \b");
18679 HEnegativedirectionReconoiseDIF4->Draw(
"Error");
18680 kcountHEnegativedirectionReconoiseDIF4++;
18681 if (kcountHEnegativedirectionReconoiseDIF4 > 12)
18690 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
18693 if (h2CeffHEnegativedirectionReconoiseDIF4)
18694 delete h2CeffHEnegativedirectionReconoiseDIF4;
18701 c3x5->Divide(3, 5);
18703 int kcountHEnegativedirectionReconoiseDIF5 = 1;
18704 TH1F *h2CeffHEnegativedirectionReconoiseDIF5 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF5",
"",
nphi, 0., 72.);
18708 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18711 for (
int i = 4;
i < 5;
i++) {
18712 TH1F *HEnegativedirectionReconoiseDIF5 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF5->Clone(
"twod1");
18715 for (
int jphi = 0; jphi <
nphi; jphi++) {
18718 double ccc1 = breconoisehe[
i][
jeta][jphi];
18720 HEnegativedirectionReconoiseDIF5->Fill(jphi, ccc1);
18724 if (ccctest > 0.) {
18726 c3x5->cd(kcountHEnegativedirectionReconoiseDIF5);
18727 HEnegativedirectionReconoiseDIF5->SetMarkerStyle(20);
18728 HEnegativedirectionReconoiseDIF5->SetMarkerSize(0.4);
18729 HEnegativedirectionReconoiseDIF5->GetYaxis()->SetLabelSize(0.04);
18730 HEnegativedirectionReconoiseDIF5->SetXTitle(
"HEnegativedirectionReconoiseDIF5 \b");
18731 HEnegativedirectionReconoiseDIF5->SetMarkerColor(2);
18732 HEnegativedirectionReconoiseDIF5->SetLineColor(0);
18736 if (kcountHEnegativedirectionReconoiseDIF5 == 1)
18737 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-28; depth = 5 \b");
18738 if (kcountHEnegativedirectionReconoiseDIF5 == 2)
18739 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-27; depth = 5 \b");
18740 if (kcountHEnegativedirectionReconoiseDIF5 == 3)
18741 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-26; depth = 5 \b");
18742 if (kcountHEnegativedirectionReconoiseDIF5 == 4)
18743 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-25; depth = 5 \b");
18744 if (kcountHEnegativedirectionReconoiseDIF5 == 5)
18745 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-24; depth = 5 \b");
18746 if (kcountHEnegativedirectionReconoiseDIF5 == 6)
18747 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-23; depth = 5 \b");
18748 if (kcountHEnegativedirectionReconoiseDIF5 == 7)
18749 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-22; depth = 5 \b");
18750 if (kcountHEnegativedirectionReconoiseDIF5 == 8)
18751 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-21; depth = 5 \b");
18752 if (kcountHEnegativedirectionReconoiseDIF5 == 9)
18753 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-20; depth = 5 \b");
18754 if (kcountHEnegativedirectionReconoiseDIF5 == 10)
18755 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-19; depth = 5 \b");
18756 if (kcountHEnegativedirectionReconoiseDIF5 == 11)
18757 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-18; depth = 5 \b");
18758 HEnegativedirectionReconoiseDIF5->Draw(
"Error");
18759 kcountHEnegativedirectionReconoiseDIF5++;
18760 if (kcountHEnegativedirectionReconoiseDIF5 > 11)
18769 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
18772 if (h2CeffHEnegativedirectionReconoiseDIF5)
18773 delete h2CeffHEnegativedirectionReconoiseDIF5;
18780 c3x5->Divide(3, 5);
18782 int kcountHEnegativedirectionReconoiseDIF6 = 1;
18783 TH1F *h2CeffHEnegativedirectionReconoiseDIF6 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF6",
"",
nphi, 0., 72.);
18787 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18790 for (
int i = 5;
i < 6;
i++) {
18791 TH1F *HEnegativedirectionReconoiseDIF6 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF6->Clone(
"twod1");
18794 for (
int jphi = 0; jphi <
nphi; jphi++) {
18795 double ccc1 = breconoisehe[
i][
jeta][jphi];
18797 HEnegativedirectionReconoiseDIF6->Fill(jphi, ccc1);
18801 if (ccctest > 0.) {
18803 c3x5->cd(kcountHEnegativedirectionReconoiseDIF6);
18804 HEnegativedirectionReconoiseDIF6->SetMarkerStyle(20);
18805 HEnegativedirectionReconoiseDIF6->SetMarkerSize(0.4);
18806 HEnegativedirectionReconoiseDIF6->GetYaxis()->SetLabelSize(0.04);
18807 HEnegativedirectionReconoiseDIF6->SetXTitle(
"HEnegativedirectionReconoiseDIF6 \b");
18808 HEnegativedirectionReconoiseDIF6->SetMarkerColor(2);
18809 HEnegativedirectionReconoiseDIF6->SetLineColor(0);
18813 if (kcountHEnegativedirectionReconoiseDIF6 == 1)
18814 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-28; depth = 6 \b");
18815 if (kcountHEnegativedirectionReconoiseDIF6 == 2)
18816 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-27; depth = 6 \b");
18817 if (kcountHEnegativedirectionReconoiseDIF6 == 3)
18818 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-26; depth = 6 \b");
18819 if (kcountHEnegativedirectionReconoiseDIF6 == 4)
18820 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-25; depth = 6 \b");
18821 if (kcountHEnegativedirectionReconoiseDIF6 == 5)
18822 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-24; depth = 6 \b");
18823 if (kcountHEnegativedirectionReconoiseDIF6 == 6)
18824 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-23; depth = 6 \b");
18825 if (kcountHEnegativedirectionReconoiseDIF6 == 7)
18826 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-22; depth = 6 \b");
18827 if (kcountHEnegativedirectionReconoiseDIF6 == 8)
18828 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-21; depth = 6 \b");
18829 if (kcountHEnegativedirectionReconoiseDIF6 == 9)
18830 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-20; depth = 6 \b");
18831 if (kcountHEnegativedirectionReconoiseDIF6 == 10)
18832 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-19; depth = 6 \b");
18833 HEnegativedirectionReconoiseDIF6->Draw(
"Error");
18834 kcountHEnegativedirectionReconoiseDIF6++;
18835 if (kcountHEnegativedirectionReconoiseDIF6 > 10)
18844 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
18847 if (h2CeffHEnegativedirectionReconoiseDIF6)
18848 delete h2CeffHEnegativedirectionReconoiseDIF6;
18855 c3x5->Divide(3, 5);
18857 int kcountHEnegativedirectionReconoiseDIF7 = 1;
18858 TH1F *h2CeffHEnegativedirectionReconoiseDIF7 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF7",
"",
nphi, 0., 72.);
18862 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18865 for (
int i = 6;
i < 7;
i++) {
18866 TH1F *HEnegativedirectionReconoiseDIF7 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF7->Clone(
"twod1");
18869 for (
int jphi = 0; jphi <
nphi; jphi++) {
18870 double ccc1 = breconoisehe[
i][
jeta][jphi];
18872 HEnegativedirectionReconoiseDIF7->Fill(jphi, ccc1);
18876 if (ccctest > 0.) {
18878 c3x5->cd(kcountHEnegativedirectionReconoiseDIF7);
18879 HEnegativedirectionReconoiseDIF7->SetMarkerStyle(20);
18880 HEnegativedirectionReconoiseDIF7->SetMarkerSize(0.4);
18881 HEnegativedirectionReconoiseDIF7->GetYaxis()->SetLabelSize(0.04);
18882 HEnegativedirectionReconoiseDIF7->SetXTitle(
"HEnegativedirectionReconoiseDIF7 \b");
18883 HEnegativedirectionReconoiseDIF7->SetMarkerColor(2);
18884 HEnegativedirectionReconoiseDIF7->SetLineColor(0);
18888 if (kcountHEnegativedirectionReconoiseDIF7 == 1)
18889 HEnegativedirectionReconoiseDIF7->SetXTitle(
"DIF for HE- jeta =-28; depth = 7 \b");
18890 if (kcountHEnegativedirectionReconoiseDIF7 == 2)
18891 HEnegativedirectionReconoiseDIF7->SetXTitle(
"DIF for HE- jeta =-27; depth = 7 \b");
18892 if (kcountHEnegativedirectionReconoiseDIF7 == 3)
18893 HEnegativedirectionReconoiseDIF7->SetXTitle(
"DIF for HE- jeta =-26; depth = 7 \b");
18894 HEnegativedirectionReconoiseDIF7->Draw(
"Error");
18895 kcountHEnegativedirectionReconoiseDIF7++;
18896 if (kcountHEnegativedirectionReconoiseDIF7 > 3)
18905 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
18908 if (h2CeffHEnegativedirectionReconoiseDIF7)
18909 delete h2CeffHEnegativedirectionReconoiseDIF7;
18921 TH2F *reconoiseVariance1HE1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE1");
18922 TH2F *reconoiseVariance0HE1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE1");
18923 TH2F *reconoiseVarianceHE1 = (TH2F *)reconoiseVariance1HE1->Clone(
"reconoiseVarianceHE1");
18924 reconoiseVarianceHE1->Divide(reconoiseVariance1HE1, reconoiseVariance0HE1, 1, 1,
"B");
18925 TH2F *reconoiseVariance1HE2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE2");
18926 TH2F *reconoiseVariance0HE2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE2");
18927 TH2F *reconoiseVarianceHE2 = (TH2F *)reconoiseVariance1HE2->Clone(
"reconoiseVarianceHE2");
18928 reconoiseVarianceHE2->Divide(reconoiseVariance1HE2, reconoiseVariance0HE2, 1, 1,
"B");
18929 TH2F *reconoiseVariance1HE3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE3");
18930 TH2F *reconoiseVariance0HE3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE3");
18931 TH2F *reconoiseVarianceHE3 = (TH2F *)reconoiseVariance1HE3->Clone(
"reconoiseVarianceHE3");
18932 reconoiseVarianceHE3->Divide(reconoiseVariance1HE3, reconoiseVariance0HE3, 1, 1,
"B");
18933 TH2F *reconoiseVariance1HE4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE4");
18934 TH2F *reconoiseVariance0HE4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE4");
18935 TH2F *reconoiseVarianceHE4 = (TH2F *)reconoiseVariance1HE4->Clone(
"reconoiseVarianceHE4");
18936 reconoiseVarianceHE4->Divide(reconoiseVariance1HE4, reconoiseVariance0HE4, 1, 1,
"B");
18937 TH2F *reconoiseVariance1HE5 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE5");
18938 TH2F *reconoiseVariance0HE5 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE5");
18939 TH2F *reconoiseVarianceHE5 = (TH2F *)reconoiseVariance1HE5->Clone(
"reconoiseVarianceHE5");
18940 reconoiseVarianceHE5->Divide(reconoiseVariance1HE5, reconoiseVariance0HE5, 1, 1,
"B");
18941 TH2F *reconoiseVariance1HE6 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE6");
18942 TH2F *reconoiseVariance0HE6 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE6");
18943 TH2F *reconoiseVarianceHE6 = (TH2F *)reconoiseVariance1HE6->Clone(
"reconoiseVarianceHE6");
18944 reconoiseVarianceHE6->Divide(reconoiseVariance1HE6, reconoiseVariance0HE6, 1, 1,
"B");
18945 TH2F *reconoiseVariance1HE7 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE7");
18946 TH2F *reconoiseVariance0HE7 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE7");
18947 TH2F *reconoiseVarianceHE7 = (TH2F *)reconoiseVariance1HE7->Clone(
"reconoiseVarianceHE7");
18948 reconoiseVarianceHE7->Divide(reconoiseVariance1HE7, reconoiseVariance0HE7, 1, 1,
"B");
18953 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
18955 double sumreconoiseHE0 = 0;
18956 int nsumreconoiseHE0 = 0;
18957 double sumreconoiseHE1 = 0;
18958 int nsumreconoiseHE1 = 0;
18959 double sumreconoiseHE2 = 0;
18960 int nsumreconoiseHE2 = 0;
18961 double sumreconoiseHE3 = 0;
18962 int nsumreconoiseHE3 = 0;
18963 double sumreconoiseHE4 = 0;
18964 int nsumreconoiseHE4 = 0;
18965 double sumreconoiseHE5 = 0;
18966 int nsumreconoiseHE5 = 0;
18967 double sumreconoiseHE6 = 0;
18968 int nsumreconoiseHE6 = 0;
18969 for (
int jphi = 0; jphi < njphi; jphi++) {
18970 reconoisevariancehe[0][
jeta][jphi] = reconoiseVarianceHE1->GetBinContent(
jeta + 1, jphi + 1);
18971 reconoisevariancehe[1][
jeta][jphi] = reconoiseVarianceHE2->GetBinContent(
jeta + 1, jphi + 1);
18972 reconoisevariancehe[2][
jeta][jphi] = reconoiseVarianceHE3->GetBinContent(
jeta + 1, jphi + 1);
18973 reconoisevariancehe[3][
jeta][jphi] = reconoiseVarianceHE4->GetBinContent(
jeta + 1, jphi + 1);
18974 reconoisevariancehe[4][
jeta][jphi] = reconoiseVarianceHE5->GetBinContent(
jeta + 1, jphi + 1);
18975 reconoisevariancehe[5][
jeta][jphi] = reconoiseVarianceHE6->GetBinContent(
jeta + 1, jphi + 1);
18976 reconoisevariancehe[6][
jeta][jphi] = reconoiseVarianceHE7->GetBinContent(
jeta + 1, jphi + 1);
18977 if (reconoisevariancehe[0][
jeta][jphi] != 0.) {
18978 sumreconoiseHE0 += reconoisevariancehe[0][
jeta][jphi];
18979 ++nsumreconoiseHE0;
18981 if (reconoisevariancehe[1][
jeta][jphi] != 0.) {
18982 sumreconoiseHE1 += reconoisevariancehe[1][
jeta][jphi];
18983 ++nsumreconoiseHE1;
18985 if (reconoisevariancehe[2][
jeta][jphi] != 0.) {
18986 sumreconoiseHE2 += reconoisevariancehe[2][
jeta][jphi];
18987 ++nsumreconoiseHE2;
18989 if (reconoisevariancehe[3][
jeta][jphi] != 0.) {
18990 sumreconoiseHE3 += reconoisevariancehe[3][
jeta][jphi];
18991 ++nsumreconoiseHE3;
18993 if (reconoisevariancehe[4][
jeta][jphi] != 0.) {
18994 sumreconoiseHE4 += reconoisevariancehe[4][
jeta][jphi];
18995 ++nsumreconoiseHE4;
18997 if (reconoisevariancehe[5][
jeta][jphi] != 0.) {
18998 sumreconoiseHE5 += reconoisevariancehe[5][
jeta][jphi];
18999 ++nsumreconoiseHE5;
19001 if (reconoisevariancehe[6][
jeta][jphi] != 0.) {
19002 sumreconoiseHE6 += reconoisevariancehe[6][
jeta][jphi];
19003 ++nsumreconoiseHE6;
19007 for (
int jphi = 0; jphi < njphi; jphi++) {
19008 if (sumreconoiseHE0 != 0.)
19009 reconoisevariancehe[0][
jeta][jphi] /= (sumreconoiseHE0 / nsumreconoiseHE0);
19010 if (sumreconoiseHE1 != 0.)
19011 reconoisevariancehe[1][
jeta][jphi] /= (sumreconoiseHE1 / nsumreconoiseHE1);
19012 if (sumreconoiseHE2 != 0.)
19013 reconoisevariancehe[2][
jeta][jphi] /= (sumreconoiseHE2 / nsumreconoiseHE2);
19014 if (sumreconoiseHE3 != 0.)
19015 reconoisevariancehe[3][
jeta][jphi] /= (sumreconoiseHE3 / nsumreconoiseHE3);
19016 if (sumreconoiseHE4 != 0.)
19017 reconoisevariancehe[4][
jeta][jphi] /= (sumreconoiseHE4 / nsumreconoiseHE4);
19018 if (sumreconoiseHE5 != 0.)
19019 reconoisevariancehe[5][
jeta][jphi] /= (sumreconoiseHE5 / nsumreconoiseHE5);
19020 if (sumreconoiseHE6 != 0.)
19021 reconoisevariancehe[6][
jeta][jphi] /= (sumreconoiseHE6 / nsumreconoiseHE6);
19024 for (
int jphi = 0; jphi < njphi; jphi++) {
19026 reconoisevariancehe[0][
jeta][jphi] -= areconoisehe[0][
jeta][jphi] * areconoisehe[0][
jeta][jphi];
19027 reconoisevariancehe[0][
jeta][jphi] = fabs(reconoisevariancehe[0][
jeta][jphi]);
19028 reconoisevariancehe[1][
jeta][jphi] -= areconoisehe[1][
jeta][jphi] * areconoisehe[1][
jeta][jphi];
19029 reconoisevariancehe[1][
jeta][jphi] = fabs(reconoisevariancehe[1][
jeta][jphi]);
19030 reconoisevariancehe[2][
jeta][jphi] -= areconoisehe[2][
jeta][jphi] * areconoisehe[2][
jeta][jphi];
19031 reconoisevariancehe[2][
jeta][jphi] = fabs(reconoisevariancehe[2][
jeta][jphi]);
19032 reconoisevariancehe[3][
jeta][jphi] -= areconoisehe[3][
jeta][jphi] * areconoisehe[3][
jeta][jphi];
19033 reconoisevariancehe[3][
jeta][jphi] = fabs(reconoisevariancehe[3][
jeta][jphi]);
19034 reconoisevariancehe[4][
jeta][jphi] -= areconoisehe[4][
jeta][jphi] * areconoisehe[4][
jeta][jphi];
19035 reconoisevariancehe[4][
jeta][jphi] = fabs(reconoisevariancehe[4][
jeta][jphi]);
19036 reconoisevariancehe[5][
jeta][jphi] -= areconoisehe[5][
jeta][jphi] * areconoisehe[5][
jeta][jphi];
19037 reconoisevariancehe[5][
jeta][jphi] = fabs(reconoisevariancehe[5][
jeta][jphi]);
19038 reconoisevariancehe[6][
jeta][jphi] -= areconoisehe[6][
jeta][jphi] * areconoisehe[6][
jeta][jphi];
19039 reconoisevariancehe[6][
jeta][jphi] = fabs(reconoisevariancehe[6][
jeta][jphi]);
19050 c1x0->Divide(1, 1);
19052 TH2F *DefzDreconoiseHE42D =
new TH2F(
"DefzDreconoiseHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
19053 TH2F *DefzDreconoiseHE42D0 =
new TH2F(
"DefzDreconoiseHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
19054 TH2F *DefzDreconoiseHE42DF = (TH2F *)DefzDreconoiseHE42D0->Clone(
"DefzDreconoiseHE42DF");
19057 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
19058 for (
int jphi = 0; jphi <
nphi; jphi++) {
19059 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19060 int k2plot =
jeta - 41;
19062 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19063 DefzDreconoiseHE42D->Fill(kkk, jphi, ccc1);
19064 DefzDreconoiseHE42D0->Fill(kkk, jphi, 1.);
19070 DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D, DefzDreconoiseHE42D0, 1, 1,
"B");
19074 DefzDreconoiseHE42DF->SetMarkerStyle(20);
19075 DefzDreconoiseHE42DF->SetMarkerSize(0.4);
19076 DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08);
19077 DefzDreconoiseHE42DF->SetXTitle(
"<D>_depth #eta \b");
19078 DefzDreconoiseHE42DF->SetYTitle(
" #phi \b");
19079 DefzDreconoiseHE42DF->SetZTitle(
"<D>_depth \b");
19080 DefzDreconoiseHE42DF->SetMarkerColor(2);
19081 DefzDreconoiseHE42DF->SetLineColor(
19083 DefzDreconoiseHE42DF->Draw(
"COLZ");
19086 c1x0->Print(
"DreconoiseGeneralD2PhiSymmetryHE.png");
19089 if (DefzDreconoiseHE42D)
19090 delete DefzDreconoiseHE42D;
19091 if (DefzDreconoiseHE42D0)
19092 delete DefzDreconoiseHE42D0;
19093 if (DefzDreconoiseHE42DF)
19094 delete DefzDreconoiseHE42DF;
19100 c1x1->Divide(1, 1);
19102 TH1F *DefzDreconoiseHE41D =
new TH1F(
"DefzDreconoiseHE41D",
"",
nphi, 0., 72.);
19103 TH1F *DefzDreconoiseHE41D0 =
new TH1F(
"DefzDreconoiseHE41D0",
"",
nphi, 0., 72.);
19104 TH1F *DefzDreconoiseHE41DF = (TH1F *)DefzDreconoiseHE41D0->Clone(
"DefzDreconoiseHE41DF");
19106 for (
int jphi = 0; jphi <
nphi; jphi++) {
19108 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
19110 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19111 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19112 DefzDreconoiseHE41D->Fill(jphi, ccc1);
19113 DefzDreconoiseHE41D0->Fill(jphi, 1.);
19121 DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D, DefzDreconoiseHE41D0, 1, 1,
"B");
19122 DefzDreconoiseHE41D0->Sumw2();
19126 DefzDreconoiseHE41DF->SetMarkerStyle(20);
19127 DefzDreconoiseHE41DF->SetMarkerSize(1.4);
19128 DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08);
19129 DefzDreconoiseHE41DF->SetXTitle(
"#phi \b");
19130 DefzDreconoiseHE41DF->SetYTitle(
" <D> \b");
19131 DefzDreconoiseHE41DF->SetZTitle(
"<D>_PHI - AllDepthes \b");
19132 DefzDreconoiseHE41DF->SetMarkerColor(4);
19133 DefzDreconoiseHE41DF->SetLineColor(
19135 DefzDreconoiseHE41DF->Draw(
"Error");
19138 c1x1->Print(
"DreconoiseGeneralD1PhiSymmetryHE.png");
19141 if (DefzDreconoiseHE41D)
19142 delete DefzDreconoiseHE41D;
19143 if (DefzDreconoiseHE41D0)
19144 delete DefzDreconoiseHE41D0;
19145 if (DefzDreconoiseHE41DF)
19146 delete DefzDreconoiseHE41DF;
19153 c3x5->Divide(3, 5);
19155 int kcountHEpositivedirectionReconoiseD1 = 1;
19156 TH1F *h2CeffHEpositivedirectionReconoiseD1 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD1",
"",
nphi, 0., 72.);
19160 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19163 for (
int i = 0;
i < 1;
i++) {
19164 TH1F *HEpositivedirectionReconoiseD1 = (TH1F *)h2CeffHEpositivedirectionReconoiseD1->Clone(
"twod1");
19167 for (
int jphi = 0; jphi <
nphi; jphi++) {
19168 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19169 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19170 HEpositivedirectionReconoiseD1->Fill(jphi, ccc1);
19174 if (ccctest > 0.) {
19176 c3x5->cd(kcountHEpositivedirectionReconoiseD1);
19177 HEpositivedirectionReconoiseD1->SetMarkerStyle(20);
19178 HEpositivedirectionReconoiseD1->SetMarkerSize(0.4);
19179 HEpositivedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
19180 HEpositivedirectionReconoiseD1->SetXTitle(
"HEpositivedirectionReconoiseD1 \b");
19181 HEpositivedirectionReconoiseD1->SetMarkerColor(2);
19182 HEpositivedirectionReconoiseD1->SetLineColor(0);
19186 if (kcountHEpositivedirectionReconoiseD1 == 1)
19187 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 17; depth = 1 \b");
19188 if (kcountHEpositivedirectionReconoiseD1 == 2)
19189 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 18; depth = 1 \b");
19190 if (kcountHEpositivedirectionReconoiseD1 == 3)
19191 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 19; depth = 1 \b");
19192 if (kcountHEpositivedirectionReconoiseD1 == 4)
19193 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 20; depth = 1 \b");
19194 if (kcountHEpositivedirectionReconoiseD1 == 5)
19195 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 21; depth = 1 \b");
19196 if (kcountHEpositivedirectionReconoiseD1 == 6)
19197 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 22; depth = 1 \b");
19198 if (kcountHEpositivedirectionReconoiseD1 == 7)
19199 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 23; depth = 1 \b");
19200 if (kcountHEpositivedirectionReconoiseD1 == 8)
19201 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 24; depth = 1 \b");
19202 if (kcountHEpositivedirectionReconoiseD1 == 9)
19203 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 25; depth = 1 \b");
19204 if (kcountHEpositivedirectionReconoiseD1 == 10)
19205 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 26; depth = 1 \b");
19206 if (kcountHEpositivedirectionReconoiseD1 == 11)
19207 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 27; depth = 1 \b");
19208 if (kcountHEpositivedirectionReconoiseD1 == 12)
19209 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 28; depth = 1 \b");
19210 HEpositivedirectionReconoiseD1->Draw(
"Error");
19211 kcountHEpositivedirectionReconoiseD1++;
19212 if (kcountHEpositivedirectionReconoiseD1 > 12)
19221 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png");
19224 if (h2CeffHEpositivedirectionReconoiseD1)
19225 delete h2CeffHEpositivedirectionReconoiseD1;
19231 c3x5->Divide(3, 5);
19233 int kcountHEpositivedirectionReconoiseD2 = 1;
19234 TH1F *h2CeffHEpositivedirectionReconoiseD2 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD2",
"",
nphi, 0., 72.);
19238 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19241 for (
int i = 1;
i < 2;
i++) {
19242 TH1F *HEpositivedirectionReconoiseD2 = (TH1F *)h2CeffHEpositivedirectionReconoiseD2->Clone(
"twod1");
19245 for (
int jphi = 0; jphi <
nphi; jphi++) {
19246 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19247 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19248 HEpositivedirectionReconoiseD2->Fill(jphi, ccc1);
19252 if (ccctest > 0.) {
19254 c3x5->cd(kcountHEpositivedirectionReconoiseD2);
19255 HEpositivedirectionReconoiseD2->SetMarkerStyle(20);
19256 HEpositivedirectionReconoiseD2->SetMarkerSize(0.4);
19257 HEpositivedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
19258 HEpositivedirectionReconoiseD2->SetXTitle(
"HEpositivedirectionReconoiseD2 \b");
19259 HEpositivedirectionReconoiseD2->SetMarkerColor(2);
19260 HEpositivedirectionReconoiseD2->SetLineColor(0);
19264 if (kcountHEpositivedirectionReconoiseD2 == 1)
19265 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 16; depth = 2 \b");
19266 if (kcountHEpositivedirectionReconoiseD2 == 2)
19267 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 17; depth = 2 \b");
19268 if (kcountHEpositivedirectionReconoiseD2 == 3)
19269 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 18; depth = 2 \b");
19270 if (kcountHEpositivedirectionReconoiseD2 == 4)
19271 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 19; depth = 2 \b");
19272 if (kcountHEpositivedirectionReconoiseD2 == 5)
19273 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 20; depth = 2 \b");
19274 if (kcountHEpositivedirectionReconoiseD2 == 6)
19275 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 21; depth = 2 \b");
19276 if (kcountHEpositivedirectionReconoiseD2 == 7)
19277 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 22; depth = 2 \b");
19278 if (kcountHEpositivedirectionReconoiseD2 == 8)
19279 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 23; depth = 2 \b");
19280 if (kcountHEpositivedirectionReconoiseD2 == 9)
19281 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 24; depth = 2 \b");
19282 if (kcountHEpositivedirectionReconoiseD2 == 10)
19283 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 25; depth = 2 \b");
19284 if (kcountHEpositivedirectionReconoiseD2 == 11)
19285 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 26; depth = 2 \b");
19286 if (kcountHEpositivedirectionReconoiseD2 == 12)
19287 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 27; depth = 2 \b");
19288 if (kcountHEpositivedirectionReconoiseD2 == 13)
19289 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 28; depth = 2 \b");
19290 HEpositivedirectionReconoiseD2->Draw(
"Error");
19291 kcountHEpositivedirectionReconoiseD2++;
19292 if (kcountHEpositivedirectionReconoiseD2 > 13)
19301 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png");
19304 if (h2CeffHEpositivedirectionReconoiseD2)
19305 delete h2CeffHEpositivedirectionReconoiseD2;
19311 c3x5->Divide(3, 5);
19313 int kcountHEpositivedirectionReconoiseD3 = 1;
19314 TH1F *h2CeffHEpositivedirectionReconoiseD3 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD3",
"",
nphi, 0., 72.);
19318 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19321 for (
int i = 2;
i < 3;
i++) {
19322 TH1F *HEpositivedirectionReconoiseD3 = (TH1F *)h2CeffHEpositivedirectionReconoiseD3->Clone(
"twod1");
19325 for (
int jphi = 0; jphi <
nphi; jphi++) {
19326 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19327 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19328 HEpositivedirectionReconoiseD3->Fill(jphi, ccc1);
19332 if (ccctest > 0.) {
19334 c3x5->cd(kcountHEpositivedirectionReconoiseD3);
19335 HEpositivedirectionReconoiseD3->SetMarkerStyle(20);
19336 HEpositivedirectionReconoiseD3->SetMarkerSize(0.4);
19337 HEpositivedirectionReconoiseD3->GetYaxis()->SetLabelSize(0.04);
19338 HEpositivedirectionReconoiseD3->SetXTitle(
"HEpositivedirectionReconoiseD3 \b");
19339 HEpositivedirectionReconoiseD3->SetMarkerColor(2);
19340 HEpositivedirectionReconoiseD3->SetLineColor(0);
19344 if (kcountHEpositivedirectionReconoiseD3 == 1)
19345 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 16; depth = 3 \b");
19346 if (kcountHEpositivedirectionReconoiseD3 == 2)
19347 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 17; depth = 3 \b");
19348 if (kcountHEpositivedirectionReconoiseD3 == 3)
19349 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 18; depth = 3 \b");
19350 if (kcountHEpositivedirectionReconoiseD3 == 4)
19351 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 19; depth = 3 \b");
19352 if (kcountHEpositivedirectionReconoiseD3 == 5)
19353 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 20; depth = 3 \b");
19354 if (kcountHEpositivedirectionReconoiseD3 == 6)
19355 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 21; depth = 3 \b");
19356 if (kcountHEpositivedirectionReconoiseD3 == 7)
19357 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 22; depth = 3 \b");
19358 if (kcountHEpositivedirectionReconoiseD3 == 8)
19359 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 23; depth = 3 \b");
19360 if (kcountHEpositivedirectionReconoiseD3 == 9)
19361 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 24; depth = 3 \b");
19362 if (kcountHEpositivedirectionReconoiseD3 == 10)
19363 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 25; depth = 3 \b");
19364 if (kcountHEpositivedirectionReconoiseD3 == 11)
19365 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 26; depth = 3 \b");
19366 if (kcountHEpositivedirectionReconoiseD3 == 12)
19367 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 27; depth = 3 \b");
19368 if (kcountHEpositivedirectionReconoiseD3 == 13)
19369 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 28; depth = 3 \b");
19370 HEpositivedirectionReconoiseD3->Draw(
"Error");
19371 kcountHEpositivedirectionReconoiseD3++;
19372 if (kcountHEpositivedirectionReconoiseD3 > 13)
19381 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png");
19384 if (h2CeffHEpositivedirectionReconoiseD3)
19385 delete h2CeffHEpositivedirectionReconoiseD3;
19391 c3x5->Divide(3, 5);
19393 int kcountHEpositivedirectionReconoiseD4 = 1;
19394 TH1F *h2CeffHEpositivedirectionReconoiseD4 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD4",
"",
nphi, 0., 72.);
19398 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19401 for (
int i = 3;
i < 4;
i++) {
19402 TH1F *HEpositivedirectionReconoiseD4 = (TH1F *)h2CeffHEpositivedirectionReconoiseD4->Clone(
"twod1");
19405 for (
int jphi = 0; jphi <
nphi; jphi++) {
19406 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19407 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19408 HEpositivedirectionReconoiseD4->Fill(jphi, ccc1);
19412 if (ccctest > 0.) {
19414 c3x5->cd(kcountHEpositivedirectionReconoiseD4);
19415 HEpositivedirectionReconoiseD4->SetMarkerStyle(20);
19416 HEpositivedirectionReconoiseD4->SetMarkerSize(0.4);
19417 HEpositivedirectionReconoiseD4->GetYaxis()->SetLabelSize(0.04);
19418 HEpositivedirectionReconoiseD4->SetXTitle(
"HEpositivedirectionReconoiseD4 \b");
19419 HEpositivedirectionReconoiseD4->SetMarkerColor(2);
19420 HEpositivedirectionReconoiseD4->SetLineColor(0);
19424 if (kcountHEpositivedirectionReconoiseD4 == 1)
19425 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 15; depth = 4 \b");
19426 if (kcountHEpositivedirectionReconoiseD4 == 2)
19427 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 17; depth = 4 \b");
19428 if (kcountHEpositivedirectionReconoiseD4 == 3)
19429 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 18; depth = 4 \b");
19430 if (kcountHEpositivedirectionReconoiseD4 == 4)
19431 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 19; depth = 4 \b");
19432 if (kcountHEpositivedirectionReconoiseD4 == 5)
19433 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 20; depth = 4 \b");
19434 if (kcountHEpositivedirectionReconoiseD4 == 6)
19435 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 21; depth = 4 \b");
19436 if (kcountHEpositivedirectionReconoiseD4 == 7)
19437 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 22; depth = 4 \b");
19438 if (kcountHEpositivedirectionReconoiseD4 == 8)
19439 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 23; depth = 4 \b");
19440 if (kcountHEpositivedirectionReconoiseD4 == 9)
19441 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 24; depth = 4 \b");
19442 if (kcountHEpositivedirectionReconoiseD4 == 10)
19443 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 25; depth = 4 \b");
19444 if (kcountHEpositivedirectionReconoiseD4 == 11)
19445 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 26; depth = 4 \b");
19446 if (kcountHEpositivedirectionReconoiseD4 == 12)
19447 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 27; depth = 4 \b");
19448 HEpositivedirectionReconoiseD4->Draw(
"Error");
19449 kcountHEpositivedirectionReconoiseD4++;
19450 if (kcountHEpositivedirectionReconoiseD4 > 12)
19459 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png");
19462 if (h2CeffHEpositivedirectionReconoiseD4)
19463 delete h2CeffHEpositivedirectionReconoiseD4;
19469 c3x5->Divide(3, 5);
19471 int kcountHEpositivedirectionReconoiseD5 = 1;
19472 TH1F *h2CeffHEpositivedirectionReconoiseD5 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD5",
"",
nphi, 0., 72.);
19476 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19479 for (
int i = 4;
i < 5;
i++) {
19480 TH1F *HEpositivedirectionReconoiseD5 = (TH1F *)h2CeffHEpositivedirectionReconoiseD5->Clone(
"twod1");
19483 for (
int jphi = 0; jphi <
nphi; jphi++) {
19484 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19485 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19486 HEpositivedirectionReconoiseD5->Fill(jphi, ccc1);
19490 if (ccctest > 0.) {
19492 c3x5->cd(kcountHEpositivedirectionReconoiseD5);
19493 HEpositivedirectionReconoiseD5->SetMarkerStyle(20);
19494 HEpositivedirectionReconoiseD5->SetMarkerSize(0.4);
19495 HEpositivedirectionReconoiseD5->GetYaxis()->SetLabelSize(0.04);
19496 HEpositivedirectionReconoiseD5->SetXTitle(
"HEpositivedirectionReconoiseD5 \b");
19497 HEpositivedirectionReconoiseD5->SetMarkerColor(2);
19498 HEpositivedirectionReconoiseD5->SetLineColor(0);
19502 if (kcountHEpositivedirectionReconoiseD5 == 1)
19503 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 17; depth = 5 \b");
19504 if (kcountHEpositivedirectionReconoiseD5 == 2)
19505 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 18; depth = 5 \b");
19506 if (kcountHEpositivedirectionReconoiseD5 == 3)
19507 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 19; depth = 5 \b");
19508 if (kcountHEpositivedirectionReconoiseD5 == 4)
19509 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 20; depth = 5 \b");
19510 if (kcountHEpositivedirectionReconoiseD5 == 5)
19511 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 21; depth = 5 \b");
19512 if (kcountHEpositivedirectionReconoiseD5 == 6)
19513 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 22; depth = 5 \b");
19514 if (kcountHEpositivedirectionReconoiseD5 == 7)
19515 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 23; depth = 5 \b");
19516 if (kcountHEpositivedirectionReconoiseD5 == 8)
19517 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 24; depth = 5 \b");
19518 if (kcountHEpositivedirectionReconoiseD5 == 9)
19519 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 25; depth = 5 \b");
19520 if (kcountHEpositivedirectionReconoiseD5 == 10)
19521 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 26; depth = 5 \b");
19522 if (kcountHEpositivedirectionReconoiseD5 == 11)
19523 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 27; depth = 5 \b");
19524 HEpositivedirectionReconoiseD5->Draw(
"Error");
19525 kcountHEpositivedirectionReconoiseD5++;
19526 if (kcountHEpositivedirectionReconoiseD5 > 11)
19535 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png");
19538 if (h2CeffHEpositivedirectionReconoiseD5)
19539 delete h2CeffHEpositivedirectionReconoiseD5;
19545 c3x5->Divide(3, 5);
19547 int kcountHEpositivedirectionReconoiseD6 = 1;
19548 TH1F *h2CeffHEpositivedirectionReconoiseD6 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD6",
"",
nphi, 0., 72.);
19552 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19555 for (
int i = 5;
i < 6;
i++) {
19556 TH1F *HEpositivedirectionReconoiseD6 = (TH1F *)h2CeffHEpositivedirectionReconoiseD6->Clone(
"twod1");
19559 for (
int jphi = 0; jphi <
nphi; jphi++) {
19560 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19561 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19562 HEpositivedirectionReconoiseD6->Fill(jphi, ccc1);
19566 if (ccctest > 0.) {
19568 c3x5->cd(kcountHEpositivedirectionReconoiseD6);
19569 HEpositivedirectionReconoiseD6->SetMarkerStyle(20);
19570 HEpositivedirectionReconoiseD6->SetMarkerSize(0.4);
19571 HEpositivedirectionReconoiseD6->GetYaxis()->SetLabelSize(0.04);
19572 HEpositivedirectionReconoiseD6->SetXTitle(
"HEpositivedirectionReconoiseD6 \b");
19573 HEpositivedirectionReconoiseD6->SetMarkerColor(2);
19574 HEpositivedirectionReconoiseD6->SetLineColor(0);
19578 if (kcountHEpositivedirectionReconoiseD6 == 1)
19579 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 18; depth = 6 \b");
19580 if (kcountHEpositivedirectionReconoiseD6 == 2)
19581 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 19; depth = 6 \b");
19582 if (kcountHEpositivedirectionReconoiseD6 == 3)
19583 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 20; depth = 6 \b");
19584 if (kcountHEpositivedirectionReconoiseD6 == 4)
19585 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 21; depth = 6 \b");
19586 if (kcountHEpositivedirectionReconoiseD6 == 5)
19587 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 22; depth = 6 \b");
19588 if (kcountHEpositivedirectionReconoiseD6 == 6)
19589 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 23; depth = 6 \b");
19590 if (kcountHEpositivedirectionReconoiseD6 == 7)
19591 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 24; depth = 6 \b");
19592 if (kcountHEpositivedirectionReconoiseD6 == 8)
19593 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 25; depth = 6 \b");
19594 if (kcountHEpositivedirectionReconoiseD6 == 9)
19595 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 26; depth = 6 \b");
19596 if (kcountHEpositivedirectionReconoiseD6 == 10)
19597 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 27; depth = 6 \b");
19598 HEpositivedirectionReconoiseD6->Draw(
"Error");
19599 kcountHEpositivedirectionReconoiseD6++;
19600 if (kcountHEpositivedirectionReconoiseD6 > 10)
19609 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png");
19612 if (h2CeffHEpositivedirectionReconoiseD6)
19613 delete h2CeffHEpositivedirectionReconoiseD6;
19619 c3x5->Divide(3, 5);
19621 int kcountHEpositivedirectionReconoiseD7 = 1;
19622 TH1F *h2CeffHEpositivedirectionReconoiseD7 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD7",
"",
nphi, 0., 72.);
19626 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19629 for (
int i = 6;
i < 7;
i++) {
19630 TH1F *HEpositivedirectionReconoiseD7 = (TH1F *)h2CeffHEpositivedirectionReconoiseD7->Clone(
"twod1");
19633 for (
int jphi = 0; jphi <
nphi; jphi++) {
19634 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19635 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19636 HEpositivedirectionReconoiseD7->Fill(jphi, ccc1);
19640 if (ccctest != 0.) {
19642 c3x5->cd(kcountHEpositivedirectionReconoiseD7);
19643 HEpositivedirectionReconoiseD7->SetMarkerStyle(20);
19644 HEpositivedirectionReconoiseD7->SetMarkerSize(0.4);
19645 HEpositivedirectionReconoiseD7->GetYaxis()->SetLabelSize(0.04);
19646 HEpositivedirectionReconoiseD7->SetXTitle(
"HEpositivedirectionReconoiseD7 \b");
19647 HEpositivedirectionReconoiseD7->SetMarkerColor(2);
19648 HEpositivedirectionReconoiseD7->SetLineColor(0);
19652 if (kcountHEpositivedirectionReconoiseD7 == 1)
19653 HEpositivedirectionReconoiseD7->SetXTitle(
"D for HE+ jeta = 25; depth = 7 \b");
19654 if (kcountHEpositivedirectionReconoiseD7 == 2)
19655 HEpositivedirectionReconoiseD7->SetXTitle(
"D for HE+ jeta = 26; depth = 7 \b");
19656 if (kcountHEpositivedirectionReconoiseD7 == 3)
19657 HEpositivedirectionReconoiseD7->SetXTitle(
"D for HE+ jeta = 27; depth = 7 \b");
19658 HEpositivedirectionReconoiseD7->Draw(
"Error");
19659 kcountHEpositivedirectionReconoiseD7++;
19660 if (kcountHEpositivedirectionReconoiseD7 > 3)
19669 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png");
19672 if (h2CeffHEpositivedirectionReconoiseD7)
19673 delete h2CeffHEpositivedirectionReconoiseD7;
19681 c3x5->Divide(3, 5);
19683 int kcountHEnegativedirectionReconoiseD1 = 1;
19684 TH1F *h2CeffHEnegativedirectionReconoiseD1 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD1",
"",
nphi, 0., 72.);
19688 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
19691 for (
int i = 0;
i < 1;
i++) {
19692 TH1F *HEnegativedirectionReconoiseD1 = (TH1F *)h2CeffHEnegativedirectionReconoiseD1->Clone(
"twod1");
19695 for (
int jphi = 0; jphi <
nphi; jphi++) {
19696 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19697 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19698 HEnegativedirectionReconoiseD1->Fill(jphi, ccc1);
19702 if (ccctest > 0.) {
19704 c3x5->cd(kcountHEnegativedirectionReconoiseD1);
19705 HEnegativedirectionReconoiseD1->SetMarkerStyle(20);
19706 HEnegativedirectionReconoiseD1->SetMarkerSize(0.4);
19707 HEnegativedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
19708 HEnegativedirectionReconoiseD1->SetXTitle(
"HEnegativedirectionReconoiseD1 \b");
19709 HEnegativedirectionReconoiseD1->SetMarkerColor(2);
19710 HEnegativedirectionReconoiseD1->SetLineColor(0);
19714 if (kcountHEnegativedirectionReconoiseD1 == 1)
19715 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-29; depth = 1 \b");
19716 if (kcountHEnegativedirectionReconoiseD1 == 2)
19717 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-28; depth = 1 \b");
19718 if (kcountHEnegativedirectionReconoiseD1 == 3)
19719 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-27; depth = 1 \b");
19720 if (kcountHEnegativedirectionReconoiseD1 == 4)
19721 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-26; depth = 1 \b");
19722 if (kcountHEnegativedirectionReconoiseD1 == 5)
19723 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-25; depth = 1 \b");
19724 if (kcountHEnegativedirectionReconoiseD1 == 6)
19725 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-24; depth = 1 \b");
19726 if (kcountHEnegativedirectionReconoiseD1 == 7)
19727 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-23; depth = 1 \b");
19728 if (kcountHEnegativedirectionReconoiseD1 == 8)
19729 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-22; depth = 1 \b");
19730 if (kcountHEnegativedirectionReconoiseD1 == 9)
19731 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-21; depth = 1 \b");
19732 if (kcountHEnegativedirectionReconoiseD1 == 10)
19733 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-20; depth = 1 \b");
19734 if (kcountHEnegativedirectionReconoiseD1 == 11)
19735 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-19; depth = 1 \b");
19736 if (kcountHEnegativedirectionReconoiseD1 == 12)
19737 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-18; depth = 1 \b");
19738 HEnegativedirectionReconoiseD1->Draw(
"Error");
19739 kcountHEnegativedirectionReconoiseD1++;
19740 if (kcountHEnegativedirectionReconoiseD1 > 12)
19749 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
19752 if (h2CeffHEnegativedirectionReconoiseD1)
19753 delete h2CeffHEnegativedirectionReconoiseD1;
19759 c3x5->Divide(3, 5);
19761 int kcountHEnegativedirectionReconoiseD2 = 1;
19762 TH1F *h2CeffHEnegativedirectionReconoiseD2 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD2",
"",
nphi, 0., 72.);
19766 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
19769 for (
int i = 1;
i < 2;
i++) {
19770 TH1F *HEnegativedirectionReconoiseD2 = (TH1F *)h2CeffHEnegativedirectionReconoiseD2->Clone(
"twod1");
19773 for (
int jphi = 0; jphi <
nphi; jphi++) {
19774 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19775 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19776 HEnegativedirectionReconoiseD2->Fill(jphi, ccc1);
19780 if (ccctest > 0.) {
19782 c3x5->cd(kcountHEnegativedirectionReconoiseD2);
19783 HEnegativedirectionReconoiseD2->SetMarkerStyle(20);
19784 HEnegativedirectionReconoiseD2->SetMarkerSize(0.4);
19785 HEnegativedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
19786 HEnegativedirectionReconoiseD2->SetXTitle(
"HEnegativedirectionReconoiseD2 \b");
19787 HEnegativedirectionReconoiseD2->SetMarkerColor(2);
19788 HEnegativedirectionReconoiseD2->SetLineColor(0);
19792 if (kcountHEnegativedirectionReconoiseD2 == 1)
19793 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-29; depth = 2 \b");
19794 if (kcountHEnegativedirectionReconoiseD2 == 2)
19795 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-28; depth = 2 \b");
19796 if (kcountHEnegativedirectionReconoiseD2 == 3)
19797 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-27; depth = 2 \b");
19798 if (kcountHEnegativedirectionReconoiseD2 == 4)
19799 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-26; depth = 2 \b");
19800 if (kcountHEnegativedirectionReconoiseD2 == 5)
19801 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-25; depth = 2 \b");
19802 if (kcountHEnegativedirectionReconoiseD2 == 6)
19803 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-24; depth = 2 \b");
19804 if (kcountHEnegativedirectionReconoiseD2 == 7)
19805 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-23; depth = 2 \b");
19806 if (kcountHEnegativedirectionReconoiseD2 == 8)
19807 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-22; depth = 2 \b");
19808 if (kcountHEnegativedirectionReconoiseD2 == 9)
19809 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-21; depth = 2 \b");
19810 if (kcountHEnegativedirectionReconoiseD2 == 10)
19811 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-20; depth = 2 \b");
19812 if (kcountHEnegativedirectionReconoiseD2 == 11)
19813 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-19; depth = 2 \b");
19814 if (kcountHEnegativedirectionReconoiseD2 == 12)
19815 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-18; depth = 2 \b");
19816 if (kcountHEnegativedirectionReconoiseD2 == 13)
19817 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-17; depth = 2 \b");
19818 HEnegativedirectionReconoiseD2->Draw(
"Error");
19819 kcountHEnegativedirectionReconoiseD2++;
19820 if (kcountHEnegativedirectionReconoiseD2 > 13)
19829 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
19832 if (h2CeffHEnegativedirectionReconoiseD2)
19833 delete h2CeffHEnegativedirectionReconoiseD2;
19839 c3x5->Divide(3, 5);
19841 int kcountHEnegativedirectionReconoiseD3 = 1;
19842 TH1F *h2CeffHEnegativedirectionReconoiseD3 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD3",
"",
nphi, 0., 72.);
19846 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
19849 for (
int i = 2;
i < 3;
i++) {
19850 TH1F *HEnegativedirectionReconoiseD3 = (TH1F *)h2CeffHEnegativedirectionReconoiseD3->Clone(
"twod1");
19853 for (
int jphi = 0; jphi <
nphi; jphi++) {
19854 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19855 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19856 HEnegativedirectionReconoiseD3->Fill(jphi, ccc1);
19860 if (ccctest > 0.) {
19862 c3x5->cd(kcountHEnegativedirectionReconoiseD3);
19863 HEnegativedirectionReconoiseD3->SetMarkerStyle(20);
19864 HEnegativedirectionReconoiseD3->SetMarkerSize(0.4);
19865 HEnegativedirectionReconoiseD3->GetYaxis()->SetLabelSize(0.04);
19866 HEnegativedirectionReconoiseD3->SetXTitle(
"HEnegativedirectionReconoiseD3 \b");
19867 HEnegativedirectionReconoiseD3->SetMarkerColor(2);
19868 HEnegativedirectionReconoiseD3->SetLineColor(0);
19872 if (kcountHEnegativedirectionReconoiseD3 == 1)
19873 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-29; depth = 3 \b");
19874 if (kcountHEnegativedirectionReconoiseD3 == 2)
19875 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-28; depth = 3 \b");
19876 if (kcountHEnegativedirectionReconoiseD3 == 3)
19877 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-27; depth = 3 \b");
19878 if (kcountHEnegativedirectionReconoiseD3 == 4)
19879 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-26; depth = 3 \b");
19880 if (kcountHEnegativedirectionReconoiseD3 == 5)
19881 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-25; depth = 3 \b");
19882 if (kcountHEnegativedirectionReconoiseD3 == 6)
19883 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-24; depth = 3 \b");
19884 if (kcountHEnegativedirectionReconoiseD3 == 7)
19885 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-23; depth = 3 \b");
19886 if (kcountHEnegativedirectionReconoiseD3 == 8)
19887 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-22; depth = 3 \b");
19888 if (kcountHEnegativedirectionReconoiseD3 == 9)
19889 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-21; depth = 3 \b");
19890 if (kcountHEnegativedirectionReconoiseD3 == 10)
19891 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-20; depth = 3 \b");
19892 if (kcountHEnegativedirectionReconoiseD3 == 11)
19893 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-19; depth = 3 \b");
19894 if (kcountHEnegativedirectionReconoiseD3 == 12)
19895 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-18; depth = 3 \b");
19896 if (kcountHEnegativedirectionReconoiseD3 == 13)
19897 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-17; depth = 3 \b");
19898 HEnegativedirectionReconoiseD3->Draw(
"Error");
19899 kcountHEnegativedirectionReconoiseD3++;
19900 if (kcountHEnegativedirectionReconoiseD3 > 13)
19909 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
19912 if (h2CeffHEnegativedirectionReconoiseD3)
19913 delete h2CeffHEnegativedirectionReconoiseD3;
19919 c3x5->Divide(3, 5);
19921 int kcountHEnegativedirectionReconoiseD4 = 1;
19922 TH1F *h2CeffHEnegativedirectionReconoiseD4 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD4",
"",
nphi, 0., 72.);
19926 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
19929 for (
int i = 3;
i < 4;
i++) {
19930 TH1F *HEnegativedirectionReconoiseD4 = (TH1F *)h2CeffHEnegativedirectionReconoiseD4->Clone(
"twod1");
19933 for (
int jphi = 0; jphi <
nphi; jphi++) {
19934 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19935 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19936 HEnegativedirectionReconoiseD4->Fill(jphi, ccc1);
19940 if (ccctest > 0.) {
19942 c3x5->cd(kcountHEnegativedirectionReconoiseD4);
19943 HEnegativedirectionReconoiseD4->SetMarkerStyle(20);
19944 HEnegativedirectionReconoiseD4->SetMarkerSize(0.4);
19945 HEnegativedirectionReconoiseD4->GetYaxis()->SetLabelSize(0.04);
19946 HEnegativedirectionReconoiseD4->SetXTitle(
"HEnegativedirectionReconoiseD4 \b");
19947 HEnegativedirectionReconoiseD4->SetMarkerColor(2);
19948 HEnegativedirectionReconoiseD4->SetLineColor(0);
19952 if (kcountHEnegativedirectionReconoiseD4 == 1)
19953 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-28; depth = 4 \b");
19954 if (kcountHEnegativedirectionReconoiseD4 == 2)
19955 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-27; depth = 4 \b");
19956 if (kcountHEnegativedirectionReconoiseD4 == 3)
19957 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-26; depth = 4 \b");
19958 if (kcountHEnegativedirectionReconoiseD4 == 4)
19959 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-25; depth = 4 \b");
19960 if (kcountHEnegativedirectionReconoiseD4 == 5)
19961 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-24; depth = 4 \b");
19962 if (kcountHEnegativedirectionReconoiseD4 == 6)
19963 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-23; depth = 4 \b");
19964 if (kcountHEnegativedirectionReconoiseD4 == 7)
19965 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-22; depth = 4 \b");
19966 if (kcountHEnegativedirectionReconoiseD4 == 8)
19967 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-21; depth = 4 \b");
19968 if (kcountHEnegativedirectionReconoiseD4 == 9)
19969 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-20; depth = 4 \b");
19970 if (kcountHEnegativedirectionReconoiseD4 == 10)
19971 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-19; depth = 4 \b");
19972 if (kcountHEnegativedirectionReconoiseD4 == 11)
19973 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-18; depth = 4 \b");
19974 if (kcountHEnegativedirectionReconoiseD4 == 12)
19975 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-16; depth = 4 \b");
19976 HEnegativedirectionReconoiseD4->Draw(
"Error");
19977 kcountHEnegativedirectionReconoiseD4++;
19978 if (kcountHEnegativedirectionReconoiseD4 > 12)
19987 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
19990 if (h2CeffHEnegativedirectionReconoiseD4)
19991 delete h2CeffHEnegativedirectionReconoiseD4;
19997 c3x5->Divide(3, 5);
19999 int kcountHEnegativedirectionReconoiseD5 = 1;
20000 TH1F *h2CeffHEnegativedirectionReconoiseD5 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD5",
"",
nphi, 0., 72.);
20004 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
20007 for (
int i = 4;
i < 5;
i++) {
20008 TH1F *HEnegativedirectionReconoiseD5 = (TH1F *)h2CeffHEnegativedirectionReconoiseD5->Clone(
"twod1");
20011 for (
int jphi = 0; jphi <
nphi; jphi++) {
20012 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
20013 if (areconoisehe[
i][
jeta][jphi] > 0.) {
20014 HEnegativedirectionReconoiseD5->Fill(jphi, ccc1);
20018 if (ccctest > 0.) {
20020 c3x5->cd(kcountHEnegativedirectionReconoiseD5);
20021 HEnegativedirectionReconoiseD5->SetMarkerStyle(20);
20022 HEnegativedirectionReconoiseD5->SetMarkerSize(0.4);
20023 HEnegativedirectionReconoiseD5->GetYaxis()->SetLabelSize(0.04);
20024 HEnegativedirectionReconoiseD5->SetXTitle(
"HEnegativedirectionReconoiseD5 \b");
20025 HEnegativedirectionReconoiseD5->SetMarkerColor(2);
20026 HEnegativedirectionReconoiseD5->SetLineColor(0);
20030 if (kcountHEnegativedirectionReconoiseD5 == 1)
20031 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-28; depth = 5 \b");
20032 if (kcountHEnegativedirectionReconoiseD5 == 2)
20033 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-27; depth = 5 \b");
20034 if (kcountHEnegativedirectionReconoiseD5 == 3)
20035 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-26; depth = 5 \b");
20036 if (kcountHEnegativedirectionReconoiseD5 == 4)
20037 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-25; depth = 5 \b");
20038 if (kcountHEnegativedirectionReconoiseD5 == 5)
20039 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-24; depth = 5 \b");
20040 if (kcountHEnegativedirectionReconoiseD5 == 6)
20041 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-23; depth = 5 \b");
20042 if (kcountHEnegativedirectionReconoiseD5 == 7)
20043 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-22; depth = 5 \b");
20044 if (kcountHEnegativedirectionReconoiseD5 == 8)
20045 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-21; depth = 5 \b");
20046 if (kcountHEnegativedirectionReconoiseD5 == 9)
20047 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-20; depth = 5 \b");
20048 if (kcountHEnegativedirectionReconoiseD5 == 10)
20049 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-19; depth = 5 \b");
20050 if (kcountHEnegativedirectionReconoiseD5 == 11)
20051 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-18; depth = 5 \b");
20052 HEnegativedirectionReconoiseD5->Draw(
"Error");
20053 kcountHEnegativedirectionReconoiseD5++;
20054 if (kcountHEnegativedirectionReconoiseD5 > 11)
20063 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
20066 if (h2CeffHEnegativedirectionReconoiseD5)
20067 delete h2CeffHEnegativedirectionReconoiseD5;
20073 c3x5->Divide(3, 5);
20075 int kcountHEnegativedirectionReconoiseD6 = 1;
20076 TH1F *h2CeffHEnegativedirectionReconoiseD6 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD6",
"",
nphi, 0., 72.);
20080 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
20083 for (
int i = 5;
i < 6;
i++) {
20084 TH1F *HEnegativedirectionReconoiseD6 = (TH1F *)h2CeffHEnegativedirectionReconoiseD6->Clone(
"twod1");
20087 for (
int jphi = 0; jphi <
nphi; jphi++) {
20088 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
20089 if (areconoisehe[
i][
jeta][jphi] > 0.) {
20090 HEnegativedirectionReconoiseD6->Fill(jphi, ccc1);
20094 if (ccctest > 0.) {
20096 c3x5->cd(kcountHEnegativedirectionReconoiseD6);
20097 HEnegativedirectionReconoiseD6->SetMarkerStyle(20);
20098 HEnegativedirectionReconoiseD6->SetMarkerSize(0.4);
20099 HEnegativedirectionReconoiseD6->GetYaxis()->SetLabelSize(0.04);
20100 HEnegativedirectionReconoiseD6->SetXTitle(
"HEnegativedirectionReconoiseD6 \b");
20101 HEnegativedirectionReconoiseD6->SetMarkerColor(2);
20102 HEnegativedirectionReconoiseD6->SetLineColor(0);
20106 if (kcountHEnegativedirectionReconoiseD6 == 1)
20107 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-28; depth = 6 \b");
20108 if (kcountHEnegativedirectionReconoiseD6 == 2)
20109 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-27; depth = 6 \b");
20110 if (kcountHEnegativedirectionReconoiseD6 == 3)
20111 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-26; depth = 6 \b");
20112 if (kcountHEnegativedirectionReconoiseD6 == 4)
20113 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-25; depth = 6 \b");
20114 if (kcountHEnegativedirectionReconoiseD6 == 5)
20115 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-24; depth = 6 \b");
20116 if (kcountHEnegativedirectionReconoiseD6 == 6)
20117 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-23; depth = 6 \b");
20118 if (kcountHEnegativedirectionReconoiseD6 == 7)
20119 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-22; depth = 6 \b");
20120 if (kcountHEnegativedirectionReconoiseD6 == 8)
20121 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-21; depth = 6 \b");
20122 if (kcountHEnegativedirectionReconoiseD6 == 9)
20123 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-20; depth = 6 \b");
20124 if (kcountHEnegativedirectionReconoiseD6 == 10)
20125 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-19; depth = 6 \b");
20126 HEnegativedirectionReconoiseD6->Draw(
"Error");
20127 kcountHEnegativedirectionReconoiseD6++;
20128 if (kcountHEnegativedirectionReconoiseD6 > 10)
20137 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
20140 if (h2CeffHEnegativedirectionReconoiseD6)
20141 delete h2CeffHEnegativedirectionReconoiseD6;
20147 c3x5->Divide(3, 5);
20149 int kcountHEnegativedirectionReconoiseD7 = 1;
20150 TH1F *h2CeffHEnegativedirectionReconoiseD7 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD7",
"",
nphi, 0., 72.);
20154 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
20157 for (
int i = 6;
i < 7;
i++) {
20158 TH1F *HEnegativedirectionReconoiseD7 = (TH1F *)h2CeffHEnegativedirectionReconoiseD7->Clone(
"twod1");
20161 for (
int jphi = 0; jphi <
nphi; jphi++) {
20162 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
20163 if (areconoisehe[
i][
jeta][jphi] > 0.) {
20164 HEnegativedirectionReconoiseD7->Fill(jphi, ccc1);
20168 if (ccctest != 0.) {
20170 c3x5->cd(kcountHEnegativedirectionReconoiseD7);
20171 HEnegativedirectionReconoiseD7->SetMarkerStyle(20);
20172 HEnegativedirectionReconoiseD7->SetMarkerSize(0.4);
20173 HEnegativedirectionReconoiseD7->GetYaxis()->SetLabelSize(0.04);
20174 HEnegativedirectionReconoiseD7->SetXTitle(
"HEnegativedirectionReconoiseD7 \b");
20175 HEnegativedirectionReconoiseD7->SetMarkerColor(2);
20176 HEnegativedirectionReconoiseD7->SetLineColor(0);
20180 if (kcountHEnegativedirectionReconoiseD7 == 1)
20181 HEnegativedirectionReconoiseD7->SetXTitle(
"D for HE- jeta =-28; depth = 7 \b");
20182 if (kcountHEnegativedirectionReconoiseD7 == 2)
20183 HEnegativedirectionReconoiseD7->SetXTitle(
"D for HE- jeta =-27; depth = 7 \b");
20184 if (kcountHEnegativedirectionReconoiseD7 == 3)
20185 HEnegativedirectionReconoiseD7->SetXTitle(
"D for HE- jeta =-26; depth = 7 \b");
20186 HEnegativedirectionReconoiseD7->Draw(
"Error");
20187 kcountHEnegativedirectionReconoiseD7++;
20188 if (kcountHEnegativedirectionReconoiseD7 > 3)
20197 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
20200 if (h2CeffHEnegativedirectionReconoiseD7)
20201 delete h2CeffHEnegativedirectionReconoiseD7;
20211 double areconoiseHF[
ndepth][njeta][njphi];
20212 double breconoiseHF[
ndepth][njeta][njphi];
20213 double reconoisevarianceHF[
ndepth][njeta][njphi];
20215 TH2F *recNoiseEnergy1HF1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HF1");
20216 TH2F *recNoiseEnergy0HF1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HF1");
20217 TH2F *recNoiseEnergyHF1 = (TH2F *)recNoiseEnergy1HF1->Clone(
"recNoiseEnergyHF1");
20218 recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1, recNoiseEnergy0HF1, 1, 1,
"B");
20219 TH2F *recNoiseEnergy1HF2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HF2");
20220 TH2F *recNoiseEnergy0HF2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HF2");
20221 TH2F *recNoiseEnergyHF2 = (TH2F *)recNoiseEnergy1HF2->Clone(
"recNoiseEnergyHF2");
20222 recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2, recNoiseEnergy0HF2, 1, 1,
"B");
20225 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
20227 double sumreconoiseHF0 = 0;
20228 int nsumreconoiseHF0 = 0;
20229 double sumreconoiseHF1 = 0;
20230 int nsumreconoiseHF1 = 0;
20231 for (
int jphi = 0; jphi < njphi; jphi++) {
20232 areconoiseHF[0][
jeta][jphi] = recNoiseEnergyHF1->GetBinContent(
jeta + 1, jphi + 1);
20233 areconoiseHF[1][
jeta][jphi] = recNoiseEnergyHF2->GetBinContent(
jeta + 1, jphi + 1);
20234 breconoiseHF[0][
jeta][jphi] = recNoiseEnergyHF1->GetBinContent(
jeta + 1, jphi + 1);
20235 breconoiseHF[1][
jeta][jphi] = recNoiseEnergyHF2->GetBinContent(
jeta + 1, jphi + 1);
20236 sumreconoiseHF0 += areconoiseHF[0][
jeta][jphi];
20237 ++nsumreconoiseHF0;
20238 sumreconoiseHF1 += areconoiseHF[1][
jeta][jphi];
20239 ++nsumreconoiseHF1;
20243 for (
int jphi = 0; jphi < njphi; jphi++) {
20244 if (sumreconoiseHF0 != 0.)
20245 breconoiseHF[0][
jeta][jphi] -= (sumreconoiseHF0 / nsumreconoiseHF0);
20246 if (sumreconoiseHF1 != 0.)
20247 breconoiseHF[1][
jeta][jphi] -= (sumreconoiseHF1 / nsumreconoiseHF1);
20251 for (
int jphi = 0; jphi < njphi; jphi++) {
20252 if (sumreconoiseHF0 != 0.)
20253 areconoiseHF[0][
jeta][jphi] /= (sumreconoiseHF0 / nsumreconoiseHF0);
20254 if (sumreconoiseHF1 != 0.)
20255 areconoiseHF[1][
jeta][jphi] /= (sumreconoiseHF1 / nsumreconoiseHF1);
20269 c2x1->Divide(2, 1);
20271 TH2F *GefzRreconoiseHF42D =
new TH2F(
"GefzRreconoiseHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
20272 TH2F *GefzRreconoiseHF42D0 =
new TH2F(
"GefzRreconoiseHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
20273 TH2F *GefzRreconoiseHF42DF = (TH2F *)GefzRreconoiseHF42D0->Clone(
"GefzRreconoiseHF42DF");
20276 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
20277 for (
int jphi = 0; jphi <
nphi; jphi++) {
20278 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20279 int k2plot =
jeta - 41;
20282 GefzRreconoiseHF42D->Fill(kkk, jphi, ccc1);
20283 GefzRreconoiseHF42D0->Fill(kkk, jphi, 1.);
20289 GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D, GefzRreconoiseHF42D0, 1, 1,
"B");
20292 GefzRreconoiseHF42DF->SetXTitle(
"<R>_depth #eta \b");
20293 GefzRreconoiseHF42DF->SetYTitle(
" #phi \b");
20294 GefzRreconoiseHF42DF->Draw(
"COLZ");
20297 TH1F *energyhitNoise_HF = (TH1F *)
dir->FindObjectAny(
"h_energyhitNoise_HF");
20298 energyhitNoise_HF->SetMarkerStyle(20);
20299 energyhitNoise_HF->SetMarkerSize(0.4);
20300 energyhitNoise_HF->GetYaxis()->SetLabelSize(0.04);
20301 energyhitNoise_HF->SetXTitle(
"energyhitNoise_HF \b");
20302 energyhitNoise_HF->SetMarkerColor(2);
20303 energyhitNoise_HF->SetLineColor(0);
20306 energyhitNoise_HF->Draw(
"Error");
20310 c2x1->Print(
"RreconoiseGeneralD2PhiSymmetryHF.png");
20313 if (GefzRreconoiseHF42D)
20314 delete GefzRreconoiseHF42D;
20315 if (GefzRreconoiseHF42D0)
20316 delete GefzRreconoiseHF42D0;
20317 if (GefzRreconoiseHF42DF)
20318 delete GefzRreconoiseHF42DF;
20324 c1x1->Divide(1, 1);
20326 TH1F *GefzRreconoiseHF41D =
new TH1F(
"GefzRreconoiseHF41D",
"",
nphi, 0., 72.);
20327 TH1F *GefzRreconoiseHF41D0 =
new TH1F(
"GefzRreconoiseHF41D0",
"",
nphi, 0., 72.);
20328 TH1F *GefzRreconoiseHF41DF = (TH1F *)GefzRreconoiseHF41D0->Clone(
"GefzRreconoiseHF41DF");
20329 for (
int jphi = 0; jphi <
nphi; jphi++) {
20331 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
20333 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20335 GefzRreconoiseHF41D->Fill(jphi, ccc1);
20336 GefzRreconoiseHF41D0->Fill(jphi, 1.);
20342 GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D, GefzRreconoiseHF41D0, 1, 1,
"B");
20343 GefzRreconoiseHF41D0->Sumw2();
20347 GefzRreconoiseHF41DF->SetMarkerStyle(20);
20348 GefzRreconoiseHF41DF->SetMarkerSize(1.4);
20349 GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08);
20350 GefzRreconoiseHF41DF->SetXTitle(
"#phi \b");
20351 GefzRreconoiseHF41DF->SetYTitle(
" <R> \b");
20352 GefzRreconoiseHF41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
20353 GefzRreconoiseHF41DF->SetMarkerColor(4);
20354 GefzRreconoiseHF41DF->SetLineColor(
20356 GefzRreconoiseHF41DF->Draw(
"Error");
20359 c1x1->Print(
"RreconoiseGeneralD1PhiSymmetryHF.png");
20362 if (GefzRreconoiseHF41D)
20363 delete GefzRreconoiseHF41D;
20364 if (GefzRreconoiseHF41D0)
20365 delete GefzRreconoiseHF41D0;
20366 if (GefzRreconoiseHF41DF)
20367 delete GefzRreconoiseHF41DF;
20374 c3x5->Divide(3, 5);
20376 int kcountHFpositivedirectionReconoise1 = 1;
20377 TH1F *h2CeffHFpositivedirectionReconoise1 =
new TH1F(
"h2CeffHFpositivedirectionReconoise1",
"",
nphi, 0., 72.);
20380 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
20383 for (
int i = 0;
i < 1;
i++) {
20384 TH1F *HFpositivedirectionReconoise1 = (TH1F *)h2CeffHFpositivedirectionReconoise1->Clone(
"twod1");
20386 for (
int jphi = 0; jphi <
nphi; jphi++) {
20387 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20389 HFpositivedirectionReconoise1->Fill(jphi, ccc1);
20393 if (ccctest > 0.) {
20395 c3x5->cd(kcountHFpositivedirectionReconoise1);
20396 HFpositivedirectionReconoise1->SetMarkerStyle(20);
20397 HFpositivedirectionReconoise1->SetMarkerSize(0.4);
20398 HFpositivedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
20399 HFpositivedirectionReconoise1->SetXTitle(
"HFpositivedirectionReconoise1 \b");
20400 HFpositivedirectionReconoise1->SetMarkerColor(2);
20401 HFpositivedirectionReconoise1->SetLineColor(0);
20405 if (kcountHFpositivedirectionReconoise1 == 1)
20406 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 28; depth = 1 \b");
20407 if (kcountHFpositivedirectionReconoise1 == 2)
20408 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 29; depth = 1 \b");
20409 if (kcountHFpositivedirectionReconoise1 == 3)
20410 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 30; depth = 1 \b");
20411 if (kcountHFpositivedirectionReconoise1 == 4)
20412 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 31; depth = 1 \b");
20413 if (kcountHFpositivedirectionReconoise1 == 5)
20414 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 32; depth = 1 \b");
20415 if (kcountHFpositivedirectionReconoise1 == 6)
20416 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 33; depth = 1 \b");
20417 if (kcountHFpositivedirectionReconoise1 == 7)
20418 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 34; depth = 1 \b");
20419 if (kcountHFpositivedirectionReconoise1 == 8)
20420 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 35; depth = 1 \b");
20421 if (kcountHFpositivedirectionReconoise1 == 9)
20422 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 36; depth = 1 \b");
20423 if (kcountHFpositivedirectionReconoise1 == 10)
20424 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 37; depth = 1 \b");
20425 if (kcountHFpositivedirectionReconoise1 == 11)
20426 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 38; depth = 1 \b");
20427 if (kcountHFpositivedirectionReconoise1 == 12)
20428 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 39; depth = 1 \b");
20429 if (kcountHFpositivedirectionReconoise1 == 13)
20430 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 40; depth = 1 \b");
20431 HFpositivedirectionReconoise1->Draw(
"Error");
20432 kcountHFpositivedirectionReconoise1++;
20433 if (kcountHFpositivedirectionReconoise1 > 13)
20442 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png");
20445 if (h2CeffHFpositivedirectionReconoise1)
20446 delete h2CeffHFpositivedirectionReconoise1;
20454 c3x5->Divide(3, 5);
20456 int kcountHFpositivedirectionReconoise2 = 1;
20457 TH1F *h2CeffHFpositivedirectionReconoise2 =
new TH1F(
"h2CeffHFpositivedirectionReconoise2",
"",
nphi, 0., 72.);
20460 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
20463 for (
int i = 1;
i < 2;
i++) {
20464 TH1F *HFpositivedirectionReconoise2 = (TH1F *)h2CeffHFpositivedirectionReconoise2->Clone(
"twod1");
20466 for (
int jphi = 0; jphi <
nphi; jphi++) {
20467 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20469 HFpositivedirectionReconoise2->Fill(jphi, ccc1);
20473 if (ccctest > 0.) {
20475 c3x5->cd(kcountHFpositivedirectionReconoise2);
20476 HFpositivedirectionReconoise2->SetMarkerStyle(20);
20477 HFpositivedirectionReconoise2->SetMarkerSize(0.4);
20478 HFpositivedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
20479 HFpositivedirectionReconoise2->SetXTitle(
"HFpositivedirectionReconoise2 \b");
20480 HFpositivedirectionReconoise2->SetMarkerColor(2);
20481 HFpositivedirectionReconoise2->SetLineColor(0);
20485 if (kcountHFpositivedirectionReconoise2 == 1)
20486 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 28; depth = 2 \b");
20487 if (kcountHFpositivedirectionReconoise2 == 2)
20488 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 29; depth = 2 \b");
20489 if (kcountHFpositivedirectionReconoise2 == 3)
20490 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 30; depth = 2 \b");
20491 if (kcountHFpositivedirectionReconoise2 == 4)
20492 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 31; depth = 2 \b");
20493 if (kcountHFpositivedirectionReconoise2 == 5)
20494 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 32; depth = 2 \b");
20495 if (kcountHFpositivedirectionReconoise2 == 6)
20496 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 33; depth = 2 \b");
20497 if (kcountHFpositivedirectionReconoise2 == 7)
20498 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 34; depth = 2 \b");
20499 if (kcountHFpositivedirectionReconoise2 == 8)
20500 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 35; depth = 2 \b");
20501 if (kcountHFpositivedirectionReconoise2 == 9)
20502 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 36; depth = 2 \b");
20503 if (kcountHFpositivedirectionReconoise2 == 10)
20504 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 37; depth = 2 \b");
20505 if (kcountHFpositivedirectionReconoise2 == 11)
20506 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 38; depth = 2 \b");
20507 if (kcountHFpositivedirectionReconoise2 == 12)
20508 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 39; depth = 2 \b");
20509 if (kcountHFpositivedirectionReconoise2 == 13)
20510 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 40; depth = 2 \b");
20511 HFpositivedirectionReconoise2->Draw(
"Error");
20512 kcountHFpositivedirectionReconoise2++;
20513 if (kcountHFpositivedirectionReconoise2 > 13)
20522 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png");
20525 if (h2CeffHFpositivedirectionReconoise2)
20526 delete h2CeffHFpositivedirectionReconoise2;
20534 c3x5->Divide(3, 5);
20536 int kcountHFnegativedirectionReconoise1 = 1;
20537 TH1F *h2CeffHFnegativedirectionReconoise1 =
new TH1F(
"h2CeffHFnegativedirectionReconoise1",
"",
nphi, 0., 72.);
20540 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
20543 for (
int i = 0;
i < 1;
i++) {
20544 TH1F *HFnegativedirectionReconoise1 = (TH1F *)h2CeffHFnegativedirectionReconoise1->Clone(
"twod1");
20546 for (
int jphi = 0; jphi <
nphi; jphi++) {
20547 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20549 HFnegativedirectionReconoise1->Fill(jphi, ccc1);
20553 if (ccctest > 0.) {
20555 c3x5->cd(kcountHFnegativedirectionReconoise1);
20556 HFnegativedirectionReconoise1->SetMarkerStyle(20);
20557 HFnegativedirectionReconoise1->SetMarkerSize(0.4);
20558 HFnegativedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
20559 HFnegativedirectionReconoise1->SetXTitle(
"HFnegativedirectionReconoise1 \b");
20560 HFnegativedirectionReconoise1->SetMarkerColor(2);
20561 HFnegativedirectionReconoise1->SetLineColor(0);
20565 if (kcountHFnegativedirectionReconoise1 == 1)
20566 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-41; depth = 1 \b");
20567 if (kcountHFnegativedirectionReconoise1 == 2)
20568 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-40; depth = 1 \b");
20569 if (kcountHFnegativedirectionReconoise1 == 3)
20570 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-39; depth = 1 \b");
20571 if (kcountHFnegativedirectionReconoise1 == 4)
20572 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-38; depth = 1 \b");
20573 if (kcountHFnegativedirectionReconoise1 == 5)
20574 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-37; depth = 1 \b");
20575 if (kcountHFnegativedirectionReconoise1 == 6)
20576 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-36; depth = 1 \b");
20577 if (kcountHFnegativedirectionReconoise1 == 7)
20578 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-35; depth = 1 \b");
20579 if (kcountHFnegativedirectionReconoise1 == 8)
20580 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-34; depth = 1 \b");
20581 if (kcountHFnegativedirectionReconoise1 == 9)
20582 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-33; depth = 1 \b");
20583 if (kcountHFnegativedirectionReconoise1 == 10)
20584 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-32; depth = 1 \b");
20585 if (kcountHFnegativedirectionReconoise1 == 11)
20586 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-31; depth = 1 \b");
20587 if (kcountHFnegativedirectionReconoise1 == 12)
20588 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-30; depth = 1 \b");
20589 if (kcountHFnegativedirectionReconoise1 == 13)
20590 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-29; depth = 1 \b");
20591 HFnegativedirectionReconoise1->Draw(
"Error");
20592 kcountHFnegativedirectionReconoise1++;
20593 if (kcountHFnegativedirectionReconoise1 > 13)
20602 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
20605 if (h2CeffHFnegativedirectionReconoise1)
20606 delete h2CeffHFnegativedirectionReconoise1;
20614 c3x5->Divide(3, 5);
20616 int kcountHFnegativedirectionReconoise2 = 1;
20617 TH1F *h2CeffHFnegativedirectionReconoise2 =
new TH1F(
"h2CeffHFnegativedirectionReconoise2",
"",
nphi, 0., 72.);
20620 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
20623 for (
int i = 1;
i < 2;
i++) {
20624 TH1F *HFnegativedirectionReconoise2 = (TH1F *)h2CeffHFnegativedirectionReconoise2->Clone(
"twod1");
20626 for (
int jphi = 0; jphi <
nphi; jphi++) {
20627 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20629 HFnegativedirectionReconoise2->Fill(jphi, ccc1);
20633 if (ccctest > 0.) {
20635 c3x5->cd(kcountHFnegativedirectionReconoise2);
20636 HFnegativedirectionReconoise2->SetMarkerStyle(20);
20637 HFnegativedirectionReconoise2->SetMarkerSize(0.4);
20638 HFnegativedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
20639 HFnegativedirectionReconoise2->SetXTitle(
"HFnegativedirectionReconoise2 \b");
20640 HFnegativedirectionReconoise2->SetMarkerColor(2);
20641 HFnegativedirectionReconoise2->SetLineColor(0);
20645 if (kcountHFnegativedirectionReconoise2 == 1)
20646 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-41; depth = 2 \b");
20647 if (kcountHFnegativedirectionReconoise2 == 2)
20648 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-40; depth = 2 \b");
20649 if (kcountHFnegativedirectionReconoise2 == 3)
20650 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-39; depth = 2 \b");
20651 if (kcountHFnegativedirectionReconoise2 == 4)
20652 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-38; depth = 2 \b");
20653 if (kcountHFnegativedirectionReconoise2 == 5)
20654 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-37; depth = 2 \b");
20655 if (kcountHFnegativedirectionReconoise2 == 6)
20656 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-36; depth = 2 \b");
20657 if (kcountHFnegativedirectionReconoise2 == 7)
20658 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-35; depth = 2 \b");
20659 if (kcountHFnegativedirectionReconoise2 == 8)
20660 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-34; depth = 2 \b");
20661 if (kcountHFnegativedirectionReconoise2 == 9)
20662 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-33; depth = 2 \b");
20663 if (kcountHFnegativedirectionReconoise2 == 10)
20664 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-32; depth = 2 \b");
20665 if (kcountHFnegativedirectionReconoise2 == 11)
20666 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-31; depth = 2 \b");
20667 if (kcountHFnegativedirectionReconoise2 == 12)
20668 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-30; depth = 2 \b");
20669 if (kcountHFnegativedirectionReconoise2 == 13)
20670 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-20; depth = 2 \b");
20671 HFnegativedirectionReconoise2->Draw(
"Error");
20672 kcountHFnegativedirectionReconoise2++;
20673 if (kcountHFnegativedirectionReconoise2 > 13)
20682 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
20685 if (h2CeffHFnegativedirectionReconoise2)
20686 delete h2CeffHFnegativedirectionReconoise2;
20696 c2x1->Divide(2, 1);
20698 TH2F *GefzDIFreconoiseHF42D =
new TH2F(
"GefzDIFreconoiseHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
20699 TH2F *GefzDIFreconoiseHF42D0 =
new TH2F(
"GefzDIFreconoiseHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
20700 TH2F *GefzDIFreconoiseHF42DF = (TH2F *)GefzDIFreconoiseHF42D0->Clone(
"GefzDIFreconoiseHF42DF");
20703 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
20704 for (
int jphi = 0; jphi <
nphi; jphi++) {
20705 double ccc1 = breconoiseHF[
i][
jeta][jphi];
20706 int k2plot =
jeta - 41;
20709 GefzDIFreconoiseHF42D->Fill(kkk, jphi, ccc1);
20710 GefzDIFreconoiseHF42D0->Fill(kkk, jphi, 1.);
20716 GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D, GefzDIFreconoiseHF42D0, 1, 1,
"B");
20719 GefzDIFreconoiseHF42DF->SetXTitle(
"<DIF>_depth #eta \b");
20720 GefzDIFreconoiseHF42DF->SetYTitle(
" #phi \b");
20721 GefzDIFreconoiseHF42DF->Draw(
"COLZ");
20729 c2x1->Print(
"DIFreconoiseGeneralD2PhiSymmetryHF.png");
20732 if (GefzDIFreconoiseHF42D)
20733 delete GefzDIFreconoiseHF42D;
20734 if (GefzDIFreconoiseHF42D0)
20735 delete GefzDIFreconoiseHF42D0;
20736 if (GefzDIFreconoiseHF42DF)
20737 delete GefzDIFreconoiseHF42DF;
20743 c1x1->Divide(1, 1);
20745 TH1F *GefzDIFreconoiseHF41D =
new TH1F(
"GefzDIFreconoiseHF41D",
"",
nphi, 0., 72.);
20746 TH1F *GefzDIFreconoiseHF41D0 =
new TH1F(
"GefzDIFreconoiseHF41D0",
"",
nphi, 0., 72.);
20747 TH1F *GefzDIFreconoiseHF41DF = (TH1F *)GefzDIFreconoiseHF41D0->Clone(
"GefzDIFreconoiseHF41DF");
20748 for (
int jphi = 0; jphi <
nphi; jphi++) {
20750 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
20752 double ccc1 = breconoiseHF[
i][
jeta][jphi];
20754 GefzDIFreconoiseHF41D->Fill(jphi, ccc1);
20755 GefzDIFreconoiseHF41D0->Fill(jphi, 1.);
20761 GefzDIFreconoiseHF41DF->Divide(
20762 GefzDIFreconoiseHF41D, GefzDIFreconoiseHF41D0, 1, 1,
"B");
20763 GefzDIFreconoiseHF41D0->Sumw2();
20767 GefzDIFreconoiseHF41DF->SetMarkerStyle(20);
20768 GefzDIFreconoiseHF41DF->SetMarkerSize(1.4);
20769 GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08);
20770 GefzDIFreconoiseHF41DF->SetXTitle(
"#phi \b");
20771 GefzDIFreconoiseHF41DF->SetYTitle(
" <DIF> \b");
20772 GefzDIFreconoiseHF41DF->SetZTitle(
"<DIF>_PHI - AllDepthfs \b");
20773 GefzDIFreconoiseHF41DF->SetMarkerColor(4);
20774 GefzDIFreconoiseHF41DF->SetLineColor(
20776 GefzDIFreconoiseHF41DF->Draw(
"Error");
20779 c1x1->Print(
"DIFreconoiseGeneralD1PhiSymmetryHF.png");
20782 if (GefzDIFreconoiseHF41D)
20783 delete GefzDIFreconoiseHF41D;
20784 if (GefzDIFreconoiseHF41D0)
20785 delete GefzDIFreconoiseHF41D0;
20786 if (GefzDIFreconoiseHF41DF)
20787 delete GefzDIFreconoiseHF41DF;
20794 c3x5->Divide(3, 5);
20796 int kcountHFpositivedirectionReconoiseDIF1 = 1;
20797 TH1F *h2CeffHFpositivedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHFpositivedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
20800 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
20803 for (
int i = 0;
i < 1;
i++) {
20804 TH1F *HFpositivedirectionReconoiseDIF1 = (TH1F *)h2CeffHFpositivedirectionReconoiseDIF1->Clone(
"twod1");
20806 for (
int jphi = 0; jphi <
nphi; jphi++) {
20807 double ccc1 = breconoiseHF[
i][
jeta][jphi];
20809 HFpositivedirectionReconoiseDIF1->Fill(jphi, ccc1);
20813 if (ccctest > 0.) {
20815 c3x5->cd(kcountHFpositivedirectionReconoiseDIF1);
20816 HFpositivedirectionReconoiseDIF1->SetMarkerStyle(20);
20817 HFpositivedirectionReconoiseDIF1->SetMarkerSize(0.4);
20818 HFpositivedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
20819 HFpositivedirectionReconoiseDIF1->SetXTitle(
"HFpositivedirectionReconoiseDIF1 \b");
20820 HFpositivedirectionReconoiseDIF1->SetMarkerColor(2);
20821 HFpositivedirectionReconoiseDIF1->SetLineColor(0);
20825 if (kcountHFpositivedirectionReconoiseDIF1 == 1)
20826 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 28; depth = 1 \b");
20827 if (kcountHFpositivedirectionReconoiseDIF1 == 2)
20828 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 29; depth = 1 \b");
20829 if (kcountHFpositivedirectionReconoiseDIF1 == 3)
20830 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 30; depth = 1 \b");
20831 if (kcountHFpositivedirectionReconoiseDIF1 == 4)
20832 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 31; depth = 1 \b");
20833 if (kcountHFpositivedirectionReconoiseDIF1 == 5)
20834 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 32; depth = 1 \b");
20835 if (kcountHFpositivedirectionReconoiseDIF1 == 6)
20836 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 33; depth = 1 \b");
20837 if (kcountHFpositivedirectionReconoiseDIF1 == 7)
20838 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 34; depth = 1 \b");
20839 if (kcountHFpositivedirectionReconoiseDIF1 == 8)
20840 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 35; depth = 1 \b");
20841 if (kcountHFpositivedirectionReconoiseDIF1 == 9)
20842 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 36; depth = 1 \b");
20843 if (kcountHFpositivedirectionReconoiseDIF1 == 10)
20844 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 37; depth = 1 \b");
20845 if (kcountHFpositivedirectionReconoiseDIF1 == 11)
20846 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 38; depth = 1 \b");
20847 if (kcountHFpositivedirectionReconoiseDIF1 == 12)
20848 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 39; depth = 1 \b");
20849 if (kcountHFpositivedirectionReconoiseDIF1 == 13)
20850 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 40; depth = 1 \b");
20851 HFpositivedirectionReconoiseDIF1->Draw(
"Error");
20852 kcountHFpositivedirectionReconoiseDIF1++;
20853 if (kcountHFpositivedirectionReconoiseDIF1 > 13)
20862 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png");
20865 if (h2CeffHFpositivedirectionReconoiseDIF1)
20866 delete h2CeffHFpositivedirectionReconoiseDIF1;
20874 c3x5->Divide(3, 5);
20876 int kcountHFpositivedirectionReconoiseDIF2 = 1;
20877 TH1F *h2CeffHFpositivedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHFpositivedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
20880 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
20883 for (
int i = 1;
i < 2;
i++) {
20884 TH1F *HFpositivedirectionReconoiseDIF2 = (TH1F *)h2CeffHFpositivedirectionReconoiseDIF2->Clone(
"twod1");
20886 for (
int jphi = 0; jphi <
nphi; jphi++) {
20887 double ccc1 = breconoiseHF[
i][
jeta][jphi];
20889 HFpositivedirectionReconoiseDIF2->Fill(jphi, ccc1);
20893 if (ccctest > 0.) {
20895 c3x5->cd(kcountHFpositivedirectionReconoiseDIF2);
20896 HFpositivedirectionReconoiseDIF2->SetMarkerStyle(20);
20897 HFpositivedirectionReconoiseDIF2->SetMarkerSize(0.4);
20898 HFpositivedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
20899 HFpositivedirectionReconoiseDIF2->SetXTitle(
"HFpositivedirectionReconoiseDIF2 \b");
20900 HFpositivedirectionReconoiseDIF2->SetMarkerColor(2);
20901 HFpositivedirectionReconoiseDIF2->SetLineColor(0);
20905 if (kcountHFpositivedirectionReconoiseDIF2 == 1)
20906 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 28; depth = 2 \b");
20907 if (kcountHFpositivedirectionReconoiseDIF2 == 2)
20908 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 29; depth = 2 \b");
20909 if (kcountHFpositivedirectionReconoiseDIF2 == 3)
20910 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 30; depth = 2 \b");
20911 if (kcountHFpositivedirectionReconoiseDIF2 == 4)
20912 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 31; depth = 2 \b");
20913 if (kcountHFpositivedirectionReconoiseDIF2 == 5)
20914 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 32; depth = 2 \b");
20915 if (kcountHFpositivedirectionReconoiseDIF2 == 6)
20916 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 33; depth = 2 \b");
20917 if (kcountHFpositivedirectionReconoiseDIF2 == 7)
20918 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 34; depth = 2 \b");
20919 if (kcountHFpositivedirectionReconoiseDIF2 == 8)
20920 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 35; depth = 2 \b");
20921 if (kcountHFpositivedirectionReconoiseDIF2 == 9)
20922 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 36; depth = 2 \b");
20923 if (kcountHFpositivedirectionReconoiseDIF2 == 10)
20924 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 37; depth = 2 \b");
20925 if (kcountHFpositivedirectionReconoiseDIF2 == 11)
20926 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 38; depth = 2 \b");
20927 if (kcountHFpositivedirectionReconoiseDIF2 == 12)
20928 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 39; depth = 2 \b");
20929 if (kcountHFpositivedirectionReconoiseDIF2 == 13)
20930 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 40; depth = 2 \b");
20931 HFpositivedirectionReconoiseDIF2->Draw(
"Error");
20932 kcountHFpositivedirectionReconoiseDIF2++;
20933 if (kcountHFpositivedirectionReconoiseDIF2 > 13)
20942 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png");
20945 if (h2CeffHFpositivedirectionReconoiseDIF2)
20946 delete h2CeffHFpositivedirectionReconoiseDIF2;
20954 c3x5->Divide(3, 5);
20956 int kcountHFnegativedirectionReconoiseDIF1 = 1;
20957 TH1F *h2CeffHFnegativedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHFnegativedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
20960 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
20963 for (
int i = 0;
i < 1;
i++) {
20964 TH1F *HFnegativedirectionReconoiseDIF1 = (TH1F *)h2CeffHFnegativedirectionReconoiseDIF1->Clone(
"twod1");
20966 for (
int jphi = 0; jphi <
nphi; jphi++) {
20967 double ccc1 = breconoiseHF[
i][
jeta][jphi];
20969 HFnegativedirectionReconoiseDIF1->Fill(jphi, ccc1);
20973 if (ccctest > 0.) {
20975 c3x5->cd(kcountHFnegativedirectionReconoiseDIF1);
20976 HFnegativedirectionReconoiseDIF1->SetMarkerStyle(20);
20977 HFnegativedirectionReconoiseDIF1->SetMarkerSize(0.4);
20978 HFnegativedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
20979 HFnegativedirectionReconoiseDIF1->SetXTitle(
"HFnegativedirectionReconoiseDIF1 \b");
20980 HFnegativedirectionReconoiseDIF1->SetMarkerColor(2);
20981 HFnegativedirectionReconoiseDIF1->SetLineColor(0);
20985 if (kcountHFnegativedirectionReconoiseDIF1 == 1)
20986 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-41; depth = 1 \b");
20987 if (kcountHFnegativedirectionReconoiseDIF1 == 2)
20988 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-40; depth = 1 \b");
20989 if (kcountHFnegativedirectionReconoiseDIF1 == 3)
20990 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-39; depth = 1 \b");
20991 if (kcountHFnegativedirectionReconoiseDIF1 == 4)
20992 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-38; depth = 1 \b");
20993 if (kcountHFnegativedirectionReconoiseDIF1 == 5)
20994 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-37; depth = 1 \b");
20995 if (kcountHFnegativedirectionReconoiseDIF1 == 6)
20996 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-36; depth = 1 \b");
20997 if (kcountHFnegativedirectionReconoiseDIF1 == 7)
20998 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-35; depth = 1 \b");
20999 if (kcountHFnegativedirectionReconoiseDIF1 == 8)
21000 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-34; depth = 1 \b");
21001 if (kcountHFnegativedirectionReconoiseDIF1 == 9)
21002 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-33; depth = 1 \b");
21003 if (kcountHFnegativedirectionReconoiseDIF1 == 10)
21004 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-32; depth = 1 \b");
21005 if (kcountHFnegativedirectionReconoiseDIF1 == 11)
21006 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-31; depth = 1 \b");
21007 if (kcountHFnegativedirectionReconoiseDIF1 == 12)
21008 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-30; depth = 1 \b");
21009 if (kcountHFnegativedirectionReconoiseDIF1 == 13)
21010 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-29; depth = 1 \b");
21011 HFnegativedirectionReconoiseDIF1->Draw(
"Error");
21012 kcountHFnegativedirectionReconoiseDIF1++;
21013 if (kcountHFnegativedirectionReconoiseDIF1 > 13)
21022 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
21025 if (h2CeffHFnegativedirectionReconoiseDIF1)
21026 delete h2CeffHFnegativedirectionReconoiseDIF1;
21034 c3x5->Divide(3, 5);
21036 int kcountHFnegativedirectionReconoiseDIF2 = 1;
21037 TH1F *h2CeffHFnegativedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHFnegativedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
21040 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
21043 for (
int i = 1;
i < 2;
i++) {
21044 TH1F *HFnegativedirectionReconoiseDIF2 = (TH1F *)h2CeffHFnegativedirectionReconoiseDIF2->Clone(
"twod1");
21046 for (
int jphi = 0; jphi <
nphi; jphi++) {
21047 double ccc1 = breconoiseHF[
i][
jeta][jphi];
21049 HFnegativedirectionReconoiseDIF2->Fill(jphi, ccc1);
21053 if (ccctest > 0.) {
21055 c3x5->cd(kcountHFnegativedirectionReconoiseDIF2);
21056 HFnegativedirectionReconoiseDIF2->SetMarkerStyle(20);
21057 HFnegativedirectionReconoiseDIF2->SetMarkerSize(0.4);
21058 HFnegativedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
21059 HFnegativedirectionReconoiseDIF2->SetXTitle(
"HFnegativedirectionReconoiseDIF2 \b");
21060 HFnegativedirectionReconoiseDIF2->SetMarkerColor(2);
21061 HFnegativedirectionReconoiseDIF2->SetLineColor(0);
21065 if (kcountHFnegativedirectionReconoiseDIF2 == 1)
21066 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-41; depth = 2 \b");
21067 if (kcountHFnegativedirectionReconoiseDIF2 == 2)
21068 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-40; depth = 2 \b");
21069 if (kcountHFnegativedirectionReconoiseDIF2 == 3)
21070 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-39; depth = 2 \b");
21071 if (kcountHFnegativedirectionReconoiseDIF2 == 4)
21072 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-38; depth = 2 \b");
21073 if (kcountHFnegativedirectionReconoiseDIF2 == 5)
21074 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-37; depth = 2 \b");
21075 if (kcountHFnegativedirectionReconoiseDIF2 == 6)
21076 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-36; depth = 2 \b");
21077 if (kcountHFnegativedirectionReconoiseDIF2 == 7)
21078 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-35; depth = 2 \b");
21079 if (kcountHFnegativedirectionReconoiseDIF2 == 8)
21080 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-34; depth = 2 \b");
21081 if (kcountHFnegativedirectionReconoiseDIF2 == 9)
21082 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-33; depth = 2 \b");
21083 if (kcountHFnegativedirectionReconoiseDIF2 == 10)
21084 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-32; depth = 2 \b");
21085 if (kcountHFnegativedirectionReconoiseDIF2 == 11)
21086 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-31; depth = 2 \b");
21087 if (kcountHFnegativedirectionReconoiseDIF2 == 12)
21088 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-30; depth = 2 \b");
21089 if (kcountHFnegativedirectionReconoiseDIF2 == 13)
21090 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-20; depth = 2 \b");
21091 HFnegativedirectionReconoiseDIF2->Draw(
"Error");
21092 kcountHFnegativedirectionReconoiseDIF2++;
21093 if (kcountHFnegativedirectionReconoiseDIF2 > 13)
21102 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
21105 if (h2CeffHFnegativedirectionReconoiseDIF2)
21106 delete h2CeffHFnegativedirectionReconoiseDIF2;
21118 TH2F *reconoiseVariance1HF1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HF1");
21119 TH2F *reconoiseVariance0HF1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HF1");
21120 TH2F *reconoiseVarianceHF1 = (TH2F *)reconoiseVariance1HF1->Clone(
"reconoiseVarianceHF1");
21121 reconoiseVarianceHF1->Divide(reconoiseVariance1HF1, reconoiseVariance0HF1, 1, 1,
"B");
21122 TH2F *reconoiseVariance1HF2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HF2");
21123 TH2F *reconoiseVariance0HF2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HF2");
21124 TH2F *reconoiseVarianceHF2 = (TH2F *)reconoiseVariance1HF2->Clone(
"reconoiseVarianceHF2");
21125 reconoiseVarianceHF2->Divide(reconoiseVariance1HF2, reconoiseVariance0HF2, 1, 1,
"B");
21130 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
21132 double sumreconoiseHF0 = 0;
21133 int nsumreconoiseHF0 = 0;
21134 double sumreconoiseHF1 = 0;
21135 int nsumreconoiseHF1 = 0;
21136 for (
int jphi = 0; jphi < njphi; jphi++) {
21137 reconoisevarianceHF[0][
jeta][jphi] = reconoiseVarianceHF1->GetBinContent(
jeta + 1, jphi + 1);
21138 reconoisevarianceHF[1][
jeta][jphi] = reconoiseVarianceHF2->GetBinContent(
jeta + 1, jphi + 1);
21139 sumreconoiseHF0 += reconoisevarianceHF[0][
jeta][jphi];
21140 ++nsumreconoiseHF0;
21141 sumreconoiseHF1 += reconoisevarianceHF[1][
jeta][jphi];
21142 ++nsumreconoiseHF1;
21145 for (
int jphi = 0; jphi < njphi; jphi++) {
21146 if (reconoisevarianceHF[0][
jeta][jphi] != 0.)
21147 reconoisevarianceHF[0][
jeta][jphi] /= (sumreconoiseHF0 / nsumreconoiseHF0);
21148 if (reconoisevarianceHF[1][
jeta][jphi] != 0.)
21149 reconoisevarianceHF[1][
jeta][jphi] /= (sumreconoiseHF1 / nsumreconoiseHF1);
21152 for (
int jphi = 0; jphi < njphi; jphi++) {
21154 reconoisevarianceHF[0][
jeta][jphi] -= areconoiseHF[0][
jeta][jphi] * areconoiseHF[0][
jeta][jphi];
21155 reconoisevarianceHF[0][
jeta][jphi] = fabs(reconoisevarianceHF[0][
jeta][jphi]);
21156 reconoisevarianceHF[1][
jeta][jphi] -= areconoiseHF[1][
jeta][jphi] * areconoiseHF[1][
jeta][jphi];
21157 reconoisevarianceHF[1][
jeta][jphi] = fabs(reconoisevarianceHF[1][
jeta][jphi]);
21168 c1x0->Divide(1, 1);
21170 TH2F *DefzDreconoiseHF42D =
new TH2F(
"DefzDreconoiseHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
21171 TH2F *DefzDreconoiseHF42D0 =
new TH2F(
"DefzDreconoiseHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
21172 TH2F *DefzDreconoiseHF42DF = (TH2F *)DefzDreconoiseHF42D0->Clone(
"DefzDreconoiseHF42DF");
21175 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
21176 for (
int jphi = 0; jphi <
nphi; jphi++) {
21177 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21178 int k2plot =
jeta - 41;
21180 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21181 DefzDreconoiseHF42D->Fill(kkk, jphi, ccc1);
21182 DefzDreconoiseHF42D0->Fill(kkk, jphi, 1.);
21188 DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D, DefzDreconoiseHF42D0, 1, 1,
"B");
21192 DefzDreconoiseHF42DF->SetMarkerStyle(20);
21193 DefzDreconoiseHF42DF->SetMarkerSize(0.4);
21194 DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08);
21195 DefzDreconoiseHF42DF->SetXTitle(
"<D>_depth #eta \b");
21196 DefzDreconoiseHF42DF->SetYTitle(
" #phi \b");
21197 DefzDreconoiseHF42DF->SetZTitle(
"<D>_depth \b");
21198 DefzDreconoiseHF42DF->SetMarkerColor(2);
21199 DefzDreconoiseHF42DF->SetLineColor(
21201 DefzDreconoiseHF42DF->Draw(
"COLZ");
21204 c1x0->Print(
"DreconoiseGeneralD2PhiSymmetryHF.png");
21207 if (DefzDreconoiseHF42D)
21208 delete DefzDreconoiseHF42D;
21209 if (DefzDreconoiseHF42D0)
21210 delete DefzDreconoiseHF42D0;
21211 if (DefzDreconoiseHF42DF)
21212 delete DefzDreconoiseHF42DF;
21218 c1x1->Divide(1, 1);
21220 TH1F *DefzDreconoiseHF41D =
new TH1F(
"DefzDreconoiseHF41D",
"",
nphi, 0., 72.);
21221 TH1F *DefzDreconoiseHF41D0 =
new TH1F(
"DefzDreconoiseHF41D0",
"",
nphi, 0., 72.);
21222 TH1F *DefzDreconoiseHF41DF = (TH1F *)DefzDreconoiseHF41D0->Clone(
"DefzDreconoiseHF41DF");
21224 for (
int jphi = 0; jphi <
nphi; jphi++) {
21226 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
21228 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21229 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21230 DefzDreconoiseHF41D->Fill(jphi, ccc1);
21231 DefzDreconoiseHF41D0->Fill(jphi, 1.);
21239 DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D, DefzDreconoiseHF41D0, 1, 1,
"B");
21240 DefzDreconoiseHF41D0->Sumw2();
21244 DefzDreconoiseHF41DF->SetMarkerStyle(20);
21245 DefzDreconoiseHF41DF->SetMarkerSize(1.4);
21246 DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08);
21247 DefzDreconoiseHF41DF->SetXTitle(
"#phi \b");
21248 DefzDreconoiseHF41DF->SetYTitle(
" <D> \b");
21249 DefzDreconoiseHF41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
21250 DefzDreconoiseHF41DF->SetMarkerColor(4);
21251 DefzDreconoiseHF41DF->SetLineColor(
21253 DefzDreconoiseHF41DF->Draw(
"Error");
21256 c1x1->Print(
"DreconoiseGeneralD1PhiSymmetryHF.png");
21259 if (DefzDreconoiseHF41D)
21260 delete DefzDreconoiseHF41D;
21261 if (DefzDreconoiseHF41D0)
21262 delete DefzDreconoiseHF41D0;
21263 if (DefzDreconoiseHF41DF)
21264 delete DefzDreconoiseHF41DF;
21271 c3x5->Divide(3, 5);
21273 int kcountHFpositivedirectionReconoiseD1 = 1;
21274 TH1F *h2CeffHFpositivedirectionReconoiseD1 =
new TH1F(
"h2CeffHFpositivedirectionReconoiseD1",
"",
nphi, 0., 72.);
21278 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
21281 for (
int i = 0;
i < 1;
i++) {
21282 TH1F *HFpositivedirectionReconoiseD1 = (TH1F *)h2CeffHFpositivedirectionReconoiseD1->Clone(
"twod1");
21285 for (
int jphi = 0; jphi <
nphi; jphi++) {
21286 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21287 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21288 HFpositivedirectionReconoiseD1->Fill(jphi, ccc1);
21292 if (ccctest > 0.) {
21294 c3x5->cd(kcountHFpositivedirectionReconoiseD1);
21295 HFpositivedirectionReconoiseD1->SetMarkerStyle(20);
21296 HFpositivedirectionReconoiseD1->SetMarkerSize(0.4);
21297 HFpositivedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
21298 HFpositivedirectionReconoiseD1->SetXTitle(
"HFpositivedirectionReconoiseD1 \b");
21299 HFpositivedirectionReconoiseD1->SetMarkerColor(2);
21300 HFpositivedirectionReconoiseD1->SetLineColor(0);
21304 if (kcountHFpositivedirectionReconoiseD1 == 1)
21305 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 28; depth = 1 \b");
21306 if (kcountHFpositivedirectionReconoiseD1 == 2)
21307 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 29; depth = 1 \b");
21308 if (kcountHFpositivedirectionReconoiseD1 == 3)
21309 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 30; depth = 1 \b");
21310 if (kcountHFpositivedirectionReconoiseD1 == 4)
21311 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 31; depth = 1 \b");
21312 if (kcountHFpositivedirectionReconoiseD1 == 5)
21313 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 32; depth = 1 \b");
21314 if (kcountHFpositivedirectionReconoiseD1 == 6)
21315 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 33; depth = 1 \b");
21316 if (kcountHFpositivedirectionReconoiseD1 == 7)
21317 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 34; depth = 1 \b");
21318 if (kcountHFpositivedirectionReconoiseD1 == 8)
21319 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 35; depth = 1 \b");
21320 if (kcountHFpositivedirectionReconoiseD1 == 9)
21321 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 36; depth = 1 \b");
21322 if (kcountHFpositivedirectionReconoiseD1 == 10)
21323 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 37; depth = 1 \b");
21324 if (kcountHFpositivedirectionReconoiseD1 == 11)
21325 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 38; depth = 1 \b");
21326 if (kcountHFpositivedirectionReconoiseD1 == 12)
21327 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 39; depth = 1 \b");
21328 if (kcountHFpositivedirectionReconoiseD1 == 13)
21329 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 40; depth = 1 \b");
21330 HFpositivedirectionReconoiseD1->Draw(
"Error");
21331 kcountHFpositivedirectionReconoiseD1++;
21332 if (kcountHFpositivedirectionReconoiseD1 > 13)
21341 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png");
21344 if (h2CeffHFpositivedirectionReconoiseD1)
21345 delete h2CeffHFpositivedirectionReconoiseD1;
21351 c3x5->Divide(3, 5);
21353 int kcountHFpositivedirectionReconoiseD2 = 1;
21354 TH1F *h2CeffHFpositivedirectionReconoiseD2 =
new TH1F(
"h2CeffHFpositivedirectionReconoiseD2",
"",
nphi, 0., 72.);
21358 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
21361 for (
int i = 1;
i < 2;
i++) {
21362 TH1F *HFpositivedirectionReconoiseD2 = (TH1F *)h2CeffHFpositivedirectionReconoiseD2->Clone(
"twod1");
21365 for (
int jphi = 0; jphi <
nphi; jphi++) {
21366 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21367 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21368 HFpositivedirectionReconoiseD2->Fill(jphi, ccc1);
21372 if (ccctest > 0.) {
21374 c3x5->cd(kcountHFpositivedirectionReconoiseD2);
21375 HFpositivedirectionReconoiseD2->SetMarkerStyle(20);
21376 HFpositivedirectionReconoiseD2->SetMarkerSize(0.4);
21377 HFpositivedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
21378 HFpositivedirectionReconoiseD2->SetXTitle(
"HFpositivedirectionReconoiseD2 \b");
21379 HFpositivedirectionReconoiseD2->SetMarkerColor(2);
21380 HFpositivedirectionReconoiseD2->SetLineColor(0);
21384 if (kcountHFpositivedirectionReconoiseD2 == 1)
21385 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 28; depth = 2 \b");
21386 if (kcountHFpositivedirectionReconoiseD2 == 2)
21387 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 29; depth = 2 \b");
21388 if (kcountHFpositivedirectionReconoiseD2 == 3)
21389 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 30; depth = 2 \b");
21390 if (kcountHFpositivedirectionReconoiseD2 == 4)
21391 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 31; depth = 2 \b");
21392 if (kcountHFpositivedirectionReconoiseD2 == 5)
21393 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 32; depth = 2 \b");
21394 if (kcountHFpositivedirectionReconoiseD2 == 6)
21395 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 33; depth = 2 \b");
21396 if (kcountHFpositivedirectionReconoiseD2 == 7)
21397 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 34; depth = 2 \b");
21398 if (kcountHFpositivedirectionReconoiseD2 == 8)
21399 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 35; depth = 2 \b");
21400 if (kcountHFpositivedirectionReconoiseD2 == 9)
21401 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 36; depth = 2 \b");
21402 if (kcountHFpositivedirectionReconoiseD2 == 10)
21403 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 37; depth = 2 \b");
21404 if (kcountHFpositivedirectionReconoiseD2 == 11)
21405 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 38; depth = 2 \b");
21406 if (kcountHFpositivedirectionReconoiseD2 == 12)
21407 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 39; depth = 2 \b");
21408 if (kcountHFpositivedirectionReconoiseD2 == 13)
21409 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 40; depth = 2 \b");
21410 HFpositivedirectionReconoiseD2->Draw(
"Error");
21411 kcountHFpositivedirectionReconoiseD2++;
21412 if (kcountHFpositivedirectionReconoiseD2 > 13)
21421 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png");
21424 if (h2CeffHFpositivedirectionReconoiseD2)
21425 delete h2CeffHFpositivedirectionReconoiseD2;
21432 c3x5->Divide(3, 5);
21434 int kcountHFnegativedirectionReconoiseD1 = 1;
21435 TH1F *h2CeffHFnegativedirectionReconoiseD1 =
new TH1F(
"h2CeffHFnegativedirectionReconoiseD1",
"",
nphi, 0., 72.);
21439 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
21442 for (
int i = 0;
i < 1;
i++) {
21443 TH1F *HFnegativedirectionReconoiseD1 = (TH1F *)h2CeffHFnegativedirectionReconoiseD1->Clone(
"twod1");
21446 for (
int jphi = 0; jphi <
nphi; jphi++) {
21447 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21448 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21449 HFnegativedirectionReconoiseD1->Fill(jphi, ccc1);
21453 if (ccctest > 0.) {
21455 c3x5->cd(kcountHFnegativedirectionReconoiseD1);
21456 HFnegativedirectionReconoiseD1->SetMarkerStyle(20);
21457 HFnegativedirectionReconoiseD1->SetMarkerSize(0.4);
21458 HFnegativedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
21459 HFnegativedirectionReconoiseD1->SetXTitle(
"HFnegativedirectionReconoiseD1 \b");
21460 HFnegativedirectionReconoiseD1->SetMarkerColor(2);
21461 HFnegativedirectionReconoiseD1->SetLineColor(0);
21465 if (kcountHFnegativedirectionReconoiseD1 == 1)
21466 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-41; depth = 1 \b");
21467 if (kcountHFnegativedirectionReconoiseD1 == 2)
21468 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-40; depth = 1 \b");
21469 if (kcountHFnegativedirectionReconoiseD1 == 3)
21470 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-39; depth = 1 \b");
21471 if (kcountHFnegativedirectionReconoiseD1 == 4)
21472 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-38; depth = 1 \b");
21473 if (kcountHFnegativedirectionReconoiseD1 == 5)
21474 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-37; depth = 1 \b");
21475 if (kcountHFnegativedirectionReconoiseD1 == 6)
21476 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-36; depth = 1 \b");
21477 if (kcountHFnegativedirectionReconoiseD1 == 7)
21478 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-35; depth = 1 \b");
21479 if (kcountHFnegativedirectionReconoiseD1 == 8)
21480 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-34; depth = 1 \b");
21481 if (kcountHFnegativedirectionReconoiseD1 == 9)
21482 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-33; depth = 1 \b");
21483 if (kcountHFnegativedirectionReconoiseD1 == 10)
21484 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-32; depth = 1 \b");
21485 if (kcountHFnegativedirectionReconoiseD1 == 11)
21486 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-31; depth = 1 \b");
21487 if (kcountHFnegativedirectionReconoiseD1 == 12)
21488 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-30; depth = 1 \b");
21489 if (kcountHFnegativedirectionReconoiseD1 == 13)
21490 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-29; depth = 1 \b");
21491 HFnegativedirectionReconoiseD1->Draw(
"Error");
21492 kcountHFnegativedirectionReconoiseD1++;
21493 if (kcountHFnegativedirectionReconoiseD1 > 13)
21502 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
21505 if (h2CeffHFnegativedirectionReconoiseD1)
21506 delete h2CeffHFnegativedirectionReconoiseD1;
21512 c3x5->Divide(3, 5);
21514 int kcountHFnegativedirectionReconoiseD2 = 1;
21515 TH1F *h2CeffHFnegativedirectionReconoiseD2 =
new TH1F(
"h2CeffHFnegativedirectionReconoiseD2",
"",
nphi, 0., 72.);
21519 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
21522 for (
int i = 1;
i < 2;
i++) {
21523 TH1F *HFnegativedirectionReconoiseD2 = (TH1F *)h2CeffHFnegativedirectionReconoiseD2->Clone(
"twod1");
21526 for (
int jphi = 0; jphi <
nphi; jphi++) {
21527 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21528 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21529 HFnegativedirectionReconoiseD2->Fill(jphi, ccc1);
21533 if (ccctest > 0.) {
21535 c3x5->cd(kcountHFnegativedirectionReconoiseD2);
21536 HFnegativedirectionReconoiseD2->SetMarkerStyle(20);
21537 HFnegativedirectionReconoiseD2->SetMarkerSize(0.4);
21538 HFnegativedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
21539 HFnegativedirectionReconoiseD2->SetXTitle(
"HFnegativedirectionReconoiseD2 \b");
21540 HFnegativedirectionReconoiseD2->SetMarkerColor(2);
21541 HFnegativedirectionReconoiseD2->SetLineColor(0);
21545 if (kcountHFnegativedirectionReconoiseD2 == 1)
21546 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-41; depth = 2 \b");
21547 if (kcountHFnegativedirectionReconoiseD2 == 2)
21548 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-40; depth = 2 \b");
21549 if (kcountHFnegativedirectionReconoiseD2 == 3)
21550 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-39; depth = 2 \b");
21551 if (kcountHFnegativedirectionReconoiseD2 == 4)
21552 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-38; depth = 2 \b");
21553 if (kcountHFnegativedirectionReconoiseD2 == 5)
21554 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-37; depth = 2 \b");
21555 if (kcountHFnegativedirectionReconoiseD2 == 6)
21556 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-36; depth = 2 \b");
21557 if (kcountHFnegativedirectionReconoiseD2 == 7)
21558 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-35; depth = 2 \b");
21559 if (kcountHFnegativedirectionReconoiseD2 == 8)
21560 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-34; depth = 2 \b");
21561 if (kcountHFnegativedirectionReconoiseD2 == 9)
21562 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-33; depth = 2 \b");
21563 if (kcountHFnegativedirectionReconoiseD2 == 10)
21564 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-32; depth = 2 \b");
21565 if (kcountHFnegativedirectionReconoiseD2 == 11)
21566 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-31; depth = 2 \b");
21567 if (kcountHFnegativedirectionReconoiseD2 == 12)
21568 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-30; depth = 2 \b");
21569 if (kcountHFnegativedirectionReconoiseD2 == 13)
21570 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-29; depth = 2 \b");
21571 HFnegativedirectionReconoiseD2->Draw(
"Error");
21572 kcountHFnegativedirectionReconoiseD2++;
21573 if (kcountHFnegativedirectionReconoiseD2 > 13)
21582 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
21585 if (h2CeffHFnegativedirectionReconoiseD2)
21586 delete h2CeffHFnegativedirectionReconoiseD2;
21600 std::cout <<
" We are here to print 2017 MAPs " << std::endl;
21606 TH2F *Map_ALL =
new TH2F(
"Map_All",
"Map_all", 82, -41, 40, 72, 0, 71);
21607 int nx = Map_ALL->GetXaxis()->GetNbins();
21608 int ny = Map_ALL->GetYaxis()->GetNbins();
21614 int Eta[4][10000] = {0};
21615 int Phi[4][10000] = {0};
21616 int Sub[4][10000] = {0};
21617 int Depth[4][10000] = {0};
21618 string Comment[4][10000] = {
""};
21619 string Text[33] = {
"",
"Cm",
"Am",
"Wm",
"Rm",
"TNm",
"TXm",
"",
"",
"",
"",
"Cc",
"Ac",
"Wc",
"Rc",
"TNc",
"TXc",
21620 "",
"",
"",
"",
"GS",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"Pm",
"pWm"};
21625 for (
int i = 1;
i <= nx;
i++) {
21626 for (
int j = 1;
j <= ny;
j++) {
21627 for (
int sub = 1; sub <= 4; sub++) {
21631 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
21632 if (Map_SUB[sub][
k]->GetBinContent(
i,
j) != 0) {
21633 Map_SUB[sub][
k]->SetBinContent(
i,
j, 0.5);
21634 Map_ALL->SetBinContent(
i,
j, 0.5);
21641 for (
int i = 1;
i <= nx;
i++) {
21642 for (
int j = 1;
j <= ny;
j++) {
21643 for (
int sub = 1; sub <= 4; sub++) {
21647 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
21653 if (Map_Ampl[
test][sub][
k]->GetBinContent(
i,
j) >
21655 Map_ALL->SetBinContent(
i,
j, 1.);
21656 Map_SUB[sub][
k]->SetBinContent(
i,
j, 1.);
21659 Eta[2][NBad] =
i - 41;
21660 Phi[2][NBad] =
j - 1;
21661 Sub[2][NBad] = sub;
21663 Comment[2][NBad] = Text[
test];
21665 Comment[2][NBad] +=
", " + Text[
test];
21712 if (
abs(Map_Ampl[
test][sub][
k]->GetBinContent(
i,
j)) > porog[sub]) {
21713 if (Map_SUB[sub][
k]->GetBinContent(
i,
j) != 1.0)
21714 Map_SUB[sub][
k]->SetBinContent(
i,
j, 0.75);
21715 if (Map_ALL->GetBinContent(
i,
j) != 1.) {
21716 Map_ALL->SetBinContent(
i,
j, 0.75);
21719 Eta[1][NWarn] =
i - 41;
21720 Phi[1][NWarn] =
j - 1;
21721 Sub[1][NWarn] = sub;
21723 Comment[1][NWarn] = Text[
test];
21725 Comment[1][NWarn] +=
", " + Text[
test];
21728 cout <<
"Map_Ampl[" <<
test <<
"][" << sub <<
"][" <<
k <<
"]->GetBinContent(" <<
i <<
"," <<
j 21729 <<
")= " << Map_Ampl[
test][sub][
k]->GetBinContent(
i,
j) << endl;
21736 if (Map_Ampl[
test][sub][
k]->GetBinContent(
i,
j) > 0.1) {
21741 Eta[3][NPed] =
i - 41;
21742 Phi[3][NPed] =
j - 1;
21743 Sub[3][NPed] = sub;
21745 Comment[3][NPed] = Text[
test];
21747 Comment[3][NPed] +=
", " + Text[
test];
21759 for (
int sub = 1; sub <= 4; sub++) {
21761 std::cout <<
" 2017 MAPS_SUB " << sub << std::endl;
21769 cONE->Divide(1, 1);
21776 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
21790 sprintf(
str,
"HB, Depth%d \b",
k);
21792 sprintf(
str,
"HE, Depth%d \b",
k);
21794 sprintf(
str,
"HO, Depth%d \b",
k);
21796 sprintf(
str,
"HF, Depth%d \b",
k);
21797 Map_SUB[sub][
k]->SetTitle(
str);
21798 Map_SUB[sub][
k]->SetXTitle(
"#eta \b");
21799 Map_SUB[sub][
k]->SetYTitle(
"#phi \b");
21800 Map_SUB[sub][
k]->Draw(
"COL");
21801 Map_SUB[sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
21802 Map_SUB[sub][
k]->GetZaxis()->SetRangeUser(0., 1.);
21821 cHB->Print(
"MAPHB.png");
21825 cHE->Print(
"MAPHE.png");
21829 cONE->Print(
"MAPHO.png");
21833 cHF->Print(
"MAPHF.png");
21840 TCanvas *cmain1 =
new TCanvas(
"cmain1",
"MAP", 250, 10, 1450, 1410);
21841 cmain1->Divide(2, 2);
21844 TH1F *JDBEYESJ0 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHBperEvent");
21845 JDBEYESJ0->SetStats(0);
21846 JDBEYESJ0->SetMarkerStyle(20);
21847 JDBEYESJ0->SetMarkerSize(0.8);
21848 JDBEYESJ0->GetYaxis()->SetLabelSize(0.04);
21849 JDBEYESJ0->SetXTitle(
"iEvent \b");
21850 JDBEYESJ0->SetYTitle(
"totalAmplitude perEvent \b");
21851 JDBEYESJ0->SetTitle(
"HB \b");
21852 JDBEYESJ0->SetMarkerColor(2);
21853 JDBEYESJ0->SetLineColor(1);
21854 JDBEYESJ0->SetMinimum(0.8);
21855 JDBEYESJ0->Draw(
"HIST same P0");
21858 TH1F *JDBEYESJ1 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHEperEvent");
21859 JDBEYESJ1->SetStats(0);
21860 JDBEYESJ1->SetMarkerStyle(20);
21861 JDBEYESJ1->SetMarkerSize(0.8);
21862 JDBEYESJ1->GetYaxis()->SetLabelSize(0.04);
21863 JDBEYESJ1->SetXTitle(
"iEvent \b");
21864 JDBEYESJ1->SetYTitle(
"totalAmplitude perEvent \b");
21865 JDBEYESJ1->SetTitle(
"HE \b");
21866 JDBEYESJ1->SetMarkerColor(2);
21867 JDBEYESJ1->SetLineColor(1);
21868 JDBEYESJ1->SetMinimum(0.8);
21869 JDBEYESJ1->Draw(
"HIST same P0");
21872 TH1F *JDBEYESJ2 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHFperEvent");
21873 JDBEYESJ2->SetStats(0);
21874 JDBEYESJ2->SetMarkerStyle(20);
21875 JDBEYESJ2->SetMarkerSize(0.8);
21876 JDBEYESJ2->GetYaxis()->SetLabelSize(0.04);
21877 JDBEYESJ2->SetXTitle(
"iEvent \b");
21878 JDBEYESJ2->SetYTitle(
"totalAmplitude perEvent \b");
21879 JDBEYESJ2->SetTitle(
"HF \b");
21880 JDBEYESJ2->SetMarkerColor(2);
21881 JDBEYESJ2->SetLineColor(1);
21882 JDBEYESJ2->SetMinimum(0.8);
21883 JDBEYESJ2->Draw(
"HIST same P0");
21886 TH1F *JDBEYESJ3 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHOperEvent");
21887 JDBEYESJ3->SetStats(0);
21888 JDBEYESJ3->SetMarkerStyle(20);
21889 JDBEYESJ3->SetMarkerSize(0.8);
21890 JDBEYESJ3->GetYaxis()->SetLabelSize(0.04);
21891 JDBEYESJ3->SetXTitle(
"iEvent \b");
21892 JDBEYESJ3->SetYTitle(
"totalAmplitude perEvent \b");
21893 JDBEYESJ3->SetTitle(
"HO \b");
21894 JDBEYESJ3->SetMarkerColor(2);
21895 JDBEYESJ3->SetLineColor(1);
21896 JDBEYESJ3->SetMinimum(0.8);
21897 JDBEYESJ3->Draw(
"HIST same P0");
21899 cmain1->Modified();
21901 cmain1->Print(
"EVENTDEPENDENCE.png");
21903 std::cout <<
" EVENTDEPENDENCE " << std::endl;
21907 gStyle->SetOptTitle(0);
21908 TCanvas *cmain =
new TCanvas(
"cmain",
"MAP", 1000, 1000);
21913 Map_ALL->SetTitleOffset(1.3,
"Y");
21914 Map_ALL->SetXTitle(
"#eta \b");
21915 Map_ALL->SetYTitle(
"#phi \b");
21916 Map_ALL->Draw(
"COL");
21917 Map_ALL->GetYaxis()->SetRangeUser(0, 72.);
21918 Map_ALL->GetZaxis()->SetRangeUser(0, 1.);
21921 cmain->Print(
"MAP.png");
21923 std::cout <<
"******** MAP_ALL done" << std::endl;
21927 std::cout <<
"************ Start creating each test kind for each subdet html pages:" << std::endl;
21933 std::string raw_class, raw_class1, raw_class2, raw_class3;
21936 for (
int sub = 1; sub <= 4; sub++) {
21937 ofstream htmlFileT, htmlFileC, htmlFileD, htmlFileP, htmlFileS, htmlFileM, htmlFileR, htmlFileN;
21939 htmlFileT.open(
"HB_Tile.html");
21940 htmlFileC.open(
"HB_Calib.html");
21941 htmlFileD.open(
"HB_Drift.html");
21942 htmlFileP.open(
"HB_Pedestals.html");
21943 htmlFileS.open(
"HB_Shapes.html");
21944 htmlFileM.open(
"HB_PhiSymmetryDigi.html");
21945 htmlFileR.open(
"HB_PhiSymmetryRecoSignal.html");
21946 htmlFileN.open(
"HB_PhiSymmetryRecoNoise.html");
21949 htmlFileT.open(
"HE_Tile.html");
21950 htmlFileC.open(
"HE_Calib.html");
21951 htmlFileD.open(
"HE_Drift.html");
21952 htmlFileP.open(
"HE_Pedestals.html");
21953 htmlFileS.open(
"HE_Shapes.html");
21954 htmlFileM.open(
"HE_PhiSymmetryDigi.html");
21955 htmlFileR.open(
"HE_PhiSymmetryRecoSignal.html");
21956 htmlFileN.open(
"HE_PhiSymmetryRecoNoise.html");
21959 htmlFileT.open(
"HO_Tile.html");
21960 htmlFileC.open(
"HO_Calib.html");
21961 htmlFileD.open(
"HO_Drift.html");
21962 htmlFileP.open(
"HO_Pedestals.html");
21963 htmlFileS.open(
"HO_Shapes.html");
21966 htmlFileT.open(
"HF_Tile.html");
21967 htmlFileC.open(
"HF_Calib.html");
21968 htmlFileD.open(
"HF_Drift.html");
21969 htmlFileP.open(
"HF_Pedestals.html");
21970 htmlFileS.open(
"HF_Shapes.html");
21971 htmlFileM.open(
"HF_PhiSymmetryDigi.html");
21972 htmlFileR.open(
"HF_PhiSymmetryRecoSignal.html");
21973 htmlFileN.open(
"HF_PhiSymmetryRecoNoise.html");
21977 htmlFileT <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
21978 htmlFileT <<
"<head>" << std::endl;
21979 htmlFileT <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
21980 htmlFileT <<
"<title> Remote Monitoring Tool </title>" << std::endl;
21981 htmlFileT <<
"<style type=\"text/css\">" << std::endl;
21982 htmlFileT <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 21984 htmlFileT <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
21985 htmlFileT <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 21986 "text-align: center;}" 21988 htmlFileT <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
21989 htmlFileT <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
21990 htmlFileT <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
21991 htmlFileT <<
"</style>" << std::endl;
21992 htmlFileT <<
"<body>" << std::endl;
21995 htmlFileT <<
"<h1> Criteria for megatile channels for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
21997 htmlFileT <<
"<h1> Criteria for megatile channels for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
21999 htmlFileT <<
"<h1> Criteria for megatile channels for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22001 htmlFileT <<
"<h1> Criteria for megatile channels for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22002 htmlFileT <<
"<br>" << std::endl;
22006 htmlFileT <<
"<h2> 0. Entries for each channel.</h3>" << std::endl;
22007 htmlFileT <<
"<h3> 0.A. Entries in each channel for each depth.</h3>" << std::endl;
22008 htmlFileT <<
"<h4> Channel legend: color is rate of entries </h4>" << std::endl;
22010 htmlFileT <<
" <img src=\"MapRateEntryHB.png\" />" << std::endl;
22012 htmlFileT <<
" <img src=\"MapRateEntryHE.png\" />" << std::endl;
22014 htmlFileT <<
" <img src=\"MapRateEntryHO.png\" />" << std::endl;
22016 htmlFileT <<
" <img src=\"MapRateEntryHF.png\" />" << std::endl;
22017 htmlFileT <<
"<br>" << std::endl;
22020 htmlFileT <<
"<h2> 1. Cm criterion: CapID errors for each channel.</h3>" << std::endl;
22021 htmlFileT <<
"<h3> 1.A. Rate of CapId failures in each channel for each depth.</h3>" << std::endl;
22022 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22024 htmlFileT <<
" <img src=\"MapRateCapIDHB.png\" />" << std::endl;
22026 htmlFileT <<
" <img src=\"MapRateCapIDHE.png\" />" << std::endl;
22028 htmlFileT <<
" <img src=\"MapRateCapIDHO.png\" />" << std::endl;
22030 htmlFileT <<
" <img src=\"MapRateCapIDHF.png\" />" << std::endl;
22031 htmlFileT <<
"<br>" << std::endl;
22034 htmlFileT <<
"<h2> 2. Am criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel. </h3>" 22036 htmlFileT <<
"<h3> 2.A. Full ADC amplitude distribution over all events, channels and depths.</h3>" << std::endl;
22037 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[2][sub] <<
" correpond to bad ADC amplitude </h4>" << std::endl;
22039 htmlFileT <<
" <img src=\"HistAmplHB.png\" />" << std::endl;
22041 htmlFileT <<
" <img src=\"HistAmplHE.png\" />" << std::endl;
22043 htmlFileT <<
" <img src=\"HistAmplHO.png\" />" << std::endl;
22045 htmlFileT <<
" <img src=\"HistAmplHF.png\" />" << std::endl;
22046 htmlFileT <<
"<br>" << std::endl;
22047 htmlFileT <<
"<h3> 2.B. Rate of bad ADC amplitude (<" << MIN_M[2][sub] <<
") in each channel for each depth. </h3>" 22049 htmlFileT <<
"<h4> Channel legend: white - good, other colours - bad. </h4>" << std::endl;
22051 htmlFileT <<
" <img src=\"MapRateAmplHB.png\" />" << std::endl;
22053 htmlFileT <<
" <img src=\"MapRateAmplHE.png\" />" << std::endl;
22055 htmlFileT <<
" <img src=\"MapRateAmplHO.png\" />" << std::endl;
22057 htmlFileT <<
" <img src=\"MapRateAmplHF.png\" />" << std::endl;
22058 htmlFileT <<
"<br>" << std::endl;
22061 htmlFileT <<
"<h2> 3. Wm criterion: RMS (width) of ADC amplutude for each channel.</h3>" << std::endl;
22062 htmlFileT <<
"<h3> 3.A. RMS distribution over all events, channel and depth.</h3>" << std::endl;
22063 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[3][sub] <<
" and more " << MAX_M[3][sub]
22064 <<
" correpond to bad RMS </h4>" << std::endl;
22066 htmlFileT <<
" <img src=\"HistRMSHB.png\" />" << std::endl;
22068 htmlFileT <<
" <img src=\"HistRMSHE.png\" />" << std::endl;
22070 htmlFileT <<
" <img src=\"HistRMSHO.png\" />" << std::endl;
22072 htmlFileT <<
" <img src=\"HistRMSHF.png\" />" << std::endl;
22073 htmlFileT <<
"<br>" << std::endl;
22074 htmlFileT <<
"<h3> 3.B. Rate of bad RMS (<" << MIN_M[3][sub] <<
",>" << MAX_M[3][sub]
22075 <<
") in each channel for each depth.</h3>" << std::endl;
22076 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22078 htmlFileT <<
" <img src=\"MapRateRMSHB.png\" />" << std::endl;
22080 htmlFileT <<
" <img src=\"MapRateRMSHE.png\" />" << std::endl;
22082 htmlFileT <<
" <img src=\"MapRateRMSHO.png\" />" << std::endl;
22084 htmlFileT <<
" <img src=\"MapRateRMSHF.png\" />" << std::endl;
22085 htmlFileT <<
"<br>" << std::endl;
22088 htmlFileT <<
"<h2> 4. Rm criterion: Ratio ADC value sum over four near maximum (-2, -1, max, +1) TS to ADC value " 22089 "sum over all TS for each channel. </h3>" 22091 htmlFileT <<
"<h3> 4.A. Ratio distribution over all events, channels and depths.</h3>" << std::endl;
22092 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[4][sub] <<
" and more " << MAX_M[4][sub]
22093 <<
" correpond to bad ratio </h4>" << std::endl;
22095 htmlFileT <<
" <img src=\"Hist43TStoAllTSHB.png\" />" << std::endl;
22097 htmlFileT <<
" <img src=\"Hist43TStoAllTSHE.png\" />" << std::endl;
22099 htmlFileT <<
" <img src=\"Hist43TStoAllTSHO.png\" />" << std::endl;
22101 htmlFileT <<
" <img src=\"Hist43TStoAllTSHF.png\" />" << std::endl;
22102 htmlFileT <<
"<br>" << std::endl;
22103 htmlFileT <<
"<h3> 4.B. Rate of bad ratio (<" << MIN_M[4][sub] <<
", >" << MAX_M[4][sub]
22104 <<
") in each channel for each depth.</h3>" << std::endl;
22105 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22107 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHB.png\" />" << std::endl;
22109 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHE.png\" />" << std::endl;
22111 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHO.png\" />" << std::endl;
22113 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHF.png\" />" << std::endl;
22114 htmlFileT <<
"<br>" << std::endl;
22117 htmlFileT <<
"<h2> 5. TNm criterion: Mean TS position for each channel.</h3>" << std::endl;
22118 htmlFileT <<
"<h3> 5.A. TN position distribution over all events, channels and depths.</h3>" << std::endl;
22119 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[5][sub] <<
" and more " << MAX_M[5][sub]
22120 <<
" correpond to bad mean position </h4>" << std::endl;
22122 htmlFileT <<
" <img src=\"HistMeanPosHB.png\" />" << std::endl;
22124 htmlFileT <<
" <img src=\"HistMeanPosHE.png\" />" << std::endl;
22126 htmlFileT <<
" <img src=\"HistMeanPosHO.png\" />" << std::endl;
22128 htmlFileT <<
" <img src=\"HistMeanPosHF.png\" />" << std::endl;
22129 htmlFileT <<
"<br>" << std::endl;
22130 htmlFileT <<
"<h3> 5.B. Rate of bad TN position (<" << MIN_M[5][sub] <<
", >" << MAX_M[5][sub]
22131 <<
") in each channel for each depth. </h3>" << std::endl;
22132 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22134 htmlFileT <<
" <img src=\"MapRateMeanPosHB.png\" />" << std::endl;
22136 htmlFileT <<
" <img src=\"MapRateMeanPosHE.png\" />" << std::endl;
22138 htmlFileT <<
" <img src=\"MapRateMeanPosHO.png\" />" << std::endl;
22140 htmlFileT <<
" <img src=\"MapRateMeanPosHF.png\" />" << std::endl;
22141 htmlFileT <<
"<br>" << std::endl;
22144 htmlFileT <<
"<h2> 6.TXm criterion: Maximum TS position for each channel.</h3>" << std::endl;
22145 htmlFileT <<
"<h3> 6.A. TX position distribution over all events, channel and depth.</h3>" << std::endl;
22146 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[6][sub] <<
" and more " << MAX_M[6][sub]
22147 <<
" correpond to bad position </h4>" << std::endl;
22149 htmlFileT <<
" <img src=\"HistMaxPosHB.png\" />" << std::endl;
22151 htmlFileT <<
" <img src=\"HistMaxPosHE.png\" />" << std::endl;
22153 htmlFileT <<
" <img src=\"HistMaxPosHO.png\" />" << std::endl;
22155 htmlFileT <<
" <img src=\"HistMaxPosHF.png\" />" << std::endl;
22156 htmlFileT <<
"<br>" << std::endl;
22157 htmlFileT <<
"<h3> 6.B. Rate of bad TX position (<" << MIN_M[6][sub] <<
", >" << MAX_M[6][sub]
22158 <<
") in each channel for each depth. </h3>" << std::endl;
22159 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22161 htmlFileT <<
" <img src=\"MapRateMaxPosHB.png\" />" << std::endl;
22163 htmlFileT <<
" <img src=\"MapRateMaxPosHE.png\" />" << std::endl;
22165 htmlFileT <<
" <img src=\"MapRateMaxPosHO.png\" />" << std::endl;
22167 htmlFileT <<
" <img src=\"MapRateMaxPosHF.png\" />" << std::endl;
22168 htmlFileT <<
"<br>" << std::endl;
22170 htmlFileT <<
"</body> " << std::endl;
22171 htmlFileT <<
"</html> " << std::endl;
22175 htmlFileC <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
22176 htmlFileC <<
"<head>" << std::endl;
22177 htmlFileC <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
22178 htmlFileC <<
"<title> Raw Data Analyser </title>" << std::endl;
22179 htmlFileC <<
"<style type=\"text/css\">" << std::endl;
22180 htmlFileC <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 22182 htmlFileC <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
22183 htmlFileC <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 22184 "text-align: center;}" 22186 htmlFileC <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
22187 htmlFileC <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
22188 htmlFileC <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
22189 htmlFileC <<
"</style>" << std::endl;
22190 htmlFileC <<
"<body>" << std::endl;
22193 htmlFileC <<
"<h1> Criteria for calibration channels for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22195 htmlFileC <<
"<h1> Criteria for calibration channels for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22197 htmlFileC <<
"<h1> Criteria for calibration channels for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22199 htmlFileC <<
"<h1> Criteria for calibration channels for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22200 htmlFileC <<
"<br>" << std::endl;
22204 htmlFileC <<
"<h2> 0. Entries for each channel.</h3>" << std::endl;
22205 htmlFileC <<
"<h3> 0.A. Entries in each channel for each depth.</h3>" << std::endl;
22206 htmlFileC <<
"<h4> Channel legend: color is rate of entries </h4>" << std::endl;
22208 htmlFileC <<
" <img src=\"MapRateCalibEntryHB.png\" />" << std::endl;
22210 htmlFileC <<
" <img src=\"MapRateCalibEntryHE.png\" />" << std::endl;
22212 htmlFileC <<
" <img src=\"MapRateCalibEntryHO.png\" />" << std::endl;
22214 htmlFileC <<
" <img src=\"MapRateCalibEntryHF.png\" />" << std::endl;
22215 htmlFileC <<
"<br>" << std::endl;
22218 htmlFileC <<
"<h2> 1. Cc criterion: CapID errors for each channel.</h3>" << std::endl;
22219 htmlFileC <<
"<h3> 1.A. Rate of CapId failures in each channel for each depth.</h3>" << std::endl;
22220 htmlFileC <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22222 htmlFileC <<
" <img src=\"MapRateCapCalibHB.png\" />" << std::endl;
22224 htmlFileC <<
" <img src=\"MapRateCapCalibHE.png\" />" << std::endl;
22226 htmlFileC <<
" <img src=\"MapRateCapCalibHO.png\" />" << std::endl;
22228 htmlFileC <<
" <img src=\"MapRateCapCalibHF.png\" />" << std::endl;
22229 htmlFileC <<
"<br>" << std::endl;
22232 htmlFileC <<
"<h2> 2. Ac criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel. </h3>" 22234 htmlFileC <<
"<h3> 2.A. Full ADC amplitude distribution over all events, channels and depths.</h3>" << std::endl;
22235 htmlFileC <<
"<h4> Legend: Bins less " << MIN_C[2][sub] <<
" correpond to bad ADC amplitude </h4>" << std::endl;
22237 htmlFileC <<
" <img src=\"HistAmplCalibHB.png\" />" << std::endl;
22239 htmlFileC <<
" <img src=\"HistAmplCalibHE.png\" />" << std::endl;
22241 htmlFileC <<
" <img src=\"HistAmplCalibHO.png\" />" << std::endl;
22243 htmlFileC <<
" <img src=\"HistAmplCalibHF.png\" />" << std::endl;
22244 htmlFileC <<
"<br>" << std::endl;
22245 htmlFileC <<
"<h3> 2.B. Rate of bad ADC amplitude (<" << MIN_C[2][sub] <<
") in each channel for each depth. </h3>" 22247 htmlFileC <<
"<h4> Channel legend: white - good, other colours - bad. </h4>" << std::endl;
22249 htmlFileC <<
" <img src=\"MapRateAmplCalibHB.png\" />" << std::endl;
22251 htmlFileC <<
" <img src=\"MapRateAmplCalibHE.png\" />" << std::endl;
22253 htmlFileC <<
" <img src=\"MapRateAmplCalibHO.png\" />" << std::endl;
22255 htmlFileC <<
" <img src=\"MapRateAmplCalibHF.png\" />" << std::endl;
22256 htmlFileC <<
"<br>" << std::endl;
22259 htmlFileC <<
"<h2> 3. Wc criterion: RMS (width) of ADC amplutude for each channel.</h3>" << std::endl;
22260 htmlFileC <<
"<h3> 3.A. W distribution over all events, channel and depth.</h3>" << std::endl;
22261 htmlFileC <<
"<h4> Legend: Bins less " << MIN_C[3][sub] <<
" and more " << MAX_C[3][sub]
22262 <<
" correpond to bad RMS </h4>" << std::endl;
22264 htmlFileC <<
" <img src=\"HistRMSCalibHB.png\" />" << std::endl;
22266 htmlFileC <<
" <img src=\"HistRMSCalibHE.png\" />" << std::endl;
22268 htmlFileC <<
" <img src=\"HistRMSCalibHO.png\" />" << std::endl;
22270 htmlFileC <<
" <img src=\"HistRMSCalibHF.png\" />" << std::endl;
22271 htmlFileC <<
"<br>" << std::endl;
22272 htmlFileC <<
"<h3> 3.B. Rate of bad W (<" << MIN_C[3][sub] <<
",>" << MAX_C[3][sub]
22273 <<
") in each channel for each depth.</h3>" << std::endl;
22274 htmlFileC <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22276 htmlFileC <<
" <img src=\"MapRateRMSCalibHB.png\" />" << std::endl;
22278 htmlFileC <<
" <img src=\"MapRateRMSCalibHE.png\" />" << std::endl;
22280 htmlFileC <<
" <img src=\"MapRateRMSCalibHO.png\" />" << std::endl;
22282 htmlFileC <<
" <img src=\"MapRateRMSCalibHF.png\" />" << std::endl;
22283 htmlFileC <<
"<br>" << std::endl;
22286 htmlFileC <<
"<h2> 4. Rc criterion: Ratio ADC value sum over five near maximum (-2, -1, max, +1, +2) TS to ADC " 22287 "value sum over all TS for each channel. </h3>" 22289 htmlFileC <<
"<h3> 4.A. Ratio distribution over all events, channels and depths.</h3>" << std::endl;
22290 htmlFileC <<
"<h4> Legend: Bins less " << MIN_C[4][sub] <<
" and more " << MAX_C[4][sub]
22291 <<
" correpond to bad ratio </h4>" << std::endl;
22293 htmlFileC <<
" <img src=\"Hist43TStoAllTSCalibHB.png\" />" << std::endl;
22295 htmlFileC <<
" <img src=\"Hist43TStoAllTSCalibHE.png\" />" << std::endl;
22297 htmlFileC <<
" <img src=\"Hist43TStoAllTSCalibHO.png\" />" << std::endl;
22299 htmlFileC <<
" <img src=\"Hist43TStoAllTSCalibHF.png\" />" << std::endl;
22300 htmlFileC <<
"<br>" << std::endl;
22301 htmlFileC <<
"<h3> 4.B. Rate of bad Ratio (<" << MIN_C[4][sub] <<
", >" << MAX_C[4][sub]
22302 <<
") in each channel for each depth.</h3>" << std::endl;
22303 htmlFileC <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22305 htmlFileC <<
" <img src=\"MapRate43TStoAllTSCalibHB.png\" />" << std::endl;
22307 htmlFileC <<
" <img src=\"MapRate43TStoAllTSCalibHE.png\" />" << std::endl;
22309 htmlFileC <<
" <img src=\"MapRate43TStoAllTSCalibHO.png\" />" << std::endl;
22311 htmlFileC <<
" <img src=\"MapRate43TStoAllTSCalibHF.png\" />" << std::endl;
22312 htmlFileC <<
"<br>" << std::endl;
22315 htmlFileC <<
"<h2> 5. TNc criterion: Mean TS position for each channel.</h3>" << std::endl;
22316 htmlFileC <<
"<h3> 5.A. TN position distribution over all events, channels and depths.</h3>" << std::endl;
22317 htmlFileC <<
"<h4> Legend: Bins less " << MIN_C[5][sub] <<
" and more " << MAX_C[5][sub]
22318 <<
" correpond to bad position </h4>" << std::endl;
22320 htmlFileC <<
" <img src=\"HistMeanPosCalibHB.png\" />" << std::endl;
22322 htmlFileC <<
" <img src=\"HistMeanPosCalibHE.png\" />" << std::endl;
22324 htmlFileC <<
" <img src=\"HistMeanPosCalibHO.png\" />" << std::endl;
22326 htmlFileC <<
" <img src=\"HistMeanPosCalibHF.png\" />" << std::endl;
22327 htmlFileC <<
"<br>" << std::endl;
22328 htmlFileC <<
"<h3> 5.B. Rate of bad TN position (<" << MIN_C[5][sub] <<
", >" << MAX_C[5][sub]
22329 <<
") in each channel for each depth. </h3>" << std::endl;
22330 htmlFileC <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22332 htmlFileC <<
" <img src=\"MapRateMeanPosCalibHB.png\" />" << std::endl;
22334 htmlFileC <<
" <img src=\"MapRateMeanPosCalibHE.png\" />" << std::endl;
22336 htmlFileC <<
" <img src=\"MapRateMeanPosCalibHO.png\" />" << std::endl;
22338 htmlFileC <<
" <img src=\"MapRateMeanPosCalibHF.png\" />" << std::endl;
22339 htmlFileC <<
"<br>" << std::endl;
22342 htmlFileC <<
"<h2> 6.TXc criterion: Maximum TS position for each channel.</h3>" << std::endl;
22343 htmlFileC <<
"<h3> 6.A. TX position distribution over all events, channel and depth.</h3>" << std::endl;
22344 htmlFileC <<
"<h4> Legend: Bins less " << MIN_C[6][sub] <<
" and more " << MAX_C[6][sub]
22345 <<
" correpond to bad position </h4>" << std::endl;
22347 htmlFileC <<
" <img src=\"HistMaxPosCalibHB.png\" />" << std::endl;
22349 htmlFileC <<
" <img src=\"HistMaxPosCalibHE.png\" />" << std::endl;
22351 htmlFileC <<
" <img src=\"HistMaxPosCalibHO.png\" />" << std::endl;
22353 htmlFileC <<
" <img src=\"HistMaxPosCalibHF.png\" />" << std::endl;
22354 htmlFileC <<
"<br>" << std::endl;
22355 htmlFileC <<
"<h3> 6.B. Rate of bad TX position (<" << MIN_C[6][sub] <<
", >" << MAX_C[6][sub]
22356 <<
") in each channel for each depth. </h3>" << std::endl;
22357 htmlFileC <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22359 htmlFileC <<
" <img src=\"MapRateMaxPosCalibHB.png\" />" << std::endl;
22361 htmlFileC <<
" <img src=\"MapRateMaxPosCalibHE.png\" />" << std::endl;
22363 htmlFileC <<
" <img src=\"MapRateMaxPosCalibHO.png\" />" << std::endl;
22365 htmlFileC <<
" <img src=\"MapRateMaxPosCalibHF.png\" />" << std::endl;
22366 htmlFileC <<
"<br>" << std::endl;
22368 htmlFileC <<
"</body> " << std::endl;
22369 htmlFileC <<
"</html> " << std::endl;
22373 htmlFileD <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
22374 htmlFileD <<
"<head>" << std::endl;
22375 htmlFileD <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
22376 htmlFileD <<
"<title> Remore Monitoring Tool </title>" << std::endl;
22377 htmlFileD <<
"<style type=\"text/css\">" << std::endl;
22378 htmlFileD <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 22380 htmlFileD <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
22381 htmlFileD <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 22382 "text-align: center;}" 22384 htmlFileD <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
22385 htmlFileD <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
22386 htmlFileD <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
22387 htmlFileD <<
"</style>" << std::endl;
22388 htmlFileD <<
"<body>" << std::endl;
22391 htmlFileD <<
"<h1> Response drift for HB: Current RUN = " <<
runnumber <<
", Reference RUN = " << refrunnumber
22392 <<
" </h1>" << std::endl;
22394 htmlFileD <<
"<h1> Response drift for HE: Current RUN = " <<
runnumber <<
", Reference RUN = " << refrunnumber
22395 <<
" </h1>" << std::endl;
22397 htmlFileD <<
"<h1> Response drift for HO: Current RUN = " <<
runnumber <<
", Reference RUN = " << refrunnumber
22398 <<
" </h1>" << std::endl;
22400 htmlFileD <<
"<h1> Response drift for HF: Current RUN = " <<
runnumber <<
", Reference RUN = " << refrunnumber
22401 <<
" </h1>" << std::endl;
22402 htmlFileD <<
"<br>" << std::endl;
22405 htmlFileD <<
"<h2> 1. Gain Stability (GS) </h3>" << std::endl;
22406 htmlFileD <<
"<h3> 1.A. Averaged channel response, collected over all TS, for Current run in each channel for each " 22409 htmlFileD <<
"<h4> Channel legend: colour means cooresponding value of mean response. </h4>" << std::endl;
22411 htmlFileD <<
" <img src=\"MapRateAmpl1HB.png\" />" << std::endl;
22413 htmlFileD <<
" <img src=\"MapRateAmpl1HE.png\" />" << std::endl;
22415 htmlFileD <<
" <img src=\"MapRateAmpl1HO.png\" />" << std::endl;
22417 htmlFileD <<
" <img src=\"MapRateAmpl1HF.png\" />" << std::endl;
22418 htmlFileD <<
"<br>" << std::endl;
22419 htmlFileD <<
"<h3> 1.B. Averaged channel response, collected over all TS, for Reference run in each channel for " 22422 htmlFileD <<
"<h4> Channel legend: colour means cooresponding value of mean response. </h4>" << std::endl;
22424 htmlFileD <<
" <img src=\"MapRateAmpl2HB.png\" />" << std::endl;
22426 htmlFileD <<
" <img src=\"MapRateAmpl2HE.png\" />" << std::endl;
22428 htmlFileD <<
" <img src=\"MapRateAmpl2HO.png\" />" << std::endl;
22430 htmlFileD <<
" <img src=\"MapRateAmpl2HF.png\" />" << std::endl;
22431 htmlFileD <<
"<br>" << std::endl;
22432 htmlFileD <<
"<h3> 1.C. Relative difference between Current and Reference run distribution over all events, " 22433 "channels for each depth.</h3>" 22435 htmlFileD <<
"<h4> Legend: Bins less -" << porog[sub] <<
"% and more +" << porog[sub]
22436 <<
"% correpond to bad relative difference position </h4>" << std::endl;
22438 htmlFileD <<
" <img src=\"HistAmplDriftDepthHB.png\" />" << std::endl;
22440 htmlFileD <<
" <img src=\"HistAmplDriftDepthHE.png\" />" << std::endl;
22442 htmlFileD <<
" <img src=\"HistAmplDriftDepthHO.png\" />" << std::endl;
22444 htmlFileD <<
" <img src=\"HistAmplDriftDepthHF.png\" />" << std::endl;
22445 htmlFileD <<
"<br>" << std::endl;
22446 htmlFileD <<
"<h3> 1.D. Rate of bad relative difference (<-" << porog[sub] <<
", >+" << porog[sub]
22447 <<
") in each channel for each depth.</h3>" << std::endl;
22448 htmlFileD <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22450 htmlFileD <<
" <img src=\"MapRateAmplDriftHB.png\" />" << std::endl;
22452 htmlFileD <<
" <img src=\"MapRateAmplDriftHE.png\" />" << std::endl;
22454 htmlFileD <<
" <img src=\"MapRateAmplDriftHO.png\" />" << std::endl;
22456 htmlFileD <<
" <img src=\"MapRateAmplDriftHF.png\" />" << std::endl;
22457 htmlFileD <<
"<br>" << std::endl;
22459 htmlFileD <<
"</body> " << std::endl;
22460 htmlFileD <<
"</html> " << std::endl;
22464 htmlFileP <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
22465 htmlFileP <<
"<head>" << std::endl;
22466 htmlFileP <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
22467 htmlFileP <<
"<title> Remote Monitoring Tool </title>" << std::endl;
22468 htmlFileP <<
"<style type=\"text/css\">" << std::endl;
22469 htmlFileP <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 22471 htmlFileP <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
22472 htmlFileP <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 22473 "text-align: center;}" 22475 htmlFileP <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
22476 htmlFileP <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
22477 htmlFileP <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
22478 htmlFileP <<
"</style>" << std::endl;
22479 htmlFileP <<
"<body>" << std::endl;
22482 htmlFileP <<
"<h1> Pedestals for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22484 htmlFileP <<
"<h1> Pedestals for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22486 htmlFileP <<
"<h1> Pedestals for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22488 htmlFileP <<
"<h1> Pedestals for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22489 htmlFileP <<
"<br>" << std::endl;
22492 htmlFileP <<
"<h2> 1.Pm criterion: Pedestals for each CapID .</h3>" << std::endl;
22493 htmlFileP <<
"<h3> 1.A. Pedestal distribution over all events, channels for each CapID and all depths.</h3>" 22495 htmlFileP <<
"<h4> Legend: Bins less " << Pedest[0][sub] <<
" correpond to bad Pedestals </h4>" << std::endl;
22497 htmlFileP <<
" <img src=\"HistPedestalsHB.png\" />" << std::endl;
22499 htmlFileP <<
" <img src=\"HistPedestalsHE.png\" />" << std::endl;
22501 htmlFileP <<
" <img src=\"HistPedestalsHO.png\" />" << std::endl;
22503 htmlFileP <<
" <img src=\"HistPedestalsHF.png\" />" << std::endl;
22504 htmlFileP <<
"<br>" << std::endl;
22505 htmlFileP <<
"<h3> 1.B. Rate of channels at very low Pedestals at least in one CapID for each depth.</h3>" 22507 htmlFileP <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22509 htmlFileP <<
" <img src=\"MapRatePedHB.png\" />" << std::endl;
22511 htmlFileP <<
" <img src=\"MapRatePedHE.png\" />" << std::endl;
22513 htmlFileP <<
" <img src=\"MapRatePedHO.png\" />" << std::endl;
22515 htmlFileP <<
" <img src=\"MapRatePedHF.png\" />" << std::endl;
22518 htmlFileP <<
"<h2> 2.pWm criterion: Pedestal Widths for each CapID .</h3>" << std::endl;
22519 htmlFileP <<
"<h3> 2.A. Pedestal Widths distribution over all events, channels for each CapID and all depths.</h3>" 22521 htmlFileP <<
"<h4> Legend: Bins less " << Pedest[1][sub] <<
" correpond to bad Pedestal Widths </h4>" << std::endl;
22523 htmlFileP <<
" <img src=\"HistPedestalWidthsHB.png\" />" << std::endl;
22525 htmlFileP <<
" <img src=\"HistPedestalWidthsHE.png\" />" << std::endl;
22527 htmlFileP <<
" <img src=\"HistPedestalWidthsHO.png\" />" << std::endl;
22529 htmlFileP <<
" <img src=\"HistPedestalWidthsHF.png\" />" << std::endl;
22530 htmlFileP <<
"<br>" << std::endl;
22531 htmlFileP <<
"<h3> 2.B. Rate of channels at very low Pedestal Widths at least in one CapID for each depth.</h3>" 22533 htmlFileP <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22535 htmlFileP <<
" <img src=\"MapRatePedWidthsHB.png\" />" << std::endl;
22537 htmlFileP <<
" <img src=\"MapRatePedWidthsHE.png\" />" << std::endl;
22539 htmlFileP <<
" <img src=\"MapRatePedWidthsHO.png\" />" << std::endl;
22541 htmlFileP <<
" <img src=\"MapRatePedWidthsHF.png\" />" << std::endl;
22544 htmlFileP <<
"<h2> 3.Pedestal and pedestalWidths vs Amplitude .</h3>" << std::endl;
22545 htmlFileP <<
"<h3> 3.A. Correlation of Pedestal(pedestalWidths) and Amplitude over all channels and events .</h3>" 22547 htmlFileP <<
"<h4> Legend: colour - entries </h4>" << std::endl;
22549 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHB.png\" />" << std::endl;
22551 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHE.png\" />" << std::endl;
22553 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHO.png\" />" << std::endl;
22555 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHF.png\" />" << std::endl;
22556 htmlFileP <<
"<br>" << std::endl;
22561 htmlFileS <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
22562 htmlFileS <<
"<head>" << std::endl;
22563 htmlFileS <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
22564 htmlFileS <<
"<title> Remote Monitoring Tool </title>" << std::endl;
22565 htmlFileS <<
"<style type=\"text/css\">" << std::endl;
22566 htmlFileS <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 22568 htmlFileS <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
22569 htmlFileS <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 22570 "text-align: center;}" 22572 htmlFileS <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
22573 htmlFileS <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
22574 htmlFileS <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
22575 htmlFileS <<
"</style>" << std::endl;
22576 htmlFileS <<
"<body>" << std::endl;
22579 htmlFileS <<
"<h1> ADC Shape for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22581 htmlFileS <<
"<h1> ADC Shape for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22583 htmlFileS <<
"<h1> ADC Shape for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22585 htmlFileS <<
"<h1> ADC Shape for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22586 htmlFileS <<
"<br>" << std::endl;
22588 htmlFileS <<
"<h2> 1.Mean ADC Shape.</h3>" << std::endl;
22589 htmlFileS <<
"<h3> 1.A. ADC shape averaged over all good channels, depth and events.</h3>" << std::endl;
22592 htmlFileS <<
" <img src=\"HistGoodTSshapesHB.png\" />" << std::endl;
22594 htmlFileS <<
" <img src=\"HistGoodTSshapesHE.png\" />" << std::endl;
22596 htmlFileS <<
" <img src=\"HistGoodTSshapesHO.png\" />" << std::endl;
22598 htmlFileS <<
" <img src=\"HistGoodTSshapesHF.png\" />" << std::endl;
22599 htmlFileS <<
"<br>" << std::endl;
22600 htmlFileS <<
"<h3> 1.B. ADC shape averaged over all bad channels, depth and events. Bad channels are selected by 5 " 22601 "criteria: CapId, A, W, P, Pw </h3>" 22605 htmlFileS <<
" <img src=\"HistBadTSshapesHB.png\" />" << std::endl;
22607 htmlFileS <<
" <img src=\"HistBadTSshapesHE.png\" />" << std::endl;
22609 htmlFileS <<
" <img src=\"HistBadTSshapesHO.png\" />" << std::endl;
22611 htmlFileS <<
" <img src=\"HistBadTSshapesHF.png\" />" << std::endl;
22613 htmlFileS <<
"<h2> 2. Occupancy and rates of non-zero amplitudes for separate TSs in Sub-Detector over " 22614 "depth,eta.phi </h3>" 22616 htmlFileS <<
"<h3> 2.A. reminder:.......................... for HBHE, TS=2;...................................... " 22617 "for HF, TS=1;..................................... for HO, TS=0,1,2 </h3>" 22620 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS2_HB.png\" />" << std::endl;
22622 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS2_HE.png\" />" << std::endl;
22624 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS012_HO.png\" />" << std::endl;
22626 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS1_HF.png\" />" << std::endl;
22627 htmlFileS <<
"<br>" << std::endl;
22675 htmlFileM <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
22676 htmlFileM <<
"<head>" << std::endl;
22677 htmlFileM <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
22678 htmlFileM <<
"<title> Remote Monitoring Tool </title>" << std::endl;
22679 htmlFileM <<
"<style type=\"text/css\">" << std::endl;
22680 htmlFileM <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 22682 htmlFileM <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
22683 htmlFileM <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 22684 "text-align: center;}" 22686 htmlFileM <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
22687 htmlFileM <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
22688 htmlFileM <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
22689 htmlFileM <<
"</style>" << std::endl;
22690 htmlFileM <<
"<body>" << std::endl;
22695 htmlFileM <<
"<h1> Digis Phi-symmetry for Calibration Group, HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22697 htmlFileM <<
"<h1> Digis Phi-symmetry for Calibration Group, HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22699 htmlFileM <<
"<h1> Digis Phi-symmetry for Calibration Group, HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22700 htmlFileM <<
"<br>" << std::endl;
22702 htmlFileM <<
"<h2> 1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
22703 htmlFileM <<
"<h3> 1A: eta/phi-plot: R, averaged over depthes </h3>" << std::endl;
22706 htmlFileM <<
" <img src=\"RdigiGeneralD2PhiSymmetryHB.png\" />" << std::endl;
22708 htmlFileM <<
" <img src=\"RdigiGeneralD2PhiSymmetryHE.png\" />" << std::endl;
22710 htmlFileM <<
" <img src=\"RdigiGeneralD2PhiSymmetryHF.png\" />" << std::endl;
22711 htmlFileM <<
"<br>" << std::endl;
22713 htmlFileM <<
"<h3> 1B: R vs phi , averaged over depthes & eta </h3>" << std::endl;
22716 htmlFileM <<
" <img src=\"RdigiGeneralD1PhiSymmetryHB.png\" />" << std::endl;
22718 htmlFileM <<
" <img src=\"RdigiGeneralD1PhiSymmetryHE.png\" />" << std::endl;
22720 htmlFileM <<
" <img src=\"RdigiGeneralD1PhiSymmetryHF.png\" />" << std::endl;
22721 htmlFileM <<
"<br>" << std::endl;
22726 htmlFileM <<
"<h2> Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
22727 htmlFileM <<
"<h3> 1C: R vs phi , different eta, Depth1 </h3>" << std::endl;
22730 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
22732 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
22734 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
22735 htmlFileM <<
"<br>" << std::endl;
22737 htmlFileM <<
"<h3> 1D: R vs phi , different eta, Depth2 </h3>" << std::endl;
22740 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
22742 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
22744 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
22745 htmlFileM <<
"<br>" << std::endl;
22747 htmlFileM <<
"<h3> 1E: R vs phi , different eta, Depth3 </h3>" << std::endl;
22750 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
22752 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
22754 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png\" />" << std::endl;
22755 htmlFileM <<
"<br>" << std::endl;
22757 htmlFileM <<
"<h3> 1F: R vs phi , different eta, Depth4 </h3>" << std::endl;
22760 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
22762 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
22764 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png\" />" << std::endl;
22765 htmlFileM <<
"<br>" << std::endl;
22768 htmlFileM <<
"<h3> 1G: R vs phi , different eta, Depth5 </h3>" << std::endl;
22771 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
22772 htmlFileM <<
"<br>" << std::endl;
22775 htmlFileM <<
"<h3> 1H: R vs phi , different eta, Depth6 </h3>" << std::endl;
22778 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
22779 htmlFileM <<
"<br>" << std::endl;
22782 htmlFileM <<
"<h3> 1I: R vs phi , different eta, Depth7 </h3>" << std::endl;
22785 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
22786 htmlFileM <<
"<br>" << std::endl;
22789 htmlFileM <<
"<h2> 2: D(digivarianceSignalhe) </h3>" << std::endl;
22790 htmlFileM <<
"<h3> 2A: eta/phi-plot: D(digivarianceSignalhe), averaged over depthes </h3>" << std::endl;
22793 htmlFileM <<
" <img src=\"DdigiGeneralD2PhiSymmetryHB.png\" />" << std::endl;
22795 htmlFileM <<
" <img src=\"DdigiGeneralD2PhiSymmetryHE.png\" />" << std::endl;
22797 htmlFileM <<
" <img src=\"DdigiGeneralD2PhiSymmetryHF.png\" />" << std::endl;
22798 htmlFileM <<
"<br>" << std::endl;
22800 htmlFileM <<
"<h3> 2B: D(digivarianceSignalhe) vs phi , averaged over depthes & eta </h3>" << std::endl;
22803 htmlFileM <<
" <img src=\"DdigiGeneralD1PhiSymmetryHB.png\" />" << std::endl;
22805 htmlFileM <<
" <img src=\"DdigiGeneralD1PhiSymmetryHE.png\" />" << std::endl;
22807 htmlFileM <<
" <img src=\"DdigiGeneralD1PhiSymmetryHF.png\" />" << std::endl;
22808 htmlFileM <<
"<br>" << std::endl;
22812 htmlFileM <<
"<h2> Positive direction, D(digivarianceSignalhe) </h3>" << std::endl;
22813 htmlFileM <<
"<h3> 2C: D(digivarianceSignalhe) vs phi , different eta, Depth1 </h3>" << std::endl;
22816 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
22818 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
22820 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
22821 htmlFileM <<
"<br>" << std::endl;
22823 htmlFileM <<
"<h3> 2.D. D(digivarianceSignalhe) vs phi , different eta, Depth2 </h3>" << std::endl;
22826 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
22828 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
22830 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
22831 htmlFileM <<
"<br>" << std::endl;
22833 htmlFileM <<
"<h3> 2E: D(digivarianceSignalhe) vs phi , different eta, Depth3 </h3>" << std::endl;
22836 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
22838 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
22840 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png\" />" << std::endl;
22841 htmlFileM <<
"<br>" << std::endl;
22843 htmlFileM <<
"<h3> 2F: D(digivarianceSignalhe) vs phi , different eta, Depth4 </h3>" << std::endl;
22846 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
22848 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
22850 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png\" />" << std::endl;
22851 htmlFileM <<
"<br>" << std::endl;
22854 htmlFileM <<
"<h3> 2G: D(digivarianceSignalhe) vs phi , different eta, Depth5 </h3>" << std::endl;
22857 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
22858 htmlFileM <<
"<br>" << std::endl;
22861 htmlFileM <<
"<h3> 2H: D(digivarianceSignalhe) vs phi , different eta, Depth6 </h3>" << std::endl;
22864 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
22865 htmlFileM <<
"<br>" << std::endl;
22868 htmlFileM <<
"<h3> 2I: D(digivarianceSignalhe) vs phi , different eta, Depth7 </h3>" << std::endl;
22871 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
22872 htmlFileM <<
"<br>" << std::endl;
22876 htmlFileM <<
"<h2> 3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" 22880 htmlFileM <<
"<h3> 3C: R vs phi , different eta, Depth1 </h3>" << std::endl;
22883 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
22885 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
22887 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
22888 htmlFileM <<
"<br>" << std::endl;
22890 htmlFileM <<
"<h3> 3D: R vs phi , different eta, Depth2 </h3>" << std::endl;
22893 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
22895 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
22897 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
22898 htmlFileM <<
"<br>" << std::endl;
22900 htmlFileM <<
"<h3> 3E: R vs phi , different eta, Depth3 </h3>" << std::endl;
22903 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
22905 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
22907 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png\" />" << std::endl;
22908 htmlFileM <<
"<br>" << std::endl;
22910 htmlFileM <<
"<h3> 3F: R vs phi , different eta, Depth4 </h3>" << std::endl;
22913 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
22915 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
22917 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png\" />" << std::endl;
22918 htmlFileM <<
"<br>" << std::endl;
22921 htmlFileM <<
"<h3> 3G: R vs phi , different eta, Depth5 </h3>" << std::endl;
22924 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
22925 htmlFileM <<
"<br>" << std::endl;
22928 htmlFileM <<
"<h3> 3H: R vs phi , different eta, Depth6 </h3>" << std::endl;
22931 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
22932 htmlFileM <<
"<br>" << std::endl;
22935 htmlFileM <<
"<h3> 3I: R vs phi , different eta, Depth7 </h3>" << std::endl;
22938 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
22939 htmlFileM <<
"<br>" << std::endl;
22942 htmlFileM <<
"<h2> 4: Negative direction, D(digivarianceSignalhe) </h3>" << std::endl;
22944 htmlFileM <<
"<h3> 4C: D(digivarianceSignalhe) vs phi , different eta, Depth1 </h3>" << std::endl;
22947 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
22949 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
22951 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
22952 htmlFileM <<
"<br>" << std::endl;
22954 htmlFileM <<
"<h3> 4.D. D(digivarianceSignalhe) vs phi , different eta, Depth2 </h3>" << std::endl;
22957 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
22959 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
22961 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
22962 htmlFileM <<
"<br>" << std::endl;
22964 htmlFileM <<
"<h3> 4E: D(digivarianceSignalhe) vs phi , different eta, Depth3 </h3>" << std::endl;
22967 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
22969 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
22971 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png\" />" << std::endl;
22972 htmlFileM <<
"<br>" << std::endl;
22974 htmlFileM <<
"<h3> 4F: D(digivarianceSignalhe) vs phi , different eta, Depth4 </h3>" << std::endl;
22977 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
22979 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
22981 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png\" />" << std::endl;
22982 htmlFileM <<
"<br>" << std::endl;
22985 htmlFileM <<
"<h3> 4G: D(digivarianceSignalhe) vs phi , different eta, Depth5 </h3>" << std::endl;
22988 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
22989 htmlFileM <<
"<br>" << std::endl;
22992 htmlFileM <<
"<h3> 4H: D(digivarianceSignalhe) vs phi , different eta, Depth6 </h3>" << std::endl;
22995 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
22996 htmlFileM <<
"<br>" << std::endl;
22999 htmlFileM <<
"<h3> 4I: D(digivarianceSignalhe) vs phi , different eta, Depth7 </h3>" << std::endl;
23002 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23003 htmlFileM <<
"<br>" << std::endl;
23012 htmlFileR <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
23013 htmlFileR <<
"<head>" << std::endl;
23014 htmlFileR <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
23015 htmlFileR <<
"<title> Remote Monitoring Tool </title>" << std::endl;
23016 htmlFileR <<
"<style type=\"text/css\">" << std::endl;
23017 htmlFileR <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 23019 htmlFileR <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
23020 htmlFileR <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 23021 "text-align: center;}" 23023 htmlFileR <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
23024 htmlFileR <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
23025 htmlFileR <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
23026 htmlFileR <<
"</style>" << std::endl;
23027 htmlFileR <<
"<body>" << std::endl;
23032 htmlFileR <<
"<h1> RecoSignal Phi-symmetry for Calibration Group, HB, RUN = " <<
runnumber <<
" </h1>" 23035 htmlFileR <<
"<h1> RecoSignal Phi-symmetry for Calibration Group, HE, RUN = " <<
runnumber <<
" </h1>" 23038 htmlFileR <<
"<h1> RecoSignal Phi-symmetry for Calibration Group, HF, RUN = " <<
runnumber <<
" </h1>" 23040 htmlFileR <<
"<br>" << std::endl;
23042 htmlFileR <<
"<h2> 1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
23043 htmlFileR <<
"<h3> 1A: eta/phi-plot: R, averaged over depthes </h3>" << std::endl;
23046 htmlFileR <<
" <img src=\"RrecosignalGeneralD2PhiSymmetryHB.png\" />" << std::endl;
23048 htmlFileR <<
" <img src=\"RrecosignalGeneralD2PhiSymmetryHE.png\" />" << std::endl;
23050 htmlFileR <<
" <img src=\"RrecosignalGeneralD2PhiSymmetryHF.png\" />" << std::endl;
23051 htmlFileR <<
"<br>" << std::endl;
23053 htmlFileR <<
"<h3> 1B: R vs phi , averaged over depthes & eta </h3>" << std::endl;
23056 htmlFileR <<
" <img src=\"RrecosignalGeneralD1PhiSymmetryHB.png\" />" << std::endl;
23058 htmlFileR <<
" <img src=\"RrecosignalGeneralD1PhiSymmetryHE.png\" />" << std::endl;
23060 htmlFileR <<
" <img src=\"RrecosignalGeneralD1PhiSymmetryHF.png\" />" << std::endl;
23061 htmlFileR <<
"<br>" << std::endl;
23066 htmlFileR <<
"<h2> Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
23067 htmlFileR <<
"<h3> 1C: R vs phi , different eta, Depth1 </h3>" << std::endl;
23070 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23072 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23074 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23075 htmlFileR <<
"<br>" << std::endl;
23077 htmlFileR <<
"<h3> 1D: R vs phi , different eta, Depth2 </h3>" << std::endl;
23080 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23082 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23084 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23085 htmlFileR <<
"<br>" << std::endl;
23087 if (sub == 1 || sub == 2)
23088 htmlFileR <<
"<h3> 1E: R vs phi , different eta, Depth3 </h3>" << std::endl;
23091 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23093 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23094 htmlFileR <<
"<br>" << std::endl;
23096 if (sub == 1 || sub == 2)
23097 htmlFileR <<
"<h3> 1F: R vs phi , different eta, Depth4 </h3>" << std::endl;
23100 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23102 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23103 htmlFileR <<
"<br>" << std::endl;
23106 htmlFileR <<
"<h3> 1G: R vs phi , different eta, Depth5 </h3>" << std::endl;
23109 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23110 htmlFileR <<
"<br>" << std::endl;
23113 htmlFileR <<
"<h3> 1H: R vs phi , different eta, Depth6 </h3>" << std::endl;
23116 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23117 htmlFileR <<
"<br>" << std::endl;
23120 htmlFileR <<
"<h3> 1I: R vs phi , different eta, Depth7 </h3>" << std::endl;
23123 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23124 htmlFileR <<
"<br>" << std::endl;
23127 htmlFileR <<
"<h2> 2: D(recosignalvarianceSignalhe) </h3>" << std::endl;
23128 htmlFileR <<
"<h3> 2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes </h3>" << std::endl;
23131 htmlFileR <<
" <img src=\"DrecosignalGeneralD2PhiSymmetryHB.png\" />" << std::endl;
23133 htmlFileR <<
" <img src=\"DrecosignalGeneralD2PhiSymmetryHE.png\" />" << std::endl;
23135 htmlFileR <<
" <img src=\"DrecosignalGeneralD2PhiSymmetryHF.png\" />" << std::endl;
23136 htmlFileR <<
"<br>" << std::endl;
23138 htmlFileR <<
"<h3> 2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta </h3>" << std::endl;
23141 htmlFileR <<
" <img src=\"DrecosignalGeneralD1PhiSymmetryHB.png\" />" << std::endl;
23143 htmlFileR <<
" <img src=\"DrecosignalGeneralD1PhiSymmetryHE.png\" />" << std::endl;
23145 htmlFileR <<
" <img src=\"DrecosignalGeneralD1PhiSymmetryHF.png\" />" << std::endl;
23146 htmlFileR <<
"<br>" << std::endl;
23150 htmlFileR <<
"<h2> Positive direction, D(recosignalvarianceSignalhe) </h3>" << std::endl;
23151 htmlFileR <<
"<h3> 2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1 </h3>" << std::endl;
23154 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23156 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23158 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23159 htmlFileR <<
"<br>" << std::endl;
23161 htmlFileR <<
"<h3> 2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2 </h3>" << std::endl;
23164 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23166 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23168 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23169 htmlFileR <<
"<br>" << std::endl;
23171 if (sub == 1 || sub == 2)
23172 htmlFileR <<
"<h3> 2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3 </h3>" << std::endl;
23175 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23177 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23178 htmlFileR <<
"<br>" << std::endl;
23180 if (sub == 1 || sub == 2)
23181 htmlFileR <<
"<h3> 2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4 </h3>" << std::endl;
23184 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23186 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23187 htmlFileR <<
"<br>" << std::endl;
23190 htmlFileR <<
"<h3> 2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5 </h3>" << std::endl;
23193 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23194 htmlFileR <<
"<br>" << std::endl;
23197 htmlFileR <<
"<h3> 2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6 </h3>" << std::endl;
23200 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23201 htmlFileR <<
"<br>" << std::endl;
23204 htmlFileR <<
"<h3> 2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7 </h3>" << std::endl;
23207 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23208 htmlFileR <<
"<br>" << std::endl;
23212 htmlFileR <<
"<h2> 3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" 23216 htmlFileR <<
"<h3> 3C: R vs phi , different eta, Depth1 </h3>" << std::endl;
23219 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23221 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23223 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23224 htmlFileR <<
"<br>" << std::endl;
23226 htmlFileR <<
"<h3> 3D: R vs phi , different eta, Depth2 </h3>" << std::endl;
23229 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23231 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23233 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23234 htmlFileR <<
"<br>" << std::endl;
23236 if (sub == 1 || sub == 2)
23237 htmlFileR <<
"<h3> 3E: R vs phi , different eta, Depth3 </h3>" << std::endl;
23240 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23242 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23243 htmlFileR <<
"<br>" << std::endl;
23245 if (sub == 1 || sub == 2)
23246 htmlFileR <<
"<h3> 3F: R vs phi , different eta, Depth4 </h3>" << std::endl;
23249 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23251 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23252 htmlFileR <<
"<br>" << std::endl;
23255 htmlFileR <<
"<h3> 3G: R vs phi , different eta, Depth5 </h3>" << std::endl;
23258 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23259 htmlFileR <<
"<br>" << std::endl;
23262 htmlFileR <<
"<h3> 3H: R vs phi , different eta, Depth6 </h3>" << std::endl;
23265 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23266 htmlFileR <<
"<br>" << std::endl;
23269 htmlFileR <<
"<h3> 3I: R vs phi , different eta, Depth7 </h3>" << std::endl;
23272 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23273 htmlFileR <<
"<br>" << std::endl;
23276 htmlFileR <<
"<h2> 4: Negative direction, D(recosignalvarianceSignalhe) </h3>" << std::endl;
23278 htmlFileR <<
"<h3> 4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1 </h3>" << std::endl;
23281 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23283 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23285 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23286 htmlFileR <<
"<br>" << std::endl;
23288 htmlFileR <<
"<h3> 4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2 </h3>" << std::endl;
23291 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23293 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23295 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23296 htmlFileR <<
"<br>" << std::endl;
23298 if (sub == 1 || sub == 2)
23299 htmlFileR <<
"<h3> 4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3 </h3>" << std::endl;
23302 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23304 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23305 htmlFileR <<
"<br>" << std::endl;
23307 if (sub == 1 || sub == 2)
23308 htmlFileR <<
"<h3> 4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4 </h3>" << std::endl;
23311 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23313 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23314 htmlFileR <<
"<br>" << std::endl;
23317 htmlFileR <<
"<h3> 4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5 </h3>" << std::endl;
23320 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23321 htmlFileR <<
"<br>" << std::endl;
23324 htmlFileR <<
"<h3> 4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6 </h3>" << std::endl;
23327 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23328 htmlFileR <<
"<br>" << std::endl;
23331 htmlFileR <<
"<h3> 4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7 </h3>" << std::endl;
23334 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23335 htmlFileR <<
"<br>" << std::endl;
23344 htmlFileN <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
23345 htmlFileN <<
"<head>" << std::endl;
23346 htmlFileN <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
23347 htmlFileN <<
"<title> Remote Monitoring Tool </title>" << std::endl;
23348 htmlFileN <<
"<style type=\"text/css\">" << std::endl;
23349 htmlFileN <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 23351 htmlFileN <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
23352 htmlFileN <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 23353 "text-align: center;}" 23355 htmlFileN <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
23356 htmlFileN <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
23357 htmlFileN <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
23358 htmlFileN <<
"</style>" << std::endl;
23359 htmlFileN <<
"<body>" << std::endl;
23364 htmlFileN <<
"<h1> RecoNoise Phi-symmetry for Calibration Group, HB, RUN = " <<
runnumber <<
" </h1>" 23367 htmlFileN <<
"<h1> RecoNoise Phi-symmetry for Calibration Group, HE, RUN = " <<
runnumber <<
" </h1>" 23370 htmlFileN <<
"<h1> RecoNoise Phi-symmetry for Calibration Group, HF, RUN = " <<
runnumber <<
" </h1>" 23372 htmlFileN <<
"<br>" << std::endl;
23374 htmlFileN <<
"<h2> 1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
23375 htmlFileN <<
"<h3> 1A: eta/phi-plot: R, averaged over depthes </h3>" << std::endl;
23378 htmlFileN <<
" <img src=\"RreconoiseGeneralD2PhiSymmetryHB.png\" />" << std::endl;
23380 htmlFileN <<
" <img src=\"RreconoiseGeneralD2PhiSymmetryHE.png\" />" << std::endl;
23382 htmlFileN <<
" <img src=\"RreconoiseGeneralD2PhiSymmetryHF.png\" />" << std::endl;
23383 htmlFileN <<
"<br>" << std::endl;
23385 htmlFileN <<
"<h3> 1B: R vs phi , averaged over depthes & eta </h3>" << std::endl;
23388 htmlFileN <<
" <img src=\"RreconoiseGeneralD1PhiSymmetryHB.png\" />" << std::endl;
23390 htmlFileN <<
" <img src=\"RreconoiseGeneralD1PhiSymmetryHE.png\" />" << std::endl;
23392 htmlFileN <<
" <img src=\"RreconoiseGeneralD1PhiSymmetryHF.png\" />" << std::endl;
23393 htmlFileN <<
"<br>" << std::endl;
23398 htmlFileN <<
"<h2> Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
23399 htmlFileN <<
"<h3> 1C: R vs phi , different eta, Depth1 </h3>" << std::endl;
23402 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23404 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23406 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23407 htmlFileN <<
"<br>" << std::endl;
23409 htmlFileN <<
"<h3> 1D: R vs phi , different eta, Depth2 </h3>" << std::endl;
23412 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23414 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23416 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23417 htmlFileN <<
"<br>" << std::endl;
23419 if (sub == 1 || sub == 2)
23420 htmlFileN <<
"<h3> 1E: R vs phi , different eta, Depth3 </h3>" << std::endl;
23423 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23425 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23426 htmlFileN <<
"<br>" << std::endl;
23428 if (sub == 1 || sub == 2)
23429 htmlFileN <<
"<h3> 1F: R vs phi , different eta, Depth4 </h3>" << std::endl;
23432 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23434 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23435 htmlFileN <<
"<br>" << std::endl;
23438 htmlFileN <<
"<h3> 1G: R vs phi , different eta, Depth5 </h3>" << std::endl;
23441 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23442 htmlFileN <<
"<br>" << std::endl;
23445 htmlFileN <<
"<h3> 1H: R vs phi , different eta, Depth6 </h3>" << std::endl;
23448 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23449 htmlFileN <<
"<br>" << std::endl;
23452 htmlFileN <<
"<h3> 1I: R vs phi , different eta, Depth7 </h3>" << std::endl;
23455 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23456 htmlFileN <<
"<br>" << std::endl;
23459 htmlFileN <<
"<h2> 2: D(reconoisevarianceNoisehe) </h3>" << std::endl;
23460 htmlFileN <<
"<h3> 2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes </h3>" << std::endl;
23463 htmlFileN <<
" <img src=\"DreconoiseGeneralD2PhiSymmetryHB.png\" />" << std::endl;
23465 htmlFileN <<
" <img src=\"DreconoiseGeneralD2PhiSymmetryHE.png\" />" << std::endl;
23467 htmlFileN <<
" <img src=\"DreconoiseGeneralD2PhiSymmetryHF.png\" />" << std::endl;
23468 htmlFileN <<
"<br>" << std::endl;
23470 htmlFileN <<
"<h3> 2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta </h3>" << std::endl;
23473 htmlFileN <<
" <img src=\"DreconoiseGeneralD1PhiSymmetryHB.png\" />" << std::endl;
23475 htmlFileN <<
" <img src=\"DreconoiseGeneralD1PhiSymmetryHE.png\" />" << std::endl;
23477 htmlFileN <<
" <img src=\"DreconoiseGeneralD1PhiSymmetryHF.png\" />" << std::endl;
23478 htmlFileN <<
"<br>" << std::endl;
23482 htmlFileN <<
"<h2> Positive direction, D(reconoisevarianceNoisehe) </h3>" << std::endl;
23483 htmlFileN <<
"<h3> 2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1 </h3>" << std::endl;
23486 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23488 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23490 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23491 htmlFileN <<
"<br>" << std::endl;
23493 htmlFileN <<
"<h3> 2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2 </h3>" << std::endl;
23496 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23498 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23500 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23501 htmlFileN <<
"<br>" << std::endl;
23503 if (sub == 1 || sub == 2)
23504 htmlFileN <<
"<h3> 2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3 </h3>" << std::endl;
23507 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23509 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23510 htmlFileN <<
"<br>" << std::endl;
23512 if (sub == 1 || sub == 2)
23513 htmlFileN <<
"<h3> 2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4 </h3>" << std::endl;
23516 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23518 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23519 htmlFileN <<
"<br>" << std::endl;
23522 htmlFileN <<
"<h3> 2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5 </h3>" << std::endl;
23525 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23526 htmlFileN <<
"<br>" << std::endl;
23529 htmlFileN <<
"<h3> 2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6 </h3>" << std::endl;
23532 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23533 htmlFileN <<
"<br>" << std::endl;
23536 htmlFileN <<
"<h3> 2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7 </h3>" << std::endl;
23539 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23540 htmlFileN <<
"<br>" << std::endl;
23544 htmlFileN <<
"<h2> 3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" 23548 htmlFileN <<
"<h3> 3C: R vs phi , different eta, Depth1 </h3>" << std::endl;
23551 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23553 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23555 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23556 htmlFileN <<
"<br>" << std::endl;
23558 htmlFileN <<
"<h3> 3D: R vs phi , different eta, Depth2 </h3>" << std::endl;
23561 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23563 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23565 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23566 htmlFileN <<
"<br>" << std::endl;
23568 if (sub == 1 || sub == 2)
23569 htmlFileN <<
"<h3> 3E: R vs phi , different eta, Depth3 </h3>" << std::endl;
23572 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23574 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23575 htmlFileN <<
"<br>" << std::endl;
23577 if (sub == 1 || sub == 2)
23578 htmlFileN <<
"<h3> 3F: R vs phi , different eta, Depth4 </h3>" << std::endl;
23581 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23583 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23584 htmlFileN <<
"<br>" << std::endl;
23587 htmlFileN <<
"<h3> 3G: R vs phi , different eta, Depth5 </h3>" << std::endl;
23590 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23591 htmlFileN <<
"<br>" << std::endl;
23594 htmlFileN <<
"<h3> 3H: R vs phi , different eta, Depth6 </h3>" << std::endl;
23597 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23598 htmlFileN <<
"<br>" << std::endl;
23601 htmlFileN <<
"<h3> 3I: R vs phi , different eta, Depth7 </h3>" << std::endl;
23604 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23605 htmlFileN <<
"<br>" << std::endl;
23608 htmlFileN <<
"<h2> 4: Negative direction, D(reconoisevarianceNoisehe) </h3>" << std::endl;
23610 htmlFileN <<
"<h3> 4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1 </h3>" << std::endl;
23613 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23615 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23617 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23618 htmlFileN <<
"<br>" << std::endl;
23620 htmlFileN <<
"<h3> 4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2 </h3>" << std::endl;
23623 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23625 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23627 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23628 htmlFileN <<
"<br>" << std::endl;
23630 if (sub == 1 || sub == 2)
23631 htmlFileN <<
"<h3> 4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3 </h3>" << std::endl;
23634 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23636 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23637 htmlFileN <<
"<br>" << std::endl;
23639 if (sub == 1 || sub == 2)
23640 htmlFileN <<
"<h3> 4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4 </h3>" << std::endl;
23643 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23645 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23646 htmlFileN <<
"<br>" << std::endl;
23649 htmlFileN <<
"<h3> 4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5 </h3>" << std::endl;
23652 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23653 htmlFileN <<
"<br>" << std::endl;
23656 htmlFileN <<
"<h3> 4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6 </h3>" << std::endl;
23659 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23660 htmlFileN <<
"<br>" << std::endl;
23663 htmlFileN <<
"<h3> 4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7 </h3>" << std::endl;
23666 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23667 htmlFileN <<
"<br>" << std::endl;
23673 htmlFileN <<
"<h1> Only for Noise RecHits these lines below, HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23675 htmlFileN <<
"<h1> Only for Noise RecHits these lines below, HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23677 htmlFileN <<
"<h1> Only for Noise RecHits these lines below, HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23678 htmlFileN <<
"<br>" << std::endl;
23680 htmlFileN <<
"<h2> 5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta </h3>" << std::endl;
23681 htmlFileN <<
"<h3> 5A: eta/phi-plot: DIF, averaged over depthes </h3>" << std::endl;
23684 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD2PhiSymmetryHB.png\" />" << std::endl;
23686 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD2PhiSymmetryHE.png\" />" << std::endl;
23688 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD2PhiSymmetryHF.png\" />" << std::endl;
23689 htmlFileN <<
"<br>" << std::endl;
23691 htmlFileN <<
"<h3> 5B: DIF vs phi , averaged over depthes & eta </h3>" << std::endl;
23694 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD1PhiSymmetryHB.png\" />" << std::endl;
23696 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD1PhiSymmetryHE.png\" />" << std::endl;
23698 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD1PhiSymmetryHF.png\" />" << std::endl;
23699 htmlFileN <<
"<br>" << std::endl;
23704 htmlFileN <<
"<h2> Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta </h3>" 23706 htmlFileN <<
"<h3> 5C: DIF vs phi , different eta, Depth1 </h3>" << std::endl;
23709 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23711 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23713 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23714 htmlFileN <<
"<br>" << std::endl;
23716 htmlFileN <<
"<h3> 5D: DIF vs phi , different eta, Depth2 </h3>" << std::endl;
23719 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23721 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23723 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23724 htmlFileN <<
"<br>" << std::endl;
23726 if (sub == 1 || sub == 2)
23727 htmlFileN <<
"<h3> 1E: DIF vs phi , different eta, Depth3 </h3>" << std::endl;
23730 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23732 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23733 htmlFileN <<
"<br>" << std::endl;
23735 if (sub == 1 || sub == 2)
23736 htmlFileN <<
"<h3> 5F: DIF vs phi , different eta, Depth4 </h3>" << std::endl;
23739 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23741 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23742 htmlFileN <<
"<br>" << std::endl;
23745 htmlFileN <<
"<h3> 5G: DIF vs phi , different eta, Depth5 </h3>" << std::endl;
23748 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23749 htmlFileN <<
"<br>" << std::endl;
23752 htmlFileN <<
"<h3> 5H: DIF vs phi , different eta, Depth6 </h3>" << std::endl;
23755 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23756 htmlFileN <<
"<br>" << std::endl;
23759 htmlFileN <<
"<h3> 5I: DIF vs phi , different eta, Depth7 </h3>" << std::endl;
23762 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23763 htmlFileN <<
"<br>" << std::endl;
23768 htmlFileN <<
"<h2> Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta </h3>" 23770 htmlFileN <<
"<h3> 5C: DIF vs phi , different eta, Depth1 </h3>" << std::endl;
23773 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23775 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23777 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23778 htmlFileN <<
"<br>" << std::endl;
23780 htmlFileN <<
"<h3> 5D: DIF vs phi , different eta, Depth2 </h3>" << std::endl;
23783 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23785 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23787 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23788 htmlFileN <<
"<br>" << std::endl;
23790 if (sub == 1 || sub == 2)
23791 htmlFileN <<
"<h3> 5E: DIF vs phi , different eta, Depth3 </h3>" << std::endl;
23794 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23796 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23797 htmlFileN <<
"<br>" << std::endl;
23799 if (sub == 1 || sub == 2)
23800 htmlFileN <<
"<h3> 5F: DIF vs phi , different eta, Depth4 </h3>" << std::endl;
23803 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23805 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23806 htmlFileN <<
"<br>" << std::endl;
23809 htmlFileN <<
"<h3> 5G: DIF vs phi , different eta, Depth5 </h3>" << std::endl;
23812 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23813 htmlFileN <<
"<br>" << std::endl;
23816 htmlFileN <<
"<h3> 5H: DIF vs phi , different eta, Depth6 </h3>" << std::endl;
23819 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23820 htmlFileN <<
"<br>" << std::endl;
23823 htmlFileN <<
"<h3> 5I: DIF vs phi , different eta, Depth7 </h3>" << std::endl;
23826 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23827 htmlFileN <<
"<br>" << std::endl;
23845 std::cout <<
"************ Start creating subdet html pages: - rather long time needed, waiting please" 23850 for (
int sub = 1; sub <= 4; sub++) {
23853 htmlFile.open(
"HB.html");
23855 htmlFile.open(
"HE.html");
23857 htmlFile.open(
"HO.html");
23859 htmlFile.open(
"HF.html");
23861 htmlFile <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
23862 htmlFile <<
"<head>" << std::endl;
23863 htmlFile <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
23864 htmlFile <<
"<title> Remote Monitoring Tool </title>" << std::endl;
23865 htmlFile <<
"<style type=\"text/css\">" << std::endl;
23866 htmlFile <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 23868 htmlFile <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
23869 htmlFile <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 23870 "text-align: center;}" 23872 htmlFile <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
23873 htmlFile <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
23874 htmlFile <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
23875 htmlFile <<
" td.s5 { font-family: arial, arial ce, helvetica; background-color: #FF00FF; }" << std::endl;
23876 htmlFile <<
" td.s6 { font-family: arial, arial ce, helvetica; background-color: #9ACD32; }" << std::endl;
23877 htmlFile <<
" td.s7 { font-family: arial, arial ce, helvetica; background-color: #32CD32; }" << std::endl;
23878 htmlFile <<
" td.s8 { font-family: arial, arial ce, helvetica; background-color: #00FFFF; }" << std::endl;
23879 htmlFile <<
" td.s9 { font-family: arial, arial ce, helvetica; background-color: #FFE4E1; }" << std::endl;
23880 htmlFile <<
" td.s10 { font-family: arial, arial ce, helvetica; background-color: #A0522D; }" << std::endl;
23881 htmlFile <<
" td.s11 { font-family: arial, arial ce, helvetica; background-color: #1E90FF; }" << std::endl;
23882 htmlFile <<
" td.s12 { font-family: arial, arial ce, helvetica; background-color: #00BFFF; }" << std::endl;
23883 htmlFile <<
" td.s13 { font-family: arial, arial ce, helvetica; background-color: #FFFF00; }" << std::endl;
23884 htmlFile <<
" td.s14 { font-family: arial, arial ce, helvetica; background-color: #B8860B; }" << std::endl;
23885 htmlFile <<
"</style>" << std::endl;
23886 htmlFile <<
"<body>" << std::endl;
23888 htmlFile <<
"<h1> HCAL BARREL, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23890 htmlFile <<
"<h1> HCAL ENDCAP, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23892 htmlFile <<
"<h1> HCAL OUTER, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23894 htmlFile <<
"<h1> HCAL FORWARD, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23895 htmlFile <<
"<br>" << std::endl;
23897 htmlFile <<
"<h2> 1. Analysis results for HB</h2>" << std::endl;
23899 htmlFile <<
"<h2> 1. Analysis results for HE</h2>" << std::endl;
23901 htmlFile <<
"<h2> 1. Analysis results for HO</h2>" << std::endl;
23903 htmlFile <<
"<h2> 1. Analysis results for HF</h2>" << std::endl;
23904 htmlFile <<
"<table width=\"600\">" << std::endl;
23905 htmlFile <<
"<tr>" << std::endl;
23908 htmlFile <<
" <td><a href=\"HB_Tile.html\">Megatile Channels</a></td>" << std::endl;
23909 htmlFile <<
" <td><a href=\"HB_Calib.html\">Calibration Channels</a></td>" << std::endl;
23910 htmlFile <<
" <td><a href=\"HB_Drift.html\">Gain Stability</a></td>" << std::endl;
23911 htmlFile <<
" <td><a href=\"HB_Pedestals.html\">Pedestals</a></td>" << std::endl;
23912 htmlFile <<
" <td><a href=\"HB_Shapes.html\">ADC Shapes</a></td>" << std::endl;
23913 htmlFile <<
" <td><a href=\"HB_PhiSymmetryDigi.html\">Phi-symmetryDigi</a></td>" << std::endl;
23914 htmlFile <<
" <td><a href=\"HB_PhiSymmetryRecoSignal.html\">Phi-symmetryRecoSignal</a></td>" << std::endl;
23915 htmlFile <<
" <td><a href=\"HB_PhiSymmetryRecoNoise.html\">Phi-symmetryRecoNoise</a></td>" << std::endl;
23929 htmlFile <<
" <td><a href=\"HE_Tile.html\">Megatile Channels</a></td>" << std::endl;
23930 htmlFile <<
" <td><a href=\"HE_Calib.html\">Calibration Channels</a></td>" << std::endl;
23931 htmlFile <<
" <td><a href=\"HE_Drift.html\">Gain Stability</a></td>" << std::endl;
23932 htmlFile <<
" <td><a href=\"HE_Pedestals.html\">Pedestals</a></td>" << std::endl;
23933 htmlFile <<
" <td><a href=\"HE_Shapes.html\">ADC Shapes</a></td>" << std::endl;
23934 htmlFile <<
" <td><a href=\"HE_PhiSymmetryDigi.html\">Phi-symmetryDigi</a></td>" << std::endl;
23935 htmlFile <<
" <td><a href=\"HE_PhiSymmetryRecoSignal.html\">Phi-symmetryRecoSignal</a></td>" << std::endl;
23936 htmlFile <<
" <td><a href=\"HE_PhiSymmetryRecoNoise.html\">Phi-symmetryRecoNoise</a></td>" << std::endl;
23950 htmlFile <<
" <td><a href=\"HO_Tile.html\">Megatile Channels</a></td>" << std::endl;
23951 htmlFile <<
" <td><a href=\"HO_Calib.html\">Calibration Channels</a></td>" << std::endl;
23952 htmlFile <<
" <td><a href=\"HO_Drift.html\">Gain Stability</a></td>" << std::endl;
23953 htmlFile <<
" <td><a href=\"HO_Pedestals.html\">Pedestals</a></td>" << std::endl;
23954 htmlFile <<
" <td><a href=\"HO_Shapes.html\">ADC Shapes</a></td>" << std::endl;
23966 htmlFile <<
" <td><a href=\"HF_Tile.html\">Megatile Channels</a></td>" << std::endl;
23967 htmlFile <<
" <td><a href=\"HF_Calib.html\">Calibration Channels</a></td>" << std::endl;
23968 htmlFile <<
" <td><a href=\"HF_Drift.html\">Gain Stability</a></td>" << std::endl;
23969 htmlFile <<
" <td><a href=\"HF_Pedestals.html\">Pedestals</a></td>" << std::endl;
23970 htmlFile <<
" <td><a href=\"HF_Shapes.html\">ADC Shapes</a></td>" << std::endl;
23971 htmlFile <<
" <td><a href=\"HF_PhiSymmetryDigi.html\">Phi-symmetryDigi</a></td>" << std::endl;
23972 htmlFile <<
" <td><a href=\"HF_PhiSymmetryRecoSignal.html\">Phi-symmetryRecoSignal</a></td>" << std::endl;
23973 htmlFile <<
" <td><a href=\"HF_PhiSymmetryRecoNoise.html\">Phi-symmetryRecoNoise</a></td>" << std::endl;
23987 htmlFile <<
"</tr>" << std::endl;
23988 htmlFile <<
"</table>" << std::endl;
23989 htmlFile <<
"<br>" << std::endl;
23991 htmlFile <<
"<h2> 2.Status HB over all criteria </h2>" << std::endl;
23993 htmlFile <<
"<h2> 2.Status HE over all criteria </h2>" << std::endl;
23995 htmlFile <<
"<h2> 2.Status HO over all criteria </h2>" << std::endl;
23997 htmlFile <<
"<h2> 2.Status HF over all criteria </h2>" << std::endl;
23998 htmlFile <<
"<h3> 2.A.Channel map for each Depth </h3>" << std::endl;
23999 htmlFile <<
"<h4> Channel legend: green - good, red - bad (rate of failures at least 0.1), yellow - at least 2% " 24000 "gain drift, white - not applicable or out of range </h4>" 24003 htmlFile <<
" <img src=\"MAPHB.png\" />" << std::endl;
24005 htmlFile <<
" <img src=\"MAPHE.png\" />" << std::endl;
24007 htmlFile <<
" <img src=\"MAPHO.png\" />" << std::endl;
24009 htmlFile <<
" <img src=\"MAPHF.png\" />" << std::endl;
24010 htmlFile <<
"<br>" << std::endl;
24012 htmlFile <<
"<h3> 2.B.List of Bad channels (rate > 0.1) and its rates for each RMT criteria (for GS - %) </h3>" 24016 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24017 <<
"/HELP.html\"> Description of criteria for bad channel selection</a></td>" << std::endl;
24019 htmlFile <<
"<table>" << std::endl;
24020 htmlFile <<
"<tr>";
24021 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24022 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24023 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24024 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24025 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24026 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24027 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24028 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24029 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24030 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24031 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24032 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24033 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24034 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24035 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24036 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24037 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24038 htmlFile <<
"<td class=\"s5\" align=\"center\">Cm</td>" << std::endl;
24039 htmlFile <<
"<td class=\"s5\" align=\"center\">Am</td>" << std::endl;
24040 htmlFile <<
"<td class=\"s5\" align=\"center\">Wm</td>" << std::endl;
24041 htmlFile <<
"<td class=\"s5\" align=\"center\">Rm</td>" << std::endl;
24042 htmlFile <<
"<td class=\"s5\" align=\"center\">TNm</td>" << std::endl;
24043 htmlFile <<
"<td class=\"s5\" align=\"center\">TXm</td>" << std::endl;
24044 htmlFile <<
"<td class=\"s9\" align=\"center\">GS (%)</td>" << std::endl;
24045 htmlFile <<
"<td class=\"s4\" align=\"center\">Pm</td>" << std::endl;
24046 htmlFile <<
"<td class=\"s4\" align=\"center\">pWm</td>" << std::endl;
24047 htmlFile <<
"<td class=\"s8\" align=\"center\">Cc</td>" << std::endl;
24048 htmlFile <<
"<td class=\"s8\" align=\"center\">Ac</td>" << std::endl;
24049 htmlFile <<
"<td class=\"s8\" align=\"center\">Wc</td>" << std::endl;
24050 htmlFile <<
"<td class=\"s8\" align=\"center\">Rc</td>" << std::endl;
24051 htmlFile <<
"<td class=\"s8\" align=\"center\">TNc</td>" << std::endl;
24052 htmlFile <<
"<td class=\"s8\" align=\"center\">TXc</td>" << std::endl;
24054 htmlFile <<
"</tr>" << std::endl;
24056 for (
int i = 1;
i <= NBad;
i++) {
24057 if ((ind % 2) == 1) {
24058 raw_class =
"<td class=\"s2\" align=\"center\">";
24059 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24060 raw_class2 =
"<td class=\"s11\" align=\"center\">";
24061 raw_class3 =
"<td class=\"s13\" align=\"center\">";
24064 raw_class =
"<td class=\"s3\" align=\"center\">";
24065 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24066 raw_class2 =
"<td class=\"s12\" align=\"center\">";
24067 raw_class3 =
"<td class=\"s14\" align=\"center\">";
24071 if ((ce.
size() >= 1) && (Sub[2][
i] == sub)) {
24072 if (Sub[2][
i] == 1) {
24073 ce =
db.find(
"subdet",
"HB").find(
"Eta", Eta[2][
i]).find(
"Phi",
Phi[2][
i]).find(
"Depth",
Depth[2][
i]);
24074 if (ce.
size() == 0) {
24077 }
else if (ce.
size() > 1) {
24078 cout <<
"Warning: More than one line correspond to such HB, Eta=" << Eta[2][
i] <<
", Phi=" <<
Phi[2][
i]
24079 <<
", Depth=" <<
Depth[2][
i] <<
" in database" << endl;
24082 if (Sub[2][
i] == 2) {
24083 ce =
db.find(
"subdet",
"HE").find(
"Eta", Eta[2][
i]).find(
"Phi",
Phi[2][
i]).find(
"Depth",
Depth[2][
i]);
24084 if (ce.
size() == 0) {
24087 }
else if (ce.
size() > 1) {
24088 cout <<
"Warning: More than one line correspond to such HE, Eta=" << Eta[2][
i] <<
", Phi=" <<
Phi[2][
i]
24089 <<
", Depth=" <<
Depth[2][
i] <<
" in database" << endl;
24092 if (Sub[2][
i] == 3) {
24093 ce =
db.find(
"subdet",
"HO").find(
"Eta", Eta[2][
i]).find(
"Phi",
Phi[2][
i]).find(
"Depth",
Depth[2][
i]);
24094 if (ce.
size() == 0) {
24097 }
else if (ce.
size() > 1) {
24098 cout <<
"Warning: More than one line correspond to such HO, Eta=" << Eta[2][
i] <<
", Phi=" <<
Phi[2][
i]
24099 <<
", Depth=" <<
Depth[2][
i] <<
" in database" << endl;
24102 if (Sub[2][
i] == 4) {
24103 ce =
db.find(
"subdet",
"HF").find(
"Eta", Eta[2][
i]).find(
"Phi",
Phi[2][
i]).find(
"Depth",
Depth[2][
i]);
24104 if (ce.
size() == 0) {
24107 }
else if (ce.
size() > 1) {
24108 cout <<
"Warning: More than one line correspond to such HF, Eta=" << Eta[2][
i] <<
", Phi=" <<
Phi[2][
i]
24109 <<
", Depth=" <<
Depth[2][
i] <<
" in database" << endl;
24112 htmlFile <<
"<tr>" << std::endl;
24113 htmlFile <<
"<td class=\"s4\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24114 htmlFile << raw_class << Eta[2][
i] <<
"</td>" << std::endl;
24115 htmlFile << raw_class <<
Phi[2][
i] <<
"</td>" << std::endl;
24116 htmlFile << raw_class <<
Depth[2][
i] <<
"</td>" << std::endl;
24117 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24118 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24119 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24120 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24121 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24122 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24123 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24124 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24125 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24126 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24127 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24128 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24129 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24130 htmlFile << raw_class1 << Map_Ampl[1][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24131 <<
"</td>" << std::endl;
24132 htmlFile << raw_class1 << Map_Ampl[2][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24133 <<
"</td>" << std::endl;
24134 htmlFile << raw_class1 << Map_Ampl[3][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24135 <<
"</td>" << std::endl;
24136 htmlFile << raw_class1 << Map_Ampl[4][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24137 <<
"</td>" << std::endl;
24138 htmlFile << raw_class1 << Map_Ampl[5][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24139 <<
"</td>" << std::endl;
24140 htmlFile << raw_class1 << Map_Ampl[6][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24141 <<
"</td>" << std::endl;
24142 htmlFile << raw_class3 << Map_Ampl[21][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24143 <<
"</td>" << std::endl;
24144 htmlFile << raw_class << Map_Ampl[31][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24145 <<
"</td>" << std::endl;
24146 htmlFile << raw_class << Map_Ampl[32][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24147 <<
"</td>" << std::endl;
24148 htmlFile << raw_class2 << Map_Ampl[11][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24149 <<
"</td>" << std::endl;
24150 htmlFile << raw_class2 << Map_Ampl[12][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24151 <<
"</td>" << std::endl;
24152 htmlFile << raw_class2 << Map_Ampl[13][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24153 <<
"</td>" << std::endl;
24154 htmlFile << raw_class2 << Map_Ampl[14][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24155 <<
"</td>" << std::endl;
24156 htmlFile << raw_class2 << Map_Ampl[15][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24157 <<
"</td>" << std::endl;
24158 htmlFile << raw_class2 << Map_Ampl[16][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24159 <<
"</td>" << std::endl;
24160 htmlFile <<
"</tr>" << std::endl;
24165 htmlFile <<
"</table>" << std::endl;
24166 htmlFile <<
"<br>" << std::endl;
24168 htmlFile <<
"<h3> 2.C.List of Gain unstable channels and its value in % (for other criterias - rate)</h3>" 24170 htmlFile <<
"<table>" << std::endl;
24171 htmlFile <<
"<tr>";
24172 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24173 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24174 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24175 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24176 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24177 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24178 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24179 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24180 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24181 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24182 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24183 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24184 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24185 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24186 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24187 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24188 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24189 htmlFile <<
"<td class=\"s5\" align=\"center\">Cm</td>" << std::endl;
24190 htmlFile <<
"<td class=\"s5\" align=\"center\">Am</td>" << std::endl;
24191 htmlFile <<
"<td class=\"s5\" align=\"center\">Wm</td>" << std::endl;
24192 htmlFile <<
"<td class=\"s5\" align=\"center\">Rm</td>" << std::endl;
24193 htmlFile <<
"<td class=\"s5\" align=\"center\">TNm</td>" << std::endl;
24194 htmlFile <<
"<td class=\"s5\" align=\"center\">TXm</td>" << std::endl;
24195 htmlFile <<
"<td class=\"s9\" align=\"center\">GS(%)</td>" << std::endl;
24196 htmlFile <<
"<td class=\"s4\" align=\"center\">Pm</td>" << std::endl;
24197 htmlFile <<
"<td class=\"s4\" align=\"center\">pWm</td>" << std::endl;
24198 htmlFile <<
"<td class=\"s8\" align=\"center\">Cc</td>" << std::endl;
24199 htmlFile <<
"<td class=\"s8\" align=\"center\">Ac</td>" << std::endl;
24200 htmlFile <<
"<td class=\"s8\" align=\"center\">Wc</td>" << std::endl;
24201 htmlFile <<
"<td class=\"s8\" align=\"center\">Rc</td>" << std::endl;
24202 htmlFile <<
"<td class=\"s8\" align=\"center\">TNc</td>" << std::endl;
24203 htmlFile <<
"<td class=\"s8\" align=\"center\">TXc</td>" << std::endl;
24204 htmlFile <<
"</tr>" << std::endl;
24206 for (
int i = 1;
i <= NWarn;
i++) {
24207 if ((ind % 2) == 1) {
24208 raw_class =
"<td class=\"s2\" align=\"center\">";
24209 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24210 raw_class2 =
"<td class=\"s11\" align=\"center\">";
24211 raw_class3 =
"<td class=\"s13\" align=\"center\">";
24214 raw_class =
"<td class=\"s3\" align=\"center\">";
24215 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24216 raw_class2 =
"<td class=\"s12\" align=\"center\">";
24217 raw_class3 =
"<td class=\"s14\" align=\"center\">";
24221 if ((ce.
size() >= 1) && (Sub[1][
i] == sub)) {
24222 if (Sub[1][
i] == 1) {
24223 ce =
db.find(
"subdet",
"HB").find(
"Eta", Eta[1][
i]).find(
"Phi",
Phi[1][
i]).find(
"Depth",
Depth[1][
i]);
24224 if (ce.
size() == 0) {
24227 }
else if (ce.
size() > 1) {
24228 cout <<
"Warning: More than one line correspond to such HB, Eta=" << Eta[1][
i] <<
", Phi=" <<
Phi[1][
i]
24229 <<
", Depth=" <<
Depth[1][
i] <<
" in database" << endl;
24232 if (Sub[1][
i] == 2) {
24233 ce =
db.find(
"subdet",
"HE").find(
"Eta", Eta[1][
i]).find(
"Phi",
Phi[1][
i]).find(
"Depth",
Depth[1][
i]);
24234 if (ce.
size() == 0) {
24237 }
else if (ce.
size() > 1) {
24238 cout <<
"Warning: More than one line correspond to such HE, Eta=" << Eta[1][
i] <<
", Phi=" <<
Phi[1][
i]
24239 <<
", Depth=" <<
Depth[1][
i] <<
" in database" << endl;
24242 if (Sub[1][
i] == 3) {
24243 ce =
db.find(
"subdet",
"HO").find(
"Eta", Eta[1][
i]).find(
"Phi",
Phi[1][
i]).find(
"Depth",
Depth[1][
i]);
24244 if (ce.
size() == 0) {
24247 }
else if (ce.
size() > 1) {
24248 cout <<
"Warning: More than one line correspond to such HO, Eta=" << Eta[1][
i] <<
", Phi=" <<
Phi[1][
i]
24249 <<
", Depth=" <<
Depth[1][
i] <<
" in database" << endl;
24252 if (Sub[1][
i] == 4) {
24253 ce =
db.find(
"subdet",
"HF").find(
"Eta", Eta[1][
i]).find(
"Phi",
Phi[1][
i]).find(
"Depth",
Depth[1][
i]);
24254 if (ce.
size() == 0) {
24257 }
else if (ce.
size() > 1) {
24258 cout <<
"Warning: More than one line correspond to such HF, Eta=" << Eta[1][
i] <<
", Phi=" <<
Phi[1][
i]
24259 <<
", Depth=" <<
Depth[1][
i] <<
" in database" << endl;
24262 htmlFile <<
"<td class=\"s4\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24263 htmlFile << raw_class << Eta[1][
i] <<
"</td>" << std::endl;
24264 htmlFile << raw_class <<
Phi[1][
i] <<
"</td>" << std::endl;
24265 htmlFile << raw_class <<
Depth[1][
i] <<
"</td>" << std::endl;
24266 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24267 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24268 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24269 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24270 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24271 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24272 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24273 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24274 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24275 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24276 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24277 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24278 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24279 htmlFile << raw_class1 << Map_Ampl[1][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24280 <<
"</td>" << std::endl;
24281 htmlFile << raw_class1 << Map_Ampl[2][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24282 <<
"</td>" << std::endl;
24283 htmlFile << raw_class1 << Map_Ampl[3][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24284 <<
"</td>" << std::endl;
24285 htmlFile << raw_class1 << Map_Ampl[4][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24286 <<
"</td>" << std::endl;
24287 htmlFile << raw_class1 << Map_Ampl[5][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24288 <<
"</td>" << std::endl;
24289 htmlFile << raw_class1 << Map_Ampl[6][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24290 <<
"</td>" << std::endl;
24291 htmlFile << raw_class3 << Map_Ampl[21][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24292 <<
"</td>" << std::endl;
24293 htmlFile << raw_class << Map_Ampl[31][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24294 <<
"</td>" << std::endl;
24295 htmlFile << raw_class << Map_Ampl[32][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24296 <<
"</td>" << std::endl;
24297 htmlFile << raw_class2 << Map_Ampl[11][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24298 <<
"</td>" << std::endl;
24299 htmlFile << raw_class2 << Map_Ampl[12][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24300 <<
"</td>" << std::endl;
24301 htmlFile << raw_class2 << Map_Ampl[13][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24302 <<
"</td>" << std::endl;
24303 htmlFile << raw_class2 << Map_Ampl[14][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24304 <<
"</td>" << std::endl;
24305 htmlFile << raw_class2 << Map_Ampl[15][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24306 <<
"</td>" << std::endl;
24307 htmlFile << raw_class2 << Map_Ampl[16][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24308 <<
"</td>" << std::endl;
24309 htmlFile <<
"</tr>" << std::endl;
24310 htmlFile <<
"</tr>" << std::endl;
24314 htmlFile <<
"</table>" << std::endl;
24315 htmlFile <<
"<br>" << std::endl;
24317 htmlFile <<
"<h3> 2.D.List of channels with Bad Pedestals (rate > 0.1) and its rates (for GS - %)</h3>" 24319 htmlFile <<
"<table>" << std::endl;
24320 htmlFile <<
"<tr>";
24321 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24322 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24323 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24324 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24325 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24326 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24327 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24328 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24329 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24330 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24331 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24332 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24333 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24334 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24335 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24336 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24337 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24338 htmlFile <<
"<td class=\"s5\" align=\"center\">Cm</td>" << std::endl;
24339 htmlFile <<
"<td class=\"s5\" align=\"center\">Am</td>" << std::endl;
24340 htmlFile <<
"<td class=\"s5\" align=\"center\">Wm</td>" << std::endl;
24341 htmlFile <<
"<td class=\"s5\" align=\"center\">Rm</td>" << std::endl;
24342 htmlFile <<
"<td class=\"s5\" align=\"center\">TNm</td>" << std::endl;
24343 htmlFile <<
"<td class=\"s5\" align=\"center\">TXm</td>" << std::endl;
24344 htmlFile <<
"<td class=\"s9\" align=\"center\">GS(%)</td>" << std::endl;
24345 htmlFile <<
"<td class=\"s4\" align=\"center\">Pm</td>" << std::endl;
24346 htmlFile <<
"<td class=\"s4\" align=\"center\">pWm</td>" << std::endl;
24347 htmlFile <<
"<td class=\"s8\" align=\"center\">Cc</td>" << std::endl;
24348 htmlFile <<
"<td class=\"s8\" align=\"center\">Ac</td>" << std::endl;
24349 htmlFile <<
"<td class=\"s8\" align=\"center\">Wc</td>" << std::endl;
24350 htmlFile <<
"<td class=\"s8\" align=\"center\">Rc</td>" << std::endl;
24351 htmlFile <<
"<td class=\"s8\" align=\"center\">TNc</td>" << std::endl;
24352 htmlFile <<
"<td class=\"s8\" align=\"center\">TXc</td>" << std::endl;
24353 htmlFile <<
"</tr>" << std::endl;
24355 for (
int i = 1;
i <= NPed;
i++) {
24356 if ((ind % 2) == 1) {
24357 raw_class =
"<td class=\"s2\" align=\"center\">";
24358 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24359 raw_class2 =
"<td class=\"s11\" align=\"center\">";
24360 raw_class3 =
"<td class=\"s13\" align=\"center\">";
24363 raw_class =
"<td class=\"s3\" align=\"center\">";
24364 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24365 raw_class2 =
"<td class=\"s12\" align=\"center\">";
24366 raw_class3 =
"<td class=\"s14\" align=\"center\">";
24370 if ((ce.
size() >= 1) && (Sub[3][
i] == sub)) {
24371 if (Sub[3][
i] == 1) {
24372 ce =
db.find(
"subdet",
"HB").find(
"Eta", Eta[3][
i]).find(
"Phi",
Phi[3][
i]).find(
"Depth",
Depth[3][
i]);
24373 if (ce.
size() == 0) {
24376 }
else if (ce.
size() > 1) {
24377 cout <<
"Warning: More than one line correspond to such HB, Eta=" << Eta[3][
i] <<
", Phi=" <<
Phi[3][
i]
24378 <<
", Depth=" <<
Depth[3][
i] <<
" in database" << endl;
24381 if (Sub[3][
i] == 2) {
24382 ce =
db.find(
"subdet",
"HE").find(
"Eta", Eta[3][
i]).find(
"Phi",
Phi[3][
i]).find(
"Depth",
Depth[3][
i]);
24383 if (ce.
size() == 0) {
24386 }
else if (ce.
size() > 1) {
24387 cout <<
"Warning: More than one line correspond to such HE, Eta=" << Eta[3][
i] <<
", Phi=" <<
Phi[3][
i]
24388 <<
", Depth=" <<
Depth[3][
i] <<
" in database" << endl;
24391 if (Sub[3][
i] == 3) {
24392 ce =
db.find(
"subdet",
"HO").find(
"Eta", Eta[3][
i]).find(
"Phi",
Phi[3][
i]).find(
"Depth",
Depth[3][
i]);
24393 if (ce.
size() == 0) {
24396 }
else if (ce.
size() > 1) {
24397 cout <<
"Warning: More than one line correspond to such HO, Eta=" << Eta[3][
i] <<
", Phi=" <<
Phi[3][
i]
24398 <<
", Depth=" <<
Depth[3][
i] <<
" in database" << endl;
24401 if (Sub[3][
i] == 4) {
24402 ce =
db.find(
"subdet",
"HF").find(
"Eta", Eta[3][
i]).find(
"Phi",
Phi[3][
i]).find(
"Depth",
Depth[3][
i]);
24403 if (ce.
size() == 0) {
24406 }
else if (ce.
size() > 1) {
24407 cout <<
"Warning: More than one line correspond to such HF, Eta=" << Eta[3][
i] <<
", Phi=" <<
Phi[3][
i]
24408 <<
", Depth=" <<
Depth[3][
i] <<
" in database" << endl;
24411 htmlFile <<
"<td class=\"s4\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24412 htmlFile << raw_class << Eta[3][
i] <<
"</td>" << std::endl;
24413 htmlFile << raw_class <<
Phi[3][
i] <<
"</td>" << std::endl;
24414 htmlFile << raw_class <<
Depth[3][
i] <<
"</td>" << std::endl;
24415 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24416 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24417 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24418 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24419 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24420 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24421 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24422 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24423 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24424 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24425 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24426 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24427 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24428 htmlFile << raw_class1 << Map_Ampl[1][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24429 <<
"</td>" << std::endl;
24430 htmlFile << raw_class1 << Map_Ampl[2][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24431 <<
"</td>" << std::endl;
24432 htmlFile << raw_class1 << Map_Ampl[3][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24433 <<
"</td>" << std::endl;
24434 htmlFile << raw_class1 << Map_Ampl[4][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24435 <<
"</td>" << std::endl;
24436 htmlFile << raw_class1 << Map_Ampl[5][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24437 <<
"</td>" << std::endl;
24438 htmlFile << raw_class1 << Map_Ampl[6][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24439 <<
"</td>" << std::endl;
24440 htmlFile << raw_class3 << Map_Ampl[21][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24441 <<
"</td>" << std::endl;
24442 htmlFile << raw_class << Map_Ampl[31][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24443 <<
"</td>" << std::endl;
24444 htmlFile << raw_class << Map_Ampl[32][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24445 <<
"</td>" << std::endl;
24446 htmlFile << raw_class2 << Map_Ampl[11][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24447 <<
"</td>" << std::endl;
24448 htmlFile << raw_class2 << Map_Ampl[12][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24449 <<
"</td>" << std::endl;
24450 htmlFile << raw_class2 << Map_Ampl[13][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24451 <<
"</td>" << std::endl;
24452 htmlFile << raw_class2 << Map_Ampl[14][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24453 <<
"</td>" << std::endl;
24454 htmlFile << raw_class2 << Map_Ampl[15][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24455 <<
"</td>" << std::endl;
24456 htmlFile << raw_class2 << Map_Ampl[16][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24457 <<
"</td>" << std::endl;
24458 htmlFile <<
"</tr>" << std::endl;
24459 htmlFile <<
"</tr>" << std::endl;
24463 htmlFile <<
"</table>" << std::endl;
24465 htmlFile <<
"</body> " << std::endl;
24466 htmlFile <<
"</html> " << std::endl;
24473 std::cout <<
"************ Start creating description HELP html file:" << std::endl;
24477 htmlFile.open(
"HELP.html");
24478 htmlFile <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
24479 htmlFile <<
"<head>" << std::endl;
24480 htmlFile <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
24481 htmlFile <<
"<title> Remote Monitoring Tool </title>" << std::endl;
24482 htmlFile <<
"<style type=\"text/css\">" << std::endl;
24483 htmlFile <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 24485 htmlFile <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
24486 htmlFile <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 24487 "text-align: center;}" 24489 htmlFile <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
24490 htmlFile <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
24491 htmlFile <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
24492 htmlFile <<
"</style>" << std::endl;
24493 htmlFile <<
"<body>" << std::endl;
24494 htmlFile <<
"<h1> Description of Remote Monitoring Tool criteria for bad channel selection</h1>" << std::endl;
24495 htmlFile <<
"<br>" << std::endl;
24496 htmlFile <<
"<h3> - C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for " 24497 "this criterion - no need to apply any cuts to select bcs.</h3> " 24499 htmlFile <<
"<br>" << std::endl;
24500 htmlFile <<
"<h3> - A means full amplitude, collected over all time slices </h3> " << std::endl;
24501 htmlFile <<
"<h3> - R means ratio criterion where we define as a bad, the channels, for which the signal portion in " 24502 "4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable " 24505 htmlFile <<
"<br>" << std::endl;
24506 htmlFile <<
"<h3> - W means width of shape distribution. Width is defined as square root from dispersion. </h3> " 24508 htmlFile <<
"<br>" << std::endl;
24509 htmlFile <<
"<h3> - TN means mean time position of adc signal. </h3> " << std::endl;
24510 htmlFile <<
"<br>" << std::endl;
24511 htmlFile <<
"<h3> - TX means TS number of maximum signal </h3> " << std::endl;
24512 htmlFile <<
"<br>" << std::endl;
24513 htmlFile <<
"<h3> - m means megatile channels. For example Am means Amplitude criteria for megatile channels </h3> " 24515 htmlFile <<
"<br>" << std::endl;
24517 <<
"<h3> - c means calibration channels. For example Ac means Amplitude criteria for calibration channels </h3> " 24519 htmlFile <<
"<br>" << std::endl;
24520 htmlFile <<
"<h3> - Pm means Pedestals. </h3> " << std::endl;
24521 htmlFile <<
"<br>" << std::endl;
24522 htmlFile <<
"<h3> - pWm means pedestal Width. </h3> " << std::endl;
24523 htmlFile <<
"<br>" << std::endl;
24524 htmlFile <<
"</body> " << std::endl;
24525 htmlFile <<
"</html> " << std::endl;
24531 std::cout <<
"************ Start creating MAP html file: - rather long time needed, waiting please" << std::endl;
24534 htmlFile.open(
"MAP.html");
24535 htmlFile <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
24536 htmlFile <<
"<head>" << std::endl;
24537 htmlFile <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
24538 htmlFile <<
"<title> Remote Monitoring Tool </title>" << std::endl;
24539 htmlFile <<
"<style type=\"text/css\">" << std::endl;
24540 htmlFile <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 24542 htmlFile <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
24543 htmlFile <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 24544 "text-align: center;}" 24546 htmlFile <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
24547 htmlFile <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
24548 htmlFile <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
24549 htmlFile <<
" td.s5 { font-family: arial, arial ce, helvetica; background-color: #FF00FF; }" << std::endl;
24550 htmlFile <<
" td.s6 { font-family: arial, arial ce, helvetica; background-color: #9ACD32; }" << std::endl;
24551 htmlFile <<
" td.s7 { font-family: arial, arial ce, helvetica; background-color: #32CD32; }" << std::endl;
24552 htmlFile <<
"</style>" << std::endl;
24553 htmlFile <<
"<body>" << std::endl;
24555 htmlFile <<
"<h1> Remote Monitoring Tool, LED RUN = " <<
runnumber <<
". </h1>" << std::endl;
24556 htmlFile <<
"<br>" << std::endl;
24558 htmlFile <<
"<h2> 1. Analysis results for subdetectors </h2>" << std::endl;
24559 htmlFile <<
"<table width=\"400\">" << std::endl;
24560 htmlFile <<
"<tr>" << std::endl;
24562 htmlFile <<
" <td><a href=\"HB.html\">HB</a></td>" << std::endl;
24563 htmlFile <<
" <td><a href=\"HE.html\">HE</a></td>" << std::endl;
24564 htmlFile <<
" <td><a href=\"HO.html\">HO</a></td>" << std::endl;
24565 htmlFile <<
" <td><a href=\"HF.html\">HF</a></td>" << std::endl;
24574 htmlFile <<
"</tr>" << std::endl;
24575 htmlFile <<
"</table>" << std::endl;
24576 htmlFile <<
"<br>" << std::endl;
24578 htmlFile <<
"<h2> 2. Amplitude summed over all sub-detector channels vs first 1000 events of this Run </h2>" 24580 htmlFile <<
"<h3> 2.A. Total subdetector Amplitude vs iEvent </h3>" << std::endl;
24581 htmlFile <<
" <img src=\"EVENTDEPENDENCE.png\" />" << std::endl;
24582 htmlFile <<
"<br>" << std::endl;
24583 htmlFile <<
"<br>" << std::endl;
24584 htmlFile <<
"<br>" << std::endl;
24586 htmlFile <<
"<h2> 3. HCAL status over all criteria and subdetectors </h2>" << std::endl;
24587 htmlFile <<
"<h3> 3.A. Channels in detector space </h3>" << std::endl;
24588 htmlFile <<
"<h4> Legend for channel status: green - good, red - bad, yellow - at least 2% gain drift, white - not " 24589 "applicable or out of range </h4>" 24591 htmlFile <<
" <img src=\"MAP.png\" />" << std::endl;
24592 htmlFile <<
"<br>" << std::endl;
24593 htmlFile <<
"<br>" << std::endl;
24595 htmlFile <<
"<h3> 3.B. List of Bad channels </h3>" << std::endl;
24598 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24599 <<
"/HELP.html\"> Description of criteria for bad channel selection</a></td>" << std::endl;
24600 htmlFile <<
"<table>" << std::endl;
24601 htmlFile <<
"<tr>";
24602 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24603 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24604 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24605 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24606 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24607 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24608 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24609 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24610 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24611 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24612 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24613 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24614 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24615 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24616 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24617 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24618 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24619 htmlFile <<
"<td class=\"s5\" align=\"center\">RMT-criteria</td>" << std::endl;
24620 htmlFile <<
"</tr>" << std::endl;
24624 for (
int i = 1;
i <= NBad;
i++) {
24625 if ((ind % 2) == 1) {
24626 raw_class =
"<td class=\"s2\" align=\"center\">";
24627 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24629 raw_class =
"<td class=\"s3\" align=\"center\">";
24630 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24633 const CellDB ce =
db.find(
"Eta", Eta[2][
i]).find(
"Phi",
Phi[2][
i]).find(
"Depth",
Depth[2][
i]);
24634 if (ce.
size() == 0) {
24640 if (ce.
size() >= 1) {
24641 htmlFile <<
"<tr>" << std::endl;
24642 htmlFile <<
"<td class=\"s1\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24643 htmlFile << raw_class << Eta[2][
i] <<
"</td>" << std::endl;
24644 htmlFile << raw_class <<
Phi[2][
i] <<
"</td>" << std::endl;
24645 htmlFile << raw_class <<
Depth[2][
i] <<
"</td>" << std::endl;
24646 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24647 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24648 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24649 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24650 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24651 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24652 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24653 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24654 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24655 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24656 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24657 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24658 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24659 htmlFile << raw_class1 << Comment[2][
i] <<
"</td>" << std::endl;
24660 htmlFile <<
"</tr>" << std::endl;
24665 htmlFile <<
"</table>" << std::endl;
24666 htmlFile <<
"<br>" << std::endl;
24668 htmlFile <<
"<h3> 2.C.List of Gain unstable channels </h3>" << std::endl;
24670 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24671 <<
"/HELP.html\"> Description of criteria for bad channel selection</a></td>" << std::endl;
24673 htmlFile <<
"<table>" << std::endl;
24674 htmlFile <<
"<tr>";
24675 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24676 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24677 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24678 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24679 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24680 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24681 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24682 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24683 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24684 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24685 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24686 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24687 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24688 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24689 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24690 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24691 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24692 htmlFile <<
"<td class=\"s5\" align=\"center\">Failed criteria</td>" << std::endl;
24693 htmlFile <<
"</tr>" << std::endl;
24695 for (
int i = 1;
i <= NWarn;
i++) {
24696 if ((ind % 2) == 1) {
24697 raw_class =
"<td class=\"s2\" align=\"center\">";
24698 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24700 raw_class =
"<td class=\"s3\" align=\"center\">";
24701 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24704 const CellDB ce =
db.find(
"Eta", Eta[1][
i]).find(
"Phi",
Phi[1][
i]).find(
"Depth",
Depth[1][
i]);
24705 if (ce.
size() == 0) {
24711 if (ce.
size() >= 1) {
24712 htmlFile <<
"<tr>" << std::endl;
24713 htmlFile <<
"<td class=\"s1\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24714 htmlFile << raw_class << Eta[1][
i] <<
"</td>" << std::endl;
24715 htmlFile << raw_class <<
Phi[1][
i] <<
"</td>" << std::endl;
24716 htmlFile << raw_class <<
Depth[1][
i] <<
"</td>" << std::endl;
24717 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24718 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24719 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24720 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24721 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24722 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24723 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24724 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24725 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24726 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24727 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24728 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24729 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24730 htmlFile << raw_class1 << Comment[1][
i] <<
"</td>" << std::endl;
24731 htmlFile <<
"</tr>" << std::endl;
24737 htmlFile <<
"</table>" << std::endl;
24738 htmlFile <<
"<br>" << std::endl;
24740 htmlFile <<
"<h3> 2.D.List of channels with bad Pedestals </h3>" << std::endl;
24742 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24743 <<
"/HELP.html\"> Description of criteria for bad channel selection</a></td>" << std::endl;
24745 htmlFile <<
"<table>" << std::endl;
24746 htmlFile <<
"<tr>";
24747 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24748 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24749 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24750 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24751 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24752 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24753 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24754 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24755 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24756 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24757 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24758 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24759 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24760 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24761 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24762 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24763 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24764 htmlFile <<
"<td class=\"s5\" align=\"center\">Failed criteria</td>" << std::endl;
24765 htmlFile <<
"</tr>" << std::endl;
24767 for (
int i = 1;
i <= NPed;
i++) {
24768 if ((ind % 2) == 1) {
24769 raw_class =
"<td class=\"s2\" align=\"center\">";
24770 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24772 raw_class =
"<td class=\"s3\" align=\"center\">";
24773 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24776 const CellDB ce =
db.find(
"Eta", Eta[3][
i]).find(
"Phi",
Phi[3][
i]).find(
"Depth",
Depth[3][
i]);
24777 if (ce.
size() == 0) {
24783 if (ce.
size() >= 1) {
24784 htmlFile <<
"<tr>" << std::endl;
24785 htmlFile <<
"<td class=\"s1\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24786 htmlFile << raw_class << Eta[3][
i] <<
"</td>" << std::endl;
24787 htmlFile << raw_class <<
Phi[3][
i] <<
"</td>" << std::endl;
24788 htmlFile << raw_class <<
Depth[3][
i] <<
"</td>" << std::endl;
24789 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24790 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24791 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24792 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24793 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24794 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24795 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24796 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24797 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24798 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24799 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24800 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24801 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24802 htmlFile << raw_class1 << Comment[3][
i] <<
"</td>" << std::endl;
24803 htmlFile <<
"</tr>" << std::endl;
24809 htmlFile <<
"</table>" << std::endl;
24811 htmlFile <<
"</body> " << std::endl;
24812 htmlFile <<
"</html> " << std::endl;
Abs< T >::type abs(const T &t)