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());
69 TFile *hreffile =
new TFile(refname,
"READ");
71 TDirectory *refdir = (TDirectory *)hreffile->FindObjectAny(dirnm.c_str());
85 double MIN_M_LED[7][5] = {{0., 0., 0., 0., 0.},
87 {0, 100., 70., 40., 40.},
88 {0, 0.7, 0.7, 0.1, 0.1},
89 {0, 0.7, 0.6, 0.40, 0.45},
90 {0, 2.5, 1.0, 1.0, 1.0},
91 {0, 1.5, 1.5, 0.5, 0.5}};
92 double MAX_M_LED[7][5] = {{0., 0., 0., 0., 0.},
94 {0, 3000, 500000, 3000, 150000},
95 {0, 2.5, 2.5, 2.8, 2.6},
96 {0, 0.94, 0.95, 1.04, 1.02},
97 {0, 5.5, 5.2, 4.8, 4.2},
98 {0, 6.5, 6.5, 8.5, 8.5}};
99 double MIN_C_LED[7][5] = {{0., 0., 0., 0., 0.},
100 {0., 0., 0., 0., 0.},
101 {0, 1000., 1000., 1000., 100.},
102 {0, 1.3, 1.3, 0.7, 0.3},
103 {0, 0.76, 0.76, 0.85, 0.5},
104 {0, 2.4, 2.4, 1.5, 3.5},
105 {0, 1.5, 1.5, 1.5, 3.5}};
106 double MAX_C_LED[7][5] = {{0., 0., 0., 0., 0.},
107 {0., 0., 0., 0., 0.},
108 {0, 1E20, 1E20, 1E20, 1E20},
109 {0, 1.9, 1.9, 1.65, 1.5},
110 {0, 0.94, 0.94, 0.99, 0.8},
111 {0, 3.7, 3.7, 2.7, 4.5},
112 {0, 2.5, 2.5, 2.5, 4.5}};
113 double porog_LED[5] = {0., 2., 2., 2., 2.};
114 double Pedest_LED[2][5] = {{0., 0.1, 0.6, 0.1, 0.8},
115 {0., 0.1, 0.1, 0.1, 0.4}};
116 for (
int i = 0;
i <= 6;
i++)
117 for (
int j = 0;
j <= 4;
j++) {
118 MIN_M[
i][
j] = MIN_M_LED[
i][
j];
119 MAX_M[
i][
j] = MAX_M_LED[
i][
j];
120 MIN_C[
i][
j] = MIN_C_LED[
i][
j];
121 MAX_C[
i][
j] = MAX_C_LED[
i][
j];
123 for (
int i = 0;
i <= 4;
i++) {
124 porog[
i] = porog_LED[
i];
125 Pedest[0][
i] = Pedest_LED[0][
i];
126 Pedest[1][
i] = Pedest_LED[1][
i];
132 double MIN_M_LASER[7][5] = {{0., 0., 0., 0., 0.},
133 {0., 0., 0., 0., 0.},
134 {0, 40., 40., 100., 40.},
135 {0, 0.3, 0.9, 0.2, 0.2},
136 {0, 0.5, 0.55, 0.55, 0.60},
137 {0, 5.0, 2.5, 1.1, 5.5},
138 {0, 1.5, 1.5, 1.5, 1.5}};
139 double MAX_M_LASER[7][5] = {{0., 0., 0., 0., 0.},
140 {0., 0., 0., 0., 0.},
141 {0, 3500, 350000, 3500, 150000},
142 {0, 2.5, 3.6, 2.6, 2.1},
143 {0, 1.00, 1.00, 1.04, 1.02},
144 {0, 7.5, 6.5, 4.4, 8.5},
145 {0, 8.5, 8.5, 6.5, 8.5}};
146 double MIN_C_LASER[7][5] = {{0., 0., 0., 0., 0.},
147 {0., 0., 0., 0., 0.},
148 {0, 1000., 1000., 1000., 100.},
149 {0, 1.3, 1.3, 0.7, 0.3},
150 {0, 0.76, 0.76, 0.85, 0.5},
151 {0, 2.4, 2.4, 1.5, 3.5},
152 {0, 1.5, 1.5, 1.5, 3.5}};
153 double MAX_C_LASER[7][5] = {{0., 0., 0., 0., 0.},
154 {0., 0., 0., 0., 0.},
155 {0, 1E20, 1E20, 1E20, 1E20},
156 {0, 1.9, 1.9, 1.65, 1.5},
157 {0, 0.94, 0.94, 1.0, 0.8},
158 {0, 3.7, 3.7, 2.7, 4.5},
159 {0, 2.5, 2.5, 2.5, 4.5}};
160 double porog_LASER[5] = {0., 2., 2., 2., 2.};
162 double Pedest_LASER[2][5] = {{0., 0.1, 0.6, 0.1, 0.8},
163 {0., 0.1, 0.1, 0.1, 0.4}};
164 for (
int i = 0;
i <= 6;
i++)
165 for (
int j = 0;
j <= 4;
j++) {
166 MIN_M[
i][
j] = MIN_M_LASER[
i][
j];
167 MAX_M[
i][
j] = MAX_M_LASER[
i][
j];
168 MIN_C[
i][
j] = MIN_C_LASER[
i][
j];
169 MAX_C[
i][
j] = MAX_C_LASER[
i][
j];
171 for (
int i = 0;
i <= 4;
i++) {
172 porog[
i] = porog_LASER[
i];
173 Pedest[0][
i] = Pedest_LASER[0][
i];
174 Pedest[1][
i] = Pedest_LASER[1][
i];
179 double MIN_M_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.},
180 {0., 0., 0., 0., 0.},
181 {0, 10., 10., 200., 5.},
182 {0, 2.7, 2.7, 2.7, 0.2},
183 {0, 0.31, 0.31, 0.05, 0.15},
184 {0, 4.5, 4.5, 4.5, 2.0},
185 {0, 0.5, 0.5, 0.5, 0.5}};
186 double MAX_M_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.},
187 {0., 0., 0., 0., 0.},
188 {0, 2500., 250000., 2500., 150000.},
189 {0, 3.0, 3.0, 5.0, 3.0},
190 {0, 0.95, 0.95, 1.00, 0.98},
191 {0, 4.6, 4.6, 4.6, 7.0},
192 {0, 9.5, 9.5, 8.5, 8.5}};
193 double MIN_C_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.},
194 {0., 0., 0., 0., 0.},
195 {0, 1000., 1000., 1000., 100.},
196 {0, 1.3, 1.3, 0.7, 0.3},
197 {0, 0.76, 0.76, 0.85, 0.5},
198 {0, 2.4, 2.4, 1.5, 3.5},
199 {0, 1.5, 1.5, 1.5, 3.5}};
200 double MAX_C_PEDESTAL[7][5] = {{0., 0., 0., 0., 0.},
201 {0., 0., 0., 0., 0.},
202 {0, 1E20, 1E20, 1E20, 1E20},
203 {0, 1.9, 1.9, 1.65, 1.5},
204 {0, 0.94, 0.94, 1.0, 0.8},
205 {0, 3.7, 3.7, 2.7, 4.5},
206 {0, 2.5, 2.5, 2.5, 4.5}};
207 double porog_PEDESTAL[5] = {0., 2., 2., 2., 2.};
209 double Pedest_PEDESTAL[2][5] = {{0., 0.1, 0.6, 0.1, 0.8},
210 {0., 0.1, 0.1, 0.1, 0.4}};
211 for (
int i = 0;
i <= 6;
i++)
212 for (
int j = 0;
j <= 4;
j++) {
213 MIN_M[
i][
j] = MIN_M_PEDESTAL[
i][
j];
214 MAX_M[
i][
j] = MAX_M_PEDESTAL[
i][
j];
215 MIN_C[
i][
j] = MIN_C_PEDESTAL[
i][
j];
216 MAX_C[
i][
j] = MAX_C_PEDESTAL[
i][
j];
218 for (
int i = 0;
i <= 4;
i++) {
219 porog[
i] = porog_PEDESTAL[
i];
220 Pedest[0][
i] = Pedest_PEDESTAL[0][
i];
221 Pedest[1][
i] = Pedest_PEDESTAL[1][
i];
228 cout << MIN_M[2][1] << endl;
234 TCanvas *cHB =
new TCanvas(
"cHB",
"cHB", 1000, 1000);
236 TCanvas *cHE =
new TCanvas(
"cHE",
"cHE", 1500, 1500);
238 TCanvas *cONE =
new TCanvas(
"cONE",
"cONE", 1500, 500);
239 TCanvas *cPED =
new TCanvas(
"cPED",
"cPED", 1000, 500);
241 TCanvas *cHF =
new TCanvas(
"cHF",
"cHF", 1000, 1000);
245 TCanvas *c1x0 =
new TCanvas(
"c1x0",
"c1x0", 300, 10, 800, 700);
247 TCanvas *c1x1 =
new TCanvas(
"c1x1",
"c1x1", 100, 10, 600, 700);
249 TCanvas *c2x1 =
new TCanvas(
"c2x1",
"c2x1", 200, 300, 1600, 800);
251 TCanvas *c3x5 =
new TCanvas(
"c3x5",
"c3x5", 1000, 1500);
254 char *
str = (
char *)alloca(10000);
272 int k_min[5] = {0, 1, 1, 4, 1};
275 int k_max[5] = {0, 4, 7, 4, 4};
277 TH2F *Map_Ampl[33][5][ALLDEPTH];
278 TH2F *Map_SUB[5][ALLDEPTH];
279 TH1F *HistAmplDepth[22][5][ALLDEPTH];
280 TH1F *HistAmpl[22][5];
281 TH2F *Map_SUBTS[5][ALLDEPTH];
283 TH1F *HistPed[3][5][4];
285 TH1F *hist_GoodTSshape[5];
286 TH1F *hist_GoodTSshape0[5];
287 TH1F *hist_BadTSshape[5];
288 TH1F *hist_BadTSshape0[5];
289 TH1F *hist_ADC_All[5];
290 TH1F *hist_ADC_DS[5][ALLDEPTH];
291 TH1F *hist_SumADC[5][ALLDEPTH];
292 TH1F *hist_SumADC0[5][ALLDEPTH];
293 TH1F *hist_SumADC1[5][ALLDEPTH];
295 Map_SUB[1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HB");
296 Map_SUB[1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HB");
297 Map_SUB[2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HE");
298 Map_SUB[2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HE");
299 Map_SUB[2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HE");
300 Map_SUB[3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HO");
301 Map_SUB[4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HF");
302 Map_SUB[4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HF");
304 Map_SUB[1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HB");
305 Map_SUB[1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HB");
306 Map_SUB[2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HE");
307 Map_SUB[2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5_HE");
308 Map_SUB[2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6_HE");
309 Map_SUB[2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7_HE");
310 Map_SUB[4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HF");
311 Map_SUB[4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HF");
317 for (
int sub = 1; sub <= 4; sub++) {
332 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
345 sprintf(
str,
"HB, Depth%d \b",
k);
347 sprintf(
str,
"HE, Depth%d \b",
k);
349 sprintf(
str,
"HO, Depth%d \b",
k);
351 sprintf(
str,
"HF, Depth%d \b",
k);
352 Map_SUB[sub][
k]->SetTitle(
str);
353 Map_SUB[sub][
k]->SetXTitle(
"#eta \b");
354 Map_SUB[sub][
k]->SetYTitle(
"#phi \b");
355 Map_SUB[sub][
k]->SetZTitle(
"Number of events \b");
357 Map_SUB[sub][
k]->SetTitleOffset(0.8,
"Z");
358 Map_SUB[sub][
k]->Draw(
"COLZ");
359 Map_SUB[sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
380 cHB->Print(
"MapRateEntryHB.png");
384 cHE->Print(
"MapRateEntryHE.png");
388 cONE->Print(
"MapRateEntryHO.png");
392 cHF->Print(
"MapRateEntryHF.png");
401 Map_Ampl[1][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Error_HB");
402 Map_Ampl[1][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Error_HB");
403 Map_Ampl[1][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Error_HE");
404 Map_Ampl[1][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Error_HE");
405 Map_Ampl[1][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Error_HE");
406 Map_Ampl[1][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HO");
407 Map_Ampl[1][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Error_HF");
408 Map_Ampl[1][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Error_HF");
410 Map_Ampl[1][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Error_HB");
411 Map_Ampl[1][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HB");
412 Map_Ampl[1][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HE");
413 Map_Ampl[1][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5Error_HE");
414 Map_Ampl[1][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6Error_HE");
415 Map_Ampl[1][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7Error_HE");
416 Map_Ampl[1][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Error_HF");
417 Map_Ampl[1][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HF");
419 for (
int sub = 1; sub <= 4; sub++) {
434 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
443 Map_Ampl[1][sub][
k]->Divide(Map_Ampl[1][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
448 sprintf(
str,
"HB, Depth%d \b",
k);
450 sprintf(
str,
"HE, Depth%d \b",
k);
452 sprintf(
str,
"HO, Depth%d \b",
k);
454 sprintf(
str,
"HF, Depth%d \b",
k);
455 Map_Ampl[1][sub][
k]->SetTitle(
str);
456 Map_Ampl[1][sub][
k]->SetXTitle(
"#eta \b");
457 Map_Ampl[1][sub][
k]->SetYTitle(
"#phi \b");
458 Map_Ampl[1][sub][
k]->SetZTitle(
"Rate \b");
460 Map_Ampl[1][sub][
k]->SetTitleOffset(0.8,
"Z");
461 Map_Ampl[1][sub][
k]->Draw(
"COLZ");
462 Map_Ampl[1][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
463 Map_Ampl[1][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
483 cHB->Print(
"MapRateCapIDHB.png");
487 cHE->Print(
"MapRateCapIDHE.png");
491 cONE->Print(
"MapRateCapIDHO.png");
495 cHF->Print(
"MapRateCapIDHF.png");
504 Map_Ampl[2][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1ADCAmpl225_HB");
505 Map_Ampl[2][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2ADCAmpl225_HB");
506 Map_Ampl[2][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1ADCAmpl225_HE");
507 Map_Ampl[2][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2ADCAmpl225_HE");
508 Map_Ampl[2][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3ADCAmpl225_HE");
509 Map_Ampl[2][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HO");
510 Map_Ampl[2][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1ADCAmpl225_HF");
511 Map_Ampl[2][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2ADCAmpl225_HF");
513 Map_Ampl[2][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3ADCAmpl225_HB");
514 Map_Ampl[2][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HB");
515 Map_Ampl[2][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HE");
516 Map_Ampl[2][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5ADCAmpl225_HE");
517 Map_Ampl[2][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6ADCAmpl225_HE");
518 Map_Ampl[2][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7ADCAmpl225_HE");
519 Map_Ampl[2][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3ADCAmpl225_HF");
520 Map_Ampl[2][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HF");
522 HistAmpl[2][1] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HB");
523 HistAmpl[2][2] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HE");
524 HistAmpl[2][3] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HO");
525 HistAmpl[2][4] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HF");
531 Map_Ampl[3][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Amplitude225_HB");
532 Map_Ampl[3][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Amplitude225_HB");
533 Map_Ampl[3][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Amplitude225_HE");
534 Map_Ampl[3][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Amplitude225_HE");
535 Map_Ampl[3][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Amplitude225_HE");
536 Map_Ampl[3][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HO");
537 Map_Ampl[3][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Amplitude225_HF");
538 Map_Ampl[3][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Amplitude225_HF");
540 Map_Ampl[3][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Amplitude225_HB");
541 Map_Ampl[3][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HB");
542 Map_Ampl[3][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HE");
543 Map_Ampl[3][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5Amplitude225_HE");
544 Map_Ampl[3][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6Amplitude225_HE");
545 Map_Ampl[3][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7Amplitude225_HE");
546 Map_Ampl[3][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Amplitude225_HF");
547 Map_Ampl[3][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HF");
549 HistAmpl[3][1] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HB");
550 HistAmpl[3][2] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HE");
551 HistAmpl[3][3] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HO");
552 HistAmpl[3][4] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HF");
558 Map_Ampl[4][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Ampl047_HB");
559 Map_Ampl[4][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Ampl047_HB");
560 Map_Ampl[4][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Ampl047_HE");
561 Map_Ampl[4][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Ampl047_HE");
562 Map_Ampl[4][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Ampl047_HE");
563 Map_Ampl[4][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HO");
564 Map_Ampl[4][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Ampl047_HF");
565 Map_Ampl[4][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Ampl047_HF");
567 Map_Ampl[4][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Ampl047_HB");
568 Map_Ampl[4][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HB");
569 Map_Ampl[4][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HE");
570 Map_Ampl[4][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5Ampl047_HE");
571 Map_Ampl[4][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6Ampl047_HE");
572 Map_Ampl[4][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7Ampl047_HE");
573 Map_Ampl[4][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Ampl047_HF");
574 Map_Ampl[4][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HF");
576 HistAmpl[4][1] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HB");
577 HistAmpl[4][2] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HE");
578 HistAmpl[4][3] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HO");
579 HistAmpl[4][4] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HF");
585 Map_Ampl[5][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA225_HB");
586 Map_Ampl[5][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA225_HB");
587 Map_Ampl[5][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA225_HE");
588 Map_Ampl[5][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA225_HE");
589 Map_Ampl[5][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA225_HE");
590 Map_Ampl[5][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HO");
591 Map_Ampl[5][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA225_HF");
592 Map_Ampl[5][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA225_HF");
594 Map_Ampl[5][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA225_HB");
595 Map_Ampl[5][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HB");
596 Map_Ampl[5][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HE");
597 Map_Ampl[5][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TSmeanA225_HE");
598 Map_Ampl[5][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TSmeanA225_HE");
599 Map_Ampl[5][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TSmeanA225_HE");
600 Map_Ampl[5][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA225_HF");
601 Map_Ampl[5][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HF");
603 HistAmpl[5][1] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HB");
604 HistAmpl[5][2] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HE");
605 HistAmpl[5][3] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HO");
606 HistAmpl[5][4] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HF");
612 Map_Ampl[6][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmaxA225_HB");
613 Map_Ampl[6][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmaxA225_HB");
614 Map_Ampl[6][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmaxA225_HE");
615 Map_Ampl[6][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmaxA225_HE");
616 Map_Ampl[6][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmaxA225_HE");
617 Map_Ampl[6][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HO");
618 Map_Ampl[6][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmaxA225_HF");
619 Map_Ampl[6][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmaxA225_HF");
621 Map_Ampl[6][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmaxA225_HB");
622 Map_Ampl[6][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HB");
623 Map_Ampl[6][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HE");
624 Map_Ampl[6][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TSmaxA225_HE");
625 Map_Ampl[6][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TSmaxA225_HE");
626 Map_Ampl[6][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TSmaxA225_HE");
627 Map_Ampl[6][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmaxA225_HF");
628 Map_Ampl[6][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HF");
630 HistAmpl[6][1] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HB");
631 HistAmpl[6][2] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HE");
632 HistAmpl[6][3] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HO");
633 HistAmpl[6][4] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HF");
636 for (
int sub = 1; sub <= 4; sub++) {
651 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
660 Map_Ampl[
test][sub][
k]->Divide(Map_Ampl[
test][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
665 sprintf(
str,
"HB, Depth%d \b",
k);
667 sprintf(
str,
"HE, Depth%d \b",
k);
669 sprintf(
str,
"HO, Depth%d \b",
k);
671 sprintf(
str,
"HF, Depth%d \b",
k);
672 Map_Ampl[
test][sub][
k]->SetTitle(
str);
673 Map_Ampl[
test][sub][
k]->SetXTitle(
"#eta \b");
674 Map_Ampl[
test][sub][
k]->SetYTitle(
"#phi \b");
675 Map_Ampl[
test][sub][
k]->SetZTitle(
"Rate \b");
677 Map_Ampl[
test][sub][
k]->SetTitleOffset(0.8,
"Z");
678 Map_Ampl[
test][sub][
k]->Draw(
"COLZ");
679 Map_Ampl[
test][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
680 Map_Ampl[
test][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
700 cHB->Print(
"MapRateAmplHB.png");
704 cHE->Print(
"MapRateAmplHE.png");
708 cONE->Print(
"MapRateAmplHO.png");
712 cHF->Print(
"MapRateAmplHF.png");
718 cHB->Print(
"MapRateRMSHB.png");
722 cHE->Print(
"MapRateRMSHE.png");
726 cONE->Print(
"MapRateRMSHO.png");
730 cHF->Print(
"MapRateRMSHF.png");
736 cHB->Print(
"MapRate43TStoAllTSHB.png");
740 cHE->Print(
"MapRate43TStoAllTSHE.png");
744 cONE->Print(
"MapRate43TStoAllTSHO.png");
748 cHF->Print(
"MapRate43TStoAllTSHF.png");
754 cHB->Print(
"MapRateMeanPosHB.png");
758 cHE->Print(
"MapRateMeanPosHE.png");
762 cONE->Print(
"MapRateMeanPosHO.png");
766 cHF->Print(
"MapRateMeanPosHF.png");
772 cHB->Print(
"MapRateMaxPosHB.png");
776 cHE->Print(
"MapRateMaxPosHE.png");
780 cONE->Print(
"MapRateMaxPosHO.png");
784 cHF->Print(
"MapRateMaxPosHF.png");
791 if (
test == 2 && sub == 2) {
793 TH1F *kjkjkhj2 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHEtest1");
795 kjkjkhj2->SetTitle(
"HE, All Depth: shunt1");
797 TH1F *kjkjkhj3 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHEtest6");
799 kjkjkhj3->SetTitle(
"HE, All Depth: shunt6");
801 if (
test == 2 && sub == 1) {
803 TH1F *kjkjkhb2 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHBtest1");
805 kjkjkhb2->SetTitle(
"HB, All Depth: shunt1");
807 TH1F *kjkjkhb3 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHBtest6");
809 kjkjkhb3->SetTitle(
"HB, All Depth: shunt6");
816 HistAmpl[
test][sub]->SetTitle(
"HB, All Depth: shunt6");
818 HistAmpl[
test][sub]->SetTitle(
"HE, All Depth: shunt6");
820 HistAmpl[
test][sub]->SetTitle(
"HO, All Depth");
822 HistAmpl[
test][sub]->SetTitle(
"HF, All Depth");
824 HistAmpl[
test][sub]->SetXTitle(
"ADC Amlitude in each event & cell \b");
826 HistAmpl[
test][sub]->SetXTitle(
"RMS in each event & cell \b");
828 HistAmpl[
test][sub]->SetXTitle(
"Ratio in each event & cell \b");
830 HistAmpl[
test][sub]->SetXTitle(
"Mean TS position in each event & cell \b");
832 HistAmpl[
test][sub]->SetXTitle(
"Max TS position in each event & cell \b");
833 HistAmpl[
test][sub]->SetYTitle(
"Number of cell-events \b");
834 HistAmpl[
test][sub]->SetLineColor(4);
835 HistAmpl[
test][sub]->SetLineWidth(2);
836 HistAmpl[
test][sub]->SetTitleOffset(1.4,
"Y");
837 HistAmpl[
test][sub]->Draw(
"");
844 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 5.);
846 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 1.);
848 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 9.);
850 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 9.);
853 double min_x[] = {MIN_M[
test][sub], MIN_M[
test][sub]};
854 double min_y[] = {0., 100000000.};
855 TGraph *MIN =
new TGraph(2, min_x, min_y);
856 MIN->SetLineStyle(2);
857 MIN->SetLineColor(2);
858 MIN->SetLineWidth(2 + 100 * 100);
859 MIN->SetFillStyle(3005);
860 MIN->SetFillColor(2);
862 double max_x[] = {MAX_M[
test][sub], MAX_M[
test][sub]};
863 double max_y[] = {0., 100000000.};
864 TGraph *MAX =
new TGraph(2, max_x, max_y);
865 MAX->SetLineStyle(2);
866 MAX->SetLineColor(2);
867 MAX->SetLineWidth(-2 - 100 * 100);
868 MAX->SetFillStyle(3004);
869 MAX->SetFillColor(2);
873 cONE->Print(
"HistAmplHB.png");
877 cONE->Print(
"HistAmplHE.png");
881 cONE->Print(
"HistAmplHO.png");
885 cONE->Print(
"HistAmplHF.png");
891 cONE->Print(
"HistRMSHB.png");
895 cONE->Print(
"HistRMSHE.png");
899 cONE->Print(
"HistRMSHO.png");
903 cONE->Print(
"HistRMSHF.png");
909 cONE->Print(
"Hist43TStoAllTSHB.png");
913 cONE->Print(
"Hist43TStoAllTSHE.png");
917 cONE->Print(
"Hist43TStoAllTSHO.png");
921 cONE->Print(
"Hist43TStoAllTSHF.png");
927 cONE->Print(
"HistMeanPosHB.png");
931 cONE->Print(
"HistMeanPosHE.png");
935 cONE->Print(
"HistMeanPosHO.png");
939 cONE->Print(
"HistMeanPosHF.png");
945 cONE->Print(
"HistMaxPosHB.png");
949 cONE->Print(
"HistMaxPosHE.png");
953 cONE->Print(
"HistMaxPosHO.png");
957 cONE->Print(
"HistMaxPosHF.png");
964 TH2F *Map_Calib[5][5];
966 Map_Calib[1][1] = (TH2F *)
dir->FindObjectAny(
"h_map_HB");
967 Map_Calib[1][2] = (TH2F *)
dir->FindObjectAny(
"h_map_HB");
968 Map_Calib[2][1] = (TH2F *)
dir->FindObjectAny(
"h_map_HE");
969 Map_Calib[2][2] = (TH2F *)
dir->FindObjectAny(
"h_map_HE");
970 Map_Calib[2][3] = (TH2F *)
dir->FindObjectAny(
"h_map_HE");
971 Map_Calib[3][4] = (TH2F *)
dir->FindObjectAny(
"h_map_HO");
972 Map_Calib[4][1] = (TH2F *)
dir->FindObjectAny(
"h_map_HF");
973 Map_Calib[4][2] = (TH2F *)
dir->FindObjectAny(
"h_map_HF");
979 for (
int sub = 1; sub <= 4; sub++) {
1005 Map_Calib[sub][
k]->SetTitle(
str);
1006 Map_Calib[sub][
k]->SetXTitle(
"#eta \b");
1007 Map_Calib[sub][
k]->SetYTitle(
"#phi \b");
1008 Map_Calib[sub][
k]->SetZTitle(
"Number of events\b");
1010 Map_Calib[sub][
k]->SetTitleOffset(0.8,
"Z");
1011 Map_Calib[sub][
k]->Draw(
"COLZ");
1012 Map_Calib[sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
1022 cONE->Print(
"MapRateCalibEntryHB.png");
1026 cONE->Print(
"MapRateCalibEntryHE.png");
1030 cONE->Print(
"MapRateCalibEntryHO.png");
1034 cONE->Print(
"MapRateCalibEntryHF.png");
1043 Map_Ampl[11][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HB");
1044 Map_Ampl[11][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HB");
1045 Map_Ampl[11][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HE");
1046 Map_Ampl[11][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HE");
1047 Map_Ampl[11][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HE");
1048 Map_Ampl[11][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HO");
1049 Map_Ampl[11][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HF");
1050 Map_Ampl[11][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapCapCalib047_HF");
1052 for (
int sub = 1; sub <= 4; sub++) {
1067 Map_Ampl[11][sub][
k]->Divide(Map_Ampl[11][sub][
k], Map_Calib[sub][
k], 1, 1,
"B");
1079 Map_Ampl[11][sub][
k]->SetTitle(
str);
1080 Map_Ampl[11][sub][
k]->SetXTitle(
"#eta \b");
1081 Map_Ampl[11][sub][
k]->SetYTitle(
"#phi \b");
1082 Map_Ampl[11][sub][
k]->SetZTitle(
"Rate \b");
1083 Map_Ampl[11][sub][
k]->SetTitleOffset(0.75,
"Z");
1084 Map_Ampl[11][sub][
k]->Draw(
"COLZ");
1085 Map_Ampl[11][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
1086 Map_Ampl[11][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
1095 cONE->Print(
"MapRateCapCalibHB.png");
1099 cONE->Print(
"MapRateCapCalibHE.png");
1103 cONE->Print(
"MapRateCapCalibHO.png");
1107 cONE->Print(
"MapRateCapCalibHF.png");
1116 Map_Ampl[12][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HB");
1117 Map_Ampl[12][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HB");
1118 Map_Ampl[12][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HE");
1119 Map_Ampl[12][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HE");
1120 Map_Ampl[12][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HE");
1121 Map_Ampl[12][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HO");
1122 Map_Ampl[12][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HF");
1123 Map_Ampl[12][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapADCCalib047_HF");
1125 HistAmpl[12][1] = (TH1F *)
dir->FindObjectAny(
"h_ADCCalib_HB");
1126 HistAmpl[12][2] = (TH1F *)
dir->FindObjectAny(
"h_ADCCalib_HE");
1127 HistAmpl[12][3] = (TH1F *)
dir->FindObjectAny(
"h_ADCCalib_HO");
1128 HistAmpl[12][4] = (TH1F *)
dir->FindObjectAny(
"h_ADCCalib_HF");
1134 Map_Ampl[13][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HB");
1135 Map_Ampl[13][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HB");
1136 Map_Ampl[13][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HE");
1137 Map_Ampl[13][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HE");
1138 Map_Ampl[13][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HE");
1139 Map_Ampl[13][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HO");
1140 Map_Ampl[13][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HF");
1141 Map_Ampl[13][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapWidthCalib047_HF");
1143 HistAmpl[13][1] = (TH1F *)
dir->FindObjectAny(
"h_WidthCalib_HB");
1144 HistAmpl[13][2] = (TH1F *)
dir->FindObjectAny(
"h_WidthCalib_HE");
1145 HistAmpl[13][3] = (TH1F *)
dir->FindObjectAny(
"h_WidthCalib_HO");
1146 HistAmpl[13][4] = (TH1F *)
dir->FindObjectAny(
"h_WidthCalib_HF");
1152 Map_Ampl[14][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HB");
1153 Map_Ampl[14][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HB");
1154 Map_Ampl[14][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HE");
1155 Map_Ampl[14][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HE");
1156 Map_Ampl[14][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HE");
1157 Map_Ampl[14][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HO");
1158 Map_Ampl[14][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HF");
1159 Map_Ampl[14][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapRatioCalib047_HF");
1161 HistAmpl[14][1] = (TH1F *)
dir->FindObjectAny(
"h_RatioCalib_HB");
1162 HistAmpl[14][2] = (TH1F *)
dir->FindObjectAny(
"h_RatioCalib_HE");
1163 HistAmpl[14][3] = (TH1F *)
dir->FindObjectAny(
"h_RatioCalib_HO");
1164 HistAmpl[14][4] = (TH1F *)
dir->FindObjectAny(
"h_RatioCalib_HF");
1170 Map_Ampl[15][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HB");
1171 Map_Ampl[15][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HB");
1172 Map_Ampl[15][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HE");
1173 Map_Ampl[15][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HE");
1174 Map_Ampl[15][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HE");
1175 Map_Ampl[15][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HO");
1176 Map_Ampl[15][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HF");
1177 Map_Ampl[15][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmeanCalib047_HF");
1179 HistAmpl[15][1] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanCalib_HB");
1180 HistAmpl[15][2] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanCalib_HE");
1181 HistAmpl[15][3] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanCalib_HO");
1182 HistAmpl[15][4] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanCalib_HF");
1188 Map_Ampl[16][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HB");
1189 Map_Ampl[16][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HB");
1190 Map_Ampl[16][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HE");
1191 Map_Ampl[16][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HE");
1192 Map_Ampl[16][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HE");
1193 Map_Ampl[16][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HO");
1194 Map_Ampl[16][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HF");
1195 Map_Ampl[16][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapTSmaxCalib047_HF");
1197 HistAmpl[16][1] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxCalib_HB");
1198 HistAmpl[16][2] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxCalib_HE");
1199 HistAmpl[16][3] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxCalib_HO");
1200 HistAmpl[16][4] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxCalib_HF");
1203 for (
int sub = 1; sub <= 4; sub++) {
1232 Map_Ampl[
test][sub][
k]->Divide(Map_Ampl[
test][sub][
k], Map_Calib[sub][
k], 1, 1,
"B");
1244 Map_Ampl[
test][sub][
k]->SetTitle(
str);
1245 Map_Ampl[
test][sub][
k]->SetXTitle(
"#eta \b");
1246 Map_Ampl[
test][sub][
k]->SetYTitle(
"#phi \b");
1247 Map_Ampl[
test][sub][
k]->SetZTitle(
"Rate \b");
1248 Map_Ampl[
test][sub][
k]->SetTitleOffset(0.8,
"Z");
1249 Map_Ampl[
test][sub][
k]->Draw(
"COLZ");
1250 Map_Ampl[
test][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
1251 Map_Ampl[
test][sub][
k]->GetZaxis()->SetRangeUser(0.00001, 1.);
1260 cONE->Print(
"MapRateAmplCalibHB.png");
1264 cONE->Print(
"MapRateAmplCalibHE.png");
1268 cONE->Print(
"MapRateAmplCalibHO.png");
1272 cONE->Print(
"MapRateAmplCalibHF.png");
1278 cONE->Print(
"MapRateRMSCalibHB.png");
1282 cONE->Print(
"MapRateRMSCalibHE.png");
1286 cONE->Print(
"MapRateRMSCalibHO.png");
1290 cONE->Print(
"MapRateRMSCalibHF.png");
1296 cONE->Print(
"MapRate43TStoAllTSCalibHB.png");
1300 cONE->Print(
"MapRate43TStoAllTSCalibHE.png");
1304 cONE->Print(
"MapRate43TStoAllTSCalibHO.png");
1308 cONE->Print(
"MapRate43TStoAllTSCalibHF.png");
1314 cONE->Print(
"MapRateMeanPosCalibHB.png");
1318 cONE->Print(
"MapRateMeanPosCalibHE.png");
1322 cONE->Print(
"MapRateMeanPosCalibHO.png");
1326 cONE->Print(
"MapRateMeanPosCalibHF.png");
1332 cONE->Print(
"MapRateMaxPosCalibHB.png");
1336 cONE->Print(
"MapRateMaxPosCalibHE.png");
1340 cONE->Print(
"MapRateMaxPosCalibHO.png");
1344 cONE->Print(
"MapRateMaxPosCalibHF.png");
1355 HistAmpl[
test][sub]->SetTitle(
"HB, All Depth");
1357 HistAmpl[
test][sub]->SetTitle(
"HE, All Depth");
1359 HistAmpl[
test][sub]->SetTitle(
"HO, All Depth");
1361 HistAmpl[
test][sub]->SetTitle(
"HF, All Depth");
1363 HistAmpl[
test][sub]->SetXTitle(
"ADC Amlitude in each event & cell \b");
1365 HistAmpl[
test][sub]->SetXTitle(
"Amplitude RMS in each event & cell \b");
1367 HistAmpl[
test][sub]->SetXTitle(
"Ratio in each event & cell \b");
1369 HistAmpl[
test][sub]->SetXTitle(
"Mean TS position in each event & cell \b");
1371 HistAmpl[
test][sub]->SetXTitle(
"Max TS position in each event & cell \b");
1372 HistAmpl[
test][sub]->SetYTitle(
"Number of cell-events \b");
1373 HistAmpl[
test][sub]->SetLineColor(4);
1374 HistAmpl[
test][sub]->SetLineWidth(2);
1375 HistAmpl[
test][sub]->SetTitleOffset(1.4,
"Y");
1376 HistAmpl[
test][sub]->Draw(
"");
1380 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(1., 10000.);
1383 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 5.);
1385 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 1.);
1387 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 9.);
1389 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 9.);
1392 double min_x[] = {MIN_C[
test - 10][sub], MIN_C[
test - 10][sub]};
1393 double min_y[] = {0., 100000000.};
1394 TGraph *MIN =
new TGraph(2, min_x, min_y);
1395 MIN->SetLineStyle(2);
1396 MIN->SetLineColor(2);
1397 MIN->SetLineWidth(2 + 100 * 100);
1398 MIN->SetFillStyle(3005);
1399 MIN->SetFillColor(2);
1401 double max_x[] = {MAX_C[
test - 10][sub], MAX_C[
test - 10][sub]};
1402 double max_y[] = {0., 100000000.};
1403 TGraph *MAX =
new TGraph(2, max_x, max_y);
1404 MAX->SetLineStyle(2);
1405 MAX->SetLineColor(2);
1406 MAX->SetLineWidth(-2 - 100 * 100);
1407 MAX->SetFillStyle(3004);
1408 MAX->SetFillColor(2);
1412 cONE->Print(
"HistAmplCalibHB.png");
1416 cONE->Print(
"HistAmplCalibHE.png");
1420 cONE->Print(
"HistAmplCalibHO.png");
1424 cONE->Print(
"HistAmplCalibHF.png");
1430 cONE->Print(
"HistRMSCalibHB.png");
1434 cONE->Print(
"HistRMSCalibHE.png");
1438 cONE->Print(
"HistRMSCalibHO.png");
1442 cONE->Print(
"HistRMSCalibHF.png");
1448 cONE->Print(
"Hist43TStoAllTSCalibHB.png");
1452 cONE->Print(
"Hist43TStoAllTSCalibHE.png");
1456 cONE->Print(
"Hist43TStoAllTSCalibHO.png");
1460 cONE->Print(
"Hist43TStoAllTSCalibHF.png");
1466 cONE->Print(
"HistMeanPosCalibHB.png");
1470 cONE->Print(
"HistMeanPosCalibHE.png");
1474 cONE->Print(
"HistMeanPosCalibHO.png");
1478 cONE->Print(
"HistMeanPosCalibHF.png");
1484 cONE->Print(
"HistMaxPosCalibHB.png");
1488 cONE->Print(
"HistMaxPosCalibHE.png");
1492 cONE->Print(
"HistMaxPosCalibHO.png");
1496 cONE->Print(
"HistMaxPosCalibHF.png");
1507 Map_Ampl[21][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1AmplE34_HB");
1508 Map_Ampl[21][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2AmplE34_HB");
1509 Map_Ampl[21][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3AmplE34_HB");
1510 Map_Ampl[21][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4AmplE34_HB");
1511 Map_Ampl[21][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1AmplE34_HE");
1512 Map_Ampl[21][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2AmplE34_HE");
1513 Map_Ampl[21][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3AmplE34_HE");
1514 Map_Ampl[21][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4AmplE34_HE");
1515 Map_Ampl[21][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5AmplE34_HE");
1516 Map_Ampl[21][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6AmplE34_HE");
1517 Map_Ampl[21][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7AmplE34_HE");
1518 Map_Ampl[21][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4AmplE34_HO");
1519 Map_Ampl[21][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1AmplE34_HF");
1520 Map_Ampl[21][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2AmplE34_HF");
1521 Map_Ampl[21][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3AmplE34_HF");
1522 Map_Ampl[21][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4AmplE34_HF");
1524 TH2F *Map_RefAmpl[5][ALLDEPTH];
1525 TH2F *Map_RefSUB[5][ALLDEPTH];
1527 Map_RefAmpl[1][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1AmplE34_HB");
1528 Map_RefAmpl[1][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2AmplE34_HB");
1529 Map_RefAmpl[1][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3AmplE34_HB");
1530 Map_RefAmpl[1][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4AmplE34_HB");
1531 Map_RefAmpl[2][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1AmplE34_HE");
1532 Map_RefAmpl[2][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2AmplE34_HE");
1533 Map_RefAmpl[2][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3AmplE34_HE");
1534 Map_RefAmpl[2][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4AmplE34_HE");
1535 Map_RefAmpl[2][5] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth5AmplE34_HE");
1536 Map_RefAmpl[2][6] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth6AmplE34_HE");
1537 Map_RefAmpl[2][7] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth7AmplE34_HE");
1538 Map_RefAmpl[3][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4AmplE34_HO");
1539 Map_RefAmpl[4][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1AmplE34_HF");
1540 Map_RefAmpl[4][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2AmplE34_HF");
1541 Map_RefAmpl[4][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3AmplE34_HF");
1542 Map_RefAmpl[4][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4AmplE34_HF");
1544 Map_RefSUB[1][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1_HB");
1545 Map_RefSUB[1][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2_HB");
1546 Map_RefSUB[1][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3_HB");
1547 Map_RefSUB[1][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4_HB");
1548 Map_RefSUB[2][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1_HE");
1549 Map_RefSUB[2][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2_HE");
1550 Map_RefSUB[2][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3_HE");
1551 Map_RefSUB[2][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4_HE");
1552 Map_RefSUB[2][5] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth5_HE");
1553 Map_RefSUB[2][6] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth6_HE");
1554 Map_RefSUB[2][7] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth7_HE");
1555 Map_RefSUB[3][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4_HO");
1556 Map_RefSUB[4][1] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth1_HF");
1557 Map_RefSUB[4][2] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth2_HF");
1558 Map_RefSUB[4][3] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth3_HF");
1559 Map_RefSUB[4][4] = (TH2F *)refdir->FindObjectAny(
"h_mapDepth4_HF");
1561 HistAmplDepth[21][1][1] =
new TH1F(
"diffAmpl_Depth1_HB",
"", 100, -10., 10.);
1562 HistAmplDepth[21][1][2] =
new TH1F(
"diffAmpl_Depth2_HB",
"", 100, -10., 10.);
1563 HistAmplDepth[21][1][3] =
new TH1F(
"diffAmpl_Depth3_HB",
"", 100, -10., 10.);
1564 HistAmplDepth[21][1][4] =
new TH1F(
"diffAmpl_Depth4_HB",
"", 100, -10., 10.);
1565 HistAmplDepth[21][2][1] =
new TH1F(
"diffAmpl_Depth1_HE",
"", 100, -10., 10.);
1566 HistAmplDepth[21][2][2] =
new TH1F(
"diffAmpl_Depth2_HE",
"", 100, -10., 10.);
1567 HistAmplDepth[21][2][3] =
new TH1F(
"diffAmpl_Depth3_HE",
"", 100, -10., 10.);
1568 HistAmplDepth[21][2][4] =
new TH1F(
"diffAmpl_Depth4_HE",
"", 100, -10., 10.);
1569 HistAmplDepth[21][2][5] =
new TH1F(
"diffAmpl_Depth5_HE",
"", 100, -10., 10.);
1570 HistAmplDepth[21][2][6] =
new TH1F(
"diffAmpl_Depth6_HE",
"", 100, -10., 10.);
1571 HistAmplDepth[21][2][7] =
new TH1F(
"diffAmpl_Depth7_HE",
"", 100, -10., 10.);
1572 HistAmplDepth[21][3][4] =
new TH1F(
"diffAmpl_Depth4_HO",
"", 100, -10., 10.);
1573 HistAmplDepth[21][4][1] =
new TH1F(
"diffAmpl_Depth1_HF",
"", 100, -10., 10.);
1574 HistAmplDepth[21][4][2] =
new TH1F(
"diffAmpl_Depth2_HF",
"", 100, -10., 10.);
1575 HistAmplDepth[21][4][3] =
new TH1F(
"diffAmpl_Depth3_HF",
"", 100, -10., 10.);
1576 HistAmplDepth[21][4][4] =
new TH1F(
"diffAmpl_Depth4_HF",
"", 100, -10., 10.);
1578 for (
int sub = 1; sub <= 4; sub++) {
1593 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
1602 Map_Ampl[21][sub][
k]->Divide(Map_Ampl[21][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
1607 sprintf(
str,
"HB, Depth%d \b",
k);
1609 sprintf(
str,
"HE, Depth%d \b",
k);
1611 sprintf(
str,
"HO, Depth%d \b",
k);
1613 sprintf(
str,
"HF, Depth%d \b",
k);
1614 Map_Ampl[21][sub][
k]->SetTitle(
str);
1615 Map_Ampl[21][sub][
k]->SetXTitle(
"#eta \b");
1616 Map_Ampl[21][sub][
k]->SetYTitle(
"#phi \b");
1617 Map_Ampl[21][sub][
k]->SetZTitle(
"Response \b");
1618 Map_Ampl[21][sub][
k]->SetTitleOffset(1.1,
"Z");
1619 Map_Ampl[21][sub][
k]->Draw(
"COLZ");
1620 Map_Ampl[21][sub][
k]->GetYaxis()->SetRangeUser(0, 71.);
1640 cHB->Print(
"MapRateAmpl1HB.png");
1644 cHE->Print(
"MapRateAmpl1HE.png");
1648 cONE->Print(
"MapRateAmpl1HO.png");
1652 cHF->Print(
"MapRateAmpl1HF.png");
1668 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
1677 Map_RefAmpl[sub][
k]->Divide(Map_RefAmpl[sub][
k], Map_RefSUB[sub][
k], 1, 1,
"B");
1682 sprintf(
str,
"HB, Depth%d \b",
k);
1684 sprintf(
str,
"HE, Depth%d \b",
k);
1686 sprintf(
str,
"HO, Depth%d \b",
k);
1688 sprintf(
str,
"HF, Depth%d \b",
k);
1689 Map_RefAmpl[sub][
k]->SetTitle(
str);
1690 Map_RefAmpl[sub][
k]->SetXTitle(
"#eta \b");
1691 Map_RefAmpl[sub][
k]->SetYTitle(
"#phi \b");
1692 Map_RefAmpl[sub][
k]->SetZTitle(
"Response\b");
1693 Map_RefAmpl[sub][
k]->SetTitleOffset(1.1,
"Z");
1694 Map_RefAmpl[sub][
k]->Draw(
"COLZ");
1695 Map_RefAmpl[sub][
k]->GetYaxis()->SetRangeUser(0, 71.);
1715 cHB->Print(
"MapRateAmpl2HB.png");
1719 cHE->Print(
"MapRateAmpl2HE.png");
1723 cONE->Print(
"MapRateAmpl2HO.png");
1727 cHF->Print(
"MapRateAmpl2HF.png");
1743 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
1752 TH2F *
TTT =
new TH2F(
"Map",
"Map", 82, -41, 40, 72, 0, 71);
1753 for (
int x = 1;
x <= Map_Ampl[21][sub][
k]->GetXaxis()->GetNbins();
x++) {
1754 for (
int y = 1; y <= Map_Ampl[21][sub][
k]->GetYaxis()->GetNbins(); y++) {
1755 if (Map_Ampl[21][sub][
k]->GetBinContent(
x, y) != 0 && Map_RefAmpl[sub][
k]->GetBinContent(
x, y) != 0) {
1756 double ccc1 = Map_Ampl[21][sub][
k]->GetBinContent(
x, y) - Map_RefAmpl[sub][
k]->GetBinContent(
x, y);
1757 ccc1 = 100. * ccc1 / Map_Ampl[21][sub][
k]->GetBinContent(
x, y);
1758 HistAmplDepth[21][sub][
k]->Fill(ccc1);
1759 Map_Ampl[21][sub][
k]->SetBinContent(
x, y, fabs(ccc1));
1760 if (fabs(ccc1) > porog[sub])
1761 TTT->SetBinContent(
x, y, fabs(ccc1));
1763 TTT->SetBinContent(
x, y, 0);
1771 sprintf(
str,
"HB, Depth%d \b",
k);
1773 sprintf(
str,
"HE, Depth%d \b",
k);
1775 sprintf(
str,
"HO, Depth%d \b",
k);
1777 sprintf(
str,
"HF, Depth%d \b",
k);
1779 TTT->SetXTitle(
"#eta \b");
1780 TTT->SetYTitle(
"#phi \b");
1781 TTT->SetZTitle(
"Relative difference, % \b");
1782 TTT->SetTitleOffset(0.9,
"Z");
1784 TTT->GetYaxis()->SetRangeUser(0, 71.);
1785 TTT->GetZaxis()->SetRangeUser(0, 10.);
1805 cHB->Print(
"MapRateAmplDriftHB.png");
1809 cHE->Print(
"MapRateAmplDriftHE.png");
1813 cONE->Print(
"MapRateAmplDriftHO.png");
1817 cHF->Print(
"MapRateAmplDriftHF.png");
1834 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
1847 sprintf(
str,
"HB, Depth%d \b",
k);
1849 sprintf(
str,
"HE, Depth%d \b",
k);
1851 sprintf(
str,
"HO, Depth%d \b",
k);
1853 sprintf(
str,
"HF, Depth%d \b",
k);
1854 HistAmplDepth[21][sub][
k]->SetTitle(
str);
1855 HistAmplDepth[21][sub][
k]->SetYTitle(
"Number of cell-events \b");
1856 HistAmplDepth[21][sub][
k]->SetXTitle(
"Per cent \b");
1857 HistAmplDepth[21][sub][
k]->SetLineColor(4);
1858 HistAmplDepth[21][sub][
k]->SetLineWidth(2);
1859 HistAmplDepth[21][sub][
k]->SetTitleOffset(1.4,
"Y");
1860 HistAmplDepth[21][sub][
k]->Draw();
1862 HistAmplDepth[21][sub][
k]->GetXaxis()->SetRangeUser(-10., 10.);
1879 double min_x[] = {-1 * porog[sub], -1 * porog[sub]};
1880 double min_y[] = {0., 100000000.};
1881 TGraph *MIN =
new TGraph(2, min_x, min_y);
1882 MIN->SetLineStyle(2);
1883 MIN->SetLineColor(2);
1884 MIN->SetLineWidth(2 + 100 * 100);
1885 MIN->SetFillStyle(3005);
1886 MIN->SetFillColor(2);
1888 double max_x[] = {porog[sub], porog[sub]};
1889 double max_y[] = {0., 100000000.};
1890 TGraph *MAX =
new TGraph(2, max_x, max_y);
1891 MAX->SetLineStyle(2);
1892 MAX->SetLineColor(2);
1893 MAX->SetLineWidth(-2 - 100 * 100);
1894 MAX->SetFillStyle(3004);
1895 MAX->SetFillColor(2);
1899 cHB->Print(
"HistAmplDriftDepthHB.png");
1903 cHE->Print(
"HistAmplDriftDepthHE.png");
1907 cONE->Print(
"HistAmplDriftDepthHO.png");
1911 cHF->Print(
"HistAmplDriftDepthHF.png");
1920 Map_Ampl[31][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestal_HB");
1921 Map_Ampl[31][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestal_HB");
1922 Map_Ampl[31][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestal_HB");
1923 Map_Ampl[31][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HB");
1924 Map_Ampl[31][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestal_HE");
1925 Map_Ampl[31][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestal_HE");
1926 Map_Ampl[31][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestal_HE");
1927 Map_Ampl[31][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HE");
1928 Map_Ampl[31][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5pedestal_HE");
1929 Map_Ampl[31][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6pedestal_HE");
1930 Map_Ampl[31][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7pedestal_HE");
1931 Map_Ampl[31][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HO");
1932 Map_Ampl[31][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestal_HF");
1933 Map_Ampl[31][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestal_HF");
1934 Map_Ampl[31][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestal_HF");
1935 Map_Ampl[31][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HF");
1937 Map_Ampl[32][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestalw_HB");
1938 Map_Ampl[32][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestalw_HB");
1939 Map_Ampl[32][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestalw_HB");
1940 Map_Ampl[32][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HB");
1941 Map_Ampl[32][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestalw_HE");
1942 Map_Ampl[32][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestalw_HE");
1943 Map_Ampl[32][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestalw_HE");
1944 Map_Ampl[32][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HE");
1945 Map_Ampl[32][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5pedestalw_HE");
1946 Map_Ampl[32][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6pedestalw_HE");
1947 Map_Ampl[32][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7pedestalw_HE");
1948 Map_Ampl[32][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HO");
1949 Map_Ampl[32][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestalw_HF");
1950 Map_Ampl[32][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestalw_HF");
1951 Map_Ampl[32][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestalw_HF");
1952 Map_Ampl[32][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HF");
1954 HistPed[1][1][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HB");
1955 HistPed[1][1][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HB");
1956 HistPed[1][1][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HB");
1957 HistPed[1][1][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HB");
1958 HistPed[2][1][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HB");
1959 HistPed[2][1][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HB");
1960 HistPed[2][1][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HB");
1961 HistPed[2][1][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HB");
1963 HistPed[1][2][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HE");
1964 HistPed[1][2][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HE");
1965 HistPed[1][2][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HE");
1966 HistPed[1][2][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HE");
1967 HistPed[2][2][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HE");
1968 HistPed[2][2][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HE");
1969 HistPed[2][2][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HE");
1970 HistPed[2][2][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HE");
1972 HistPed[1][3][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HO");
1973 HistPed[1][3][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HO");
1974 HistPed[1][3][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HO");
1975 HistPed[1][3][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HO");
1976 HistPed[2][3][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HO");
1977 HistPed[2][3][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HO");
1978 HistPed[2][3][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HO");
1979 HistPed[2][3][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HO");
1981 HistPed[1][4][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HF");
1982 HistPed[1][4][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HF");
1983 HistPed[1][4][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HF");
1984 HistPed[1][4][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HF");
1985 HistPed[2][4][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HF");
1986 HistPed[2][4][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HF");
1987 HistPed[2][4][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HF");
1988 HistPed[2][4][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HF");
1991 for (
int sub = 1; sub <= 4; sub++) {
2006 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
2015 Map_Ampl[
test][sub][
k]->Divide(Map_Ampl[
test][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
2020 sprintf(
str,
"HB, Depth%d \b",
k);
2022 sprintf(
str,
"HE, Depth%d \b",
k);
2024 sprintf(
str,
"HO, Depth%d \b",
k);
2026 sprintf(
str,
"HF, Depth%d \b",
k);
2027 Map_Ampl[
test][sub][
k]->SetTitle(
str);
2028 Map_Ampl[
test][sub][
k]->SetXTitle(
"#eta \b");
2029 Map_Ampl[
test][sub][
k]->SetYTitle(
"#phi \b");
2030 Map_Ampl[
test][sub][
k]->SetZTitle(
"Rate \b");
2032 Map_Ampl[
test][sub][
k]->SetTitleOffset(0.8,
"Z");
2033 Map_Ampl[
test][sub][
k]->Draw(
"COLZ");
2034 Map_Ampl[
test][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
2035 Map_Ampl[
test][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
2055 cHB->Print(
"MapRatePedHB.png");
2059 cHE->Print(
"MapRatePedHE.png");
2063 cONE->Print(
"MapRatePedHO.png");
2067 cHF->Print(
"MapRatePedHF.png");
2073 cHB->Print(
"MapRatePedWidthsHB.png");
2077 cHE->Print(
"MapRatePedWidthsHE.png");
2081 cONE->Print(
"MapRatePedWidthsHO.png");
2085 cHF->Print(
"MapRatePedWidthsHF.png");
2100 sprintf(
str,
"HB, Cap%d, all depth\b",
cap);
2102 sprintf(
str,
"HE, Cap%d, all depth\b",
cap);
2104 sprintf(
str,
"HO, Cap%d, all depth\b",
cap);
2106 sprintf(
str,
"HF, Cap%d, all depth\b",
cap);
2111 HistPed[
test - 30][sub][
cap]->SetXTitle(
"Pedestals in each event & cell \b");
2113 HistPed[
test - 30][sub][
cap]->SetXTitle(
"Pedestal Widths in each event & cell \b");
2115 HistPed[
test - 30][sub][
cap]->SetYTitle(
"Number of channel-events \b");
2116 HistPed[
test - 30][sub][
cap]->SetLineColor(4);
2117 HistPed[
test - 30][sub][
cap]->SetLineWidth(2);
2118 HistPed[
test - 30][sub][
cap]->SetTitleOffset(1.4,
"Y");
2119 HistPed[
test - 30][sub][
cap]->Draw(
"");
2126 double min_x[] = {Pedest[
test - 31][sub], Pedest[
test - 31][sub]};
2127 double min_y[] = {0., 100000000.};
2128 TGraph *MIN =
new TGraph(2, min_x, min_y);
2129 MIN->SetLineStyle(2);
2130 MIN->SetLineColor(2);
2131 MIN->SetLineWidth(2 + 100 * 100);
2132 MIN->SetFillStyle(3005);
2133 MIN->SetFillColor(2);
2138 cPED->Print(
"HistPedestalsHB.png");
2142 cPED->Print(
"HistPedestalsHE.png");
2146 cPED->Print(
"HistPedestalsHO.png");
2150 cPED->Print(
"HistPedestalsHF.png");
2156 cPED->Print(
"HistPedestalWidthsHB.png");
2160 cPED->Print(
"HistPedestalWidthsHE.png");
2164 cPED->Print(
"HistPedestalWidthsHO.png");
2168 cPED->Print(
"HistPedestalWidthsHF.png");
2180 Map_Ped[1][1] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HB");
2181 Map_Ped[1][2] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HE");
2182 Map_Ped[1][3] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HO");
2183 Map_Ped[1][4] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HF");
2184 Map_Ped[2][1] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HB");
2185 Map_Ped[2][2] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HE");
2186 Map_Ped[2][3] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HO");
2187 Map_Ped[2][4] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HF");
2188 for (
int sub = 1; sub <= 4; sub++) {
2196 Map_Ped[
test][sub]->SetXTitle(
"Pedestal, fC \b");
2198 Map_Ped[
test][sub]->SetXTitle(
"pedestal Width, fC \b");
2199 Map_Ped[
test][sub]->SetYTitle(
"Amplitude, fC \b");
2200 Map_Ped[
test][sub]->SetZTitle(
"entries \b");
2202 sprintf(
str,
"Cap0 Pedestal vs Amplitude \b");
2204 sprintf(
str,
"Cap0 pedestalWidth vs Amplitude \b");
2205 Map_Ped[
test][sub]->SetTitle(
str);
2206 Map_Ped[
test][sub]->Draw(
"COLZ");
2213 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHB.png");
2217 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHE.png");
2221 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHO.png");
2225 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHF.png");
2235 hist_GoodTSshape[1] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HB");
2236 hist_GoodTSshape[2] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HE");
2237 hist_GoodTSshape[3] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HO");
2238 hist_GoodTSshape[4] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HF");
2240 hist_GoodTSshape0[1] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HB");
2241 hist_GoodTSshape0[2] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HE");
2242 hist_GoodTSshape0[3] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HO");
2243 hist_GoodTSshape0[4] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HF");
2245 hist_BadTSshape[1] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HB");
2246 hist_BadTSshape[2] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HE");
2247 hist_BadTSshape[3] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HO");
2248 hist_BadTSshape[4] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HF");
2250 hist_BadTSshape0[1] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HB");
2251 hist_BadTSshape0[2] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HE");
2252 hist_BadTSshape0[3] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HO");
2253 hist_BadTSshape0[4] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HF");
2257 for (
int sub = 1; sub <= 4; sub++) {
2262 hist_GoodTSshape[sub]->Divide(hist_GoodTSshape[sub], hist_GoodTSshape0[sub], 1, 1,
"B");
2263 hist_GoodTSshape[sub]->SetXTitle(
"Time slice \b");
2264 hist_GoodTSshape[sub]->SetYTitle(
"ADC counts \b");
2265 sprintf(
str,
"Mean ADC Shape \b");
2266 hist_GoodTSshape[sub]->SetTitle(
str);
2267 hist_GoodTSshape[sub]->Draw(
"");
2273 cONE->Print(
"HistGoodTSshapesHB.png");
2277 cONE->Print(
"HistGoodTSshapesHE.png");
2281 cONE->Print(
"HistGoodTSshapesHO.png");
2285 cONE->Print(
"HistGoodTSshapesHF.png");
2290 for (
int sub = 1; sub <= 4; sub++) {
2295 hist_BadTSshape[sub]->Divide(hist_BadTSshape[sub], hist_BadTSshape0[sub], 1, 1,
"B");
2296 hist_BadTSshape[sub]->SetXTitle(
"Time slice \b");
2297 hist_BadTSshape[sub]->SetYTitle(
"ADC counts \b");
2298 sprintf(
str,
"Mean ADC Shape \b");
2299 hist_BadTSshape[sub]->SetTitle(
str);
2300 hist_BadTSshape[sub]->Draw(
"");
2306 cONE->Print(
"HistBadTSshapesHB.png");
2310 cONE->Print(
"HistBadTSshapesHE.png");
2314 cONE->Print(
"HistBadTSshapesHO.png");
2318 cONE->Print(
"HistBadTSshapesHF.png");
2326 Map_SUBTS[1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TS2_HB");
2327 Map_SUBTS[1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TS2_HB");
2328 Map_SUBTS[1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TS2_HB");
2329 Map_SUBTS[1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS2_HB");
2331 Map_SUBTS[2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TS2_HE");
2332 Map_SUBTS[2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TS2_HE");
2333 Map_SUBTS[2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TS2_HE");
2334 Map_SUBTS[2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS2_HE");
2335 Map_SUBTS[2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TS2_HE");
2336 Map_SUBTS[2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TS2_HE");
2337 Map_SUBTS[2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TS2_HE");
2339 Map_SUBTS[3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS012_HO");
2341 Map_SUBTS[4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TS1_HF");
2342 Map_SUBTS[4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TS1_HF");
2343 Map_SUBTS[4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TS1_HF");
2344 Map_SUBTS[4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS1_HF");
2347 for (
int sub = 1; sub <= 4; sub++) {
2362 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
2371 Map_SUBTS[sub][
k]->Divide(Map_SUBTS[sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
2376 sprintf(
str,
"HB, Depth%d \b",
k);
2378 sprintf(
str,
"HE, Depth%d \b",
k);
2380 sprintf(
str,
"HO, Depth%d \b",
k);
2382 sprintf(
str,
"HF, Depth%d \b",
k);
2383 Map_SUBTS[sub][
k]->SetTitle(
str);
2384 Map_SUBTS[sub][
k]->SetXTitle(
"#eta \b");
2385 Map_SUBTS[sub][
k]->SetYTitle(
"#phi \b");
2386 Map_SUBTS[sub][
k]->SetZTitle(
"Rate \b");
2388 Map_SUBTS[sub][
k]->SetTitleOffset(0.8,
"Z");
2389 Map_SUBTS[sub][
k]->Draw(
"COLZ");
2390 Map_SUBTS[sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
2391 Map_SUBTS[sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
2411 cHB->Print(
"Hist_mapDepthAllTS2_HB.png");
2415 cHE->Print(
"Hist_mapDepthAllTS2_HE.png");
2419 cONE->Print(
"Hist_mapDepthAllTS012_HO.png");
2423 cHF->Print(
"Hist_mapDepthAllTS1_HF.png");
2679 const int neta = 82;
2680 const int nphi = 72;
2700 double adigiHB[
ndepth][njeta][njphi];
2701 double digivarianceHB[
ndepth][njeta][njphi];
2703 TH2F *amplitudechannel1HB1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HB1");
2704 TH2F *amplitudechannel0HB1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB1");
2705 TH2F *amplitudechannelHB1 = (TH2F *)amplitudechannel1HB1->Clone(
"amplitudechannelHB1");
2706 amplitudechannelHB1->Divide(amplitudechannel1HB1, amplitudechannel0HB1, 1, 1,
"B");
2707 TH2F *amplitudechannel1HB2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HB2");
2708 TH2F *amplitudechannel0HB2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB2");
2709 TH2F *amplitudechannelHB2 = (TH2F *)amplitudechannel1HB2->Clone(
"amplitudechannelHB2");
2710 amplitudechannelHB2->Divide(amplitudechannel1HB2, amplitudechannel0HB2, 1, 1,
"B");
2711 TH2F *amplitudechannel1HB3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HB3");
2712 TH2F *amplitudechannel0HB3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB3");
2713 TH2F *amplitudechannelHB3 = (TH2F *)amplitudechannel1HB3->Clone(
"amplitudechannelHB3");
2714 amplitudechannelHB3->Divide(amplitudechannel1HB3, amplitudechannel0HB3, 1, 1,
"B");
2715 TH2F *amplitudechannel1HB4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HB4");
2716 TH2F *amplitudechannel0HB4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB4");
2717 TH2F *amplitudechannelHB4 = (TH2F *)amplitudechannel1HB4->Clone(
"amplitudechannelHB4");
2718 amplitudechannelHB4->Divide(amplitudechannel1HB4, amplitudechannel0HB4, 1, 1,
"B");
2722 double sumdigiHB0 = 0;
2723 int nsumdigiHB0 = 0;
2724 double sumdigiHB1 = 0;
2725 int nsumdigiHB1 = 0;
2726 double sumdigiHB2 = 0;
2727 int nsumdigiHB2 = 0;
2728 double sumdigiHB3 = 0;
2729 int nsumdigiHB3 = 0;
2730 for (
int jphi = 0; jphi < njphi; jphi++) {
2731 adigiHB[0][
jeta][jphi] = amplitudechannelHB1->GetBinContent(
jeta + 1, jphi + 1);
2732 adigiHB[1][
jeta][jphi] = amplitudechannelHB2->GetBinContent(
jeta + 1, jphi + 1);
2733 adigiHB[2][
jeta][jphi] = amplitudechannelHB3->GetBinContent(
jeta + 1, jphi + 1);
2734 adigiHB[3][
jeta][jphi] = amplitudechannelHB4->GetBinContent(
jeta + 1, jphi + 1);
2735 if (adigiHB[0][
jeta][jphi] > 0.) {
2736 sumdigiHB0 += adigiHB[0][
jeta][jphi];
2739 if (adigiHB[1][
jeta][jphi] > 0.) {
2740 sumdigiHB1 += adigiHB[1][
jeta][jphi];
2743 if (adigiHB[2][
jeta][jphi] > 0.) {
2744 sumdigiHB2 += adigiHB[2][
jeta][jphi];
2747 if (adigiHB[3][
jeta][jphi] > 0.) {
2748 sumdigiHB3 += adigiHB[3][
jeta][jphi];
2753 for (
int jphi = 0; jphi < njphi; jphi++) {
2754 if (adigiHB[0][
jeta][jphi] > 0.)
2755 adigiHB[0][
jeta][jphi] /= (sumdigiHB0 / nsumdigiHB0);
2756 if (adigiHB[1][
jeta][jphi] > 0.)
2757 adigiHB[1][
jeta][jphi] /= (sumdigiHB1 / nsumdigiHB1);
2758 if (adigiHB[2][
jeta][jphi] > 0.)
2759 adigiHB[2][
jeta][jphi] /= (sumdigiHB2 / nsumdigiHB2);
2760 if (adigiHB[3][
jeta][jphi] > 0.)
2761 adigiHB[3][
jeta][jphi] /= (sumdigiHB3 / nsumdigiHB3);
2772 TH2F *GefzRdigiHB42D =
new TH2F(
"GefzRdigiHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
2773 TH2F *GefzRdigiHB42D0 =
new TH2F(
"GefzRdigiHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
2774 TH2F *GefzRdigiHB42DF = (TH2F *)GefzRdigiHB42D0->Clone(
"GefzRdigiHB42DF");
2777 for (
int jphi = 0; jphi <
nphi; jphi++) {
2778 double ccc1 = adigiHB[
i][
jeta][jphi];
2779 int k2plot =
jeta - 41;
2782 GefzRdigiHB42D->Fill(kkk, jphi, ccc1);
2783 GefzRdigiHB42D0->Fill(kkk, jphi, 1.);
2788 GefzRdigiHB42DF->Divide(GefzRdigiHB42D, GefzRdigiHB42D0, 1, 1,
"B");
2791 GefzRdigiHB42DF->SetMarkerStyle(20);
2792 GefzRdigiHB42DF->SetMarkerSize(0.4);
2793 GefzRdigiHB42DF->GetZaxis()->SetLabelSize(0.08);
2794 GefzRdigiHB42DF->SetXTitle(
"<R>_depth #eta \b");
2795 GefzRdigiHB42DF->SetYTitle(
" #phi \b");
2796 GefzRdigiHB42DF->SetZTitle(
"<R>_depth \b");
2797 GefzRdigiHB42DF->SetMarkerColor(2);
2798 GefzRdigiHB42DF->SetLineColor(
2800 GefzRdigiHB42DF->Draw(
"COLZ");
2803 c1x0->Print(
"RdigiGeneralD2PhiSymmetryHB.png");
2807 delete GefzRdigiHB42D;
2808 if (GefzRdigiHB42D0)
2809 delete GefzRdigiHB42D0;
2810 if (GefzRdigiHB42DF)
2811 delete GefzRdigiHB42DF;
2819 TH1F *GefzRdigiHB41D =
new TH1F(
"GefzRdigiHB41D",
"",
nphi, 0., 72.);
2820 TH1F *GefzRdigiHB41D0 =
new TH1F(
"GefzRdigiHB41D0",
"",
nphi, 0., 72.);
2821 TH1F *GefzRdigiHB41DF = (TH1F *)GefzRdigiHB41D0->Clone(
"GefzRdigiHB41DF");
2822 for (
int jphi = 0; jphi <
nphi; jphi++) {
2825 double ccc1 = adigiHB[
i][
jeta][jphi];
2827 GefzRdigiHB41D->Fill(jphi, ccc1);
2828 GefzRdigiHB41D0->Fill(jphi, 1.);
2833 GefzRdigiHB41DF->Divide(GefzRdigiHB41D, GefzRdigiHB41D0, 1, 1,
"B");
2834 GefzRdigiHB41D0->Sumw2();
2838 GefzRdigiHB41DF->SetMarkerStyle(20);
2839 GefzRdigiHB41DF->SetMarkerSize(1.4);
2840 GefzRdigiHB41DF->GetZaxis()->SetLabelSize(0.08);
2841 GefzRdigiHB41DF->SetXTitle(
"#phi \b");
2842 GefzRdigiHB41DF->SetYTitle(
" <R> \b");
2843 GefzRdigiHB41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
2844 GefzRdigiHB41DF->SetMarkerColor(4);
2845 GefzRdigiHB41DF->SetLineColor(
2847 GefzRdigiHB41DF->Draw(
"Error");
2850 c1x1->Print(
"RdigiGeneralD1PhiSymmetryHB.png");
2854 delete GefzRdigiHB41D;
2855 if (GefzRdigiHB41D0)
2856 delete GefzRdigiHB41D0;
2857 if (GefzRdigiHB41DF)
2858 delete GefzRdigiHB41DF;
2867 int kcountHBpositivedirectionDigi1 = 1;
2868 TH1F *h2CeffHBpositivedirectionDigi1 =
new TH1F(
"h2CeffHBpositivedirectionDigi1",
"",
nphi, 0., 72.);
2871 if (
jeta - 41 >= 0) {
2874 for (
int i = 0;
i < 1;
i++) {
2875 TH1F *HBpositivedirectionDigi1 = (TH1F *)h2CeffHBpositivedirectionDigi1->Clone(
"twod1");
2877 for (
int jphi = 0; jphi <
nphi; jphi++) {
2878 double ccc1 = adigiHB[
i][
jeta][jphi];
2880 HBpositivedirectionDigi1->Fill(jphi, ccc1);
2886 c3x5->cd(kcountHBpositivedirectionDigi1);
2887 HBpositivedirectionDigi1->SetMarkerStyle(20);
2888 HBpositivedirectionDigi1->SetMarkerSize(0.4);
2889 HBpositivedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
2890 HBpositivedirectionDigi1->SetXTitle(
"HBpositivedirectionDigi1 \b");
2891 HBpositivedirectionDigi1->SetMarkerColor(2);
2892 HBpositivedirectionDigi1->SetLineColor(0);
2896 if (kcountHBpositivedirectionDigi1 == 1)
2897 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 0; depth = 1 \b");
2898 if (kcountHBpositivedirectionDigi1 == 2)
2899 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 1; depth = 1 \b");
2900 if (kcountHBpositivedirectionDigi1 == 3)
2901 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 2; depth = 1 \b");
2902 if (kcountHBpositivedirectionDigi1 == 4)
2903 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 3; depth = 1 \b");
2904 if (kcountHBpositivedirectionDigi1 == 5)
2905 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 4; depth = 1 \b");
2906 if (kcountHBpositivedirectionDigi1 == 6)
2907 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 5; depth = 1 \b");
2908 if (kcountHBpositivedirectionDigi1 == 7)
2909 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 6; depth = 1 \b");
2910 if (kcountHBpositivedirectionDigi1 == 8)
2911 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 7; depth = 1 \b");
2912 if (kcountHBpositivedirectionDigi1 == 9)
2913 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 8; depth = 1 \b");
2914 if (kcountHBpositivedirectionDigi1 == 10)
2915 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 9; depth = 1 \b");
2916 if (kcountHBpositivedirectionDigi1 == 11)
2917 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 10; depth = 1 \b");
2918 if (kcountHBpositivedirectionDigi1 == 12)
2919 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 11; depth = 1 \b");
2920 if (kcountHBpositivedirectionDigi1 == 13)
2921 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 12; depth = 1 \b");
2922 if (kcountHBpositivedirectionDigi1 == 14)
2923 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 13; depth = 1 \b");
2924 if (kcountHBpositivedirectionDigi1 == 15)
2925 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 14; depth = 1 \b");
2926 if (kcountHBpositivedirectionDigi1 == 16)
2927 HBpositivedirectionDigi1->SetXTitle(
"R for HB+ jeta = 15; depth = 1 \b");
2928 HBpositivedirectionDigi1->Draw(
"Error");
2929 kcountHBpositivedirectionDigi1++;
2930 if (kcountHBpositivedirectionDigi1 > 16)
2939 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png");
2942 if (h2CeffHBpositivedirectionDigi1)
2943 delete h2CeffHBpositivedirectionDigi1;
2953 int kcountHBpositivedirectionDigi2 = 1;
2954 TH1F *h2CeffHBpositivedirectionDigi2 =
new TH1F(
"h2CeffHBpositivedirectionDigi2",
"",
nphi, 0., 72.);
2957 if (
jeta - 41 >= 0) {
2960 for (
int i = 1;
i < 2;
i++) {
2961 TH1F *HBpositivedirectionDigi2 = (TH1F *)h2CeffHBpositivedirectionDigi2->Clone(
"twod1");
2963 for (
int jphi = 0; jphi <
nphi; jphi++) {
2964 double ccc1 = adigiHB[
i][
jeta][jphi];
2966 HBpositivedirectionDigi2->Fill(jphi, ccc1);
2972 c3x5->cd(kcountHBpositivedirectionDigi2);
2973 HBpositivedirectionDigi2->SetMarkerStyle(20);
2974 HBpositivedirectionDigi2->SetMarkerSize(0.4);
2975 HBpositivedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
2976 HBpositivedirectionDigi2->SetXTitle(
"HBpositivedirectionDigi2 \b");
2977 HBpositivedirectionDigi2->SetMarkerColor(2);
2978 HBpositivedirectionDigi2->SetLineColor(0);
2982 if (kcountHBpositivedirectionDigi2 == 1)
2983 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 0; depth = 2 \b");
2984 if (kcountHBpositivedirectionDigi2 == 2)
2985 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 1; depth = 2 \b");
2986 if (kcountHBpositivedirectionDigi2 == 3)
2987 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 2; depth = 2 \b");
2988 if (kcountHBpositivedirectionDigi2 == 4)
2989 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 3; depth = 2 \b");
2990 if (kcountHBpositivedirectionDigi2 == 5)
2991 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 4; depth = 2 \b");
2992 if (kcountHBpositivedirectionDigi2 == 6)
2993 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 5; depth = 2 \b");
2994 if (kcountHBpositivedirectionDigi2 == 7)
2995 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 6; depth = 2 \b");
2996 if (kcountHBpositivedirectionDigi2 == 8)
2997 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 7; depth = 2 \b");
2998 if (kcountHBpositivedirectionDigi2 == 9)
2999 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 8; depth = 2 \b");
3000 if (kcountHBpositivedirectionDigi2 == 10)
3001 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 9; depth = 2 \b");
3002 if (kcountHBpositivedirectionDigi2 == 11)
3003 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 10; depth = 2 \b");
3004 if (kcountHBpositivedirectionDigi2 == 12)
3005 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 11; depth = 2 \b");
3006 if (kcountHBpositivedirectionDigi2 == 13)
3007 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 12; depth = 2 \b");
3008 if (kcountHBpositivedirectionDigi2 == 14)
3009 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 13; depth = 2 \b");
3010 if (kcountHBpositivedirectionDigi2 == 15)
3011 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 14; depth = 2 \b");
3012 if (kcountHBpositivedirectionDigi2 == 16)
3013 HBpositivedirectionDigi2->SetXTitle(
"R for HB+ jeta = 15; depth = 2 \b");
3014 HBpositivedirectionDigi2->Draw(
"Error");
3015 kcountHBpositivedirectionDigi2++;
3016 if (kcountHBpositivedirectionDigi2 > 16)
3025 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png");
3028 if (h2CeffHBpositivedirectionDigi2)
3029 delete h2CeffHBpositivedirectionDigi2;
3038 int kcountHBpositivedirectionDigi3 = 1;
3039 TH1F *h2CeffHBpositivedirectionDigi3 =
new TH1F(
"h2CeffHBpositivedirectionDigi3",
"",
nphi, 0., 72.);
3042 if (
jeta - 41 >= 0) {
3045 for (
int i = 2;
i < 3;
i++) {
3046 TH1F *HBpositivedirectionDigi3 = (TH1F *)h2CeffHBpositivedirectionDigi3->Clone(
"twod1");
3048 for (
int jphi = 0; jphi <
nphi; jphi++) {
3049 double ccc1 = adigiHB[
i][
jeta][jphi];
3051 HBpositivedirectionDigi3->Fill(jphi, ccc1);
3057 c3x5->cd(kcountHBpositivedirectionDigi3);
3058 HBpositivedirectionDigi3->SetMarkerStyle(20);
3059 HBpositivedirectionDigi3->SetMarkerSize(0.4);
3060 HBpositivedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
3061 HBpositivedirectionDigi3->SetXTitle(
"HBpositivedirectionDigi3 \b");
3062 HBpositivedirectionDigi3->SetMarkerColor(2);
3063 HBpositivedirectionDigi3->SetLineColor(0);
3067 if (kcountHBpositivedirectionDigi3 == 1)
3068 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
3069 if (kcountHBpositivedirectionDigi3 == 2)
3070 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 1; depth = 3 \b");
3071 if (kcountHBpositivedirectionDigi3 == 3)
3072 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 2; depth = 3 \b");
3073 if (kcountHBpositivedirectionDigi3 == 4)
3074 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 3; depth = 3 \b");
3075 if (kcountHBpositivedirectionDigi3 == 5)
3076 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 4; depth = 3 \b");
3077 if (kcountHBpositivedirectionDigi3 == 6)
3078 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 5; depth = 3 \b");
3079 if (kcountHBpositivedirectionDigi3 == 7)
3080 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 6; depth = 3 \b");
3081 if (kcountHBpositivedirectionDigi3 == 8)
3082 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 7; depth = 3 \b");
3083 if (kcountHBpositivedirectionDigi3 == 9)
3084 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 8; depth = 3 \b");
3085 if (kcountHBpositivedirectionDigi3 == 10)
3086 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 9; depth = 3 \b");
3087 if (kcountHBpositivedirectionDigi3 == 11)
3088 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
3089 if (kcountHBpositivedirectionDigi3 == 12)
3090 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 11; depth = 3 \b");
3091 if (kcountHBpositivedirectionDigi3 == 13)
3092 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 12; depth = 3 \b");
3093 if (kcountHBpositivedirectionDigi3 == 14)
3094 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 13; depth = 3 \b");
3095 if (kcountHBpositivedirectionDigi3 == 15)
3096 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 14; depth = 3 \b");
3097 if (kcountHBpositivedirectionDigi3 == 16)
3098 HBpositivedirectionDigi3->SetXTitle(
"R for HB+ jeta = 15; depth = 3 \b");
3099 HBpositivedirectionDigi3->Draw(
"Error");
3100 kcountHBpositivedirectionDigi3++;
3101 if (kcountHBpositivedirectionDigi3 > 16)
3110 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png");
3113 if (h2CeffHBpositivedirectionDigi3)
3114 delete h2CeffHBpositivedirectionDigi3;
3123 int kcountHBpositivedirectionDigi4 = 1;
3124 TH1F *h2CeffHBpositivedirectionDigi4 =
new TH1F(
"h2CeffHBpositivedirectionDigi4",
"",
nphi, 0., 72.);
3128 if (
jeta - 41 >= 0) {
3131 for (
int i = 3;
i < 4;
i++) {
3132 TH1F *HBpositivedirectionDigi4 = (TH1F *)h2CeffHBpositivedirectionDigi4->Clone(
"twod1");
3135 for (
int jphi = 0; jphi <
nphi; jphi++) {
3136 double ccc1 = adigiHB[
i][
jeta][jphi];
3138 HBpositivedirectionDigi4->Fill(jphi, ccc1);
3144 c3x5->cd(kcountHBpositivedirectionDigi4);
3145 HBpositivedirectionDigi4->SetMarkerStyle(20);
3146 HBpositivedirectionDigi4->SetMarkerSize(0.4);
3147 HBpositivedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
3148 HBpositivedirectionDigi4->SetXTitle(
"HBpositivedirectionDigi4 \b");
3149 HBpositivedirectionDigi4->SetMarkerColor(2);
3150 HBpositivedirectionDigi4->SetLineColor(0);
3154 if (kcountHBpositivedirectionDigi4 == 1)
3155 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 0; depth = 4 \b");
3156 if (kcountHBpositivedirectionDigi4 == 2)
3157 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 1; depth = 4 \b");
3158 if (kcountHBpositivedirectionDigi4 == 3)
3159 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 2; depth = 4 \b");
3160 if (kcountHBpositivedirectionDigi4 == 4)
3161 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 3; depth = 4 \b");
3162 if (kcountHBpositivedirectionDigi4 == 5)
3163 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 4; depth = 4 \b");
3164 if (kcountHBpositivedirectionDigi4 == 6)
3165 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 5; depth = 4 \b");
3166 if (kcountHBpositivedirectionDigi4 == 7)
3167 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 6; depth = 4 \b");
3168 if (kcountHBpositivedirectionDigi4 == 8)
3169 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 7; depth = 4 \b");
3170 if (kcountHBpositivedirectionDigi4 == 9)
3171 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 8; depth = 4 \b");
3172 if (kcountHBpositivedirectionDigi4 == 10)
3173 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 9; depth = 4 \b");
3174 if (kcountHBpositivedirectionDigi4 == 11)
3175 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 10; depth = 4 \b");
3176 if (kcountHBpositivedirectionDigi4 == 12)
3177 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 11; depth = 4 \b");
3178 if (kcountHBpositivedirectionDigi4 == 13)
3179 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 12; depth = 4 \b");
3180 if (kcountHBpositivedirectionDigi4 == 14)
3181 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 13; depth = 4 \b");
3182 if (kcountHBpositivedirectionDigi4 == 15)
3183 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 14; depth = 4 \b");
3184 if (kcountHBpositivedirectionDigi4 == 16)
3185 HBpositivedirectionDigi4->SetXTitle(
"R for HB+ jeta = 15; depth = 4 \b");
3186 HBpositivedirectionDigi4->Draw(
"Error");
3187 kcountHBpositivedirectionDigi4++;
3188 if (kcountHBpositivedirectionDigi4 > 16)
3197 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png");
3200 if (h2CeffHBpositivedirectionDigi4)
3201 delete h2CeffHBpositivedirectionDigi4;
3211 int kcountHBnegativedirectionDigi1 = 1;
3212 TH1F *h2CeffHBnegativedirectionDigi1 =
new TH1F(
"h2CeffHBnegativedirectionDigi1",
"",
nphi, 0., 72.);
3215 if (
jeta - 41 < 0) {
3218 for (
int i = 0;
i < 1;
i++) {
3219 TH1F *HBnegativedirectionDigi1 = (TH1F *)h2CeffHBnegativedirectionDigi1->Clone(
"twod1");
3221 for (
int jphi = 0; jphi <
nphi; jphi++) {
3222 double ccc1 = adigiHB[
i][
jeta][jphi];
3224 HBnegativedirectionDigi1->Fill(jphi, ccc1);
3230 c3x5->cd(kcountHBnegativedirectionDigi1);
3231 HBnegativedirectionDigi1->SetMarkerStyle(20);
3232 HBnegativedirectionDigi1->SetMarkerSize(0.4);
3233 HBnegativedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
3234 HBnegativedirectionDigi1->SetXTitle(
"HBnegativedirectionDigi1 \b");
3235 HBnegativedirectionDigi1->SetMarkerColor(2);
3236 HBnegativedirectionDigi1->SetLineColor(0);
3240 if (kcountHBnegativedirectionDigi1 == 1)
3241 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -16; depth = 1 \b");
3242 if (kcountHBnegativedirectionDigi1 == 2)
3243 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -15; depth = 1 \b");
3244 if (kcountHBnegativedirectionDigi1 == 3)
3245 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -14; depth = 1 \b");
3246 if (kcountHBnegativedirectionDigi1 == 4)
3247 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -13; depth = 1 \b");
3248 if (kcountHBnegativedirectionDigi1 == 5)
3249 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -12; depth = 1 \b");
3250 if (kcountHBnegativedirectionDigi1 == 6)
3251 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -11; depth = 1 \b");
3252 if (kcountHBnegativedirectionDigi1 == 7)
3253 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -10; depth = 1 \b");
3254 if (kcountHBnegativedirectionDigi1 == 8)
3255 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -9; depth = 1 \b");
3256 if (kcountHBnegativedirectionDigi1 == 9)
3257 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -8; depth = 1 \b");
3258 if (kcountHBnegativedirectionDigi1 == 10)
3259 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -7; depth = 1 \b");
3260 if (kcountHBnegativedirectionDigi1 == 11)
3261 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -6; depth = 1 \b");
3262 if (kcountHBnegativedirectionDigi1 == 12)
3263 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -5; depth = 1 \b");
3264 if (kcountHBnegativedirectionDigi1 == 13)
3265 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -4; depth = 1 \b");
3266 if (kcountHBnegativedirectionDigi1 == 14)
3267 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -3; depth = 1 \b");
3268 if (kcountHBnegativedirectionDigi1 == 15)
3269 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -2; depth = 1 \b");
3270 if (kcountHBnegativedirectionDigi1 == 16)
3271 HBnegativedirectionDigi1->SetXTitle(
"R for HB- jeta = -1; depth = 1 \b");
3272 HBnegativedirectionDigi1->Draw(
"Error");
3273 kcountHBnegativedirectionDigi1++;
3274 if (kcountHBnegativedirectionDigi1 > 16)
3283 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
3286 if (h2CeffHBnegativedirectionDigi1)
3287 delete h2CeffHBnegativedirectionDigi1;
3297 int kcountHBnegativedirectionDigi2 = 1;
3298 TH1F *h2CeffHBnegativedirectionDigi2 =
new TH1F(
"h2CeffHBnegativedirectionDigi2",
"",
nphi, 0., 72.);
3301 if (
jeta - 41 < 0) {
3304 for (
int i = 1;
i < 2;
i++) {
3305 TH1F *HBnegativedirectionDigi2 = (TH1F *)h2CeffHBnegativedirectionDigi2->Clone(
"twod1");
3307 for (
int jphi = 0; jphi <
nphi; jphi++) {
3308 double ccc1 = adigiHB[
i][
jeta][jphi];
3310 HBnegativedirectionDigi2->Fill(jphi, ccc1);
3316 c3x5->cd(kcountHBnegativedirectionDigi2);
3317 HBnegativedirectionDigi2->SetMarkerStyle(20);
3318 HBnegativedirectionDigi2->SetMarkerSize(0.4);
3319 HBnegativedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
3320 HBnegativedirectionDigi2->SetXTitle(
"HBnegativedirectionDigi2 \b");
3321 HBnegativedirectionDigi2->SetMarkerColor(2);
3322 HBnegativedirectionDigi2->SetLineColor(0);
3326 if (kcountHBnegativedirectionDigi2 == 1)
3327 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -16; depth = 2 \b");
3328 if (kcountHBnegativedirectionDigi2 == 2)
3329 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -15; depth = 2 \b");
3330 if (kcountHBnegativedirectionDigi2 == 3)
3331 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -14; depth = 2 \b");
3332 if (kcountHBnegativedirectionDigi2 == 4)
3333 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -13; depth = 2 \b");
3334 if (kcountHBnegativedirectionDigi2 == 5)
3335 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -12; depth = 2 \b");
3336 if (kcountHBnegativedirectionDigi2 == 6)
3337 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -11; depth = 2 \b");
3338 if (kcountHBnegativedirectionDigi2 == 7)
3339 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -10; depth = 2 \b");
3340 if (kcountHBnegativedirectionDigi2 == 8)
3341 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -9; depth = 2 \b");
3342 if (kcountHBnegativedirectionDigi2 == 9)
3343 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -8; depth = 2 \b");
3344 if (kcountHBnegativedirectionDigi2 == 10)
3345 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -7; depth = 2 \b");
3346 if (kcountHBnegativedirectionDigi2 == 11)
3347 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -6; depth = 2 \b");
3348 if (kcountHBnegativedirectionDigi2 == 12)
3349 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -5; depth = 2 \b");
3350 if (kcountHBnegativedirectionDigi2 == 13)
3351 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -4; depth = 2 \b");
3352 if (kcountHBnegativedirectionDigi2 == 14)
3353 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -3; depth = 2 \b");
3354 if (kcountHBnegativedirectionDigi2 == 15)
3355 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -2; depth = 2 \b");
3356 if (kcountHBnegativedirectionDigi2 == 16)
3357 HBnegativedirectionDigi2->SetXTitle(
"R for HB- jeta = -1; depth = 2 \b");
3358 HBnegativedirectionDigi2->Draw(
"Error");
3359 kcountHBnegativedirectionDigi2++;
3360 if (kcountHBnegativedirectionDigi2 > 16)
3369 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
3372 if (h2CeffHBnegativedirectionDigi2)
3373 delete h2CeffHBnegativedirectionDigi2;
3382 int kcountHBnegativedirectionDigi3 = 1;
3383 TH1F *h2CeffHBnegativedirectionDigi3 =
new TH1F(
"h2CeffHBnegativedirectionDigi3",
"",
nphi, 0., 72.);
3386 if (
jeta - 41 < 0) {
3389 for (
int i = 2;
i < 3;
i++) {
3390 TH1F *HBnegativedirectionDigi3 = (TH1F *)h2CeffHBnegativedirectionDigi3->Clone(
"twod1");
3392 for (
int jphi = 0; jphi <
nphi; jphi++) {
3393 double ccc1 = adigiHB[
i][
jeta][jphi];
3395 HBnegativedirectionDigi3->Fill(jphi, ccc1);
3401 c3x5->cd(kcountHBnegativedirectionDigi3);
3402 HBnegativedirectionDigi3->SetMarkerStyle(20);
3403 HBnegativedirectionDigi3->SetMarkerSize(0.4);
3404 HBnegativedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
3405 HBnegativedirectionDigi3->SetXTitle(
"HBnegativedirectionDigi3 \b");
3406 HBnegativedirectionDigi3->SetMarkerColor(2);
3407 HBnegativedirectionDigi3->SetLineColor(0);
3411 if (kcountHBnegativedirectionDigi3 == 1)
3412 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -16; depth = 3 \b");
3413 if (kcountHBnegativedirectionDigi3 == 2)
3414 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -15; depth = 3 \b");
3415 if (kcountHBnegativedirectionDigi3 == 3)
3416 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -14; depth = 3 \b");
3417 if (kcountHBnegativedirectionDigi3 == 4)
3418 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -13; depth = 3 \b");
3419 if (kcountHBnegativedirectionDigi3 == 5)
3420 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -12; depth = 3 \b");
3421 if (kcountHBnegativedirectionDigi3 == 6)
3422 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -11; depth = 3 \b");
3423 if (kcountHBnegativedirectionDigi3 == 7)
3424 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -10; depth = 3 \b");
3425 if (kcountHBnegativedirectionDigi3 == 8)
3426 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -9; depth = 3 \b");
3427 if (kcountHBnegativedirectionDigi3 == 9)
3428 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -8; depth = 3 \b");
3429 if (kcountHBnegativedirectionDigi3 == 10)
3430 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -7; depth = 3 \b");
3431 if (kcountHBnegativedirectionDigi3 == 11)
3432 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -6; depth = 3 \b");
3433 if (kcountHBnegativedirectionDigi3 == 12)
3434 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -5; depth = 3 \b");
3435 if (kcountHBnegativedirectionDigi3 == 13)
3436 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -4; depth = 3 \b");
3437 if (kcountHBnegativedirectionDigi3 == 14)
3438 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -3; depth = 3 \b");
3439 if (kcountHBnegativedirectionDigi3 == 15)
3440 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -2; depth = 3 \b");
3441 if (kcountHBnegativedirectionDigi3 == 16)
3442 HBnegativedirectionDigi3->SetXTitle(
"R for HB- jeta = -1; depth = 3 \b");
3444 HBnegativedirectionDigi3->Draw(
"Error");
3445 kcountHBnegativedirectionDigi3++;
3446 if (kcountHBnegativedirectionDigi3 > 16)
3455 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
3458 if (h2CeffHBnegativedirectionDigi3)
3459 delete h2CeffHBnegativedirectionDigi3;
3468 int kcountHBnegativedirectionDigi4 = 1;
3469 TH1F *h2CeffHBnegativedirectionDigi4 =
new TH1F(
"h2CeffHBnegativedirectionDigi4",
"",
nphi, 0., 72.);
3473 if (
jeta - 41 < 0) {
3476 for (
int i = 3;
i < 4;
i++) {
3477 TH1F *HBnegativedirectionDigi4 = (TH1F *)h2CeffHBnegativedirectionDigi4->Clone(
"twod1");
3480 for (
int jphi = 0; jphi <
nphi; jphi++) {
3481 double ccc1 = adigiHB[
i][
jeta][jphi];
3483 HBnegativedirectionDigi4->Fill(jphi, ccc1);
3489 c3x5->cd(kcountHBnegativedirectionDigi4);
3490 HBnegativedirectionDigi4->SetMarkerStyle(20);
3491 HBnegativedirectionDigi4->SetMarkerSize(0.4);
3492 HBnegativedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
3493 HBnegativedirectionDigi4->SetXTitle(
"HBnegativedirectionDigi4 \b");
3494 HBnegativedirectionDigi4->SetMarkerColor(2);
3495 HBnegativedirectionDigi4->SetLineColor(0);
3499 if (kcountHBnegativedirectionDigi4 == 1)
3500 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -16; depth = 4 \b");
3501 if (kcountHBnegativedirectionDigi4 == 2)
3502 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -15; depth = 4 \b");
3503 if (kcountHBnegativedirectionDigi4 == 3)
3504 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -14; depth = 4 \b");
3505 if (kcountHBnegativedirectionDigi4 == 4)
3506 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -13; depth = 4 \b");
3507 if (kcountHBnegativedirectionDigi4 == 5)
3508 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -12; depth = 4 \b");
3509 if (kcountHBnegativedirectionDigi4 == 6)
3510 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -11; depth = 4 \b");
3511 if (kcountHBnegativedirectionDigi4 == 7)
3512 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -10; depth = 4 \b");
3513 if (kcountHBnegativedirectionDigi4 == 8)
3514 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -9; depth = 4 \b");
3515 if (kcountHBnegativedirectionDigi4 == 9)
3516 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -8; depth = 4 \b");
3517 if (kcountHBnegativedirectionDigi4 == 10)
3518 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -7; depth = 4 \b");
3519 if (kcountHBnegativedirectionDigi4 == 11)
3520 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -6; depth = 4 \b");
3521 if (kcountHBnegativedirectionDigi4 == 12)
3522 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -5; depth = 4 \b");
3523 if (kcountHBnegativedirectionDigi4 == 13)
3524 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -4; depth = 4 \b");
3525 if (kcountHBnegativedirectionDigi4 == 14)
3526 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -3; depth = 4 \b");
3527 if (kcountHBnegativedirectionDigi4 == 15)
3528 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -2; depth = 4 \b");
3529 if (kcountHBnegativedirectionDigi4 == 16)
3530 HBnegativedirectionDigi4->SetXTitle(
"R for HB- jeta = -1; depth = 4 \b");
3531 HBnegativedirectionDigi4->Draw(
"Error");
3532 kcountHBnegativedirectionDigi4++;
3533 if (kcountHBnegativedirectionDigi4 > 16)
3542 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
3545 if (h2CeffHBnegativedirectionDigi4)
3546 delete h2CeffHBnegativedirectionDigi4;
3554 TH2F *digiVariance1HB1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HB1");
3555 TH2F *digiVariance0HB1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB1");
3556 TH2F *digiVarianceHB1 = (TH2F *)digiVariance1HB1->Clone(
"digiVarianceHB1");
3557 digiVarianceHB1->Divide(digiVariance1HB1, digiVariance0HB1, 1, 1,
"B");
3558 TH2F *digiVariance1HB2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HB2");
3559 TH2F *digiVariance0HB2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB2");
3560 TH2F *digiVarianceHB2 = (TH2F *)digiVariance1HB2->Clone(
"digiVarianceHB2");
3561 digiVarianceHB2->Divide(digiVariance1HB2, digiVariance0HB2, 1, 1,
"B");
3562 TH2F *digiVariance1HB3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HB3");
3563 TH2F *digiVariance0HB3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB3");
3564 TH2F *digiVarianceHB3 = (TH2F *)digiVariance1HB3->Clone(
"digiVarianceHB3");
3565 digiVarianceHB3->Divide(digiVariance1HB3, digiVariance0HB3, 1, 1,
"B");
3566 TH2F *digiVariance1HB4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HB4");
3567 TH2F *digiVariance0HB4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HB4");
3568 TH2F *digiVarianceHB4 = (TH2F *)digiVariance1HB4->Clone(
"digiVarianceHB4");
3569 digiVarianceHB4->Divide(digiVariance1HB4, digiVariance0HB4, 1, 1,
"B");
3575 double sumdigiHB0 = 0;
3576 int nsumdigiHB0 = 0;
3577 double sumdigiHB1 = 0;
3578 int nsumdigiHB1 = 0;
3579 double sumdigiHB2 = 0;
3580 int nsumdigiHB2 = 0;
3581 double sumdigiHB3 = 0;
3582 int nsumdigiHB3 = 0;
3583 for (
int jphi = 0; jphi < njphi; jphi++) {
3584 digivarianceHB[0][
jeta][jphi] = digiVarianceHB1->GetBinContent(
jeta + 1, jphi + 1);
3585 digivarianceHB[1][
jeta][jphi] = digiVarianceHB2->GetBinContent(
jeta + 1, jphi + 1);
3586 digivarianceHB[2][
jeta][jphi] = digiVarianceHB3->GetBinContent(
jeta + 1, jphi + 1);
3587 digivarianceHB[3][
jeta][jphi] = digiVarianceHB4->GetBinContent(
jeta + 1, jphi + 1);
3588 if (digivarianceHB[0][
jeta][jphi] > 0.) {
3589 sumdigiHB0 += digivarianceHB[0][
jeta][jphi];
3592 if (digivarianceHB[1][
jeta][jphi] > 0.) {
3593 sumdigiHB1 += digivarianceHB[1][
jeta][jphi];
3596 if (digivarianceHB[2][
jeta][jphi] > 0.) {
3597 sumdigiHB2 += digivarianceHB[2][
jeta][jphi];
3600 if (digivarianceHB[3][
jeta][jphi] > 0.) {
3601 sumdigiHB3 += digivarianceHB[3][
jeta][jphi];
3606 for (
int jphi = 0; jphi < njphi; jphi++) {
3607 if (digivarianceHB[0][
jeta][jphi] > 0.)
3608 digivarianceHB[0][
jeta][jphi] /= (sumdigiHB0 / nsumdigiHB0);
3609 if (digivarianceHB[1][
jeta][jphi] > 0.)
3610 digivarianceHB[1][
jeta][jphi] /= (sumdigiHB1 / nsumdigiHB1);
3611 if (digivarianceHB[2][
jeta][jphi] > 0.)
3612 digivarianceHB[2][
jeta][jphi] /= (sumdigiHB2 / nsumdigiHB2);
3613 if (digivarianceHB[3][
jeta][jphi] > 0.)
3614 digivarianceHB[3][
jeta][jphi] /= (sumdigiHB3 / nsumdigiHB3);
3617 for (
int jphi = 0; jphi < njphi; jphi++) {
3619 digivarianceHB[0][
jeta][jphi] -= adigiHB[0][
jeta][jphi] * adigiHB[0][
jeta][jphi];
3620 digivarianceHB[0][
jeta][jphi] = fabs(digivarianceHB[0][
jeta][jphi]);
3621 digivarianceHB[1][
jeta][jphi] -= adigiHB[1][
jeta][jphi] * adigiHB[1][
jeta][jphi];
3622 digivarianceHB[1][
jeta][jphi] = fabs(digivarianceHB[1][
jeta][jphi]);
3623 digivarianceHB[2][
jeta][jphi] -= adigiHB[2][
jeta][jphi] * adigiHB[2][
jeta][jphi];
3624 digivarianceHB[2][
jeta][jphi] = fabs(digivarianceHB[2][
jeta][jphi]);
3625 digivarianceHB[3][
jeta][jphi] -= adigiHB[3][
jeta][jphi] * adigiHB[3][
jeta][jphi];
3626 digivarianceHB[3][
jeta][jphi] = fabs(digivarianceHB[3][
jeta][jphi]);
3638 TH2F *DefzDdigiHB42D =
new TH2F(
"DefzDdigiHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
3639 TH2F *DefzDdigiHB42D0 =
new TH2F(
"DefzDdigiHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
3640 TH2F *DefzDdigiHB42DF = (TH2F *)DefzDdigiHB42D0->Clone(
"DefzDdigiHB42DF");
3643 for (
int jphi = 0; jphi <
nphi; jphi++) {
3644 double ccc1 = digivarianceHB[
i][
jeta][jphi];
3645 int k2plot =
jeta - 41;
3647 if (adigiHB[
i][
jeta][jphi] > 0.) {
3648 DefzDdigiHB42D->Fill(kkk, jphi, ccc1);
3649 DefzDdigiHB42D0->Fill(kkk, jphi, 1.);
3654 DefzDdigiHB42DF->Divide(DefzDdigiHB42D, DefzDdigiHB42D0, 1, 1,
"B");
3658 DefzDdigiHB42DF->SetMarkerStyle(20);
3659 DefzDdigiHB42DF->SetMarkerSize(0.4);
3660 DefzDdigiHB42DF->GetZaxis()->SetLabelSize(0.08);
3661 DefzDdigiHB42DF->SetXTitle(
"<D>_depth #eta \b");
3662 DefzDdigiHB42DF->SetYTitle(
" #phi \b");
3663 DefzDdigiHB42DF->SetZTitle(
"<D>_depth \b");
3664 DefzDdigiHB42DF->SetMarkerColor(2);
3665 DefzDdigiHB42DF->SetLineColor(
3667 DefzDdigiHB42DF->Draw(
"COLZ");
3670 c1x0->Print(
"DdigiGeneralD2PhiSymmetryHB.png");
3674 delete DefzDdigiHB42D;
3675 if (DefzDdigiHB42D0)
3676 delete DefzDdigiHB42D0;
3677 if (DefzDdigiHB42DF)
3678 delete DefzDdigiHB42DF;
3686 TH1F *DefzDdigiHB41D =
new TH1F(
"DefzDdigiHB41D",
"",
nphi, 0., 72.);
3687 TH1F *DefzDdigiHB41D0 =
new TH1F(
"DefzDdigiHB41D0",
"",
nphi, 0., 72.);
3688 TH1F *DefzDdigiHB41DF = (TH1F *)DefzDdigiHB41D0->Clone(
"DefzDdigiHB41DF");
3690 for (
int jphi = 0; jphi <
nphi; jphi++) {
3693 double ccc1 = digivarianceHB[
i][
jeta][jphi];
3694 if (adigiHB[
i][
jeta][jphi] > 0.) {
3695 DefzDdigiHB41D->Fill(jphi, ccc1);
3696 DefzDdigiHB41D0->Fill(jphi, 1.);
3703 DefzDdigiHB41DF->Divide(DefzDdigiHB41D, DefzDdigiHB41D0, 1, 1,
"B");
3704 DefzDdigiHB41D0->Sumw2();
3708 DefzDdigiHB41DF->SetMarkerStyle(20);
3709 DefzDdigiHB41DF->SetMarkerSize(1.4);
3710 DefzDdigiHB41DF->GetZaxis()->SetLabelSize(0.08);
3711 DefzDdigiHB41DF->SetXTitle(
"#phi \b");
3712 DefzDdigiHB41DF->SetYTitle(
" <D> \b");
3713 DefzDdigiHB41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
3714 DefzDdigiHB41DF->SetMarkerColor(4);
3715 DefzDdigiHB41DF->SetLineColor(4);
3716 DefzDdigiHB41DF->Draw(
"Error");
3719 c1x1->Print(
"DdigiGeneralD1PhiSymmetryHB.png");
3723 delete DefzDdigiHB41D;
3724 if (DefzDdigiHB41D0)
3725 delete DefzDdigiHB41D0;
3726 if (DefzDdigiHB41DF)
3727 delete DefzDdigiHB41DF;
3737 int kcountHBpositivedirectionDigiD1 = 1;
3738 TH1F *h2CeffHBpositivedirectionDigiD1 =
new TH1F(
"h2CeffHBpositivedirectionDigiD1",
"",
nphi, 0., 72.);
3742 if (
jeta - 41 >= 0) {
3745 for (
int i = 0;
i < 1;
i++) {
3746 TH1F *HBpositivedirectionDigiD1 = (TH1F *)h2CeffHBpositivedirectionDigiD1->Clone(
"twod1");
3749 for (
int jphi = 0; jphi <
nphi; jphi++) {
3750 double ccc1 = digivarianceHB[
i][
jeta][jphi];
3751 if (adigiHB[
i][
jeta][jphi] > 0.) {
3752 HBpositivedirectionDigiD1->Fill(jphi, ccc1);
3758 c3x5->cd(kcountHBpositivedirectionDigiD1);
3759 HBpositivedirectionDigiD1->SetMarkerStyle(20);
3760 HBpositivedirectionDigiD1->SetMarkerSize(0.4);
3761 HBpositivedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
3762 HBpositivedirectionDigiD1->SetXTitle(
"HBpositivedirectionDigiD1 \b");
3763 HBpositivedirectionDigiD1->SetMarkerColor(2);
3764 HBpositivedirectionDigiD1->SetLineColor(0);
3768 if (kcountHBpositivedirectionDigiD1 == 1)
3769 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 0; depth = 1 \b");
3770 if (kcountHBpositivedirectionDigiD1 == 2)
3771 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 1; depth = 1 \b");
3772 if (kcountHBpositivedirectionDigiD1 == 3)
3773 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 2; depth = 1 \b");
3774 if (kcountHBpositivedirectionDigiD1 == 4)
3775 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 3; depth = 1 \b");
3776 if (kcountHBpositivedirectionDigiD1 == 5)
3777 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 4; depth = 1 \b");
3778 if (kcountHBpositivedirectionDigiD1 == 6)
3779 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 5; depth = 1 \b");
3780 if (kcountHBpositivedirectionDigiD1 == 7)
3781 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 6; depth = 1 \b");
3782 if (kcountHBpositivedirectionDigiD1 == 8)
3783 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 7; depth = 1 \b");
3784 if (kcountHBpositivedirectionDigiD1 == 9)
3785 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 8; depth = 1 \b");
3786 if (kcountHBpositivedirectionDigiD1 == 10)
3787 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 9; depth = 1 \b");
3788 if (kcountHBpositivedirectionDigiD1 == 11)
3789 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 10; depth = 1 \b");
3790 if (kcountHBpositivedirectionDigiD1 == 12)
3791 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 11; depth = 1 \b");
3792 if (kcountHBpositivedirectionDigiD1 == 13)
3793 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 12; depth = 1 \b");
3794 if (kcountHBpositivedirectionDigiD1 == 14)
3795 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 13; depth = 1 \b");
3796 if (kcountHBpositivedirectionDigiD1 == 15)
3797 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 14; depth = 1 \b");
3798 if (kcountHBpositivedirectionDigiD1 == 16)
3799 HBpositivedirectionDigiD1->SetXTitle(
"D for HB+ jeta = 15; depth = 1 \b");
3800 HBpositivedirectionDigiD1->Draw(
"Error");
3801 kcountHBpositivedirectionDigiD1++;
3802 if (kcountHBpositivedirectionDigiD1 > 16)
3811 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png");
3814 if (h2CeffHBpositivedirectionDigiD1)
3815 delete h2CeffHBpositivedirectionDigiD1;
3823 int kcountHBpositivedirectionDigiD2 = 1;
3824 TH1F *h2CeffHBpositivedirectionDigiD2 =
new TH1F(
"h2CeffHBpositivedirectionDigiD2",
"",
nphi, 0., 72.);
3828 if (
jeta - 41 >= 0) {
3831 for (
int i = 1;
i < 2;
i++) {
3832 TH1F *HBpositivedirectionDigiD2 = (TH1F *)h2CeffHBpositivedirectionDigiD2->Clone(
"twod1");
3835 for (
int jphi = 0; jphi <
nphi; jphi++) {
3836 double ccc1 = digivarianceHB[
i][
jeta][jphi];
3837 if (adigiHB[
i][
jeta][jphi] > 0.) {
3838 HBpositivedirectionDigiD2->Fill(jphi, ccc1);
3844 c3x5->cd(kcountHBpositivedirectionDigiD2);
3845 HBpositivedirectionDigiD2->SetMarkerStyle(20);
3846 HBpositivedirectionDigiD2->SetMarkerSize(0.4);
3847 HBpositivedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
3848 HBpositivedirectionDigiD2->SetXTitle(
"HBpositivedirectionDigiD2 \b");
3849 HBpositivedirectionDigiD2->SetMarkerColor(2);
3850 HBpositivedirectionDigiD2->SetLineColor(0);
3854 if (kcountHBpositivedirectionDigiD2 == 1)
3855 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 0; depth = 2 \b");
3856 if (kcountHBpositivedirectionDigiD2 == 2)
3857 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 1; depth = 2 \b");
3858 if (kcountHBpositivedirectionDigiD2 == 3)
3859 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 2; depth = 2 \b");
3860 if (kcountHBpositivedirectionDigiD2 == 4)
3861 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 3; depth = 2 \b");
3862 if (kcountHBpositivedirectionDigiD2 == 5)
3863 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 4; depth = 2 \b");
3864 if (kcountHBpositivedirectionDigiD2 == 6)
3865 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 5; depth = 2 \b");
3866 if (kcountHBpositivedirectionDigiD2 == 7)
3867 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 6; depth = 2 \b");
3868 if (kcountHBpositivedirectionDigiD2 == 8)
3869 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 7; depth = 2 \b");
3870 if (kcountHBpositivedirectionDigiD2 == 9)
3871 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 8; depth = 2 \b");
3872 if (kcountHBpositivedirectionDigiD2 == 10)
3873 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 9; depth = 2 \b");
3874 if (kcountHBpositivedirectionDigiD2 == 11)
3875 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 10; depth = 2 \b");
3876 if (kcountHBpositivedirectionDigiD2 == 12)
3877 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 11; depth = 2 \b");
3878 if (kcountHBpositivedirectionDigiD2 == 13)
3879 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 12; depth = 2 \b");
3880 if (kcountHBpositivedirectionDigiD2 == 14)
3881 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 13; depth = 2 \b");
3882 if (kcountHBpositivedirectionDigiD2 == 15)
3883 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 14; depth = 2 \b");
3884 if (kcountHBpositivedirectionDigiD2 == 16)
3885 HBpositivedirectionDigiD2->SetXTitle(
"D for HB+ jeta = 15; depth = 2 \b");
3886 HBpositivedirectionDigiD2->Draw(
"Error");
3887 kcountHBpositivedirectionDigiD2++;
3888 if (kcountHBpositivedirectionDigiD2 > 16)
3897 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png");
3900 if (h2CeffHBpositivedirectionDigiD2)
3901 delete h2CeffHBpositivedirectionDigiD2;
3909 int kcountHBpositivedirectionDigiD3 = 1;
3910 TH1F *h2CeffHBpositivedirectionDigiD3 =
new TH1F(
"h2CeffHBpositivedirectionDigiD3",
"",
nphi, 0., 72.);
3914 if (
jeta - 41 >= 0) {
3917 for (
int i = 2;
i < 3;
i++) {
3918 TH1F *HBpositivedirectionDigiD3 = (TH1F *)h2CeffHBpositivedirectionDigiD3->Clone(
"twod1");
3921 for (
int jphi = 0; jphi <
nphi; jphi++) {
3922 double ccc1 = digivarianceHB[
i][
jeta][jphi];
3923 if (adigiHB[
i][
jeta][jphi] > 0.) {
3924 HBpositivedirectionDigiD3->Fill(jphi, ccc1);
3930 c3x5->cd(kcountHBpositivedirectionDigiD3);
3931 HBpositivedirectionDigiD3->SetMarkerStyle(20);
3932 HBpositivedirectionDigiD3->SetMarkerSize(0.4);
3933 HBpositivedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
3934 HBpositivedirectionDigiD3->SetXTitle(
"HBpositivedirectionDigiD3 \b");
3935 HBpositivedirectionDigiD3->SetMarkerColor(2);
3936 HBpositivedirectionDigiD3->SetLineColor(0);
3940 if (kcountHBpositivedirectionDigiD3 == 1)
3941 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 0; depth = 3 \b");
3942 if (kcountHBpositivedirectionDigiD3 == 2)
3943 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 1; depth = 3 \b");
3944 if (kcountHBpositivedirectionDigiD3 == 3)
3945 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 2; depth = 3 \b");
3946 if (kcountHBpositivedirectionDigiD3 == 4)
3947 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 3; depth = 3 \b");
3948 if (kcountHBpositivedirectionDigiD3 == 5)
3949 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 4; depth = 3 \b");
3950 if (kcountHBpositivedirectionDigiD3 == 6)
3951 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 5; depth = 3 \b");
3952 if (kcountHBpositivedirectionDigiD3 == 7)
3953 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 6; depth = 3 \b");
3954 if (kcountHBpositivedirectionDigiD3 == 8)
3955 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 7; depth = 3 \b");
3956 if (kcountHBpositivedirectionDigiD3 == 9)
3957 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 8; depth = 3 \b");
3958 if (kcountHBpositivedirectionDigiD3 == 10)
3959 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 9; depth = 3 \b");
3960 if (kcountHBpositivedirectionDigiD3 == 11)
3961 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 10; depth = 3 \b");
3962 if (kcountHBpositivedirectionDigiD3 == 12)
3963 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 11; depth = 3 \b");
3964 if (kcountHBpositivedirectionDigiD3 == 13)
3965 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 12; depth = 3 \b");
3966 if (kcountHBpositivedirectionDigiD3 == 14)
3967 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 13; depth = 3 \b");
3968 if (kcountHBpositivedirectionDigiD3 == 15)
3969 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 14; depth = 3 \b");
3970 if (kcountHBpositivedirectionDigiD3 == 16)
3971 HBpositivedirectionDigiD3->SetXTitle(
"D for HB+ jeta = 15; depth = 3 \b");
3972 HBpositivedirectionDigiD3->Draw(
"Error");
3973 kcountHBpositivedirectionDigiD3++;
3974 if (kcountHBpositivedirectionDigiD3 > 16)
3983 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png");
3986 if (h2CeffHBpositivedirectionDigiD3)
3987 delete h2CeffHBpositivedirectionDigiD3;
3995 int kcountHBpositivedirectionDigiD4 = 1;
3996 TH1F *h2CeffHBpositivedirectionDigiD4 =
new TH1F(
"h2CeffHBpositivedirectionDigiD4",
"",
nphi, 0., 72.);
4000 if (
jeta - 41 >= 0) {
4003 for (
int i = 3;
i < 4;
i++) {
4004 TH1F *HBpositivedirectionDigiD4 = (TH1F *)h2CeffHBpositivedirectionDigiD4->Clone(
"twod1");
4007 for (
int jphi = 0; jphi <
nphi; jphi++) {
4008 double ccc1 = digivarianceHB[
i][
jeta][jphi];
4009 if (adigiHB[
i][
jeta][jphi] > 0.) {
4010 HBpositivedirectionDigiD4->Fill(jphi, ccc1);
4016 c3x5->cd(kcountHBpositivedirectionDigiD4);
4017 HBpositivedirectionDigiD4->SetMarkerStyle(20);
4018 HBpositivedirectionDigiD4->SetMarkerSize(0.4);
4019 HBpositivedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
4020 HBpositivedirectionDigiD4->SetXTitle(
"HBpositivedirectionDigiD4 \b");
4021 HBpositivedirectionDigiD4->SetMarkerColor(2);
4022 HBpositivedirectionDigiD4->SetLineColor(0);
4026 if (kcountHBpositivedirectionDigiD4 == 1)
4027 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 0; depth = 4 \b");
4028 if (kcountHBpositivedirectionDigiD4 == 2)
4029 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 1; depth = 4 \b");
4030 if (kcountHBpositivedirectionDigiD4 == 3)
4031 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 2; depth = 4 \b");
4032 if (kcountHBpositivedirectionDigiD4 == 4)
4033 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 3; depth = 4 \b");
4034 if (kcountHBpositivedirectionDigiD4 == 5)
4035 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 4; depth = 4 \b");
4036 if (kcountHBpositivedirectionDigiD4 == 6)
4037 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 5; depth = 4 \b");
4038 if (kcountHBpositivedirectionDigiD4 == 7)
4039 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 6; depth = 4 \b");
4040 if (kcountHBpositivedirectionDigiD4 == 8)
4041 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 7; depth = 4 \b");
4042 if (kcountHBpositivedirectionDigiD4 == 9)
4043 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 8; depth = 4 \b");
4044 if (kcountHBpositivedirectionDigiD4 == 10)
4045 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 9; depth = 4 \b");
4046 if (kcountHBpositivedirectionDigiD4 == 11)
4047 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 10; depth = 4 \b");
4048 if (kcountHBpositivedirectionDigiD4 == 12)
4049 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 11; depth = 4 \b");
4050 if (kcountHBpositivedirectionDigiD4 == 13)
4051 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 12; depth = 4 \b");
4052 if (kcountHBpositivedirectionDigiD4 == 14)
4053 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 13; depth = 4 \b");
4054 if (kcountHBpositivedirectionDigiD4 == 15)
4055 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 14; depth = 4 \b");
4056 if (kcountHBpositivedirectionDigiD4 == 16)
4057 HBpositivedirectionDigiD4->SetXTitle(
"D for HB+ jeta = 15; depth = 4 \b");
4058 HBpositivedirectionDigiD4->Draw(
"Error");
4059 kcountHBpositivedirectionDigiD4++;
4060 if (kcountHBpositivedirectionDigiD4 > 16)
4069 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png");
4072 if (h2CeffHBpositivedirectionDigiD4)
4073 delete h2CeffHBpositivedirectionDigiD4;
4083 int kcountHBnegativedirectionDigiD1 = 1;
4084 TH1F *h2CeffHBnegativedirectionDigiD1 =
new TH1F(
"h2CeffHBnegativedirectionDigiD1",
"",
nphi, 0., 72.);
4088 if (
jeta - 41 < 0) {
4091 for (
int i = 0;
i < 1;
i++) {
4092 TH1F *HBnegativedirectionDigiD1 = (TH1F *)h2CeffHBnegativedirectionDigiD1->Clone(
"twod1");
4095 for (
int jphi = 0; jphi <
nphi; jphi++) {
4096 double ccc1 = digivarianceHB[
i][
jeta][jphi];
4097 if (adigiHB[
i][
jeta][jphi] > 0.) {
4098 HBnegativedirectionDigiD1->Fill(jphi, ccc1);
4104 c3x5->cd(kcountHBnegativedirectionDigiD1);
4105 HBnegativedirectionDigiD1->SetMarkerStyle(20);
4106 HBnegativedirectionDigiD1->SetMarkerSize(0.4);
4107 HBnegativedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
4108 HBnegativedirectionDigiD1->SetXTitle(
"HBnegativedirectionDigiD1 \b");
4109 HBnegativedirectionDigiD1->SetMarkerColor(2);
4110 HBnegativedirectionDigiD1->SetLineColor(0);
4114 if (kcountHBnegativedirectionDigiD1 == 1)
4115 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-16; depth = 1 \b");
4116 if (kcountHBnegativedirectionDigiD1 == 2)
4117 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-15; depth = 1 \b");
4118 if (kcountHBnegativedirectionDigiD1 == 3)
4119 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-14; depth = 1 \b");
4120 if (kcountHBnegativedirectionDigiD1 == 4)
4121 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-13; depth = 1 \b");
4122 if (kcountHBnegativedirectionDigiD1 == 5)
4123 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-12; depth = 1 \b");
4124 if (kcountHBnegativedirectionDigiD1 == 6)
4125 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-11; depth = 1 \b");
4126 if (kcountHBnegativedirectionDigiD1 == 7)
4127 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-10; depth = 1 \b");
4128 if (kcountHBnegativedirectionDigiD1 == 8)
4129 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-9; depth = 1 \b");
4130 if (kcountHBnegativedirectionDigiD1 == 9)
4131 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-8; depth = 1 \b");
4132 if (kcountHBnegativedirectionDigiD1 == 10)
4133 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-7; depth = 1 \b");
4134 if (kcountHBnegativedirectionDigiD1 == 11)
4135 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-6; depth = 1 \b");
4136 if (kcountHBnegativedirectionDigiD1 == 12)
4137 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-5; depth = 1 \b");
4138 if (kcountHBnegativedirectionDigiD1 == 13)
4139 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-4; depth = 1 \b");
4140 if (kcountHBnegativedirectionDigiD1 == 14)
4141 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-3; depth = 1 \b");
4142 if (kcountHBnegativedirectionDigiD1 == 15)
4143 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-2; depth = 1 \b");
4144 if (kcountHBnegativedirectionDigiD1 == 16)
4145 HBnegativedirectionDigiD1->SetXTitle(
"D for HB- jeta =-1; depth = 1 \b");
4146 HBnegativedirectionDigiD1->Draw(
"Error");
4147 kcountHBnegativedirectionDigiD1++;
4148 if (kcountHBnegativedirectionDigiD1 > 16)
4157 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
4160 if (h2CeffHBnegativedirectionDigiD1)
4161 delete h2CeffHBnegativedirectionDigiD1;
4169 int kcountHBnegativedirectionDigiD2 = 1;
4170 TH1F *h2CeffHBnegativedirectionDigiD2 =
new TH1F(
"h2CeffHBnegativedirectionDigiD2",
"",
nphi, 0., 72.);
4174 if (
jeta - 41 < 0) {
4177 for (
int i = 1;
i < 2;
i++) {
4178 TH1F *HBnegativedirectionDigiD2 = (TH1F *)h2CeffHBnegativedirectionDigiD2->Clone(
"twod1");
4181 for (
int jphi = 0; jphi <
nphi; jphi++) {
4182 double ccc1 = digivarianceHB[
i][
jeta][jphi];
4183 if (adigiHB[
i][
jeta][jphi] > 0.) {
4184 HBnegativedirectionDigiD2->Fill(jphi, ccc1);
4190 c3x5->cd(kcountHBnegativedirectionDigiD2);
4191 HBnegativedirectionDigiD2->SetMarkerStyle(20);
4192 HBnegativedirectionDigiD2->SetMarkerSize(0.4);
4193 HBnegativedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
4194 HBnegativedirectionDigiD2->SetXTitle(
"HBnegativedirectionDigiD2 \b");
4195 HBnegativedirectionDigiD2->SetMarkerColor(2);
4196 HBnegativedirectionDigiD2->SetLineColor(0);
4200 if (kcountHBnegativedirectionDigiD2 == 1)
4201 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-16; depth = 2 \b");
4202 if (kcountHBnegativedirectionDigiD2 == 2)
4203 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-15; depth = 2 \b");
4204 if (kcountHBnegativedirectionDigiD2 == 3)
4205 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-14; depth = 2 \b");
4206 if (kcountHBnegativedirectionDigiD2 == 4)
4207 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-13; depth = 2 \b");
4208 if (kcountHBnegativedirectionDigiD2 == 5)
4209 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-12; depth = 2 \b");
4210 if (kcountHBnegativedirectionDigiD2 == 6)
4211 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-11; depth = 2 \b");
4212 if (kcountHBnegativedirectionDigiD2 == 7)
4213 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-10; depth = 2 \b");
4214 if (kcountHBnegativedirectionDigiD2 == 8)
4215 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-9; depth = 2 \b");
4216 if (kcountHBnegativedirectionDigiD2 == 9)
4217 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-8; depth = 2 \b");
4218 if (kcountHBnegativedirectionDigiD2 == 10)
4219 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-7; depth = 2 \b");
4220 if (kcountHBnegativedirectionDigiD2 == 11)
4221 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-6; depth = 2 \b");
4222 if (kcountHBnegativedirectionDigiD2 == 12)
4223 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-5; depth = 2 \b");
4224 if (kcountHBnegativedirectionDigiD2 == 13)
4225 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-4; depth = 2 \b");
4226 if (kcountHBnegativedirectionDigiD2 == 14)
4227 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-3; depth = 2 \b");
4228 if (kcountHBnegativedirectionDigiD2 == 15)
4229 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-2; depth = 2 \b");
4230 if (kcountHBnegativedirectionDigiD2 == 16)
4231 HBnegativedirectionDigiD2->SetXTitle(
"D for HB- jeta =-1; depth = 2 \b");
4232 HBnegativedirectionDigiD2->Draw(
"Error");
4233 kcountHBnegativedirectionDigiD2++;
4234 if (kcountHBnegativedirectionDigiD2 > 16)
4243 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
4246 if (h2CeffHBnegativedirectionDigiD2)
4247 delete h2CeffHBnegativedirectionDigiD2;
4255 int kcountHBnegativedirectionDigiD3 = 1;
4256 TH1F *h2CeffHBnegativedirectionDigiD3 =
new TH1F(
"h2CeffHBnegativedirectionDigiD3",
"",
nphi, 0., 72.);
4260 if (
jeta - 41 < 0) {
4263 for (
int i = 2;
i < 3;
i++) {
4264 TH1F *HBnegativedirectionDigiD3 = (TH1F *)h2CeffHBnegativedirectionDigiD3->Clone(
"twod1");
4267 for (
int jphi = 0; jphi <
nphi; jphi++) {
4268 double ccc1 = digivarianceHB[
i][
jeta][jphi];
4269 if (adigiHB[
i][
jeta][jphi] > 0.) {
4270 HBnegativedirectionDigiD3->Fill(jphi, ccc1);
4276 c3x5->cd(kcountHBnegativedirectionDigiD3);
4277 HBnegativedirectionDigiD3->SetMarkerStyle(20);
4278 HBnegativedirectionDigiD3->SetMarkerSize(0.4);
4279 HBnegativedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
4280 HBnegativedirectionDigiD3->SetXTitle(
"HBnegativedirectionDigiD3 \b");
4281 HBnegativedirectionDigiD3->SetMarkerColor(2);
4282 HBnegativedirectionDigiD3->SetLineColor(0);
4286 if (kcountHBnegativedirectionDigiD3 == 1)
4287 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-16; depth = 3 \b");
4288 if (kcountHBnegativedirectionDigiD3 == 2)
4289 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-15; depth = 3 \b");
4290 if (kcountHBnegativedirectionDigiD3 == 3)
4291 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-14; depth = 3 \b");
4292 if (kcountHBnegativedirectionDigiD3 == 4)
4293 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-13; depth = 3 \b");
4294 if (kcountHBnegativedirectionDigiD3 == 5)
4295 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-12; depth = 3 \b");
4296 if (kcountHBnegativedirectionDigiD3 == 6)
4297 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-11; depth = 3 \b");
4298 if (kcountHBnegativedirectionDigiD3 == 7)
4299 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-10; depth = 3 \b");
4300 if (kcountHBnegativedirectionDigiD3 == 8)
4301 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-9; depth = 3 \b");
4302 if (kcountHBnegativedirectionDigiD3 == 9)
4303 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-8; depth = 3 \b");
4304 if (kcountHBnegativedirectionDigiD3 == 10)
4305 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-7; depth = 3 \b");
4306 if (kcountHBnegativedirectionDigiD3 == 11)
4307 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-6; depth = 3 \b");
4308 if (kcountHBnegativedirectionDigiD3 == 12)
4309 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-5; depth = 3 \b");
4310 if (kcountHBnegativedirectionDigiD3 == 13)
4311 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-4; depth = 3 \b");
4312 if (kcountHBnegativedirectionDigiD3 == 14)
4313 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-3; depth = 3 \b");
4314 if (kcountHBnegativedirectionDigiD3 == 15)
4315 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-2; depth = 3 \b");
4316 if (kcountHBnegativedirectionDigiD3 == 16)
4317 HBnegativedirectionDigiD3->SetXTitle(
"D for HB- jeta =-1; depth = 3 \b");
4318 HBnegativedirectionDigiD3->Draw(
"Error");
4319 kcountHBnegativedirectionDigiD3++;
4320 if (kcountHBnegativedirectionDigiD3 > 16)
4329 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
4332 if (h2CeffHBnegativedirectionDigiD3)
4333 delete h2CeffHBnegativedirectionDigiD3;
4341 int kcountHBnegativedirectionDigiD4 = 1;
4342 TH1F *h2CeffHBnegativedirectionDigiD4 =
new TH1F(
"h2CeffHBnegativedirectionDigiD4",
"",
nphi, 0., 72.);
4346 if (
jeta - 41 < 0) {
4349 for (
int i = 3;
i < 4;
i++) {
4350 TH1F *HBnegativedirectionDigiD4 = (TH1F *)h2CeffHBnegativedirectionDigiD4->Clone(
"twod1");
4353 for (
int jphi = 0; jphi <
nphi; jphi++) {
4354 double ccc1 = digivarianceHB[
i][
jeta][jphi];
4355 if (adigiHB[
i][
jeta][jphi] > 0.) {
4356 HBnegativedirectionDigiD4->Fill(jphi, ccc1);
4362 c3x5->cd(kcountHBnegativedirectionDigiD4);
4363 HBnegativedirectionDigiD4->SetMarkerStyle(20);
4364 HBnegativedirectionDigiD4->SetMarkerSize(0.4);
4365 HBnegativedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
4366 HBnegativedirectionDigiD4->SetXTitle(
"HBnegativedirectionDigiD4 \b");
4367 HBnegativedirectionDigiD4->SetMarkerColor(2);
4368 HBnegativedirectionDigiD4->SetLineColor(0);
4372 if (kcountHBnegativedirectionDigiD4 == 1)
4373 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-16; depth = 4 \b");
4374 if (kcountHBnegativedirectionDigiD4 == 2)
4375 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-15; depth = 4 \b");
4376 if (kcountHBnegativedirectionDigiD4 == 3)
4377 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-14; depth = 4 \b");
4378 if (kcountHBnegativedirectionDigiD4 == 4)
4379 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-13; depth = 4 \b");
4380 if (kcountHBnegativedirectionDigiD4 == 5)
4381 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-12; depth = 4 \b");
4382 if (kcountHBnegativedirectionDigiD4 == 6)
4383 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-11; depth = 4 \b");
4384 if (kcountHBnegativedirectionDigiD4 == 7)
4385 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-10; depth = 4 \b");
4386 if (kcountHBnegativedirectionDigiD4 == 8)
4387 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-9; depth = 4 \b");
4388 if (kcountHBnegativedirectionDigiD4 == 9)
4389 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-8; depth = 4 \b");
4390 if (kcountHBnegativedirectionDigiD4 == 10)
4391 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-7; depth = 4 \b");
4392 if (kcountHBnegativedirectionDigiD4 == 11)
4393 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-6; depth = 4 \b");
4394 if (kcountHBnegativedirectionDigiD4 == 12)
4395 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-5; depth = 4 \b");
4396 if (kcountHBnegativedirectionDigiD4 == 13)
4397 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-4; depth = 4 \b");
4398 if (kcountHBnegativedirectionDigiD4 == 14)
4399 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-3; depth = 4 \b");
4400 if (kcountHBnegativedirectionDigiD4 == 15)
4401 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-2; depth = 4 \b");
4402 if (kcountHBnegativedirectionDigiD4 == 16)
4403 HBnegativedirectionDigiD4->SetXTitle(
"D for HB- jeta =-1; depth = 4 \b");
4404 HBnegativedirectionDigiD4->Draw(
"Error");
4405 kcountHBnegativedirectionDigiD4++;
4406 if (kcountHBnegativedirectionDigiD4 > 16)
4415 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
4418 if (h2CeffHBnegativedirectionDigiD4)
4419 delete h2CeffHBnegativedirectionDigiD4;
4432 double adigihe[
ndepth][njeta][njphi];
4433 double digivariancehe[
ndepth][njeta][njphi];
4435 TH2F *amplitudechannel1HE1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE1");
4436 TH2F *amplitudechannel0HE1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE1");
4437 TH2F *amplitudechannelHE1 = (TH2F *)amplitudechannel1HE1->Clone(
"amplitudechannelHE1");
4438 amplitudechannelHE1->Divide(amplitudechannel1HE1, amplitudechannel0HE1, 1, 1,
"B");
4439 TH2F *amplitudechannel1HE2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE2");
4440 TH2F *amplitudechannel0HE2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE2");
4441 TH2F *amplitudechannelHE2 = (TH2F *)amplitudechannel1HE2->Clone(
"amplitudechannelHE2");
4442 amplitudechannelHE2->Divide(amplitudechannel1HE2, amplitudechannel0HE2, 1, 1,
"B");
4443 TH2F *amplitudechannel1HE3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE3");
4444 TH2F *amplitudechannel0HE3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE3");
4445 TH2F *amplitudechannelHE3 = (TH2F *)amplitudechannel1HE3->Clone(
"amplitudechannelHE3");
4446 amplitudechannelHE3->Divide(amplitudechannel1HE3, amplitudechannel0HE3, 1, 1,
"B");
4447 TH2F *amplitudechannel1HE4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE4");
4448 TH2F *amplitudechannel0HE4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE4");
4449 TH2F *amplitudechannelHE4 = (TH2F *)amplitudechannel1HE4->Clone(
"amplitudechannelHE4");
4450 amplitudechannelHE4->Divide(amplitudechannel1HE4, amplitudechannel0HE4, 1, 1,
"B");
4451 TH2F *amplitudechannel1HE5 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE5");
4452 TH2F *amplitudechannel0HE5 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE5");
4453 TH2F *amplitudechannelHE5 = (TH2F *)amplitudechannel1HE5->Clone(
"amplitudechannelHE5");
4454 amplitudechannelHE5->Divide(amplitudechannel1HE5, amplitudechannel0HE5, 1, 1,
"B");
4455 TH2F *amplitudechannel1HE6 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE6");
4456 TH2F *amplitudechannel0HE6 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE6");
4457 TH2F *amplitudechannelHE6 = (TH2F *)amplitudechannel1HE6->Clone(
"amplitudechannelHE6");
4458 amplitudechannelHE6->Divide(amplitudechannel1HE6, amplitudechannel0HE6, 1, 1,
"B");
4459 TH2F *amplitudechannel1HE7 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HE7");
4460 TH2F *amplitudechannel0HE7 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE7");
4461 TH2F *amplitudechannelHE7 = (TH2F *)amplitudechannel1HE7->Clone(
"amplitudechannelHE7");
4462 amplitudechannelHE7->Divide(amplitudechannel1HE7, amplitudechannel0HE7, 1, 1,
"B");
4466 double sumdigiHE0 = 0;
4467 int nsumdigiHE0 = 0;
4468 double sumdigiHE1 = 0;
4469 int nsumdigiHE1 = 0;
4470 double sumdigiHE2 = 0;
4471 int nsumdigiHE2 = 0;
4472 double sumdigiHE3 = 0;
4473 int nsumdigiHE3 = 0;
4474 double sumdigiHE4 = 0;
4475 int nsumdigiHE4 = 0;
4476 double sumdigiHE5 = 0;
4477 int nsumdigiHE5 = 0;
4478 double sumdigiHE6 = 0;
4479 int nsumdigiHE6 = 0;
4480 for (
int jphi = 0; jphi < njphi; jphi++) {
4481 adigihe[0][
jeta][jphi] = amplitudechannelHE1->GetBinContent(
jeta + 1, jphi + 1);
4482 adigihe[1][
jeta][jphi] = amplitudechannelHE2->GetBinContent(
jeta + 1, jphi + 1);
4483 adigihe[2][
jeta][jphi] = amplitudechannelHE3->GetBinContent(
jeta + 1, jphi + 1);
4484 adigihe[3][
jeta][jphi] = amplitudechannelHE4->GetBinContent(
jeta + 1, jphi + 1);
4485 adigihe[4][
jeta][jphi] = amplitudechannelHE5->GetBinContent(
jeta + 1, jphi + 1);
4486 adigihe[5][
jeta][jphi] = amplitudechannelHE6->GetBinContent(
jeta + 1, jphi + 1);
4487 adigihe[6][
jeta][jphi] = amplitudechannelHE7->GetBinContent(
jeta + 1, jphi + 1);
4488 if (adigihe[0][
jeta][jphi] > 0.) {
4489 sumdigiHE0 += adigihe[0][
jeta][jphi];
4492 if (adigihe[1][
jeta][jphi] > 0.) {
4493 sumdigiHE1 += adigihe[1][
jeta][jphi];
4496 if (adigihe[2][
jeta][jphi] > 0.) {
4497 sumdigiHE2 += adigihe[2][
jeta][jphi];
4500 if (adigihe[3][
jeta][jphi] > 0.) {
4501 sumdigiHE3 += adigihe[3][
jeta][jphi];
4504 if (adigihe[4][
jeta][jphi] > 0.) {
4505 sumdigiHE4 += adigihe[4][
jeta][jphi];
4508 if (adigihe[5][
jeta][jphi] > 0.) {
4509 sumdigiHE5 += adigihe[5][
jeta][jphi];
4512 if (adigihe[6][
jeta][jphi] > 0.) {
4513 sumdigiHE6 += adigihe[6][
jeta][jphi];
4518 for (
int jphi = 0; jphi < njphi; jphi++) {
4519 if (adigihe[0][
jeta][jphi] > 0.)
4520 adigihe[0][
jeta][jphi] /= (sumdigiHE0 / nsumdigiHE0);
4521 if (adigihe[1][
jeta][jphi] > 0.)
4522 adigihe[1][
jeta][jphi] /= (sumdigiHE1 / nsumdigiHE1);
4523 if (adigihe[2][
jeta][jphi] > 0.)
4524 adigihe[2][
jeta][jphi] /= (sumdigiHE2 / nsumdigiHE2);
4525 if (adigihe[3][
jeta][jphi] > 0.)
4526 adigihe[3][
jeta][jphi] /= (sumdigiHE3 / nsumdigiHE3);
4527 if (adigihe[4][
jeta][jphi] > 0.)
4528 adigihe[4][
jeta][jphi] /= (sumdigiHE4 / nsumdigiHE4);
4529 if (adigihe[5][
jeta][jphi] > 0.)
4530 adigihe[5][
jeta][jphi] /= (sumdigiHE5 / nsumdigiHE5);
4531 if (adigihe[6][
jeta][jphi] > 0.)
4532 adigihe[6][
jeta][jphi] /= (sumdigiHE6 / nsumdigiHE6);
4543 TH2F *GefzRdigiHE42D =
new TH2F(
"GefzRdigiHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
4544 TH2F *GefzRdigiHE42D0 =
new TH2F(
"GefzRdigiHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
4545 TH2F *GefzRdigiHE42DF = (TH2F *)GefzRdigiHE42D0->Clone(
"GefzRdigiHE42DF");
4548 for (
int jphi = 0; jphi <
nphi; jphi++) {
4549 double ccc1 = adigihe[
i][
jeta][jphi];
4550 int k2plot =
jeta - 41;
4553 GefzRdigiHE42D->Fill(kkk, jphi, ccc1);
4554 GefzRdigiHE42D0->Fill(kkk, jphi, 1.);
4559 GefzRdigiHE42DF->Divide(GefzRdigiHE42D, GefzRdigiHE42D0, 1, 1,
"B");
4562 GefzRdigiHE42DF->SetMarkerStyle(20);
4563 GefzRdigiHE42DF->SetMarkerSize(0.4);
4564 GefzRdigiHE42DF->GetZaxis()->SetLabelSize(0.08);
4565 GefzRdigiHE42DF->SetXTitle(
"<R>_depth #eta \b");
4566 GefzRdigiHE42DF->SetYTitle(
" #phi \b");
4567 GefzRdigiHE42DF->SetZTitle(
"<R>_depth \b");
4568 GefzRdigiHE42DF->SetMarkerColor(2);
4569 GefzRdigiHE42DF->SetLineColor(
4571 GefzRdigiHE42DF->Draw(
"COLZ");
4574 c1x0->Print(
"RdigiGeneralD2PhiSymmetryHE.png");
4578 delete GefzRdigiHE42D;
4579 if (GefzRdigiHE42D0)
4580 delete GefzRdigiHE42D0;
4581 if (GefzRdigiHE42DF)
4582 delete GefzRdigiHE42DF;
4590 TH1F *GefzRdigiHE41D =
new TH1F(
"GefzRdigiHE41D",
"",
nphi, 0., 72.);
4591 TH1F *GefzRdigiHE41D0 =
new TH1F(
"GefzRdigiHE41D0",
"",
nphi, 0., 72.);
4592 TH1F *GefzRdigiHE41DF = (TH1F *)GefzRdigiHE41D0->Clone(
"GefzRdigiHE41DF");
4593 for (
int jphi = 0; jphi <
nphi; jphi++) {
4596 double ccc1 = adigihe[
i][
jeta][jphi];
4598 GefzRdigiHE41D->Fill(jphi, ccc1);
4599 GefzRdigiHE41D0->Fill(jphi, 1.);
4604 GefzRdigiHE41DF->Divide(GefzRdigiHE41D, GefzRdigiHE41D0, 1, 1,
"B");
4605 GefzRdigiHE41D0->Sumw2();
4609 GefzRdigiHE41DF->SetMarkerStyle(20);
4610 GefzRdigiHE41DF->SetMarkerSize(1.4);
4611 GefzRdigiHE41DF->GetZaxis()->SetLabelSize(0.08);
4612 GefzRdigiHE41DF->SetXTitle(
"#phi \b");
4613 GefzRdigiHE41DF->SetYTitle(
" <R> \b");
4614 GefzRdigiHE41DF->SetZTitle(
"<R>_PHI - AllDepthes \b");
4615 GefzRdigiHE41DF->SetMarkerColor(4);
4616 GefzRdigiHE41DF->SetLineColor(
4618 GefzRdigiHE41DF->Draw(
"Error");
4621 c1x1->Print(
"RdigiGeneralD1PhiSymmetryHE.png");
4625 delete GefzRdigiHE41D;
4626 if (GefzRdigiHE41D0)
4627 delete GefzRdigiHE41D0;
4628 if (GefzRdigiHE41DF)
4629 delete GefzRdigiHE41DF;
4639 int kcountHEpositivedirectionDigi1 = 1;
4640 TH1F *h2CeffHEpositivedirectionDigi1 =
new TH1F(
"h2CeffHEpositivedirectionDigi1",
"",
nphi, 0., 72.);
4643 if (
jeta - 41 >= 0) {
4646 for (
int i = 0;
i < 1;
i++) {
4647 TH1F *HEpositivedirectionDigi1 = (TH1F *)h2CeffHEpositivedirectionDigi1->Clone(
"twod1");
4649 for (
int jphi = 0; jphi <
nphi; jphi++) {
4650 double ccc1 = adigihe[
i][
jeta][jphi];
4652 HEpositivedirectionDigi1->Fill(jphi, ccc1);
4658 c3x5->cd(kcountHEpositivedirectionDigi1);
4659 HEpositivedirectionDigi1->SetMarkerStyle(20);
4660 HEpositivedirectionDigi1->SetMarkerSize(0.4);
4661 HEpositivedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
4662 HEpositivedirectionDigi1->SetXTitle(
"HEpositivedirectionDigi1 \b");
4663 HEpositivedirectionDigi1->SetMarkerColor(2);
4664 HEpositivedirectionDigi1->SetLineColor(0);
4668 if (kcountHEpositivedirectionDigi1 == 1)
4669 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 17; depth = 1 \b");
4670 if (kcountHEpositivedirectionDigi1 == 2)
4671 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 18; depth = 1 \b");
4672 if (kcountHEpositivedirectionDigi1 == 3)
4673 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 19; depth = 1 \b");
4674 if (kcountHEpositivedirectionDigi1 == 4)
4675 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 20; depth = 1 \b");
4676 if (kcountHEpositivedirectionDigi1 == 5)
4677 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 21; depth = 1 \b");
4678 if (kcountHEpositivedirectionDigi1 == 6)
4679 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 22; depth = 1 \b");
4680 if (kcountHEpositivedirectionDigi1 == 7)
4681 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 23; depth = 1 \b");
4682 if (kcountHEpositivedirectionDigi1 == 8)
4683 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 24; depth = 1 \b");
4684 if (kcountHEpositivedirectionDigi1 == 9)
4685 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 25; depth = 1 \b");
4686 if (kcountHEpositivedirectionDigi1 == 10)
4687 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 26; depth = 1 \b");
4688 if (kcountHEpositivedirectionDigi1 == 11)
4689 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 27; depth = 1 \b");
4690 if (kcountHEpositivedirectionDigi1 == 12)
4691 HEpositivedirectionDigi1->SetXTitle(
"R for HE+ jeta = 28; depth = 1 \b");
4692 HEpositivedirectionDigi1->Draw(
"Error");
4693 kcountHEpositivedirectionDigi1++;
4694 if (kcountHEpositivedirectionDigi1 > 12)
4703 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png");
4706 if (h2CeffHEpositivedirectionDigi1)
4707 delete h2CeffHEpositivedirectionDigi1;
4717 int kcountHEpositivedirectionDigi2 = 1;
4718 TH1F *h2CeffHEpositivedirectionDigi2 =
new TH1F(
"h2CeffHEpositivedirectionDigi2",
"",
nphi, 0., 72.);
4721 if (
jeta - 41 >= 0) {
4724 for (
int i = 1;
i < 2;
i++) {
4725 TH1F *HEpositivedirectionDigi2 = (TH1F *)h2CeffHEpositivedirectionDigi2->Clone(
"twod1");
4727 for (
int jphi = 0; jphi <
nphi; jphi++) {
4728 double ccc1 = adigihe[
i][
jeta][jphi];
4730 HEpositivedirectionDigi2->Fill(jphi, ccc1);
4736 c3x5->cd(kcountHEpositivedirectionDigi2);
4737 HEpositivedirectionDigi2->SetMarkerStyle(20);
4738 HEpositivedirectionDigi2->SetMarkerSize(0.4);
4739 HEpositivedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
4740 HEpositivedirectionDigi2->SetXTitle(
"HEpositivedirectionDigi2 \b");
4741 HEpositivedirectionDigi2->SetMarkerColor(2);
4742 HEpositivedirectionDigi2->SetLineColor(0);
4746 if (kcountHEpositivedirectionDigi2 == 1)
4747 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 16; depth = 2 \b");
4748 if (kcountHEpositivedirectionDigi2 == 2)
4749 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 17; depth = 2 \b");
4750 if (kcountHEpositivedirectionDigi2 == 3)
4751 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 18; depth = 2 \b");
4752 if (kcountHEpositivedirectionDigi2 == 4)
4753 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 19; depth = 2 \b");
4754 if (kcountHEpositivedirectionDigi2 == 5)
4755 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 20; depth = 2 \b");
4756 if (kcountHEpositivedirectionDigi2 == 6)
4757 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 21; depth = 2 \b");
4758 if (kcountHEpositivedirectionDigi2 == 7)
4759 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 22; depth = 2 \b");
4760 if (kcountHEpositivedirectionDigi2 == 8)
4761 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 23; depth = 2 \b");
4762 if (kcountHEpositivedirectionDigi2 == 9)
4763 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 24; depth = 2 \b");
4764 if (kcountHEpositivedirectionDigi2 == 10)
4765 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 25; depth = 2 \b");
4766 if (kcountHEpositivedirectionDigi2 == 11)
4767 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 26; depth = 2 \b");
4768 if (kcountHEpositivedirectionDigi2 == 12)
4769 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 27; depth = 2 \b");
4770 if (kcountHEpositivedirectionDigi2 == 13)
4771 HEpositivedirectionDigi2->SetXTitle(
"R for HE+ jeta = 28; depth = 2 \b");
4772 HEpositivedirectionDigi2->Draw(
"Error");
4773 kcountHEpositivedirectionDigi2++;
4774 if (kcountHEpositivedirectionDigi2 > 13)
4783 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png");
4786 if (h2CeffHEpositivedirectionDigi2)
4787 delete h2CeffHEpositivedirectionDigi2;
4796 int kcountHEpositivedirectionDigi3 = 1;
4797 TH1F *h2CeffHEpositivedirectionDigi3 =
new TH1F(
"h2CeffHEpositivedirectionDigi3",
"",
nphi, 0., 72.);
4800 if (
jeta - 41 >= 0) {
4803 for (
int i = 2;
i < 3;
i++) {
4804 TH1F *HEpositivedirectionDigi3 = (TH1F *)h2CeffHEpositivedirectionDigi3->Clone(
"twod1");
4806 for (
int jphi = 0; jphi <
nphi; jphi++) {
4807 double ccc1 = adigihe[
i][
jeta][jphi];
4809 HEpositivedirectionDigi3->Fill(jphi, ccc1);
4815 c3x5->cd(kcountHEpositivedirectionDigi3);
4816 HEpositivedirectionDigi3->SetMarkerStyle(20);
4817 HEpositivedirectionDigi3->SetMarkerSize(0.4);
4818 HEpositivedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
4819 HEpositivedirectionDigi3->SetXTitle(
"HEpositivedirectionDigi3 \b");
4820 HEpositivedirectionDigi3->SetMarkerColor(2);
4821 HEpositivedirectionDigi3->SetLineColor(0);
4825 if (kcountHEpositivedirectionDigi3 == 1)
4826 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 16; depth = 3 \b");
4827 if (kcountHEpositivedirectionDigi3 == 2)
4828 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 17; depth = 3 \b");
4829 if (kcountHEpositivedirectionDigi3 == 3)
4830 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 18; depth = 3 \b");
4831 if (kcountHEpositivedirectionDigi3 == 4)
4832 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 19; depth = 3 \b");
4833 if (kcountHEpositivedirectionDigi3 == 5)
4834 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 20; depth = 3 \b");
4835 if (kcountHEpositivedirectionDigi3 == 6)
4836 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 21; depth = 3 \b");
4837 if (kcountHEpositivedirectionDigi3 == 7)
4838 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 22; depth = 3 \b");
4839 if (kcountHEpositivedirectionDigi3 == 8)
4840 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 23; depth = 3 \b");
4841 if (kcountHEpositivedirectionDigi3 == 9)
4842 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 24; depth = 3 \b");
4843 if (kcountHEpositivedirectionDigi3 == 10)
4844 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 25; depth = 3 \b");
4845 if (kcountHEpositivedirectionDigi3 == 11)
4846 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 26; depth = 3 \b");
4847 if (kcountHEpositivedirectionDigi3 == 12)
4848 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 27; depth = 3 \b");
4849 if (kcountHEpositivedirectionDigi3 == 13)
4850 HEpositivedirectionDigi3->SetXTitle(
"R for HE+ jeta = 28; depth = 3 \b");
4851 HEpositivedirectionDigi3->Draw(
"Error");
4852 kcountHEpositivedirectionDigi3++;
4853 if (kcountHEpositivedirectionDigi3 > 13)
4862 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png");
4865 if (h2CeffHEpositivedirectionDigi3)
4866 delete h2CeffHEpositivedirectionDigi3;
4875 int kcountHEpositivedirectionDigi4 = 1;
4876 TH1F *h2CeffHEpositivedirectionDigi4 =
new TH1F(
"h2CeffHEpositivedirectionDigi4",
"",
nphi, 0., 72.);
4880 if (
jeta - 41 >= 0) {
4883 for (
int i = 3;
i < 4;
i++) {
4884 TH1F *HEpositivedirectionDigi4 = (TH1F *)h2CeffHEpositivedirectionDigi4->Clone(
"twod1");
4887 for (
int jphi = 0; jphi <
nphi; jphi++) {
4888 double ccc1 = adigihe[
i][
jeta][jphi];
4890 HEpositivedirectionDigi4->Fill(jphi, ccc1);
4896 c3x5->cd(kcountHEpositivedirectionDigi4);
4897 HEpositivedirectionDigi4->SetMarkerStyle(20);
4898 HEpositivedirectionDigi4->SetMarkerSize(0.4);
4899 HEpositivedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
4900 HEpositivedirectionDigi4->SetXTitle(
"HEpositivedirectionDigi4 \b");
4901 HEpositivedirectionDigi4->SetMarkerColor(2);
4902 HEpositivedirectionDigi4->SetLineColor(0);
4906 if (kcountHEpositivedirectionDigi4 == 1)
4907 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 15; depth = 4 \b");
4908 if (kcountHEpositivedirectionDigi4 == 2)
4909 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 17; depth = 4 \b");
4910 if (kcountHEpositivedirectionDigi4 == 3)
4911 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 18; depth = 4 \b");
4912 if (kcountHEpositivedirectionDigi4 == 4)
4913 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 19; depth = 4 \b");
4914 if (kcountHEpositivedirectionDigi4 == 5)
4915 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 20; depth = 4 \b");
4916 if (kcountHEpositivedirectionDigi4 == 6)
4917 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 21; depth = 4 \b");
4918 if (kcountHEpositivedirectionDigi4 == 7)
4919 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 22; depth = 4 \b");
4920 if (kcountHEpositivedirectionDigi4 == 8)
4921 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 23; depth = 4 \b");
4922 if (kcountHEpositivedirectionDigi4 == 9)
4923 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 24; depth = 4 \b");
4924 if (kcountHEpositivedirectionDigi4 == 10)
4925 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 25; depth = 4 \b");
4926 if (kcountHEpositivedirectionDigi4 == 11)
4927 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 26; depth = 4 \b");
4928 if (kcountHEpositivedirectionDigi4 == 12)
4929 HEpositivedirectionDigi4->SetXTitle(
"R for HE+ jeta = 27; depth = 4 \b");
4930 HEpositivedirectionDigi4->Draw(
"Error");
4931 kcountHEpositivedirectionDigi4++;
4932 if (kcountHEpositivedirectionDigi4 > 12)
4941 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png");
4944 if (h2CeffHEpositivedirectionDigi4)
4945 delete h2CeffHEpositivedirectionDigi4;
4954 int kcountHEpositivedirectionDigi5 = 1;
4955 TH1F *h2CeffHEpositivedirectionDigi5 =
new TH1F(
"h2CeffHEpositivedirectionDigi5",
"",
nphi, 0., 72.);
4959 if (
jeta - 41 >= 0) {
4962 for (
int i = 4;
i < 5;
i++) {
4963 TH1F *HEpositivedirectionDigi5 = (TH1F *)h2CeffHEpositivedirectionDigi5->Clone(
"twod1");
4966 for (
int jphi = 0; jphi <
nphi; jphi++) {
4969 double ccc1 = adigihe[
i][
jeta][jphi];
4971 HEpositivedirectionDigi5->Fill(jphi, ccc1);
4977 c3x5->cd(kcountHEpositivedirectionDigi5);
4978 HEpositivedirectionDigi5->SetMarkerStyle(20);
4979 HEpositivedirectionDigi5->SetMarkerSize(0.4);
4980 HEpositivedirectionDigi5->GetYaxis()->SetLabelSize(0.04);
4981 HEpositivedirectionDigi5->SetXTitle(
"HEpositivedirectionDigi5 \b");
4982 HEpositivedirectionDigi5->SetMarkerColor(2);
4983 HEpositivedirectionDigi5->SetLineColor(0);
4987 if (kcountHEpositivedirectionDigi5 == 1)
4988 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 17; depth = 5 \b");
4989 if (kcountHEpositivedirectionDigi5 == 2)
4990 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 18; depth = 5 \b");
4991 if (kcountHEpositivedirectionDigi5 == 3)
4992 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 19; depth = 5 \b");
4993 if (kcountHEpositivedirectionDigi5 == 4)
4994 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 20; depth = 5 \b");
4995 if (kcountHEpositivedirectionDigi5 == 5)
4996 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 21; depth = 5 \b");
4997 if (kcountHEpositivedirectionDigi5 == 6)
4998 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 22; depth = 5 \b");
4999 if (kcountHEpositivedirectionDigi5 == 7)
5000 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 23; depth = 5 \b");
5001 if (kcountHEpositivedirectionDigi5 == 8)
5002 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 24; depth = 5 \b");
5003 if (kcountHEpositivedirectionDigi5 == 9)
5004 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 25; depth = 5 \b");
5005 if (kcountHEpositivedirectionDigi5 == 10)
5006 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 26; depth = 5 \b");
5007 if (kcountHEpositivedirectionDigi5 == 11)
5008 HEpositivedirectionDigi5->SetXTitle(
"R for HE+ jeta = 27; depth = 5 \b");
5009 HEpositivedirectionDigi5->Draw(
"Error");
5010 kcountHEpositivedirectionDigi5++;
5011 if (kcountHEpositivedirectionDigi5 > 11)
5020 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png");
5023 if (h2CeffHEpositivedirectionDigi5)
5024 delete h2CeffHEpositivedirectionDigi5;
5033 int kcountHEpositivedirectionDigi6 = 1;
5034 TH1F *h2CeffHEpositivedirectionDigi6 =
new TH1F(
"h2CeffHEpositivedirectionDigi6",
"",
nphi, 0., 72.);
5038 if (
jeta - 41 >= 0) {
5041 for (
int i = 5;
i < 6;
i++) {
5042 TH1F *HEpositivedirectionDigi6 = (TH1F *)h2CeffHEpositivedirectionDigi6->Clone(
"twod1");
5045 for (
int jphi = 0; jphi <
nphi; jphi++) {
5046 double ccc1 = adigihe[
i][
jeta][jphi];
5048 HEpositivedirectionDigi6->Fill(jphi, ccc1);
5054 c3x5->cd(kcountHEpositivedirectionDigi6);
5055 HEpositivedirectionDigi6->SetMarkerStyle(20);
5056 HEpositivedirectionDigi6->SetMarkerSize(0.4);
5057 HEpositivedirectionDigi6->GetYaxis()->SetLabelSize(0.04);
5058 HEpositivedirectionDigi6->SetXTitle(
"HEpositivedirectionDigi6 \b");
5059 HEpositivedirectionDigi6->SetMarkerColor(2);
5060 HEpositivedirectionDigi6->SetLineColor(0);
5064 if (kcountHEpositivedirectionDigi6 == 1)
5065 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 18; depth = 6 \b");
5066 if (kcountHEpositivedirectionDigi6 == 2)
5067 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 19; depth = 6 \b");
5068 if (kcountHEpositivedirectionDigi6 == 3)
5069 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 20; depth = 6 \b");
5070 if (kcountHEpositivedirectionDigi6 == 4)
5071 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 21; depth = 6 \b");
5072 if (kcountHEpositivedirectionDigi6 == 5)
5073 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 22; depth = 6 \b");
5074 if (kcountHEpositivedirectionDigi6 == 6)
5075 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 23; depth = 6 \b");
5076 if (kcountHEpositivedirectionDigi6 == 7)
5077 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 24; depth = 6 \b");
5078 if (kcountHEpositivedirectionDigi6 == 8)
5079 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 25; depth = 6 \b");
5080 if (kcountHEpositivedirectionDigi6 == 9)
5081 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 26; depth = 6 \b");
5082 if (kcountHEpositivedirectionDigi6 == 10)
5083 HEpositivedirectionDigi6->SetXTitle(
"R for HE+ jeta = 27; depth = 6 \b");
5084 HEpositivedirectionDigi6->Draw(
"Error");
5085 kcountHEpositivedirectionDigi6++;
5086 if (kcountHEpositivedirectionDigi6 > 10)
5095 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png");
5098 if (h2CeffHEpositivedirectionDigi6)
5099 delete h2CeffHEpositivedirectionDigi6;
5108 int kcountHEpositivedirectionDigi7 = 1;
5109 TH1F *h2CeffHEpositivedirectionDigi7 =
new TH1F(
"h2CeffHEpositivedirectionDigi7",
"",
nphi, 0., 72.);
5113 if (
jeta - 41 >= 0) {
5116 for (
int i = 6;
i < 7;
i++) {
5117 TH1F *HEpositivedirectionDigi7 = (TH1F *)h2CeffHEpositivedirectionDigi7->Clone(
"twod1");
5120 for (
int jphi = 0; jphi <
nphi; jphi++) {
5121 double ccc1 = adigihe[
i][
jeta][jphi];
5123 HEpositivedirectionDigi7->Fill(jphi, ccc1);
5129 c3x5->cd(kcountHEpositivedirectionDigi7);
5130 HEpositivedirectionDigi7->SetMarkerStyle(20);
5131 HEpositivedirectionDigi7->SetMarkerSize(0.4);
5132 HEpositivedirectionDigi7->GetYaxis()->SetLabelSize(0.04);
5133 HEpositivedirectionDigi7->SetXTitle(
"HEpositivedirectionDigi7 \b");
5134 HEpositivedirectionDigi7->SetMarkerColor(2);
5135 HEpositivedirectionDigi7->SetLineColor(0);
5139 if (kcountHEpositivedirectionDigi7 == 1)
5140 HEpositivedirectionDigi7->SetXTitle(
"R for HE+ jeta = 25; depth = 7 \b");
5141 if (kcountHEpositivedirectionDigi7 == 2)
5142 HEpositivedirectionDigi7->SetXTitle(
"R for HE+ jeta = 26; depth = 7 \b");
5143 if (kcountHEpositivedirectionDigi7 == 3)
5144 HEpositivedirectionDigi7->SetXTitle(
"R for HE+ jeta = 27; depth = 7 \b");
5145 HEpositivedirectionDigi7->Draw(
"Error");
5146 kcountHEpositivedirectionDigi7++;
5147 if (kcountHEpositivedirectionDigi7 > 3)
5156 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png");
5159 if (h2CeffHEpositivedirectionDigi7)
5160 delete h2CeffHEpositivedirectionDigi7;
5171 int kcountHEnegativedirectionDigi1 = 1;
5172 TH1F *h2CeffHEnegativedirectionDigi1 =
new TH1F(
"h2CeffHEnegativedirectionDigi1",
"",
nphi, 0., 72.);
5175 if (
jeta - 41 < 0) {
5178 for (
int i = 0;
i < 1;
i++) {
5179 TH1F *HEnegativedirectionDigi1 = (TH1F *)h2CeffHEnegativedirectionDigi1->Clone(
"twod1");
5181 for (
int jphi = 0; jphi <
nphi; jphi++) {
5182 double ccc1 = adigihe[
i][
jeta][jphi];
5184 HEnegativedirectionDigi1->Fill(jphi, ccc1);
5190 c3x5->cd(kcountHEnegativedirectionDigi1);
5191 HEnegativedirectionDigi1->SetMarkerStyle(20);
5192 HEnegativedirectionDigi1->SetMarkerSize(0.4);
5193 HEnegativedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
5194 HEnegativedirectionDigi1->SetXTitle(
"HEnegativedirectionDigi1 \b");
5195 HEnegativedirectionDigi1->SetMarkerColor(2);
5196 HEnegativedirectionDigi1->SetLineColor(0);
5200 if (kcountHEnegativedirectionDigi1 == 1)
5201 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-29; depth = 1 \b");
5202 if (kcountHEnegativedirectionDigi1 == 2)
5203 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-28; depth = 1 \b");
5204 if (kcountHEnegativedirectionDigi1 == 3)
5205 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-27; depth = 1 \b");
5206 if (kcountHEnegativedirectionDigi1 == 4)
5207 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-26; depth = 1 \b");
5208 if (kcountHEnegativedirectionDigi1 == 5)
5209 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-25; depth = 1 \b");
5210 if (kcountHEnegativedirectionDigi1 == 6)
5211 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-24; depth = 1 \b");
5212 if (kcountHEnegativedirectionDigi1 == 7)
5213 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-23; depth = 1 \b");
5214 if (kcountHEnegativedirectionDigi1 == 8)
5215 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-22; depth = 1 \b");
5216 if (kcountHEnegativedirectionDigi1 == 9)
5217 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-21; depth = 1 \b");
5218 if (kcountHEnegativedirectionDigi1 == 10)
5219 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-20; depth = 1 \b");
5220 if (kcountHEnegativedirectionDigi1 == 11)
5221 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-19; depth = 1 \b");
5222 if (kcountHEnegativedirectionDigi1 == 12)
5223 HEnegativedirectionDigi1->SetXTitle(
"R for HE- jeta =-18; depth = 1 \b");
5224 HEnegativedirectionDigi1->Draw(
"Error");
5225 kcountHEnegativedirectionDigi1++;
5226 if (kcountHEnegativedirectionDigi1 > 12)
5235 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
5238 if (h2CeffHEnegativedirectionDigi1)
5239 delete h2CeffHEnegativedirectionDigi1;
5249 int kcountHEnegativedirectionDigi2 = 1;
5250 TH1F *h2CeffHEnegativedirectionDigi2 =
new TH1F(
"h2CeffHEnegativedirectionDigi2",
"",
nphi, 0., 72.);
5253 if (
jeta - 41 < 0) {
5256 for (
int i = 1;
i < 2;
i++) {
5257 TH1F *HEnegativedirectionDigi2 = (TH1F *)h2CeffHEnegativedirectionDigi2->Clone(
"twod1");
5259 for (
int jphi = 0; jphi <
nphi; jphi++) {
5260 double ccc1 = adigihe[
i][
jeta][jphi];
5262 HEnegativedirectionDigi2->Fill(jphi, ccc1);
5268 c3x5->cd(kcountHEnegativedirectionDigi2);
5269 HEnegativedirectionDigi2->SetMarkerStyle(20);
5270 HEnegativedirectionDigi2->SetMarkerSize(0.4);
5271 HEnegativedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
5272 HEnegativedirectionDigi2->SetXTitle(
"HEnegativedirectionDigi2 \b");
5273 HEnegativedirectionDigi2->SetMarkerColor(2);
5274 HEnegativedirectionDigi2->SetLineColor(0);
5278 if (kcountHEnegativedirectionDigi2 == 1)
5279 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-29; depth = 2 \b");
5280 if (kcountHEnegativedirectionDigi2 == 2)
5281 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-28; depth = 2 \b");
5282 if (kcountHEnegativedirectionDigi2 == 3)
5283 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-27; depth = 2 \b");
5284 if (kcountHEnegativedirectionDigi2 == 4)
5285 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-26; depth = 2 \b");
5286 if (kcountHEnegativedirectionDigi2 == 5)
5287 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-25; depth = 2 \b");
5288 if (kcountHEnegativedirectionDigi2 == 6)
5289 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-24; depth = 2 \b");
5290 if (kcountHEnegativedirectionDigi2 == 7)
5291 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-23; depth = 2 \b");
5292 if (kcountHEnegativedirectionDigi2 == 8)
5293 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-22; depth = 2 \b");
5294 if (kcountHEnegativedirectionDigi2 == 9)
5295 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-21; depth = 2 \b");
5296 if (kcountHEnegativedirectionDigi2 == 10)
5297 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-20; depth = 2 \b");
5298 if (kcountHEnegativedirectionDigi2 == 11)
5299 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-19; depth = 2 \b");
5300 if (kcountHEnegativedirectionDigi2 == 12)
5301 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-18; depth = 2 \b");
5302 if (kcountHEnegativedirectionDigi2 == 13)
5303 HEnegativedirectionDigi2->SetXTitle(
"R for HE- jeta =-17; depth = 2 \b");
5304 HEnegativedirectionDigi2->Draw(
"Error");
5305 kcountHEnegativedirectionDigi2++;
5306 if (kcountHEnegativedirectionDigi2 > 13)
5315 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
5318 if (h2CeffHEnegativedirectionDigi2)
5319 delete h2CeffHEnegativedirectionDigi2;
5328 int kcountHEnegativedirectionDigi3 = 1;
5329 TH1F *h2CeffHEnegativedirectionDigi3 =
new TH1F(
"h2CeffHEnegativedirectionDigi3",
"",
nphi, 0., 72.);
5332 if (
jeta - 41 < 0) {
5335 for (
int i = 2;
i < 3;
i++) {
5336 TH1F *HEnegativedirectionDigi3 = (TH1F *)h2CeffHEnegativedirectionDigi3->Clone(
"twod1");
5338 for (
int jphi = 0; jphi <
nphi; jphi++) {
5339 double ccc1 = adigihe[
i][
jeta][jphi];
5341 HEnegativedirectionDigi3->Fill(jphi, ccc1);
5347 c3x5->cd(kcountHEnegativedirectionDigi3);
5348 HEnegativedirectionDigi3->SetMarkerStyle(20);
5349 HEnegativedirectionDigi3->SetMarkerSize(0.4);
5350 HEnegativedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
5351 HEnegativedirectionDigi3->SetXTitle(
"HEnegativedirectionDigi3 \b");
5352 HEnegativedirectionDigi3->SetMarkerColor(2);
5353 HEnegativedirectionDigi3->SetLineColor(0);
5357 if (kcountHEnegativedirectionDigi3 == 1)
5358 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-29; depth = 3 \b");
5359 if (kcountHEnegativedirectionDigi3 == 2)
5360 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-28; depth = 3 \b");
5361 if (kcountHEnegativedirectionDigi3 == 3)
5362 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-27; depth = 3 \b");
5363 if (kcountHEnegativedirectionDigi3 == 4)
5364 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-26; depth = 3 \b");
5365 if (kcountHEnegativedirectionDigi3 == 5)
5366 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-25; depth = 3 \b");
5367 if (kcountHEnegativedirectionDigi3 == 6)
5368 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-24; depth = 3 \b");
5369 if (kcountHEnegativedirectionDigi3 == 7)
5370 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-23; depth = 3 \b");
5371 if (kcountHEnegativedirectionDigi3 == 8)
5372 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-22; depth = 3 \b");
5373 if (kcountHEnegativedirectionDigi3 == 9)
5374 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-21; depth = 3 \b");
5375 if (kcountHEnegativedirectionDigi3 == 10)
5376 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-20; depth = 3 \b");
5377 if (kcountHEnegativedirectionDigi3 == 11)
5378 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-19; depth = 3 \b");
5379 if (kcountHEnegativedirectionDigi3 == 12)
5380 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-18; depth = 3 \b");
5381 if (kcountHEnegativedirectionDigi3 == 13)
5382 HEnegativedirectionDigi3->SetXTitle(
"R for HE- jeta =-17; depth = 3 \b");
5383 HEnegativedirectionDigi3->Draw(
"Error");
5384 kcountHEnegativedirectionDigi3++;
5385 if (kcountHEnegativedirectionDigi3 > 13)
5394 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
5397 if (h2CeffHEnegativedirectionDigi3)
5398 delete h2CeffHEnegativedirectionDigi3;
5407 int kcountHEnegativedirectionDigi4 = 1;
5408 TH1F *h2CeffHEnegativedirectionDigi4 =
new TH1F(
"h2CeffHEnegativedirectionDigi4",
"",
nphi, 0., 72.);
5412 if (
jeta - 41 < 0) {
5415 for (
int i = 3;
i < 4;
i++) {
5416 TH1F *HEnegativedirectionDigi4 = (TH1F *)h2CeffHEnegativedirectionDigi4->Clone(
"twod1");
5419 for (
int jphi = 0; jphi <
nphi; jphi++) {
5420 double ccc1 = adigihe[
i][
jeta][jphi];
5422 HEnegativedirectionDigi4->Fill(jphi, ccc1);
5428 c3x5->cd(kcountHEnegativedirectionDigi4);
5429 HEnegativedirectionDigi4->SetMarkerStyle(20);
5430 HEnegativedirectionDigi4->SetMarkerSize(0.4);
5431 HEnegativedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
5432 HEnegativedirectionDigi4->SetXTitle(
"HEnegativedirectionDigi4 \b");
5433 HEnegativedirectionDigi4->SetMarkerColor(2);
5434 HEnegativedirectionDigi4->SetLineColor(0);
5438 if (kcountHEnegativedirectionDigi4 == 1)
5439 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-28; depth = 4 \b");
5440 if (kcountHEnegativedirectionDigi4 == 2)
5441 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-27; depth = 4 \b");
5442 if (kcountHEnegativedirectionDigi4 == 3)
5443 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-26; depth = 4 \b");
5444 if (kcountHEnegativedirectionDigi4 == 4)
5445 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-25; depth = 4 \b");
5446 if (kcountHEnegativedirectionDigi4 == 5)
5447 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-24; depth = 4 \b");
5448 if (kcountHEnegativedirectionDigi4 == 6)
5449 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-23; depth = 4 \b");
5450 if (kcountHEnegativedirectionDigi4 == 7)
5451 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-22; depth = 4 \b");
5452 if (kcountHEnegativedirectionDigi4 == 8)
5453 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-21; depth = 4 \b");
5454 if (kcountHEnegativedirectionDigi4 == 9)
5455 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-20; depth = 4 \b");
5456 if (kcountHEnegativedirectionDigi4 == 10)
5457 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-19; depth = 4 \b");
5458 if (kcountHEnegativedirectionDigi4 == 11)
5459 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-18; depth = 4 \b");
5460 if (kcountHEnegativedirectionDigi4 == 12)
5461 HEnegativedirectionDigi4->SetXTitle(
"R for HE- jeta =-16; depth = 4 \b");
5462 HEnegativedirectionDigi4->Draw(
"Error");
5463 kcountHEnegativedirectionDigi4++;
5464 if (kcountHEnegativedirectionDigi4 > 12)
5473 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
5476 if (h2CeffHEnegativedirectionDigi4)
5477 delete h2CeffHEnegativedirectionDigi4;
5486 int kcountHEnegativedirectionDigi5 = 1;
5487 TH1F *h2CeffHEnegativedirectionDigi5 =
new TH1F(
"h2CeffHEnegativedirectionDigi5",
"",
nphi, 0., 72.);
5491 if (
jeta - 41 < 0) {
5494 for (
int i = 4;
i < 5;
i++) {
5495 TH1F *HEnegativedirectionDigi5 = (TH1F *)h2CeffHEnegativedirectionDigi5->Clone(
"twod1");
5498 for (
int jphi = 0; jphi <
nphi; jphi++) {
5501 double ccc1 = adigihe[
i][
jeta][jphi];
5503 HEnegativedirectionDigi5->Fill(jphi, ccc1);
5509 c3x5->cd(kcountHEnegativedirectionDigi5);
5510 HEnegativedirectionDigi5->SetMarkerStyle(20);
5511 HEnegativedirectionDigi5->SetMarkerSize(0.4);
5512 HEnegativedirectionDigi5->GetYaxis()->SetLabelSize(0.04);
5513 HEnegativedirectionDigi5->SetXTitle(
"HEnegativedirectionDigi5 \b");
5514 HEnegativedirectionDigi5->SetMarkerColor(2);
5515 HEnegativedirectionDigi5->SetLineColor(0);
5519 if (kcountHEnegativedirectionDigi5 == 1)
5520 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-28; depth = 5 \b");
5521 if (kcountHEnegativedirectionDigi5 == 2)
5522 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-27; depth = 5 \b");
5523 if (kcountHEnegativedirectionDigi5 == 3)
5524 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-26; depth = 5 \b");
5525 if (kcountHEnegativedirectionDigi5 == 4)
5526 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-25; depth = 5 \b");
5527 if (kcountHEnegativedirectionDigi5 == 5)
5528 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-24; depth = 5 \b");
5529 if (kcountHEnegativedirectionDigi5 == 6)
5530 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-23; depth = 5 \b");
5531 if (kcountHEnegativedirectionDigi5 == 7)
5532 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-22; depth = 5 \b");
5533 if (kcountHEnegativedirectionDigi5 == 8)
5534 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-21; depth = 5 \b");
5535 if (kcountHEnegativedirectionDigi5 == 9)
5536 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-20; depth = 5 \b");
5537 if (kcountHEnegativedirectionDigi5 == 10)
5538 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-19; depth = 5 \b");
5539 if (kcountHEnegativedirectionDigi5 == 11)
5540 HEnegativedirectionDigi5->SetXTitle(
"R for HE- jeta =-18; depth = 5 \b");
5541 HEnegativedirectionDigi5->Draw(
"Error");
5542 kcountHEnegativedirectionDigi5++;
5543 if (kcountHEnegativedirectionDigi5 > 11)
5552 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
5555 if (h2CeffHEnegativedirectionDigi5)
5556 delete h2CeffHEnegativedirectionDigi5;
5565 int kcountHEnegativedirectionDigi6 = 1;
5566 TH1F *h2CeffHEnegativedirectionDigi6 =
new TH1F(
"h2CeffHEnegativedirectionDigi6",
"",
nphi, 0., 72.);
5570 if (
jeta - 41 < 0) {
5573 for (
int i = 5;
i < 6;
i++) {
5574 TH1F *HEnegativedirectionDigi6 = (TH1F *)h2CeffHEnegativedirectionDigi6->Clone(
"twod1");
5577 for (
int jphi = 0; jphi <
nphi; jphi++) {
5578 double ccc1 = adigihe[
i][
jeta][jphi];
5580 HEnegativedirectionDigi6->Fill(jphi, ccc1);
5586 c3x5->cd(kcountHEnegativedirectionDigi6);
5587 HEnegativedirectionDigi6->SetMarkerStyle(20);
5588 HEnegativedirectionDigi6->SetMarkerSize(0.4);
5589 HEnegativedirectionDigi6->GetYaxis()->SetLabelSize(0.04);
5590 HEnegativedirectionDigi6->SetXTitle(
"HEnegativedirectionDigi6 \b");
5591 HEnegativedirectionDigi6->SetMarkerColor(2);
5592 HEnegativedirectionDigi6->SetLineColor(0);
5596 if (kcountHEnegativedirectionDigi6 == 1)
5597 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-28; depth = 6 \b");
5598 if (kcountHEnegativedirectionDigi6 == 2)
5599 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-27; depth = 6 \b");
5600 if (kcountHEnegativedirectionDigi6 == 3)
5601 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-26; depth = 6 \b");
5602 if (kcountHEnegativedirectionDigi6 == 4)
5603 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-25; depth = 6 \b");
5604 if (kcountHEnegativedirectionDigi6 == 5)
5605 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-24; depth = 6 \b");
5606 if (kcountHEnegativedirectionDigi6 == 6)
5607 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-23; depth = 6 \b");
5608 if (kcountHEnegativedirectionDigi6 == 7)
5609 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-22; depth = 6 \b");
5610 if (kcountHEnegativedirectionDigi6 == 8)
5611 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-21; depth = 6 \b");
5612 if (kcountHEnegativedirectionDigi6 == 9)
5613 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-20; depth = 6 \b");
5614 if (kcountHEnegativedirectionDigi6 == 10)
5615 HEnegativedirectionDigi6->SetXTitle(
"R for HE- jeta =-19; depth = 6 \b");
5616 HEnegativedirectionDigi6->Draw(
"Error");
5617 kcountHEnegativedirectionDigi6++;
5618 if (kcountHEnegativedirectionDigi6 > 10)
5627 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
5630 if (h2CeffHEnegativedirectionDigi6)
5631 delete h2CeffHEnegativedirectionDigi6;
5640 int kcountHEnegativedirectionDigi7 = 1;
5641 TH1F *h2CeffHEnegativedirectionDigi7 =
new TH1F(
"h2CeffHEnegativedirectionDigi7",
"",
nphi, 0., 72.);
5645 if (
jeta - 41 < 0) {
5648 for (
int i = 6;
i < 7;
i++) {
5649 TH1F *HEnegativedirectionDigi7 = (TH1F *)h2CeffHEnegativedirectionDigi7->Clone(
"twod1");
5652 for (
int jphi = 0; jphi <
nphi; jphi++) {
5653 double ccc1 = adigihe[
i][
jeta][jphi];
5655 HEnegativedirectionDigi7->Fill(jphi, ccc1);
5661 c3x5->cd(kcountHEnegativedirectionDigi7);
5662 HEnegativedirectionDigi7->SetMarkerStyle(20);
5663 HEnegativedirectionDigi7->SetMarkerSize(0.4);
5664 HEnegativedirectionDigi7->GetYaxis()->SetLabelSize(0.04);
5665 HEnegativedirectionDigi7->SetXTitle(
"HEnegativedirectionDigi7 \b");
5666 HEnegativedirectionDigi7->SetMarkerColor(2);
5667 HEnegativedirectionDigi7->SetLineColor(0);
5671 if (kcountHEnegativedirectionDigi7 == 1)
5672 HEnegativedirectionDigi7->SetXTitle(
"R for HE- jeta =-28; depth = 7 \b");
5673 if (kcountHEnegativedirectionDigi7 == 2)
5674 HEnegativedirectionDigi7->SetXTitle(
"R for HE- jeta =-27; depth = 7 \b");
5675 if (kcountHEnegativedirectionDigi7 == 3)
5676 HEnegativedirectionDigi7->SetXTitle(
"R for HE- jeta =-26; depth = 7 \b");
5677 HEnegativedirectionDigi7->Draw(
"Error");
5678 kcountHEnegativedirectionDigi7++;
5679 if (kcountHEnegativedirectionDigi7 > 3)
5688 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
5691 if (h2CeffHEnegativedirectionDigi7)
5692 delete h2CeffHEnegativedirectionDigi7;
5699 TH2F *digiVariance1HE1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE1");
5700 TH2F *digiVariance0HE1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE1");
5701 TH2F *digiVarianceHE1 = (TH2F *)digiVariance1HE1->Clone(
"digiVarianceHE1");
5702 digiVarianceHE1->Divide(digiVariance1HE1, digiVariance0HE1, 1, 1,
"B");
5703 TH2F *digiVariance1HE2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE2");
5704 TH2F *digiVariance0HE2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE2");
5705 TH2F *digiVarianceHE2 = (TH2F *)digiVariance1HE2->Clone(
"digiVarianceHE2");
5706 digiVarianceHE2->Divide(digiVariance1HE2, digiVariance0HE2, 1, 1,
"B");
5707 TH2F *digiVariance1HE3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE3");
5708 TH2F *digiVariance0HE3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE3");
5709 TH2F *digiVarianceHE3 = (TH2F *)digiVariance1HE3->Clone(
"digiVarianceHE3");
5710 digiVarianceHE3->Divide(digiVariance1HE3, digiVariance0HE3, 1, 1,
"B");
5711 TH2F *digiVariance1HE4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE4");
5712 TH2F *digiVariance0HE4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE4");
5713 TH2F *digiVarianceHE4 = (TH2F *)digiVariance1HE4->Clone(
"digiVarianceHE4");
5714 digiVarianceHE4->Divide(digiVariance1HE4, digiVariance0HE4, 1, 1,
"B");
5715 TH2F *digiVariance1HE5 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE5");
5716 TH2F *digiVariance0HE5 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE5");
5717 TH2F *digiVarianceHE5 = (TH2F *)digiVariance1HE5->Clone(
"digiVarianceHE5");
5718 digiVarianceHE5->Divide(digiVariance1HE5, digiVariance0HE5, 1, 1,
"B");
5719 TH2F *digiVariance1HE6 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE6");
5720 TH2F *digiVariance0HE6 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE6");
5721 TH2F *digiVarianceHE6 = (TH2F *)digiVariance1HE6->Clone(
"digiVarianceHE6");
5722 digiVarianceHE6->Divide(digiVariance1HE6, digiVariance0HE6, 1, 1,
"B");
5723 TH2F *digiVariance1HE7 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HE7");
5724 TH2F *digiVariance0HE7 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HE7");
5725 TH2F *digiVarianceHE7 = (TH2F *)digiVariance1HE7->Clone(
"digiVarianceHE7");
5726 digiVarianceHE7->Divide(digiVariance1HE7, digiVariance0HE7, 1, 1,
"B");
5732 double sumdigiHE0 = 0;
5733 int nsumdigiHE0 = 0;
5734 double sumdigiHE1 = 0;
5735 int nsumdigiHE1 = 0;
5736 double sumdigiHE2 = 0;
5737 int nsumdigiHE2 = 0;
5738 double sumdigiHE3 = 0;
5739 int nsumdigiHE3 = 0;
5740 double sumdigiHE4 = 0;
5741 int nsumdigiHE4 = 0;
5742 double sumdigiHE5 = 0;
5743 int nsumdigiHE5 = 0;
5744 double sumdigiHE6 = 0;
5745 int nsumdigiHE6 = 0;
5746 for (
int jphi = 0; jphi < njphi; jphi++) {
5747 digivariancehe[0][
jeta][jphi] = digiVarianceHE1->GetBinContent(
jeta + 1, jphi + 1);
5748 digivariancehe[1][
jeta][jphi] = digiVarianceHE2->GetBinContent(
jeta + 1, jphi + 1);
5749 digivariancehe[2][
jeta][jphi] = digiVarianceHE3->GetBinContent(
jeta + 1, jphi + 1);
5750 digivariancehe[3][
jeta][jphi] = digiVarianceHE4->GetBinContent(
jeta + 1, jphi + 1);
5751 digivariancehe[4][
jeta][jphi] = digiVarianceHE5->GetBinContent(
jeta + 1, jphi + 1);
5752 digivariancehe[5][
jeta][jphi] = digiVarianceHE6->GetBinContent(
jeta + 1, jphi + 1);
5753 digivariancehe[6][
jeta][jphi] = digiVarianceHE7->GetBinContent(
jeta + 1, jphi + 1);
5754 if (digivariancehe[0][
jeta][jphi] > 0.) {
5755 sumdigiHE0 += digivariancehe[0][
jeta][jphi];
5758 if (digivariancehe[1][
jeta][jphi] > 0.) {
5759 sumdigiHE1 += digivariancehe[1][
jeta][jphi];
5762 if (digivariancehe[2][
jeta][jphi] > 0.) {
5763 sumdigiHE2 += digivariancehe[2][
jeta][jphi];
5766 if (digivariancehe[3][
jeta][jphi] > 0.) {
5767 sumdigiHE3 += digivariancehe[3][
jeta][jphi];
5770 if (digivariancehe[4][
jeta][jphi] > 0.) {
5771 sumdigiHE4 += digivariancehe[4][
jeta][jphi];
5774 if (digivariancehe[5][
jeta][jphi] > 0.) {
5775 sumdigiHE5 += digivariancehe[5][
jeta][jphi];
5778 if (digivariancehe[6][
jeta][jphi] > 0.) {
5779 sumdigiHE6 += digivariancehe[6][
jeta][jphi];
5784 for (
int jphi = 0; jphi < njphi; jphi++) {
5785 if (digivariancehe[0][
jeta][jphi] > 0.)
5786 digivariancehe[0][
jeta][jphi] /= (sumdigiHE0 / nsumdigiHE0);
5787 if (digivariancehe[1][
jeta][jphi] > 0.)
5788 digivariancehe[1][
jeta][jphi] /= (sumdigiHE1 / nsumdigiHE1);
5789 if (digivariancehe[2][
jeta][jphi] > 0.)
5790 digivariancehe[2][
jeta][jphi] /= (sumdigiHE2 / nsumdigiHE2);
5791 if (digivariancehe[3][
jeta][jphi] > 0.)
5792 digivariancehe[3][
jeta][jphi] /= (sumdigiHE3 / nsumdigiHE3);
5793 if (digivariancehe[4][
jeta][jphi] > 0.)
5794 digivariancehe[4][
jeta][jphi] /= (sumdigiHE4 / nsumdigiHE4);
5795 if (digivariancehe[5][
jeta][jphi] > 0.)
5796 digivariancehe[5][
jeta][jphi] /= (sumdigiHE5 / nsumdigiHE5);
5797 if (digivariancehe[6][
jeta][jphi] > 0.)
5798 digivariancehe[6][
jeta][jphi] /= (sumdigiHE6 / nsumdigiHE6);
5801 for (
int jphi = 0; jphi < njphi; jphi++) {
5803 digivariancehe[0][
jeta][jphi] -= adigihe[0][
jeta][jphi] * adigihe[0][
jeta][jphi];
5804 digivariancehe[0][
jeta][jphi] = fabs(digivariancehe[0][
jeta][jphi]);
5805 digivariancehe[1][
jeta][jphi] -= adigihe[1][
jeta][jphi] * adigihe[1][
jeta][jphi];
5806 digivariancehe[1][
jeta][jphi] = fabs(digivariancehe[1][
jeta][jphi]);
5807 digivariancehe[2][
jeta][jphi] -= adigihe[2][
jeta][jphi] * adigihe[2][
jeta][jphi];
5808 digivariancehe[2][
jeta][jphi] = fabs(digivariancehe[2][
jeta][jphi]);
5809 digivariancehe[3][
jeta][jphi] -= adigihe[3][
jeta][jphi] * adigihe[3][
jeta][jphi];
5810 digivariancehe[3][
jeta][jphi] = fabs(digivariancehe[3][
jeta][jphi]);
5811 digivariancehe[4][
jeta][jphi] -= adigihe[4][
jeta][jphi] * adigihe[4][
jeta][jphi];
5812 digivariancehe[4][
jeta][jphi] = fabs(digivariancehe[4][
jeta][jphi]);
5813 digivariancehe[5][
jeta][jphi] -= adigihe[5][
jeta][jphi] * adigihe[5][
jeta][jphi];
5814 digivariancehe[5][
jeta][jphi] = fabs(digivariancehe[5][
jeta][jphi]);
5815 digivariancehe[6][
jeta][jphi] -= adigihe[6][
jeta][jphi] * adigihe[6][
jeta][jphi];
5816 digivariancehe[6][
jeta][jphi] = fabs(digivariancehe[6][
jeta][jphi]);
5828 TH2F *DefzDdigiHE42D =
new TH2F(
"DefzDdigiHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
5829 TH2F *DefzDdigiHE42D0 =
new TH2F(
"DefzDdigiHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
5830 TH2F *DefzDdigiHE42DF = (TH2F *)DefzDdigiHE42D0->Clone(
"DefzDdigiHE42DF");
5833 for (
int jphi = 0; jphi <
nphi; jphi++) {
5834 double ccc1 = digivariancehe[
i][
jeta][jphi];
5835 int k2plot =
jeta - 41;
5837 if (adigihe[
i][
jeta][jphi] > 0.) {
5838 DefzDdigiHE42D->Fill(kkk, jphi, ccc1);
5839 DefzDdigiHE42D0->Fill(kkk, jphi, 1.);
5844 DefzDdigiHE42DF->Divide(DefzDdigiHE42D, DefzDdigiHE42D0, 1, 1,
"B");
5848 DefzDdigiHE42DF->SetMarkerStyle(20);
5849 DefzDdigiHE42DF->SetMarkerSize(0.4);
5850 DefzDdigiHE42DF->GetZaxis()->SetLabelSize(0.08);
5851 DefzDdigiHE42DF->SetXTitle(
"<D>_depth #eta \b");
5852 DefzDdigiHE42DF->SetYTitle(
" #phi \b");
5853 DefzDdigiHE42DF->SetZTitle(
"<D>_depth \b");
5854 DefzDdigiHE42DF->SetMarkerColor(2);
5855 DefzDdigiHE42DF->SetLineColor(
5857 DefzDdigiHE42DF->Draw(
"COLZ");
5860 c1x0->Print(
"DdigiGeneralD2PhiSymmetryHE.png");
5864 delete DefzDdigiHE42D;
5865 if (DefzDdigiHE42D0)
5866 delete DefzDdigiHE42D0;
5867 if (DefzDdigiHE42DF)
5868 delete DefzDdigiHE42DF;
5876 TH1F *DefzDdigiHE41D =
new TH1F(
"DefzDdigiHE41D",
"",
nphi, 0., 72.);
5877 TH1F *DefzDdigiHE41D0 =
new TH1F(
"DefzDdigiHE41D0",
"",
nphi, 0., 72.);
5878 TH1F *DefzDdigiHE41DF = (TH1F *)DefzDdigiHE41D0->Clone(
"DefzDdigiHE41DF");
5880 for (
int jphi = 0; jphi <
nphi; jphi++) {
5883 double ccc1 = digivariancehe[
i][
jeta][jphi];
5884 if (adigihe[
i][
jeta][jphi] > 0.) {
5885 DefzDdigiHE41D->Fill(jphi, ccc1);
5886 DefzDdigiHE41D0->Fill(jphi, 1.);
5893 DefzDdigiHE41DF->Divide(DefzDdigiHE41D, DefzDdigiHE41D0, 1, 1,
"B");
5894 DefzDdigiHE41D0->Sumw2();
5898 DefzDdigiHE41DF->SetMarkerStyle(20);
5899 DefzDdigiHE41DF->SetMarkerSize(1.4);
5900 DefzDdigiHE41DF->GetZaxis()->SetLabelSize(0.08);
5901 DefzDdigiHE41DF->SetXTitle(
"#phi \b");
5902 DefzDdigiHE41DF->SetYTitle(
" <D> \b");
5903 DefzDdigiHE41DF->SetZTitle(
"<D>_PHI - AllDepthes \b");
5904 DefzDdigiHE41DF->SetMarkerColor(4);
5905 DefzDdigiHE41DF->SetLineColor(4);
5906 DefzDdigiHE41DF->Draw(
"Error");
5909 c1x1->Print(
"DdigiGeneralD1PhiSymmetryHE.png");
5913 delete DefzDdigiHE41D;
5914 if (DefzDdigiHE41D0)
5915 delete DefzDdigiHE41D0;
5916 if (DefzDdigiHE41DF)
5917 delete DefzDdigiHE41DF;
5926 int kcountHEpositivedirectionDigiD1 = 1;
5927 TH1F *h2CeffHEpositivedirectionDigiD1 =
new TH1F(
"h2CeffHEpositivedirectionDigiD1",
"",
nphi, 0., 72.);
5931 if (
jeta - 41 >= 0) {
5934 for (
int i = 0;
i < 1;
i++) {
5935 TH1F *HEpositivedirectionDigiD1 = (TH1F *)h2CeffHEpositivedirectionDigiD1->Clone(
"twod1");
5938 for (
int jphi = 0; jphi <
nphi; jphi++) {
5939 double ccc1 = digivariancehe[
i][
jeta][jphi];
5940 if (adigihe[
i][
jeta][jphi] > 0.) {
5941 HEpositivedirectionDigiD1->Fill(jphi, ccc1);
5947 c3x5->cd(kcountHEpositivedirectionDigiD1);
5948 HEpositivedirectionDigiD1->SetMarkerStyle(20);
5949 HEpositivedirectionDigiD1->SetMarkerSize(0.4);
5950 HEpositivedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
5951 HEpositivedirectionDigiD1->SetXTitle(
"HEpositivedirectionDigiD1 \b");
5952 HEpositivedirectionDigiD1->SetMarkerColor(2);
5953 HEpositivedirectionDigiD1->SetLineColor(0);
5957 if (kcountHEpositivedirectionDigiD1 == 1)
5958 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 17; depth = 1 \b");
5959 if (kcountHEpositivedirectionDigiD1 == 2)
5960 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 18; depth = 1 \b");
5961 if (kcountHEpositivedirectionDigiD1 == 3)
5962 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 19; depth = 1 \b");
5963 if (kcountHEpositivedirectionDigiD1 == 4)
5964 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 20; depth = 1 \b");
5965 if (kcountHEpositivedirectionDigiD1 == 5)
5966 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 21; depth = 1 \b");
5967 if (kcountHEpositivedirectionDigiD1 == 6)
5968 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 22; depth = 1 \b");
5969 if (kcountHEpositivedirectionDigiD1 == 7)
5970 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 23; depth = 1 \b");
5971 if (kcountHEpositivedirectionDigiD1 == 8)
5972 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 24; depth = 1 \b");
5973 if (kcountHEpositivedirectionDigiD1 == 9)
5974 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 25; depth = 1 \b");
5975 if (kcountHEpositivedirectionDigiD1 == 10)
5976 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 26; depth = 1 \b");
5977 if (kcountHEpositivedirectionDigiD1 == 11)
5978 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 27; depth = 1 \b");
5979 if (kcountHEpositivedirectionDigiD1 == 12)
5980 HEpositivedirectionDigiD1->SetXTitle(
"D for HE+ jeta = 28; depth = 1 \b");
5981 HEpositivedirectionDigiD1->Draw(
"Error");
5982 kcountHEpositivedirectionDigiD1++;
5983 if (kcountHEpositivedirectionDigiD1 > 12)
5992 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png");
5995 if (h2CeffHEpositivedirectionDigiD1)
5996 delete h2CeffHEpositivedirectionDigiD1;
6004 int kcountHEpositivedirectionDigiD2 = 1;
6005 TH1F *h2CeffHEpositivedirectionDigiD2 =
new TH1F(
"h2CeffHEpositivedirectionDigiD2",
"",
nphi, 0., 72.);
6009 if (
jeta - 41 >= 0) {
6012 for (
int i = 1;
i < 2;
i++) {
6013 TH1F *HEpositivedirectionDigiD2 = (TH1F *)h2CeffHEpositivedirectionDigiD2->Clone(
"twod1");
6016 for (
int jphi = 0; jphi <
nphi; jphi++) {
6017 double ccc1 = digivariancehe[
i][
jeta][jphi];
6018 if (adigihe[
i][
jeta][jphi] > 0.) {
6019 HEpositivedirectionDigiD2->Fill(jphi, ccc1);
6025 c3x5->cd(kcountHEpositivedirectionDigiD2);
6026 HEpositivedirectionDigiD2->SetMarkerStyle(20);
6027 HEpositivedirectionDigiD2->SetMarkerSize(0.4);
6028 HEpositivedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
6029 HEpositivedirectionDigiD2->SetXTitle(
"HEpositivedirectionDigiD2 \b");
6030 HEpositivedirectionDigiD2->SetMarkerColor(2);
6031 HEpositivedirectionDigiD2->SetLineColor(0);
6035 if (kcountHEpositivedirectionDigiD2 == 1)
6036 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 16; depth = 2 \b");
6037 if (kcountHEpositivedirectionDigiD2 == 2)
6038 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 17; depth = 2 \b");
6039 if (kcountHEpositivedirectionDigiD2 == 3)
6040 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 18; depth = 2 \b");
6041 if (kcountHEpositivedirectionDigiD2 == 4)
6042 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 19; depth = 2 \b");
6043 if (kcountHEpositivedirectionDigiD2 == 5)
6044 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 20; depth = 2 \b");
6045 if (kcountHEpositivedirectionDigiD2 == 6)
6046 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 21; depth = 2 \b");
6047 if (kcountHEpositivedirectionDigiD2 == 7)
6048 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 22; depth = 2 \b");
6049 if (kcountHEpositivedirectionDigiD2 == 8)
6050 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 23; depth = 2 \b");
6051 if (kcountHEpositivedirectionDigiD2 == 9)
6052 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 24; depth = 2 \b");
6053 if (kcountHEpositivedirectionDigiD2 == 10)
6054 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 25; depth = 2 \b");
6055 if (kcountHEpositivedirectionDigiD2 == 11)
6056 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 26; depth = 2 \b");
6057 if (kcountHEpositivedirectionDigiD2 == 12)
6058 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 27; depth = 2 \b");
6059 if (kcountHEpositivedirectionDigiD2 == 13)
6060 HEpositivedirectionDigiD2->SetXTitle(
"D for HE+ jeta = 28; depth = 2 \b");
6061 HEpositivedirectionDigiD2->Draw(
"Error");
6062 kcountHEpositivedirectionDigiD2++;
6063 if (kcountHEpositivedirectionDigiD2 > 13)
6072 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png");
6075 if (h2CeffHEpositivedirectionDigiD2)
6076 delete h2CeffHEpositivedirectionDigiD2;
6084 int kcountHEpositivedirectionDigiD3 = 1;
6085 TH1F *h2CeffHEpositivedirectionDigiD3 =
new TH1F(
"h2CeffHEpositivedirectionDigiD3",
"",
nphi, 0., 72.);
6089 if (
jeta - 41 >= 0) {
6092 for (
int i = 2;
i < 3;
i++) {
6093 TH1F *HEpositivedirectionDigiD3 = (TH1F *)h2CeffHEpositivedirectionDigiD3->Clone(
"twod1");
6096 for (
int jphi = 0; jphi <
nphi; jphi++) {
6097 double ccc1 = digivariancehe[
i][
jeta][jphi];
6098 if (adigihe[
i][
jeta][jphi] > 0.) {
6099 HEpositivedirectionDigiD3->Fill(jphi, ccc1);
6105 c3x5->cd(kcountHEpositivedirectionDigiD3);
6106 HEpositivedirectionDigiD3->SetMarkerStyle(20);
6107 HEpositivedirectionDigiD3->SetMarkerSize(0.4);
6108 HEpositivedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
6109 HEpositivedirectionDigiD3->SetXTitle(
"HEpositivedirectionDigiD3 \b");
6110 HEpositivedirectionDigiD3->SetMarkerColor(2);
6111 HEpositivedirectionDigiD3->SetLineColor(0);
6115 if (kcountHEpositivedirectionDigiD3 == 1)
6116 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 16; depth = 3 \b");
6117 if (kcountHEpositivedirectionDigiD3 == 2)
6118 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 17; depth = 3 \b");
6119 if (kcountHEpositivedirectionDigiD3 == 3)
6120 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 18; depth = 3 \b");
6121 if (kcountHEpositivedirectionDigiD3 == 4)
6122 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 19; depth = 3 \b");
6123 if (kcountHEpositivedirectionDigiD3 == 5)
6124 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 20; depth = 3 \b");
6125 if (kcountHEpositivedirectionDigiD3 == 6)
6126 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 21; depth = 3 \b");
6127 if (kcountHEpositivedirectionDigiD3 == 7)
6128 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 22; depth = 3 \b");
6129 if (kcountHEpositivedirectionDigiD3 == 8)
6130 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 23; depth = 3 \b");
6131 if (kcountHEpositivedirectionDigiD3 == 9)
6132 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 24; depth = 3 \b");
6133 if (kcountHEpositivedirectionDigiD3 == 10)
6134 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 25; depth = 3 \b");
6135 if (kcountHEpositivedirectionDigiD3 == 11)
6136 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 26; depth = 3 \b");
6137 if (kcountHEpositivedirectionDigiD3 == 12)
6138 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 27; depth = 3 \b");
6139 if (kcountHEpositivedirectionDigiD3 == 13)
6140 HEpositivedirectionDigiD3->SetXTitle(
"D for HE+ jeta = 28; depth = 3 \b");
6141 HEpositivedirectionDigiD3->Draw(
"Error");
6142 kcountHEpositivedirectionDigiD3++;
6143 if (kcountHEpositivedirectionDigiD3 > 13)
6152 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png");
6155 if (h2CeffHEpositivedirectionDigiD3)
6156 delete h2CeffHEpositivedirectionDigiD3;
6164 int kcountHEpositivedirectionDigiD4 = 1;
6165 TH1F *h2CeffHEpositivedirectionDigiD4 =
new TH1F(
"h2CeffHEpositivedirectionDigiD4",
"",
nphi, 0., 72.);
6169 if (
jeta - 41 >= 0) {
6172 for (
int i = 3;
i < 4;
i++) {
6173 TH1F *HEpositivedirectionDigiD4 = (TH1F *)h2CeffHEpositivedirectionDigiD4->Clone(
"twod1");
6176 for (
int jphi = 0; jphi <
nphi; jphi++) {
6177 double ccc1 = digivariancehe[
i][
jeta][jphi];
6178 if (adigihe[
i][
jeta][jphi] > 0.) {
6179 HEpositivedirectionDigiD4->Fill(jphi, ccc1);
6185 c3x5->cd(kcountHEpositivedirectionDigiD4);
6186 HEpositivedirectionDigiD4->SetMarkerStyle(20);
6187 HEpositivedirectionDigiD4->SetMarkerSize(0.4);
6188 HEpositivedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
6189 HEpositivedirectionDigiD4->SetXTitle(
"HEpositivedirectionDigiD4 \b");
6190 HEpositivedirectionDigiD4->SetMarkerColor(2);
6191 HEpositivedirectionDigiD4->SetLineColor(0);
6195 if (kcountHEpositivedirectionDigiD4 == 1)
6196 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 15; depth = 4 \b");
6197 if (kcountHEpositivedirectionDigiD4 == 2)
6198 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 17; depth = 4 \b");
6199 if (kcountHEpositivedirectionDigiD4 == 3)
6200 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 18; depth = 4 \b");
6201 if (kcountHEpositivedirectionDigiD4 == 4)
6202 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 19; depth = 4 \b");
6203 if (kcountHEpositivedirectionDigiD4 == 5)
6204 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 20; depth = 4 \b");
6205 if (kcountHEpositivedirectionDigiD4 == 6)
6206 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 21; depth = 4 \b");
6207 if (kcountHEpositivedirectionDigiD4 == 7)
6208 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 22; depth = 4 \b");
6209 if (kcountHEpositivedirectionDigiD4 == 8)
6210 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 23; depth = 4 \b");
6211 if (kcountHEpositivedirectionDigiD4 == 9)
6212 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 24; depth = 4 \b");
6213 if (kcountHEpositivedirectionDigiD4 == 10)
6214 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 25; depth = 4 \b");
6215 if (kcountHEpositivedirectionDigiD4 == 11)
6216 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 26; depth = 4 \b");
6217 if (kcountHEpositivedirectionDigiD4 == 12)
6218 HEpositivedirectionDigiD4->SetXTitle(
"D for HE+ jeta = 27; depth = 4 \b");
6219 HEpositivedirectionDigiD4->Draw(
"Error");
6220 kcountHEpositivedirectionDigiD4++;
6221 if (kcountHEpositivedirectionDigiD4 > 12)
6230 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png");
6233 if (h2CeffHEpositivedirectionDigiD4)
6234 delete h2CeffHEpositivedirectionDigiD4;
6242 int kcountHEpositivedirectionDigiD5 = 1;
6243 TH1F *h2CeffHEpositivedirectionDigiD5 =
new TH1F(
"h2CeffHEpositivedirectionDigiD5",
"",
nphi, 0., 72.);
6247 if (
jeta - 41 >= 0) {
6250 for (
int i = 4;
i < 5;
i++) {
6251 TH1F *HEpositivedirectionDigiD5 = (TH1F *)h2CeffHEpositivedirectionDigiD5->Clone(
"twod1");
6254 for (
int jphi = 0; jphi <
nphi; jphi++) {
6255 double ccc1 = digivariancehe[
i][
jeta][jphi];
6256 if (adigihe[
i][
jeta][jphi] > 0.) {
6257 HEpositivedirectionDigiD5->Fill(jphi, ccc1);
6263 c3x5->cd(kcountHEpositivedirectionDigiD5);
6264 HEpositivedirectionDigiD5->SetMarkerStyle(20);
6265 HEpositivedirectionDigiD5->SetMarkerSize(0.4);
6266 HEpositivedirectionDigiD5->GetYaxis()->SetLabelSize(0.04);
6267 HEpositivedirectionDigiD5->SetXTitle(
"HEpositivedirectionDigiD5 \b");
6268 HEpositivedirectionDigiD5->SetMarkerColor(2);
6269 HEpositivedirectionDigiD5->SetLineColor(0);
6273 if (kcountHEpositivedirectionDigiD5 == 1)
6274 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 17; depth = 5 \b");
6275 if (kcountHEpositivedirectionDigiD5 == 2)
6276 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 18; depth = 5 \b");
6277 if (kcountHEpositivedirectionDigiD5 == 3)
6278 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 19; depth = 5 \b");
6279 if (kcountHEpositivedirectionDigiD5 == 4)
6280 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 20; depth = 5 \b");
6281 if (kcountHEpositivedirectionDigiD5 == 5)
6282 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 21; depth = 5 \b");
6283 if (kcountHEpositivedirectionDigiD5 == 6)
6284 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 22; depth = 5 \b");
6285 if (kcountHEpositivedirectionDigiD5 == 7)
6286 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 23; depth = 5 \b");
6287 if (kcountHEpositivedirectionDigiD5 == 8)
6288 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 24; depth = 5 \b");
6289 if (kcountHEpositivedirectionDigiD5 == 9)
6290 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 25; depth = 5 \b");
6291 if (kcountHEpositivedirectionDigiD5 == 10)
6292 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 26; depth = 5 \b");
6293 if (kcountHEpositivedirectionDigiD5 == 11)
6294 HEpositivedirectionDigiD5->SetXTitle(
"D for HE+ jeta = 27; depth = 5 \b");
6295 HEpositivedirectionDigiD5->Draw(
"Error");
6296 kcountHEpositivedirectionDigiD5++;
6297 if (kcountHEpositivedirectionDigiD5 > 11)
6306 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png");
6309 if (h2CeffHEpositivedirectionDigiD5)
6310 delete h2CeffHEpositivedirectionDigiD5;
6318 int kcountHEpositivedirectionDigiD6 = 1;
6319 TH1F *h2CeffHEpositivedirectionDigiD6 =
new TH1F(
"h2CeffHEpositivedirectionDigiD6",
"",
nphi, 0., 72.);
6323 if (
jeta - 41 >= 0) {
6326 for (
int i = 5;
i < 6;
i++) {
6327 TH1F *HEpositivedirectionDigiD6 = (TH1F *)h2CeffHEpositivedirectionDigiD6->Clone(
"twod1");
6330 for (
int jphi = 0; jphi <
nphi; jphi++) {
6331 double ccc1 = digivariancehe[
i][
jeta][jphi];
6332 if (adigihe[
i][
jeta][jphi] > 0.) {
6333 HEpositivedirectionDigiD6->Fill(jphi, ccc1);
6339 c3x5->cd(kcountHEpositivedirectionDigiD6);
6340 HEpositivedirectionDigiD6->SetMarkerStyle(20);
6341 HEpositivedirectionDigiD6->SetMarkerSize(0.4);
6342 HEpositivedirectionDigiD6->GetYaxis()->SetLabelSize(0.04);
6343 HEpositivedirectionDigiD6->SetXTitle(
"HEpositivedirectionDigiD6 \b");
6344 HEpositivedirectionDigiD6->SetMarkerColor(2);
6345 HEpositivedirectionDigiD6->SetLineColor(0);
6349 if (kcountHEpositivedirectionDigiD6 == 1)
6350 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 18; depth = 6 \b");
6351 if (kcountHEpositivedirectionDigiD6 == 2)
6352 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 19; depth = 6 \b");
6353 if (kcountHEpositivedirectionDigiD6 == 3)
6354 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 20; depth = 6 \b");
6355 if (kcountHEpositivedirectionDigiD6 == 4)
6356 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 21; depth = 6 \b");
6357 if (kcountHEpositivedirectionDigiD6 == 5)
6358 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 22; depth = 6 \b");
6359 if (kcountHEpositivedirectionDigiD6 == 6)
6360 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 23; depth = 6 \b");
6361 if (kcountHEpositivedirectionDigiD6 == 7)
6362 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 24; depth = 6 \b");
6363 if (kcountHEpositivedirectionDigiD6 == 8)
6364 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 25; depth = 6 \b");
6365 if (kcountHEpositivedirectionDigiD6 == 9)
6366 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 26; depth = 6 \b");
6367 if (kcountHEpositivedirectionDigiD6 == 10)
6368 HEpositivedirectionDigiD6->SetXTitle(
"D for HE+ jeta = 27; depth = 6 \b");
6369 HEpositivedirectionDigiD6->Draw(
"Error");
6370 kcountHEpositivedirectionDigiD6++;
6371 if (kcountHEpositivedirectionDigiD6 > 10)
6380 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png");
6383 if (h2CeffHEpositivedirectionDigiD6)
6384 delete h2CeffHEpositivedirectionDigiD6;
6392 int kcountHEpositivedirectionDigiD7 = 1;
6393 TH1F *h2CeffHEpositivedirectionDigiD7 =
new TH1F(
"h2CeffHEpositivedirectionDigiD7",
"",
nphi, 0., 72.);
6397 if (
jeta - 41 >= 0) {
6400 for (
int i = 6;
i < 7;
i++) {
6401 TH1F *HEpositivedirectionDigiD7 = (TH1F *)h2CeffHEpositivedirectionDigiD7->Clone(
"twod1");
6404 for (
int jphi = 0; jphi <
nphi; jphi++) {
6405 double ccc1 = digivariancehe[
i][
jeta][jphi];
6406 if (adigihe[
i][
jeta][jphi] > 0.) {
6407 HEpositivedirectionDigiD7->Fill(jphi, ccc1);
6411 if (ccctest != 0.) {
6413 c3x5->cd(kcountHEpositivedirectionDigiD7);
6414 HEpositivedirectionDigiD7->SetMarkerStyle(20);
6415 HEpositivedirectionDigiD7->SetMarkerSize(0.4);
6416 HEpositivedirectionDigiD7->GetYaxis()->SetLabelSize(0.04);
6417 HEpositivedirectionDigiD7->SetXTitle(
"HEpositivedirectionDigiD7 \b");
6418 HEpositivedirectionDigiD7->SetMarkerColor(2);
6419 HEpositivedirectionDigiD7->SetLineColor(0);
6423 if (kcountHEpositivedirectionDigiD7 == 1)
6424 HEpositivedirectionDigiD7->SetXTitle(
"D for HE+ jeta = 25; depth = 7 \b");
6425 if (kcountHEpositivedirectionDigiD7 == 2)
6426 HEpositivedirectionDigiD7->SetXTitle(
"D for HE+ jeta = 26; depth = 7 \b");
6427 if (kcountHEpositivedirectionDigiD7 == 3)
6428 HEpositivedirectionDigiD7->SetXTitle(
"D for HE+ jeta = 27; depth = 7 \b");
6429 HEpositivedirectionDigiD7->Draw(
"Error");
6430 kcountHEpositivedirectionDigiD7++;
6431 if (kcountHEpositivedirectionDigiD7 > 3)
6440 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png");
6443 if (h2CeffHEpositivedirectionDigiD7)
6444 delete h2CeffHEpositivedirectionDigiD7;
6454 int kcountHEnegativedirectionDigiD1 = 1;
6455 TH1F *h2CeffHEnegativedirectionDigiD1 =
new TH1F(
"h2CeffHEnegativedirectionDigiD1",
"",
nphi, 0., 72.);
6459 if (
jeta - 41 < 0) {
6462 for (
int i = 0;
i < 1;
i++) {
6463 TH1F *HEnegativedirectionDigiD1 = (TH1F *)h2CeffHEnegativedirectionDigiD1->Clone(
"twod1");
6466 for (
int jphi = 0; jphi <
nphi; jphi++) {
6467 double ccc1 = digivariancehe[
i][
jeta][jphi];
6468 if (adigihe[
i][
jeta][jphi] > 0.) {
6469 HEnegativedirectionDigiD1->Fill(jphi, ccc1);
6475 c3x5->cd(kcountHEnegativedirectionDigiD1);
6476 HEnegativedirectionDigiD1->SetMarkerStyle(20);
6477 HEnegativedirectionDigiD1->SetMarkerSize(0.4);
6478 HEnegativedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
6479 HEnegativedirectionDigiD1->SetXTitle(
"HEnegativedirectionDigiD1 \b");
6480 HEnegativedirectionDigiD1->SetMarkerColor(2);
6481 HEnegativedirectionDigiD1->SetLineColor(0);
6485 if (kcountHEnegativedirectionDigiD1 == 1)
6486 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-29; depth = 1 \b");
6487 if (kcountHEnegativedirectionDigiD1 == 2)
6488 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-28; depth = 1 \b");
6489 if (kcountHEnegativedirectionDigiD1 == 3)
6490 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-27; depth = 1 \b");
6491 if (kcountHEnegativedirectionDigiD1 == 4)
6492 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-26; depth = 1 \b");
6493 if (kcountHEnegativedirectionDigiD1 == 5)
6494 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-25; depth = 1 \b");
6495 if (kcountHEnegativedirectionDigiD1 == 6)
6496 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-24; depth = 1 \b");
6497 if (kcountHEnegativedirectionDigiD1 == 7)
6498 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-23; depth = 1 \b");
6499 if (kcountHEnegativedirectionDigiD1 == 8)
6500 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-22; depth = 1 \b");
6501 if (kcountHEnegativedirectionDigiD1 == 9)
6502 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-21; depth = 1 \b");
6503 if (kcountHEnegativedirectionDigiD1 == 10)
6504 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-20; depth = 1 \b");
6505 if (kcountHEnegativedirectionDigiD1 == 11)
6506 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-19; depth = 1 \b");
6507 if (kcountHEnegativedirectionDigiD1 == 12)
6508 HEnegativedirectionDigiD1->SetXTitle(
"D for HE- jeta =-18; depth = 1 \b");
6509 HEnegativedirectionDigiD1->Draw(
"Error");
6510 kcountHEnegativedirectionDigiD1++;
6511 if (kcountHEnegativedirectionDigiD1 > 12)
6520 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
6523 if (h2CeffHEnegativedirectionDigiD1)
6524 delete h2CeffHEnegativedirectionDigiD1;
6532 int kcountHEnegativedirectionDigiD2 = 1;
6533 TH1F *h2CeffHEnegativedirectionDigiD2 =
new TH1F(
"h2CeffHEnegativedirectionDigiD2",
"",
nphi, 0., 72.);
6537 if (
jeta - 41 < 0) {
6540 for (
int i = 1;
i < 2;
i++) {
6541 TH1F *HEnegativedirectionDigiD2 = (TH1F *)h2CeffHEnegativedirectionDigiD2->Clone(
"twod1");
6544 for (
int jphi = 0; jphi <
nphi; jphi++) {
6545 double ccc1 = digivariancehe[
i][
jeta][jphi];
6546 if (adigihe[
i][
jeta][jphi] > 0.) {
6547 HEnegativedirectionDigiD2->Fill(jphi, ccc1);
6553 c3x5->cd(kcountHEnegativedirectionDigiD2);
6554 HEnegativedirectionDigiD2->SetMarkerStyle(20);
6555 HEnegativedirectionDigiD2->SetMarkerSize(0.4);
6556 HEnegativedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
6557 HEnegativedirectionDigiD2->SetXTitle(
"HEnegativedirectionDigiD2 \b");
6558 HEnegativedirectionDigiD2->SetMarkerColor(2);
6559 HEnegativedirectionDigiD2->SetLineColor(0);
6563 if (kcountHEnegativedirectionDigiD2 == 1)
6564 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-29; depth = 2 \b");
6565 if (kcountHEnegativedirectionDigiD2 == 2)
6566 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-28; depth = 2 \b");
6567 if (kcountHEnegativedirectionDigiD2 == 3)
6568 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-27; depth = 2 \b");
6569 if (kcountHEnegativedirectionDigiD2 == 4)
6570 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-26; depth = 2 \b");
6571 if (kcountHEnegativedirectionDigiD2 == 5)
6572 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-25; depth = 2 \b");
6573 if (kcountHEnegativedirectionDigiD2 == 6)
6574 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-24; depth = 2 \b");
6575 if (kcountHEnegativedirectionDigiD2 == 7)
6576 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-23; depth = 2 \b");
6577 if (kcountHEnegativedirectionDigiD2 == 8)
6578 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-22; depth = 2 \b");
6579 if (kcountHEnegativedirectionDigiD2 == 9)
6580 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-21; depth = 2 \b");
6581 if (kcountHEnegativedirectionDigiD2 == 10)
6582 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-20; depth = 2 \b");
6583 if (kcountHEnegativedirectionDigiD2 == 11)
6584 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-19; depth = 2 \b");
6585 if (kcountHEnegativedirectionDigiD2 == 12)
6586 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-18; depth = 2 \b");
6587 if (kcountHEnegativedirectionDigiD2 == 13)
6588 HEnegativedirectionDigiD2->SetXTitle(
"D for HE- jeta =-17; depth = 2 \b");
6589 HEnegativedirectionDigiD2->Draw(
"Error");
6590 kcountHEnegativedirectionDigiD2++;
6591 if (kcountHEnegativedirectionDigiD2 > 13)
6600 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
6603 if (h2CeffHEnegativedirectionDigiD2)
6604 delete h2CeffHEnegativedirectionDigiD2;
6612 int kcountHEnegativedirectionDigiD3 = 1;
6613 TH1F *h2CeffHEnegativedirectionDigiD3 =
new TH1F(
"h2CeffHEnegativedirectionDigiD3",
"",
nphi, 0., 72.);
6617 if (
jeta - 41 < 0) {
6620 for (
int i = 2;
i < 3;
i++) {
6621 TH1F *HEnegativedirectionDigiD3 = (TH1F *)h2CeffHEnegativedirectionDigiD3->Clone(
"twod1");
6624 for (
int jphi = 0; jphi <
nphi; jphi++) {
6625 double ccc1 = digivariancehe[
i][
jeta][jphi];
6626 if (adigihe[
i][
jeta][jphi] > 0.) {
6627 HEnegativedirectionDigiD3->Fill(jphi, ccc1);
6633 c3x5->cd(kcountHEnegativedirectionDigiD3);
6634 HEnegativedirectionDigiD3->SetMarkerStyle(20);
6635 HEnegativedirectionDigiD3->SetMarkerSize(0.4);
6636 HEnegativedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
6637 HEnegativedirectionDigiD3->SetXTitle(
"HEnegativedirectionDigiD3 \b");
6638 HEnegativedirectionDigiD3->SetMarkerColor(2);
6639 HEnegativedirectionDigiD3->SetLineColor(0);
6643 if (kcountHEnegativedirectionDigiD3 == 1)
6644 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-29; depth = 3 \b");
6645 if (kcountHEnegativedirectionDigiD3 == 2)
6646 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-28; depth = 3 \b");
6647 if (kcountHEnegativedirectionDigiD3 == 3)
6648 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-27; depth = 3 \b");
6649 if (kcountHEnegativedirectionDigiD3 == 4)
6650 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-26; depth = 3 \b");
6651 if (kcountHEnegativedirectionDigiD3 == 5)
6652 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-25; depth = 3 \b");
6653 if (kcountHEnegativedirectionDigiD3 == 6)
6654 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-24; depth = 3 \b");
6655 if (kcountHEnegativedirectionDigiD3 == 7)
6656 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-23; depth = 3 \b");
6657 if (kcountHEnegativedirectionDigiD3 == 8)
6658 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-22; depth = 3 \b");
6659 if (kcountHEnegativedirectionDigiD3 == 9)
6660 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-21; depth = 3 \b");
6661 if (kcountHEnegativedirectionDigiD3 == 10)
6662 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-20; depth = 3 \b");
6663 if (kcountHEnegativedirectionDigiD3 == 11)
6664 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-19; depth = 3 \b");
6665 if (kcountHEnegativedirectionDigiD3 == 12)
6666 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-18; depth = 3 \b");
6667 if (kcountHEnegativedirectionDigiD3 == 13)
6668 HEnegativedirectionDigiD3->SetXTitle(
"D for HE- jeta =-17; depth = 3 \b");
6669 HEnegativedirectionDigiD3->Draw(
"Error");
6670 kcountHEnegativedirectionDigiD3++;
6671 if (kcountHEnegativedirectionDigiD3 > 13)
6680 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
6683 if (h2CeffHEnegativedirectionDigiD3)
6684 delete h2CeffHEnegativedirectionDigiD3;
6692 int kcountHEnegativedirectionDigiD4 = 1;
6693 TH1F *h2CeffHEnegativedirectionDigiD4 =
new TH1F(
"h2CeffHEnegativedirectionDigiD4",
"",
nphi, 0., 72.);
6697 if (
jeta - 41 < 0) {
6700 for (
int i = 3;
i < 4;
i++) {
6701 TH1F *HEnegativedirectionDigiD4 = (TH1F *)h2CeffHEnegativedirectionDigiD4->Clone(
"twod1");
6704 for (
int jphi = 0; jphi <
nphi; jphi++) {
6705 double ccc1 = digivariancehe[
i][
jeta][jphi];
6706 if (adigihe[
i][
jeta][jphi] > 0.) {
6707 HEnegativedirectionDigiD4->Fill(jphi, ccc1);
6713 c3x5->cd(kcountHEnegativedirectionDigiD4);
6714 HEnegativedirectionDigiD4->SetMarkerStyle(20);
6715 HEnegativedirectionDigiD4->SetMarkerSize(0.4);
6716 HEnegativedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
6717 HEnegativedirectionDigiD4->SetXTitle(
"HEnegativedirectionDigiD4 \b");
6718 HEnegativedirectionDigiD4->SetMarkerColor(2);
6719 HEnegativedirectionDigiD4->SetLineColor(0);
6723 if (kcountHEnegativedirectionDigiD4 == 1)
6724 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-28; depth = 4 \b");
6725 if (kcountHEnegativedirectionDigiD4 == 2)
6726 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-27; depth = 4 \b");
6727 if (kcountHEnegativedirectionDigiD4 == 3)
6728 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-26; depth = 4 \b");
6729 if (kcountHEnegativedirectionDigiD4 == 4)
6730 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-25; depth = 4 \b");
6731 if (kcountHEnegativedirectionDigiD4 == 5)
6732 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-24; depth = 4 \b");
6733 if (kcountHEnegativedirectionDigiD4 == 6)
6734 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-23; depth = 4 \b");
6735 if (kcountHEnegativedirectionDigiD4 == 7)
6736 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-22; depth = 4 \b");
6737 if (kcountHEnegativedirectionDigiD4 == 8)
6738 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-21; depth = 4 \b");
6739 if (kcountHEnegativedirectionDigiD4 == 9)
6740 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-20; depth = 4 \b");
6741 if (kcountHEnegativedirectionDigiD4 == 10)
6742 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-19; depth = 4 \b");
6743 if (kcountHEnegativedirectionDigiD4 == 11)
6744 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-18; depth = 4 \b");
6745 if (kcountHEnegativedirectionDigiD4 == 12)
6746 HEnegativedirectionDigiD4->SetXTitle(
"D for HE- jeta =-16; depth = 4 \b");
6747 HEnegativedirectionDigiD4->Draw(
"Error");
6748 kcountHEnegativedirectionDigiD4++;
6749 if (kcountHEnegativedirectionDigiD4 > 12)
6758 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
6761 if (h2CeffHEnegativedirectionDigiD4)
6762 delete h2CeffHEnegativedirectionDigiD4;
6770 int kcountHEnegativedirectionDigiD5 = 1;
6771 TH1F *h2CeffHEnegativedirectionDigiD5 =
new TH1F(
"h2CeffHEnegativedirectionDigiD5",
"",
nphi, 0., 72.);
6775 if (
jeta - 41 < 0) {
6778 for (
int i = 4;
i < 5;
i++) {
6779 TH1F *HEnegativedirectionDigiD5 = (TH1F *)h2CeffHEnegativedirectionDigiD5->Clone(
"twod1");
6782 for (
int jphi = 0; jphi <
nphi; jphi++) {
6783 double ccc1 = digivariancehe[
i][
jeta][jphi];
6784 if (adigihe[
i][
jeta][jphi] > 0.) {
6785 HEnegativedirectionDigiD5->Fill(jphi, ccc1);
6791 c3x5->cd(kcountHEnegativedirectionDigiD5);
6792 HEnegativedirectionDigiD5->SetMarkerStyle(20);
6793 HEnegativedirectionDigiD5->SetMarkerSize(0.4);
6794 HEnegativedirectionDigiD5->GetYaxis()->SetLabelSize(0.04);
6795 HEnegativedirectionDigiD5->SetXTitle(
"HEnegativedirectionDigiD5 \b");
6796 HEnegativedirectionDigiD5->SetMarkerColor(2);
6797 HEnegativedirectionDigiD5->SetLineColor(0);
6801 if (kcountHEnegativedirectionDigiD5 == 1)
6802 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-28; depth = 5 \b");
6803 if (kcountHEnegativedirectionDigiD5 == 2)
6804 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-27; depth = 5 \b");
6805 if (kcountHEnegativedirectionDigiD5 == 3)
6806 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-26; depth = 5 \b");
6807 if (kcountHEnegativedirectionDigiD5 == 4)
6808 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-25; depth = 5 \b");
6809 if (kcountHEnegativedirectionDigiD5 == 5)
6810 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-24; depth = 5 \b");
6811 if (kcountHEnegativedirectionDigiD5 == 6)
6812 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-23; depth = 5 \b");
6813 if (kcountHEnegativedirectionDigiD5 == 7)
6814 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-22; depth = 5 \b");
6815 if (kcountHEnegativedirectionDigiD5 == 8)
6816 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-21; depth = 5 \b");
6817 if (kcountHEnegativedirectionDigiD5 == 9)
6818 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-20; depth = 5 \b");
6819 if (kcountHEnegativedirectionDigiD5 == 10)
6820 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-19; depth = 5 \b");
6821 if (kcountHEnegativedirectionDigiD5 == 11)
6822 HEnegativedirectionDigiD5->SetXTitle(
"D for HE- jeta =-18; depth = 5 \b");
6823 HEnegativedirectionDigiD5->Draw(
"Error");
6824 kcountHEnegativedirectionDigiD5++;
6825 if (kcountHEnegativedirectionDigiD5 > 11)
6834 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
6837 if (h2CeffHEnegativedirectionDigiD5)
6838 delete h2CeffHEnegativedirectionDigiD5;
6846 int kcountHEnegativedirectionDigiD6 = 1;
6847 TH1F *h2CeffHEnegativedirectionDigiD6 =
new TH1F(
"h2CeffHEnegativedirectionDigiD6",
"",
nphi, 0., 72.);
6851 if (
jeta - 41 < 0) {
6854 for (
int i = 5;
i < 6;
i++) {
6855 TH1F *HEnegativedirectionDigiD6 = (TH1F *)h2CeffHEnegativedirectionDigiD6->Clone(
"twod1");
6858 for (
int jphi = 0; jphi <
nphi; jphi++) {
6859 double ccc1 = digivariancehe[
i][
jeta][jphi];
6860 if (adigihe[
i][
jeta][jphi] > 0.) {
6861 HEnegativedirectionDigiD6->Fill(jphi, ccc1);
6867 c3x5->cd(kcountHEnegativedirectionDigiD6);
6868 HEnegativedirectionDigiD6->SetMarkerStyle(20);
6869 HEnegativedirectionDigiD6->SetMarkerSize(0.4);
6870 HEnegativedirectionDigiD6->GetYaxis()->SetLabelSize(0.04);
6871 HEnegativedirectionDigiD6->SetXTitle(
"HEnegativedirectionDigiD6 \b");
6872 HEnegativedirectionDigiD6->SetMarkerColor(2);
6873 HEnegativedirectionDigiD6->SetLineColor(0);
6877 if (kcountHEnegativedirectionDigiD6 == 1)
6878 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-28; depth = 6 \b");
6879 if (kcountHEnegativedirectionDigiD6 == 2)
6880 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-27; depth = 6 \b");
6881 if (kcountHEnegativedirectionDigiD6 == 3)
6882 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-26; depth = 6 \b");
6883 if (kcountHEnegativedirectionDigiD6 == 4)
6884 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-25; depth = 6 \b");
6885 if (kcountHEnegativedirectionDigiD6 == 5)
6886 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-24; depth = 6 \b");
6887 if (kcountHEnegativedirectionDigiD6 == 6)
6888 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-23; depth = 6 \b");
6889 if (kcountHEnegativedirectionDigiD6 == 7)
6890 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-22; depth = 6 \b");
6891 if (kcountHEnegativedirectionDigiD6 == 8)
6892 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-21; depth = 6 \b");
6893 if (kcountHEnegativedirectionDigiD6 == 9)
6894 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-20; depth = 6 \b");
6895 if (kcountHEnegativedirectionDigiD6 == 10)
6896 HEnegativedirectionDigiD6->SetXTitle(
"D for HE- jeta =-19; depth = 6 \b");
6897 HEnegativedirectionDigiD6->Draw(
"Error");
6898 kcountHEnegativedirectionDigiD6++;
6899 if (kcountHEnegativedirectionDigiD6 > 10)
6908 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
6911 if (h2CeffHEnegativedirectionDigiD6)
6912 delete h2CeffHEnegativedirectionDigiD6;
6920 int kcountHEnegativedirectionDigiD7 = 1;
6921 TH1F *h2CeffHEnegativedirectionDigiD7 =
new TH1F(
"h2CeffHEnegativedirectionDigiD7",
"",
nphi, 0., 72.);
6925 if (
jeta - 41 < 0) {
6928 for (
int i = 6;
i < 7;
i++) {
6929 TH1F *HEnegativedirectionDigiD7 = (TH1F *)h2CeffHEnegativedirectionDigiD7->Clone(
"twod1");
6932 for (
int jphi = 0; jphi <
nphi; jphi++) {
6933 double ccc1 = digivariancehe[
i][
jeta][jphi];
6934 if (adigihe[
i][
jeta][jphi] > 0.) {
6935 HEnegativedirectionDigiD7->Fill(jphi, ccc1);
6939 if (ccctest != 0.) {
6941 c3x5->cd(kcountHEnegativedirectionDigiD7);
6942 HEnegativedirectionDigiD7->SetMarkerStyle(20);
6943 HEnegativedirectionDigiD7->SetMarkerSize(0.4);
6944 HEnegativedirectionDigiD7->GetYaxis()->SetLabelSize(0.04);
6945 HEnegativedirectionDigiD7->SetXTitle(
"HEnegativedirectionDigiD7 \b");
6946 HEnegativedirectionDigiD7->SetMarkerColor(2);
6947 HEnegativedirectionDigiD7->SetLineColor(0);
6951 if (kcountHEnegativedirectionDigiD7 == 1)
6952 HEnegativedirectionDigiD7->SetXTitle(
"D for HE- jeta =-28; depth = 7 \b");
6953 if (kcountHEnegativedirectionDigiD7 == 2)
6954 HEnegativedirectionDigiD7->SetXTitle(
"D for HE- jeta =-27; depth = 7 \b");
6955 if (kcountHEnegativedirectionDigiD7 == 3)
6956 HEnegativedirectionDigiD7->SetXTitle(
"D for HE- jeta =-26; depth = 7 \b");
6957 HEnegativedirectionDigiD7->Draw(
"Error");
6958 kcountHEnegativedirectionDigiD7++;
6959 if (kcountHEnegativedirectionDigiD7 > 3)
6968 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
6971 if (h2CeffHEnegativedirectionDigiD7)
6972 delete h2CeffHEnegativedirectionDigiD7;
6983 double adigiHF[
ndepth][njeta][njphi];
6984 double digivarianceHF[
ndepth][njeta][njphi];
6986 TH2F *amplitudechannel1HF1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HF1");
6987 TH2F *amplitudechannel0HF1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF1");
6988 TH2F *amplitudechannelHF1 = (TH2F *)amplitudechannel1HF1->Clone(
"amplitudechannelHF1");
6989 amplitudechannelHF1->Divide(amplitudechannel1HF1, amplitudechannel0HF1, 1, 1,
"B");
6990 TH2F *amplitudechannel1HF2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HF2");
6991 TH2F *amplitudechannel0HF2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF2");
6992 TH2F *amplitudechannelHF2 = (TH2F *)amplitudechannel1HF2->Clone(
"amplitudechannelHF2");
6993 amplitudechannelHF2->Divide(amplitudechannel1HF2, amplitudechannel0HF2, 1, 1,
"B");
6994 TH2F *amplitudechannel1HF3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HF3");
6995 TH2F *amplitudechannel0HF3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF3");
6996 TH2F *amplitudechannelHF3 = (TH2F *)amplitudechannel1HF3->Clone(
"amplitudechannelHF3");
6997 amplitudechannelHF3->Divide(amplitudechannel1HF3, amplitudechannel0HF3, 1, 1,
"B");
6998 TH2F *amplitudechannel1HF4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel1_HF4");
6999 TH2F *amplitudechannel0HF4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF4");
7000 TH2F *amplitudechannelHF4 = (TH2F *)amplitudechannel1HF4->Clone(
"amplitudechannelHF4");
7001 amplitudechannelHF4->Divide(amplitudechannel1HF4, amplitudechannel0HF4, 1, 1,
"B");
7005 double sumdigiHF0 = 0;
7006 int nsumdigiHF0 = 0;
7007 double sumdigiHF1 = 0;
7008 int nsumdigiHF1 = 0;
7009 double sumdigiHF2 = 0;
7010 int nsumdigiHF2 = 0;
7011 double sumdigiHF3 = 0;
7012 int nsumdigiHF3 = 0;
7013 for (
int jphi = 0; jphi < njphi; jphi++) {
7014 adigiHF[0][
jeta][jphi] = amplitudechannelHF1->GetBinContent(
jeta + 1, jphi + 1);
7015 adigiHF[1][
jeta][jphi] = amplitudechannelHF2->GetBinContent(
jeta + 1, jphi + 1);
7016 adigiHF[2][
jeta][jphi] = amplitudechannelHF3->GetBinContent(
jeta + 1, jphi + 1);
7017 adigiHF[3][
jeta][jphi] = amplitudechannelHF4->GetBinContent(
jeta + 1, jphi + 1);
7018 if (adigiHF[0][
jeta][jphi] > 0.) {
7019 sumdigiHF0 += adigiHF[0][
jeta][jphi];
7022 if (adigiHF[1][
jeta][jphi] > 0.) {
7023 sumdigiHF1 += adigiHF[1][
jeta][jphi];
7026 if (adigiHF[2][
jeta][jphi] > 0.) {
7027 sumdigiHF2 += adigiHF[2][
jeta][jphi];
7030 if (adigiHF[3][
jeta][jphi] > 0.) {
7031 sumdigiHF3 += adigiHF[3][
jeta][jphi];
7036 for (
int jphi = 0; jphi < njphi; jphi++) {
7037 if (adigiHF[0][
jeta][jphi] > 0.)
7038 adigiHF[0][
jeta][jphi] /= (sumdigiHF0 / nsumdigiHF0);
7039 if (adigiHF[1][
jeta][jphi] > 0.)
7040 adigiHF[1][
jeta][jphi] /= (sumdigiHF1 / nsumdigiHF1);
7041 if (adigiHF[2][
jeta][jphi] > 0.)
7042 adigiHF[2][
jeta][jphi] /= (sumdigiHF2 / nsumdigiHF2);
7043 if (adigiHF[3][
jeta][jphi] > 0.)
7044 adigiHF[3][
jeta][jphi] /= (sumdigiHF3 / nsumdigiHF3);
7055 TH2F *GefzRdigiHF42D =
new TH2F(
"GefzRdigiHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
7056 TH2F *GefzRdigiHF42D0 =
new TH2F(
"GefzRdigiHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
7057 TH2F *GefzRdigiHF42DF = (TH2F *)GefzRdigiHF42D0->Clone(
"GefzRdigiHF42DF");
7060 for (
int jphi = 0; jphi <
nphi; jphi++) {
7061 double ccc1 = adigiHF[
i][
jeta][jphi];
7062 int k2plot =
jeta - 41;
7065 GefzRdigiHF42D->Fill(kkk, jphi, ccc1);
7066 GefzRdigiHF42D0->Fill(kkk, jphi, 1.);
7071 GefzRdigiHF42DF->Divide(GefzRdigiHF42D, GefzRdigiHF42D0, 1, 1,
"B");
7074 GefzRdigiHF42DF->SetMarkerStyle(20);
7075 GefzRdigiHF42DF->SetMarkerSize(0.4);
7076 GefzRdigiHF42DF->GetZaxis()->SetLabelSize(0.08);
7077 GefzRdigiHF42DF->SetXTitle(
"<R>_depth #eta \b");
7078 GefzRdigiHF42DF->SetYTitle(
" #phi \b");
7079 GefzRdigiHF42DF->SetZTitle(
"<R>_depth \b");
7080 GefzRdigiHF42DF->SetMarkerColor(2);
7081 GefzRdigiHF42DF->SetLineColor(
7083 GefzRdigiHF42DF->Draw(
"COLZ");
7086 c1x0->Print(
"RdigiGeneralD2PhiSymmetryHF.png");
7090 delete GefzRdigiHF42D;
7091 if (GefzRdigiHF42D0)
7092 delete GefzRdigiHF42D0;
7093 if (GefzRdigiHF42DF)
7094 delete GefzRdigiHF42DF;
7102 TH1F *GefzRdigiHF41D =
new TH1F(
"GefzRdigiHF41D",
"",
nphi, 0., 72.);
7103 TH1F *GefzRdigiHF41D0 =
new TH1F(
"GefzRdigiHF41D0",
"",
nphi, 0., 72.);
7104 TH1F *GefzRdigiHF41DF = (TH1F *)GefzRdigiHF41D0->Clone(
"GefzRdigiHF41DF");
7105 for (
int jphi = 0; jphi <
nphi; jphi++) {
7108 double ccc1 = adigiHF[
i][
jeta][jphi];
7110 GefzRdigiHF41D->Fill(jphi, ccc1);
7111 GefzRdigiHF41D0->Fill(jphi, 1.);
7116 GefzRdigiHF41DF->Divide(GefzRdigiHF41D, GefzRdigiHF41D0, 1, 1,
"B");
7117 GefzRdigiHF41D0->Sumw2();
7121 GefzRdigiHF41DF->SetMarkerStyle(20);
7122 GefzRdigiHF41DF->SetMarkerSize(1.4);
7123 GefzRdigiHF41DF->GetZaxis()->SetLabelSize(0.08);
7124 GefzRdigiHF41DF->SetXTitle(
"#phi \b");
7125 GefzRdigiHF41DF->SetYTitle(
" <R> \b");
7126 GefzRdigiHF41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
7127 GefzRdigiHF41DF->SetMarkerColor(4);
7128 GefzRdigiHF41DF->SetLineColor(
7130 GefzRdigiHF41DF->Draw(
"Error");
7133 c1x1->Print(
"RdigiGeneralD1PhiSymmetryHF.png");
7137 delete GefzRdigiHF41D;
7138 if (GefzRdigiHF41D0)
7139 delete GefzRdigiHF41D0;
7140 if (GefzRdigiHF41DF)
7141 delete GefzRdigiHF41DF;
7150 int kcountHFpositivedirectionDigi1 = 1;
7151 TH1F *h2CeffHFpositivedirectionDigi1 =
new TH1F(
"h2CeffHFpositivedirectionDigi1",
"",
nphi, 0., 72.);
7154 if (
jeta - 41 >= 0) {
7157 for (
int i = 0;
i < 1;
i++) {
7158 TH1F *HFpositivedirectionDigi1 = (TH1F *)h2CeffHFpositivedirectionDigi1->Clone(
"twod1");
7160 for (
int jphi = 0; jphi <
nphi; jphi++) {
7161 double ccc1 = adigiHF[
i][
jeta][jphi];
7163 HFpositivedirectionDigi1->Fill(jphi, ccc1);
7169 c3x5->cd(kcountHFpositivedirectionDigi1);
7170 HFpositivedirectionDigi1->SetMarkerStyle(20);
7171 HFpositivedirectionDigi1->SetMarkerSize(0.4);
7172 HFpositivedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
7173 HFpositivedirectionDigi1->SetXTitle(
"HFpositivedirectionDigi1 \b");
7174 HFpositivedirectionDigi1->SetMarkerColor(2);
7175 HFpositivedirectionDigi1->SetLineColor(0);
7179 if (kcountHFpositivedirectionDigi1 == 1)
7180 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 28; depth = 1 \b");
7181 if (kcountHFpositivedirectionDigi1 == 2)
7182 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 29; depth = 1 \b");
7183 if (kcountHFpositivedirectionDigi1 == 3)
7184 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 30; depth = 1 \b");
7185 if (kcountHFpositivedirectionDigi1 == 4)
7186 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 31; depth = 1 \b");
7187 if (kcountHFpositivedirectionDigi1 == 5)
7188 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 32; depth = 1 \b");
7189 if (kcountHFpositivedirectionDigi1 == 6)
7190 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 33; depth = 1 \b");
7191 if (kcountHFpositivedirectionDigi1 == 7)
7192 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 34; depth = 1 \b");
7193 if (kcountHFpositivedirectionDigi1 == 8)
7194 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 35; depth = 1 \b");
7195 if (kcountHFpositivedirectionDigi1 == 9)
7196 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 36; depth = 1 \b");
7197 if (kcountHFpositivedirectionDigi1 == 10)
7198 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 37; depth = 1 \b");
7199 if (kcountHFpositivedirectionDigi1 == 11)
7200 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 38; depth = 1 \b");
7201 if (kcountHFpositivedirectionDigi1 == 12)
7202 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 39; depth = 1 \b");
7203 if (kcountHFpositivedirectionDigi1 == 13)
7204 HFpositivedirectionDigi1->SetXTitle(
"R for HF+ jeta = 40; depth = 1 \b");
7205 HFpositivedirectionDigi1->Draw(
"Error");
7206 kcountHFpositivedirectionDigi1++;
7207 if (kcountHFpositivedirectionDigi1 > 13)
7216 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png");
7219 if (h2CeffHFpositivedirectionDigi1)
7220 delete h2CeffHFpositivedirectionDigi1;
7230 int kcountHFpositivedirectionDigi2 = 1;
7231 TH1F *h2CeffHFpositivedirectionDigi2 =
new TH1F(
"h2CeffHFpositivedirectionDigi2",
"",
nphi, 0., 72.);
7234 if (
jeta - 41 >= 0) {
7237 for (
int i = 1;
i < 2;
i++) {
7238 TH1F *HFpositivedirectionDigi2 = (TH1F *)h2CeffHFpositivedirectionDigi2->Clone(
"twod1");
7240 for (
int jphi = 0; jphi <
nphi; jphi++) {
7241 double ccc1 = adigiHF[
i][
jeta][jphi];
7243 HFpositivedirectionDigi2->Fill(jphi, ccc1);
7249 c3x5->cd(kcountHFpositivedirectionDigi2);
7250 HFpositivedirectionDigi2->SetMarkerStyle(20);
7251 HFpositivedirectionDigi2->SetMarkerSize(0.4);
7252 HFpositivedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
7253 HFpositivedirectionDigi2->SetXTitle(
"HFpositivedirectionDigi2 \b");
7254 HFpositivedirectionDigi2->SetMarkerColor(2);
7255 HFpositivedirectionDigi2->SetLineColor(0);
7259 if (kcountHFpositivedirectionDigi2 == 1)
7260 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 28; depth = 2 \b");
7261 if (kcountHFpositivedirectionDigi2 == 2)
7262 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 29; depth = 2 \b");
7263 if (kcountHFpositivedirectionDigi2 == 3)
7264 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 30; depth = 2 \b");
7265 if (kcountHFpositivedirectionDigi2 == 4)
7266 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 31; depth = 2 \b");
7267 if (kcountHFpositivedirectionDigi2 == 5)
7268 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 32; depth = 2 \b");
7269 if (kcountHFpositivedirectionDigi2 == 6)
7270 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 33; depth = 2 \b");
7271 if (kcountHFpositivedirectionDigi2 == 7)
7272 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 34; depth = 2 \b");
7273 if (kcountHFpositivedirectionDigi2 == 8)
7274 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 35; depth = 2 \b");
7275 if (kcountHFpositivedirectionDigi2 == 9)
7276 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 36; depth = 2 \b");
7277 if (kcountHFpositivedirectionDigi2 == 10)
7278 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 37; depth = 2 \b");
7279 if (kcountHFpositivedirectionDigi2 == 11)
7280 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 38; depth = 2 \b");
7281 if (kcountHFpositivedirectionDigi2 == 12)
7282 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 39; depth = 2 \b");
7283 if (kcountHFpositivedirectionDigi2 == 13)
7284 HFpositivedirectionDigi2->SetXTitle(
"R for HF+ jeta = 40; depth = 2 \b");
7285 HFpositivedirectionDigi2->Draw(
"Error");
7286 kcountHFpositivedirectionDigi2++;
7287 if (kcountHFpositivedirectionDigi2 > 13)
7296 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png");
7299 if (h2CeffHFpositivedirectionDigi2)
7300 delete h2CeffHFpositivedirectionDigi2;
7309 int kcountHFpositivedirectionDigi3 = 1;
7310 TH1F *h2CeffHFpositivedirectionDigi3 =
new TH1F(
"h2CeffHFpositivedirectionDigi3",
"",
nphi, 0., 72.);
7313 if (
jeta - 41 >= 0) {
7316 for (
int i = 2;
i < 3;
i++) {
7317 TH1F *HFpositivedirectionDigi3 = (TH1F *)h2CeffHFpositivedirectionDigi3->Clone(
"twod1");
7319 for (
int jphi = 0; jphi <
nphi; jphi++) {
7320 double ccc1 = adigiHF[
i][
jeta][jphi];
7322 HFpositivedirectionDigi3->Fill(jphi, ccc1);
7328 c3x5->cd(kcountHFpositivedirectionDigi3);
7329 HFpositivedirectionDigi3->SetMarkerStyle(20);
7330 HFpositivedirectionDigi3->SetMarkerSize(0.4);
7331 HFpositivedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
7332 HFpositivedirectionDigi3->SetXTitle(
"HFpositivedirectionDigi3 \b");
7333 HFpositivedirectionDigi3->SetMarkerColor(2);
7334 HFpositivedirectionDigi3->SetLineColor(0);
7338 if (kcountHFpositivedirectionDigi3 == 1)
7339 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 28; depth = 3 \b");
7340 if (kcountHFpositivedirectionDigi3 == 2)
7341 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 29; depth = 3 \b");
7342 if (kcountHFpositivedirectionDigi3 == 3)
7343 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 30; depth = 3 \b");
7344 if (kcountHFpositivedirectionDigi3 == 4)
7345 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 31; depth = 3 \b");
7346 if (kcountHFpositivedirectionDigi3 == 5)
7347 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 32; depth = 3 \b");
7348 if (kcountHFpositivedirectionDigi3 == 6)
7349 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 33; depth = 3 \b");
7350 if (kcountHFpositivedirectionDigi3 == 7)
7351 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 34; depth = 3 \b");
7352 if (kcountHFpositivedirectionDigi3 == 8)
7353 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 35; depth = 3 \b");
7354 if (kcountHFpositivedirectionDigi3 == 9)
7355 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 36; depth = 3 \b");
7356 if (kcountHFpositivedirectionDigi3 == 10)
7357 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 37; depth = 3 \b");
7358 if (kcountHFpositivedirectionDigi3 == 11)
7359 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 38; depth = 3 \b");
7360 if (kcountHFpositivedirectionDigi3 == 12)
7361 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 39; depth = 3 \b");
7362 if (kcountHFpositivedirectionDigi3 == 13)
7363 HFpositivedirectionDigi3->SetXTitle(
"R for HF+ jeta = 40; depth = 3 \b");
7364 HFpositivedirectionDigi3->Draw(
"Error");
7365 kcountHFpositivedirectionDigi3++;
7366 if (kcountHFpositivedirectionDigi3 > 13)
7375 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png");
7378 if (h2CeffHFpositivedirectionDigi3)
7379 delete h2CeffHFpositivedirectionDigi3;
7388 int kcountHFpositivedirectionDigi4 = 1;
7389 TH1F *h2CeffHFpositivedirectionDigi4 =
new TH1F(
"h2CeffHFpositivedirectionDigi4",
"",
nphi, 0., 72.);
7393 if (
jeta - 41 >= 0) {
7396 for (
int i = 3;
i < 4;
i++) {
7397 TH1F *HFpositivedirectionDigi4 = (TH1F *)h2CeffHFpositivedirectionDigi4->Clone(
"twod1");
7400 for (
int jphi = 0; jphi <
nphi; jphi++) {
7401 double ccc1 = adigiHF[
i][
jeta][jphi];
7403 HFpositivedirectionDigi4->Fill(jphi, ccc1);
7409 c3x5->cd(kcountHFpositivedirectionDigi4);
7410 HFpositivedirectionDigi4->SetMarkerStyle(20);
7411 HFpositivedirectionDigi4->SetMarkerSize(0.4);
7412 HFpositivedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
7413 HFpositivedirectionDigi4->SetXTitle(
"HFpositivedirectionDigi4 \b");
7414 HFpositivedirectionDigi4->SetMarkerColor(2);
7415 HFpositivedirectionDigi4->SetLineColor(0);
7419 if (kcountHFpositivedirectionDigi4 == 1)
7420 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 28; depth = 4 \b");
7421 if (kcountHFpositivedirectionDigi4 == 2)
7422 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 29; depth = 4 \b");
7423 if (kcountHFpositivedirectionDigi4 == 3)
7424 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 30; depth = 4 \b");
7425 if (kcountHFpositivedirectionDigi4 == 4)
7426 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 31; depth = 4 \b");
7427 if (kcountHFpositivedirectionDigi4 == 5)
7428 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 32; depth = 4 \b");
7429 if (kcountHFpositivedirectionDigi4 == 6)
7430 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 33; depth = 4 \b");
7431 if (kcountHFpositivedirectionDigi4 == 7)
7432 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 34; depth = 4 \b");
7433 if (kcountHFpositivedirectionDigi4 == 8)
7434 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 35; depth = 4 \b");
7435 if (kcountHFpositivedirectionDigi4 == 9)
7436 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 36; depth = 4 \b");
7437 if (kcountHFpositivedirectionDigi4 == 10)
7438 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 37; depth = 4 \b");
7439 if (kcountHFpositivedirectionDigi4 == 11)
7440 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 38; depth = 4 \b");
7441 if (kcountHFpositivedirectionDigi4 == 12)
7442 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 39; depth = 4 \b");
7443 if (kcountHFpositivedirectionDigi4 == 13)
7444 HFpositivedirectionDigi4->SetXTitle(
"R for HF+ jeta = 40; depth = 4 \b");
7445 HFpositivedirectionDigi4->Draw(
"Error");
7446 kcountHFpositivedirectionDigi4++;
7447 if (kcountHFpositivedirectionDigi4 > 13)
7456 c3x5->Print(
"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png");
7459 if (h2CeffHFpositivedirectionDigi4)
7460 delete h2CeffHFpositivedirectionDigi4;
7470 int kcountHFnegativedirectionDigi1 = 1;
7471 TH1F *h2CeffHFnegativedirectionDigi1 =
new TH1F(
"h2CeffHFnegativedirectionDigi1",
"",
nphi, 0., 72.);
7474 if (
jeta - 41 < 0) {
7477 for (
int i = 0;
i < 1;
i++) {
7478 TH1F *HFnegativedirectionDigi1 = (TH1F *)h2CeffHFnegativedirectionDigi1->Clone(
"twod1");
7480 for (
int jphi = 0; jphi <
nphi; jphi++) {
7481 double ccc1 = adigiHF[
i][
jeta][jphi];
7483 HFnegativedirectionDigi1->Fill(jphi, ccc1);
7489 c3x5->cd(kcountHFnegativedirectionDigi1);
7490 HFnegativedirectionDigi1->SetMarkerStyle(20);
7491 HFnegativedirectionDigi1->SetMarkerSize(0.4);
7492 HFnegativedirectionDigi1->GetYaxis()->SetLabelSize(0.04);
7493 HFnegativedirectionDigi1->SetXTitle(
"HFnegativedirectionDigi1 \b");
7494 HFnegativedirectionDigi1->SetMarkerColor(2);
7495 HFnegativedirectionDigi1->SetLineColor(0);
7499 if (kcountHFnegativedirectionDigi1 == 1)
7500 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-41; depth = 1 \b");
7501 if (kcountHFnegativedirectionDigi1 == 2)
7502 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-40; depth = 1 \b");
7503 if (kcountHFnegativedirectionDigi1 == 3)
7504 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-39; depth = 1 \b");
7505 if (kcountHFnegativedirectionDigi1 == 4)
7506 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-38; depth = 1 \b");
7507 if (kcountHFnegativedirectionDigi1 == 5)
7508 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-37; depth = 1 \b");
7509 if (kcountHFnegativedirectionDigi1 == 6)
7510 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-36; depth = 1 \b");
7511 if (kcountHFnegativedirectionDigi1 == 7)
7512 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-35; depth = 1 \b");
7513 if (kcountHFnegativedirectionDigi1 == 8)
7514 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-34; depth = 1 \b");
7515 if (kcountHFnegativedirectionDigi1 == 9)
7516 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-33; depth = 1 \b");
7517 if (kcountHFnegativedirectionDigi1 == 10)
7518 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-32; depth = 1 \b");
7519 if (kcountHFnegativedirectionDigi1 == 11)
7520 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-31; depth = 1 \b");
7521 if (kcountHFnegativedirectionDigi1 == 12)
7522 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-30; depth = 1 \b");
7523 if (kcountHFnegativedirectionDigi1 == 13)
7524 HFnegativedirectionDigi1->SetXTitle(
"R for HF- jeta =-29; depth = 1 \b");
7525 HFnegativedirectionDigi1->Draw(
"Error");
7526 kcountHFnegativedirectionDigi1++;
7527 if (kcountHFnegativedirectionDigi1 > 13)
7536 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
7539 if (h2CeffHFnegativedirectionDigi1)
7540 delete h2CeffHFnegativedirectionDigi1;
7550 int kcountHFnegativedirectionDigi2 = 1;
7551 TH1F *h2CeffHFnegativedirectionDigi2 =
new TH1F(
"h2CeffHFnegativedirectionDigi2",
"",
nphi, 0., 72.);
7554 if (
jeta - 41 < 0) {
7557 for (
int i = 1;
i < 2;
i++) {
7558 TH1F *HFnegativedirectionDigi2 = (TH1F *)h2CeffHFnegativedirectionDigi2->Clone(
"twod1");
7560 for (
int jphi = 0; jphi <
nphi; jphi++) {
7561 double ccc1 = adigiHF[
i][
jeta][jphi];
7563 HFnegativedirectionDigi2->Fill(jphi, ccc1);
7569 c3x5->cd(kcountHFnegativedirectionDigi2);
7570 HFnegativedirectionDigi2->SetMarkerStyle(20);
7571 HFnegativedirectionDigi2->SetMarkerSize(0.4);
7572 HFnegativedirectionDigi2->GetYaxis()->SetLabelSize(0.04);
7573 HFnegativedirectionDigi2->SetXTitle(
"HFnegativedirectionDigi2 \b");
7574 HFnegativedirectionDigi2->SetMarkerColor(2);
7575 HFnegativedirectionDigi2->SetLineColor(0);
7579 if (kcountHFnegativedirectionDigi2 == 1)
7580 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-41; depth = 2 \b");
7581 if (kcountHFnegativedirectionDigi2 == 2)
7582 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-40; depth = 2 \b");
7583 if (kcountHFnegativedirectionDigi2 == 3)
7584 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-39; depth = 2 \b");
7585 if (kcountHFnegativedirectionDigi2 == 4)
7586 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-38; depth = 2 \b");
7587 if (kcountHFnegativedirectionDigi2 == 5)
7588 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-37; depth = 2 \b");
7589 if (kcountHFnegativedirectionDigi2 == 6)
7590 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-36; depth = 2 \b");
7591 if (kcountHFnegativedirectionDigi2 == 7)
7592 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-35; depth = 2 \b");
7593 if (kcountHFnegativedirectionDigi2 == 8)
7594 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-34; depth = 2 \b");
7595 if (kcountHFnegativedirectionDigi2 == 9)
7596 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-33; depth = 2 \b");
7597 if (kcountHFnegativedirectionDigi2 == 10)
7598 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-32; depth = 2 \b");
7599 if (kcountHFnegativedirectionDigi2 == 11)
7600 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-31; depth = 2 \b");
7601 if (kcountHFnegativedirectionDigi2 == 12)
7602 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-30; depth = 2 \b");
7603 if (kcountHFnegativedirectionDigi2 == 13)
7604 HFnegativedirectionDigi2->SetXTitle(
"R for HF- jeta =-20; depth = 2 \b");
7605 HFnegativedirectionDigi2->Draw(
"Error");
7606 kcountHFnegativedirectionDigi2++;
7607 if (kcountHFnegativedirectionDigi2 > 13)
7616 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
7619 if (h2CeffHFnegativedirectionDigi2)
7620 delete h2CeffHFnegativedirectionDigi2;
7629 int kcountHFnegativedirectionDigi3 = 1;
7630 TH1F *h2CeffHFnegativedirectionDigi3 =
new TH1F(
"h2CeffHFnegativedirectionDigi3",
"",
nphi, 0., 72.);
7633 if (
jeta - 41 < 0) {
7636 for (
int i = 2;
i < 3;
i++) {
7637 TH1F *HFnegativedirectionDigi3 = (TH1F *)h2CeffHFnegativedirectionDigi3->Clone(
"twod1");
7639 for (
int jphi = 0; jphi <
nphi; jphi++) {
7640 double ccc1 = adigiHF[
i][
jeta][jphi];
7642 HFnegativedirectionDigi3->Fill(jphi, ccc1);
7648 c3x5->cd(kcountHFnegativedirectionDigi3);
7649 HFnegativedirectionDigi3->SetMarkerStyle(20);
7650 HFnegativedirectionDigi3->SetMarkerSize(0.4);
7651 HFnegativedirectionDigi3->GetYaxis()->SetLabelSize(0.04);
7652 HFnegativedirectionDigi3->SetXTitle(
"HFnegativedirectionDigi3 \b");
7653 HFnegativedirectionDigi3->SetMarkerColor(2);
7654 HFnegativedirectionDigi3->SetLineColor(0);
7658 if (kcountHFnegativedirectionDigi3 == 1)
7659 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-41; depth = 3 \b");
7660 if (kcountHFnegativedirectionDigi3 == 2)
7661 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-40; depth = 3 \b");
7662 if (kcountHFnegativedirectionDigi3 == 3)
7663 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-39; depth = 3 \b");
7664 if (kcountHFnegativedirectionDigi3 == 4)
7665 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-38; depth = 3 \b");
7666 if (kcountHFnegativedirectionDigi3 == 5)
7667 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-37; depth = 3 \b");
7668 if (kcountHFnegativedirectionDigi3 == 6)
7669 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-36; depth = 3 \b");
7670 if (kcountHFnegativedirectionDigi3 == 7)
7671 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-35; depth = 3 \b");
7672 if (kcountHFnegativedirectionDigi3 == 8)
7673 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-34; depth = 3 \b");
7674 if (kcountHFnegativedirectionDigi3 == 9)
7675 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-33; depth = 3 \b");
7676 if (kcountHFnegativedirectionDigi3 == 10)
7677 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-32; depth = 3 \b");
7678 if (kcountHFnegativedirectionDigi3 == 11)
7679 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-31; depth = 3 \b");
7680 if (kcountHFnegativedirectionDigi3 == 12)
7681 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-30; depth = 3 \b");
7682 if (kcountHFnegativedirectionDigi3 == 13)
7683 HFnegativedirectionDigi3->SetXTitle(
"R for HF- jeta =-29; depth = 3 \b");
7684 HFnegativedirectionDigi3->Draw(
"Error");
7685 kcountHFnegativedirectionDigi3++;
7686 if (kcountHFnegativedirectionDigi3 > 13)
7695 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png");
7698 if (h2CeffHFnegativedirectionDigi3)
7699 delete h2CeffHFnegativedirectionDigi3;
7708 int kcountHFnegativedirectionDigi4 = 1;
7709 TH1F *h2CeffHFnegativedirectionDigi4 =
new TH1F(
"h2CeffHFnegativedirectionDigi4",
"",
nphi, 0., 72.);
7713 if (
jeta - 41 < 0) {
7716 for (
int i = 3;
i < 4;
i++) {
7717 TH1F *HFnegativedirectionDigi4 = (TH1F *)h2CeffHFnegativedirectionDigi4->Clone(
"twod1");
7720 for (
int jphi = 0; jphi <
nphi; jphi++) {
7721 double ccc1 = adigiHF[
i][
jeta][jphi];
7723 HFnegativedirectionDigi4->Fill(jphi, ccc1);
7729 c3x5->cd(kcountHFnegativedirectionDigi4);
7730 HFnegativedirectionDigi4->SetMarkerStyle(20);
7731 HFnegativedirectionDigi4->SetMarkerSize(0.4);
7732 HFnegativedirectionDigi4->GetYaxis()->SetLabelSize(0.04);
7733 HFnegativedirectionDigi4->SetXTitle(
"HFnegativedirectionDigi4 \b");
7734 HFnegativedirectionDigi4->SetMarkerColor(2);
7735 HFnegativedirectionDigi4->SetLineColor(0);
7739 if (kcountHFnegativedirectionDigi4 == 1)
7740 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-41; depth = 4 \b");
7741 if (kcountHFnegativedirectionDigi4 == 2)
7742 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-40; depth = 4 \b");
7743 if (kcountHFnegativedirectionDigi4 == 3)
7744 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-39; depth = 4 \b");
7745 if (kcountHFnegativedirectionDigi4 == 4)
7746 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-38; depth = 4 \b");
7747 if (kcountHFnegativedirectionDigi4 == 5)
7748 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-37; depth = 4 \b");
7749 if (kcountHFnegativedirectionDigi4 == 6)
7750 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-36; depth = 4 \b");
7751 if (kcountHFnegativedirectionDigi4 == 7)
7752 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-35; depth = 4 \b");
7753 if (kcountHFnegativedirectionDigi4 == 8)
7754 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-34; depth = 4 \b");
7755 if (kcountHFnegativedirectionDigi4 == 9)
7756 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-33; depth = 4 \b");
7757 if (kcountHFnegativedirectionDigi4 == 10)
7758 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-32; depth = 4 \b");
7759 if (kcountHFnegativedirectionDigi4 == 11)
7760 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-31; depth = 4 \b");
7761 if (kcountHFnegativedirectionDigi4 == 12)
7762 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-30; depth = 4 \b");
7763 if (kcountHFnegativedirectionDigi4 == 13)
7764 HFnegativedirectionDigi4->SetXTitle(
"R for HF- jeta =-29; depth = 4 \b");
7765 HFnegativedirectionDigi4->Draw(
"Error");
7766 kcountHFnegativedirectionDigi4++;
7767 if (kcountHFnegativedirectionDigi4 > 13)
7776 c3x5->Print(
"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png");
7779 if (h2CeffHFnegativedirectionDigi4)
7780 delete h2CeffHFnegativedirectionDigi4;
7788 TH2F *digiVariance1HF1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HF1");
7789 TH2F *digiVariance0HF1 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF1");
7790 TH2F *digiVarianceHF1 = (TH2F *)digiVariance1HF1->Clone(
"digiVarianceHF1");
7791 digiVarianceHF1->Divide(digiVariance1HF1, digiVariance0HF1, 1, 1,
"B");
7792 TH2F *digiVariance1HF2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HF2");
7793 TH2F *digiVariance0HF2 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF2");
7794 TH2F *digiVarianceHF2 = (TH2F *)digiVariance1HF2->Clone(
"digiVarianceHF2");
7795 digiVarianceHF2->Divide(digiVariance1HF2, digiVariance0HF2, 1, 1,
"B");
7796 TH2F *digiVariance1HF3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HF3");
7797 TH2F *digiVariance0HF3 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF3");
7798 TH2F *digiVarianceHF3 = (TH2F *)digiVariance1HF3->Clone(
"digiVarianceHF3");
7799 digiVarianceHF3->Divide(digiVariance1HF3, digiVariance0HF3, 1, 1,
"B");
7800 TH2F *digiVariance1HF4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel2_HF4");
7801 TH2F *digiVariance0HF4 = (TH2F *)
dir->FindObjectAny(
"h_amplitudechannel0_HF4");
7802 TH2F *digiVarianceHF4 = (TH2F *)digiVariance1HF4->Clone(
"digiVarianceHF4");
7803 digiVarianceHF4->Divide(digiVariance1HF4, digiVariance0HF4, 1, 1,
"B");
7809 double sumdigiHF0 = 0;
7810 int nsumdigiHF0 = 0;
7811 double sumdigiHF1 = 0;
7812 int nsumdigiHF1 = 0;
7813 double sumdigiHF2 = 0;
7814 int nsumdigiHF2 = 0;
7815 double sumdigiHF3 = 0;
7816 int nsumdigiHF3 = 0;
7817 for (
int jphi = 0; jphi < njphi; jphi++) {
7818 digivarianceHF[0][
jeta][jphi] = digiVarianceHF1->GetBinContent(
jeta + 1, jphi + 1);
7819 digivarianceHF[1][
jeta][jphi] = digiVarianceHF2->GetBinContent(
jeta + 1, jphi + 1);
7820 digivarianceHF[2][
jeta][jphi] = digiVarianceHF3->GetBinContent(
jeta + 1, jphi + 1);
7821 digivarianceHF[3][
jeta][jphi] = digiVarianceHF4->GetBinContent(
jeta + 1, jphi + 1);
7822 if (digivarianceHF[0][
jeta][jphi] > 0.) {
7823 sumdigiHF0 += digivarianceHF[0][
jeta][jphi];
7826 if (digivarianceHF[1][
jeta][jphi] > 0.) {
7827 sumdigiHF1 += digivarianceHF[1][
jeta][jphi];
7830 if (digivarianceHF[2][
jeta][jphi] > 0.) {
7831 sumdigiHF2 += digivarianceHF[2][
jeta][jphi];
7834 if (digivarianceHF[3][
jeta][jphi] > 0.) {
7835 sumdigiHF3 += digivarianceHF[3][
jeta][jphi];
7840 for (
int jphi = 0; jphi < njphi; jphi++) {
7841 if (digivarianceHF[0][
jeta][jphi] > 0.)
7842 digivarianceHF[0][
jeta][jphi] /= (sumdigiHF0 / nsumdigiHF0);
7843 if (digivarianceHF[1][
jeta][jphi] > 0.)
7844 digivarianceHF[1][
jeta][jphi] /= (sumdigiHF1 / nsumdigiHF1);
7845 if (digivarianceHF[2][
jeta][jphi] > 0.)
7846 digivarianceHF[2][
jeta][jphi] /= (sumdigiHF2 / nsumdigiHF2);
7847 if (digivarianceHF[3][
jeta][jphi] > 0.)
7848 digivarianceHF[3][
jeta][jphi] /= (sumdigiHF3 / nsumdigiHF3);
7851 for (
int jphi = 0; jphi < njphi; jphi++) {
7853 digivarianceHF[0][
jeta][jphi] -= adigiHF[0][
jeta][jphi] * adigiHF[0][
jeta][jphi];
7854 digivarianceHF[0][
jeta][jphi] = fabs(digivarianceHF[0][
jeta][jphi]);
7855 digivarianceHF[1][
jeta][jphi] -= adigiHF[1][
jeta][jphi] * adigiHF[1][
jeta][jphi];
7856 digivarianceHF[1][
jeta][jphi] = fabs(digivarianceHF[1][
jeta][jphi]);
7857 digivarianceHF[2][
jeta][jphi] -= adigiHF[2][
jeta][jphi] * adigiHF[2][
jeta][jphi];
7858 digivarianceHF[2][
jeta][jphi] = fabs(digivarianceHF[2][
jeta][jphi]);
7859 digivarianceHF[3][
jeta][jphi] -= adigiHF[3][
jeta][jphi] * adigiHF[3][
jeta][jphi];
7860 digivarianceHF[3][
jeta][jphi] = fabs(digivarianceHF[3][
jeta][jphi]);
7872 TH2F *DefzDdigiHF42D =
new TH2F(
"DefzDdigiHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
7873 TH2F *DefzDdigiHF42D0 =
new TH2F(
"DefzDdigiHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
7874 TH2F *DefzDdigiHF42DF = (TH2F *)DefzDdigiHF42D0->Clone(
"DefzDdigiHF42DF");
7877 for (
int jphi = 0; jphi <
nphi; jphi++) {
7878 double ccc1 = digivarianceHF[
i][
jeta][jphi];
7879 int k2plot =
jeta - 41;
7881 if (adigiHF[
i][
jeta][jphi] > 0.) {
7882 DefzDdigiHF42D->Fill(kkk, jphi, ccc1);
7883 DefzDdigiHF42D0->Fill(kkk, jphi, 1.);
7888 DefzDdigiHF42DF->Divide(DefzDdigiHF42D, DefzDdigiHF42D0, 1, 1,
"B");
7892 DefzDdigiHF42DF->SetMarkerStyle(20);
7893 DefzDdigiHF42DF->SetMarkerSize(0.4);
7894 DefzDdigiHF42DF->GetZaxis()->SetLabelSize(0.08);
7895 DefzDdigiHF42DF->SetXTitle(
"<D>_depth #eta \b");
7896 DefzDdigiHF42DF->SetYTitle(
" #phi \b");
7897 DefzDdigiHF42DF->SetZTitle(
"<D>_depth \b");
7898 DefzDdigiHF42DF->SetMarkerColor(2);
7899 DefzDdigiHF42DF->SetLineColor(
7901 DefzDdigiHF42DF->Draw(
"COLZ");
7904 c1x0->Print(
"DdigiGeneralD2PhiSymmetryHF.png");
7908 delete DefzDdigiHF42D;
7909 if (DefzDdigiHF42D0)
7910 delete DefzDdigiHF42D0;
7911 if (DefzDdigiHF42DF)
7912 delete DefzDdigiHF42DF;
7920 TH1F *DefzDdigiHF41D =
new TH1F(
"DefzDdigiHF41D",
"",
nphi, 0., 72.);
7921 TH1F *DefzDdigiHF41D0 =
new TH1F(
"DefzDdigiHF41D0",
"",
nphi, 0., 72.);
7922 TH1F *DefzDdigiHF41DF = (TH1F *)DefzDdigiHF41D0->Clone(
"DefzDdigiHF41DF");
7924 for (
int jphi = 0; jphi <
nphi; jphi++) {
7927 double ccc1 = digivarianceHF[
i][
jeta][jphi];
7928 if (adigiHF[
i][
jeta][jphi] > 0.) {
7929 DefzDdigiHF41D->Fill(jphi, ccc1);
7930 DefzDdigiHF41D0->Fill(jphi, 1.);
7937 DefzDdigiHF41DF->Divide(DefzDdigiHF41D, DefzDdigiHF41D0, 1, 1,
"B");
7938 DefzDdigiHF41D0->Sumw2();
7942 DefzDdigiHF41DF->SetMarkerStyle(20);
7943 DefzDdigiHF41DF->SetMarkerSize(1.4);
7944 DefzDdigiHF41DF->GetZaxis()->SetLabelSize(0.08);
7945 DefzDdigiHF41DF->SetXTitle(
"#phi \b");
7946 DefzDdigiHF41DF->SetYTitle(
" <D> \b");
7947 DefzDdigiHF41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
7948 DefzDdigiHF41DF->SetMarkerColor(4);
7949 DefzDdigiHF41DF->SetLineColor(4);
7950 DefzDdigiHF41DF->Draw(
"Error");
7953 c1x1->Print(
"DdigiGeneralD1PhiSymmetryHF.png");
7957 delete DefzDdigiHF41D;
7958 if (DefzDdigiHF41D0)
7959 delete DefzDdigiHF41D0;
7960 if (DefzDdigiHF41DF)
7961 delete DefzDdigiHF41DF;
7970 int kcountHFpositivedirectionDigiD1 = 1;
7971 TH1F *h2CeffHFpositivedirectionDigiD1 =
new TH1F(
"h2CeffHFpositivedirectionDigiD1",
"",
nphi, 0., 72.);
7975 if (
jeta - 41 >= 0) {
7978 for (
int i = 0;
i < 1;
i++) {
7979 TH1F *HFpositivedirectionDigiD1 = (TH1F *)h2CeffHFpositivedirectionDigiD1->Clone(
"twod1");
7982 for (
int jphi = 0; jphi <
nphi; jphi++) {
7983 double ccc1 = digivarianceHF[
i][
jeta][jphi];
7984 if (adigiHF[
i][
jeta][jphi] > 0.) {
7985 HFpositivedirectionDigiD1->Fill(jphi, ccc1);
7991 c3x5->cd(kcountHFpositivedirectionDigiD1);
7992 HFpositivedirectionDigiD1->SetMarkerStyle(20);
7993 HFpositivedirectionDigiD1->SetMarkerSize(0.4);
7994 HFpositivedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
7995 HFpositivedirectionDigiD1->SetXTitle(
"HFpositivedirectionDigiD1 \b");
7996 HFpositivedirectionDigiD1->SetMarkerColor(2);
7997 HFpositivedirectionDigiD1->SetLineColor(0);
8001 if (kcountHFpositivedirectionDigiD1 == 1)
8002 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 28; depth = 1 \b");
8003 if (kcountHFpositivedirectionDigiD1 == 2)
8004 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 29; depth = 1 \b");
8005 if (kcountHFpositivedirectionDigiD1 == 3)
8006 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 30; depth = 1 \b");
8007 if (kcountHFpositivedirectionDigiD1 == 4)
8008 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 31; depth = 1 \b");
8009 if (kcountHFpositivedirectionDigiD1 == 5)
8010 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 32; depth = 1 \b");
8011 if (kcountHFpositivedirectionDigiD1 == 6)
8012 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 33; depth = 1 \b");
8013 if (kcountHFpositivedirectionDigiD1 == 7)
8014 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 34; depth = 1 \b");
8015 if (kcountHFpositivedirectionDigiD1 == 8)
8016 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 35; depth = 1 \b");
8017 if (kcountHFpositivedirectionDigiD1 == 9)
8018 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 36; depth = 1 \b");
8019 if (kcountHFpositivedirectionDigiD1 == 10)
8020 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 37; depth = 1 \b");
8021 if (kcountHFpositivedirectionDigiD1 == 11)
8022 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 38; depth = 1 \b");
8023 if (kcountHFpositivedirectionDigiD1 == 12)
8024 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 39; depth = 1 \b");
8025 if (kcountHFpositivedirectionDigiD1 == 13)
8026 HFpositivedirectionDigiD1->SetXTitle(
"D for HF+ jeta = 40; depth = 1 \b");
8027 HFpositivedirectionDigiD1->Draw(
"Error");
8028 kcountHFpositivedirectionDigiD1++;
8029 if (kcountHFpositivedirectionDigiD1 > 13)
8038 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png");
8041 if (h2CeffHFpositivedirectionDigiD1)
8042 delete h2CeffHFpositivedirectionDigiD1;
8050 int kcountHFpositivedirectionDigiD2 = 1;
8051 TH1F *h2CeffHFpositivedirectionDigiD2 =
new TH1F(
"h2CeffHFpositivedirectionDigiD2",
"",
nphi, 0., 72.);
8055 if (
jeta - 41 >= 0) {
8058 for (
int i = 1;
i < 2;
i++) {
8059 TH1F *HFpositivedirectionDigiD2 = (TH1F *)h2CeffHFpositivedirectionDigiD2->Clone(
"twod1");
8062 for (
int jphi = 0; jphi <
nphi; jphi++) {
8063 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8064 if (adigiHF[
i][
jeta][jphi] > 0.) {
8065 HFpositivedirectionDigiD2->Fill(jphi, ccc1);
8071 c3x5->cd(kcountHFpositivedirectionDigiD2);
8072 HFpositivedirectionDigiD2->SetMarkerStyle(20);
8073 HFpositivedirectionDigiD2->SetMarkerSize(0.4);
8074 HFpositivedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
8075 HFpositivedirectionDigiD2->SetXTitle(
"HFpositivedirectionDigiD2 \b");
8076 HFpositivedirectionDigiD2->SetMarkerColor(2);
8077 HFpositivedirectionDigiD2->SetLineColor(0);
8081 if (kcountHFpositivedirectionDigiD2 == 1)
8082 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 28; depth = 2 \b");
8083 if (kcountHFpositivedirectionDigiD2 == 2)
8084 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 29; depth = 2 \b");
8085 if (kcountHFpositivedirectionDigiD2 == 3)
8086 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 30; depth = 2 \b");
8087 if (kcountHFpositivedirectionDigiD2 == 4)
8088 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 31; depth = 2 \b");
8089 if (kcountHFpositivedirectionDigiD2 == 5)
8090 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 32; depth = 2 \b");
8091 if (kcountHFpositivedirectionDigiD2 == 6)
8092 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 33; depth = 2 \b");
8093 if (kcountHFpositivedirectionDigiD2 == 7)
8094 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 34; depth = 2 \b");
8095 if (kcountHFpositivedirectionDigiD2 == 8)
8096 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 35; depth = 2 \b");
8097 if (kcountHFpositivedirectionDigiD2 == 9)
8098 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 36; depth = 2 \b");
8099 if (kcountHFpositivedirectionDigiD2 == 10)
8100 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 37; depth = 2 \b");
8101 if (kcountHFpositivedirectionDigiD2 == 11)
8102 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 38; depth = 2 \b");
8103 if (kcountHFpositivedirectionDigiD2 == 12)
8104 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 39; depth = 2 \b");
8105 if (kcountHFpositivedirectionDigiD2 == 13)
8106 HFpositivedirectionDigiD2->SetXTitle(
"D for HF+ jeta = 40; depth = 2 \b");
8107 HFpositivedirectionDigiD2->Draw(
"Error");
8108 kcountHFpositivedirectionDigiD2++;
8109 if (kcountHFpositivedirectionDigiD2 > 13)
8118 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png");
8121 if (h2CeffHFpositivedirectionDigiD2)
8122 delete h2CeffHFpositivedirectionDigiD2;
8130 int kcountHFpositivedirectionDigiD3 = 1;
8131 TH1F *h2CeffHFpositivedirectionDigiD3 =
new TH1F(
"h2CeffHFpositivedirectionDigiD3",
"",
nphi, 0., 72.);
8135 if (
jeta - 41 >= 0) {
8138 for (
int i = 2;
i < 3;
i++) {
8139 TH1F *HFpositivedirectionDigiD3 = (TH1F *)h2CeffHFpositivedirectionDigiD3->Clone(
"twod1");
8142 for (
int jphi = 0; jphi <
nphi; jphi++) {
8143 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8144 if (adigiHF[
i][
jeta][jphi] > 0.) {
8145 HFpositivedirectionDigiD3->Fill(jphi, ccc1);
8151 c3x5->cd(kcountHFpositivedirectionDigiD3);
8152 HFpositivedirectionDigiD3->SetMarkerStyle(20);
8153 HFpositivedirectionDigiD3->SetMarkerSize(0.4);
8154 HFpositivedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
8155 HFpositivedirectionDigiD3->SetXTitle(
"HFpositivedirectionDigiD3 \b");
8156 HFpositivedirectionDigiD3->SetMarkerColor(2);
8157 HFpositivedirectionDigiD3->SetLineColor(0);
8161 if (kcountHFpositivedirectionDigiD3 == 1)
8162 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 28; depth = 3 \b");
8163 if (kcountHFpositivedirectionDigiD3 == 2)
8164 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 29; depth = 3 \b");
8165 if (kcountHFpositivedirectionDigiD3 == 3)
8166 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 30; depth = 3 \b");
8167 if (kcountHFpositivedirectionDigiD3 == 4)
8168 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 31; depth = 3 \b");
8169 if (kcountHFpositivedirectionDigiD3 == 5)
8170 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 32; depth = 3 \b");
8171 if (kcountHFpositivedirectionDigiD3 == 6)
8172 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 33; depth = 3 \b");
8173 if (kcountHFpositivedirectionDigiD3 == 7)
8174 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 34; depth = 3 \b");
8175 if (kcountHFpositivedirectionDigiD3 == 8)
8176 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 35; depth = 3 \b");
8177 if (kcountHFpositivedirectionDigiD3 == 9)
8178 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 36; depth = 3 \b");
8179 if (kcountHFpositivedirectionDigiD3 == 10)
8180 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 37; depth = 3 \b");
8181 if (kcountHFpositivedirectionDigiD3 == 11)
8182 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 38; depth = 3 \b");
8183 if (kcountHFpositivedirectionDigiD3 == 12)
8184 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 39; depth = 3 \b");
8185 if (kcountHFpositivedirectionDigiD3 == 13)
8186 HFpositivedirectionDigiD3->SetXTitle(
"D for HF+ jeta = 40; depth = 3 \b");
8187 HFpositivedirectionDigiD3->Draw(
"Error");
8188 kcountHFpositivedirectionDigiD3++;
8189 if (kcountHFpositivedirectionDigiD3 > 13)
8198 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png");
8201 if (h2CeffHFpositivedirectionDigiD3)
8202 delete h2CeffHFpositivedirectionDigiD3;
8210 int kcountHFpositivedirectionDigiD4 = 1;
8211 TH1F *h2CeffHFpositivedirectionDigiD4 =
new TH1F(
"h2CeffHFpositivedirectionDigiD4",
"",
nphi, 0., 72.);
8215 if (
jeta - 41 >= 0) {
8218 for (
int i = 3;
i < 4;
i++) {
8219 TH1F *HFpositivedirectionDigiD4 = (TH1F *)h2CeffHFpositivedirectionDigiD4->Clone(
"twod1");
8222 for (
int jphi = 0; jphi <
nphi; jphi++) {
8223 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8224 if (adigiHF[
i][
jeta][jphi] > 0.) {
8225 HFpositivedirectionDigiD4->Fill(jphi, ccc1);
8231 c3x5->cd(kcountHFpositivedirectionDigiD4);
8232 HFpositivedirectionDigiD4->SetMarkerStyle(20);
8233 HFpositivedirectionDigiD4->SetMarkerSize(0.4);
8234 HFpositivedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
8235 HFpositivedirectionDigiD4->SetXTitle(
"HFpositivedirectionDigiD4 \b");
8236 HFpositivedirectionDigiD4->SetMarkerColor(2);
8237 HFpositivedirectionDigiD4->SetLineColor(0);
8241 if (kcountHFpositivedirectionDigiD4 == 1)
8242 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 28; depth = 4 \b");
8243 if (kcountHFpositivedirectionDigiD4 == 2)
8244 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 29; depth = 4 \b");
8245 if (kcountHFpositivedirectionDigiD4 == 3)
8246 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 30; depth = 4 \b");
8247 if (kcountHFpositivedirectionDigiD4 == 4)
8248 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 31; depth = 4 \b");
8249 if (kcountHFpositivedirectionDigiD4 == 5)
8250 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 32; depth = 4 \b");
8251 if (kcountHFpositivedirectionDigiD4 == 6)
8252 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 33; depth = 4 \b");
8253 if (kcountHFpositivedirectionDigiD4 == 7)
8254 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 34; depth = 4 \b");
8255 if (kcountHFpositivedirectionDigiD4 == 8)
8256 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 35; depth = 4 \b");
8257 if (kcountHFpositivedirectionDigiD4 == 9)
8258 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 36; depth = 4 \b");
8259 if (kcountHFpositivedirectionDigiD4 == 10)
8260 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 37; depth = 4 \b");
8261 if (kcountHFpositivedirectionDigiD4 == 11)
8262 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 38; depth = 4 \b");
8263 if (kcountHFpositivedirectionDigiD4 == 12)
8264 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 39; depth = 4 \b");
8265 if (kcountHFpositivedirectionDigiD4 == 13)
8266 HFpositivedirectionDigiD4->SetXTitle(
"D for HF+ jeta = 40; depth = 4 \b");
8267 HFpositivedirectionDigiD4->Draw(
"Error");
8268 kcountHFpositivedirectionDigiD4++;
8269 if (kcountHFpositivedirectionDigiD4 > 13)
8278 c3x5->Print(
"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png");
8281 if (h2CeffHFpositivedirectionDigiD4)
8282 delete h2CeffHFpositivedirectionDigiD4;
8292 int kcountHFnegativedirectionDigiD1 = 1;
8293 TH1F *h2CeffHFnegativedirectionDigiD1 =
new TH1F(
"h2CeffHFnegativedirectionDigiD1",
"",
nphi, 0., 72.);
8297 if (
jeta - 41 < 0) {
8300 for (
int i = 0;
i < 1;
i++) {
8301 TH1F *HFnegativedirectionDigiD1 = (TH1F *)h2CeffHFnegativedirectionDigiD1->Clone(
"twod1");
8304 for (
int jphi = 0; jphi <
nphi; jphi++) {
8305 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8306 if (adigiHF[
i][
jeta][jphi] > 0.) {
8307 HFnegativedirectionDigiD1->Fill(jphi, ccc1);
8313 c3x5->cd(kcountHFnegativedirectionDigiD1);
8314 HFnegativedirectionDigiD1->SetMarkerStyle(20);
8315 HFnegativedirectionDigiD1->SetMarkerSize(0.4);
8316 HFnegativedirectionDigiD1->GetYaxis()->SetLabelSize(0.04);
8317 HFnegativedirectionDigiD1->SetXTitle(
"HFnegativedirectionDigiD1 \b");
8318 HFnegativedirectionDigiD1->SetMarkerColor(2);
8319 HFnegativedirectionDigiD1->SetLineColor(0);
8323 if (kcountHFnegativedirectionDigiD1 == 1)
8324 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-41; depth = 1 \b");
8325 if (kcountHFnegativedirectionDigiD1 == 2)
8326 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-40; depth = 1 \b");
8327 if (kcountHFnegativedirectionDigiD1 == 3)
8328 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-39; depth = 1 \b");
8329 if (kcountHFnegativedirectionDigiD1 == 4)
8330 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-38; depth = 1 \b");
8331 if (kcountHFnegativedirectionDigiD1 == 5)
8332 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-37; depth = 1 \b");
8333 if (kcountHFnegativedirectionDigiD1 == 6)
8334 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-36; depth = 1 \b");
8335 if (kcountHFnegativedirectionDigiD1 == 7)
8336 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-35; depth = 1 \b");
8337 if (kcountHFnegativedirectionDigiD1 == 8)
8338 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-34; depth = 1 \b");
8339 if (kcountHFnegativedirectionDigiD1 == 9)
8340 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-33; depth = 1 \b");
8341 if (kcountHFnegativedirectionDigiD1 == 10)
8342 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-32; depth = 1 \b");
8343 if (kcountHFnegativedirectionDigiD1 == 11)
8344 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-31; depth = 1 \b");
8345 if (kcountHFnegativedirectionDigiD1 == 12)
8346 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-30; depth = 1 \b");
8347 if (kcountHFnegativedirectionDigiD1 == 13)
8348 HFnegativedirectionDigiD1->SetXTitle(
"D for HF- jeta =-29; depth = 1 \b");
8349 HFnegativedirectionDigiD1->Draw(
"Error");
8350 kcountHFnegativedirectionDigiD1++;
8351 if (kcountHFnegativedirectionDigiD1 > 13)
8360 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
8363 if (h2CeffHFnegativedirectionDigiD1)
8364 delete h2CeffHFnegativedirectionDigiD1;
8372 int kcountHFnegativedirectionDigiD2 = 1;
8373 TH1F *h2CeffHFnegativedirectionDigiD2 =
new TH1F(
"h2CeffHFnegativedirectionDigiD2",
"",
nphi, 0., 72.);
8377 if (
jeta - 41 < 0) {
8380 for (
int i = 1;
i < 2;
i++) {
8381 TH1F *HFnegativedirectionDigiD2 = (TH1F *)h2CeffHFnegativedirectionDigiD2->Clone(
"twod1");
8384 for (
int jphi = 0; jphi <
nphi; jphi++) {
8385 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8386 if (adigiHF[
i][
jeta][jphi] > 0.) {
8387 HFnegativedirectionDigiD2->Fill(jphi, ccc1);
8393 c3x5->cd(kcountHFnegativedirectionDigiD2);
8394 HFnegativedirectionDigiD2->SetMarkerStyle(20);
8395 HFnegativedirectionDigiD2->SetMarkerSize(0.4);
8396 HFnegativedirectionDigiD2->GetYaxis()->SetLabelSize(0.04);
8397 HFnegativedirectionDigiD2->SetXTitle(
"HFnegativedirectionDigiD2 \b");
8398 HFnegativedirectionDigiD2->SetMarkerColor(2);
8399 HFnegativedirectionDigiD2->SetLineColor(0);
8403 if (kcountHFnegativedirectionDigiD2 == 1)
8404 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-41; depth = 2 \b");
8405 if (kcountHFnegativedirectionDigiD2 == 2)
8406 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-40; depth = 2 \b");
8407 if (kcountHFnegativedirectionDigiD2 == 3)
8408 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-39; depth = 2 \b");
8409 if (kcountHFnegativedirectionDigiD2 == 4)
8410 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-38; depth = 2 \b");
8411 if (kcountHFnegativedirectionDigiD2 == 5)
8412 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-37; depth = 2 \b");
8413 if (kcountHFnegativedirectionDigiD2 == 6)
8414 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-36; depth = 2 \b");
8415 if (kcountHFnegativedirectionDigiD2 == 7)
8416 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-35; depth = 2 \b");
8417 if (kcountHFnegativedirectionDigiD2 == 8)
8418 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-34; depth = 2 \b");
8419 if (kcountHFnegativedirectionDigiD2 == 9)
8420 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-33; depth = 2 \b");
8421 if (kcountHFnegativedirectionDigiD2 == 10)
8422 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-32; depth = 2 \b");
8423 if (kcountHFnegativedirectionDigiD2 == 11)
8424 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-31; depth = 2 \b");
8425 if (kcountHFnegativedirectionDigiD2 == 12)
8426 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-30; depth = 2 \b");
8427 if (kcountHFnegativedirectionDigiD2 == 13)
8428 HFnegativedirectionDigiD2->SetXTitle(
"D for HF- jeta =-29; depth = 2 \b");
8429 HFnegativedirectionDigiD2->Draw(
"Error");
8430 kcountHFnegativedirectionDigiD2++;
8431 if (kcountHFnegativedirectionDigiD2 > 13)
8440 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
8443 if (h2CeffHFnegativedirectionDigiD2)
8444 delete h2CeffHFnegativedirectionDigiD2;
8452 int kcountHFnegativedirectionDigiD3 = 1;
8453 TH1F *h2CeffHFnegativedirectionDigiD3 =
new TH1F(
"h2CeffHFnegativedirectionDigiD3",
"",
nphi, 0., 72.);
8457 if (
jeta - 41 < 0) {
8460 for (
int i = 2;
i < 3;
i++) {
8461 TH1F *HFnegativedirectionDigiD3 = (TH1F *)h2CeffHFnegativedirectionDigiD3->Clone(
"twod1");
8464 for (
int jphi = 0; jphi <
nphi; jphi++) {
8465 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8466 if (adigiHF[
i][
jeta][jphi] > 0.) {
8467 HFnegativedirectionDigiD3->Fill(jphi, ccc1);
8473 c3x5->cd(kcountHFnegativedirectionDigiD3);
8474 HFnegativedirectionDigiD3->SetMarkerStyle(20);
8475 HFnegativedirectionDigiD3->SetMarkerSize(0.4);
8476 HFnegativedirectionDigiD3->GetYaxis()->SetLabelSize(0.04);
8477 HFnegativedirectionDigiD3->SetXTitle(
"HFnegativedirectionDigiD3 \b");
8478 HFnegativedirectionDigiD3->SetMarkerColor(2);
8479 HFnegativedirectionDigiD3->SetLineColor(0);
8483 if (kcountHFnegativedirectionDigiD3 == 1)
8484 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-41; depth = 3 \b");
8485 if (kcountHFnegativedirectionDigiD3 == 2)
8486 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-40; depth = 3 \b");
8487 if (kcountHFnegativedirectionDigiD3 == 3)
8488 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-39; depth = 3 \b");
8489 if (kcountHFnegativedirectionDigiD3 == 4)
8490 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-38; depth = 3 \b");
8491 if (kcountHFnegativedirectionDigiD3 == 5)
8492 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-37; depth = 3 \b");
8493 if (kcountHFnegativedirectionDigiD3 == 6)
8494 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-36; depth = 3 \b");
8495 if (kcountHFnegativedirectionDigiD3 == 7)
8496 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-35; depth = 3 \b");
8497 if (kcountHFnegativedirectionDigiD3 == 8)
8498 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-34; depth = 3 \b");
8499 if (kcountHFnegativedirectionDigiD3 == 9)
8500 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-33; depth = 3 \b");
8501 if (kcountHFnegativedirectionDigiD3 == 10)
8502 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-32; depth = 3 \b");
8503 if (kcountHFnegativedirectionDigiD3 == 11)
8504 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-31; depth = 3 \b");
8505 if (kcountHFnegativedirectionDigiD3 == 12)
8506 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-30; depth = 3 \b");
8507 if (kcountHFnegativedirectionDigiD3 == 13)
8508 HFnegativedirectionDigiD3->SetXTitle(
"D for HF- jeta =-29; depth = 3 \b");
8509 HFnegativedirectionDigiD3->Draw(
"Error");
8510 kcountHFnegativedirectionDigiD3++;
8511 if (kcountHFnegativedirectionDigiD3 > 13)
8520 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png");
8523 if (h2CeffHFnegativedirectionDigiD3)
8524 delete h2CeffHFnegativedirectionDigiD3;
8532 int kcountHFnegativedirectionDigiD4 = 1;
8533 TH1F *h2CeffHFnegativedirectionDigiD4 =
new TH1F(
"h2CeffHFnegativedirectionDigiD4",
"",
nphi, 0., 72.);
8537 if (
jeta - 41 < 0) {
8540 for (
int i = 3;
i < 4;
i++) {
8541 TH1F *HFnegativedirectionDigiD4 = (TH1F *)h2CeffHFnegativedirectionDigiD4->Clone(
"twod1");
8544 for (
int jphi = 0; jphi <
nphi; jphi++) {
8545 double ccc1 = digivarianceHF[
i][
jeta][jphi];
8546 if (adigiHF[
i][
jeta][jphi] > 0.) {
8547 HFnegativedirectionDigiD4->Fill(jphi, ccc1);
8553 c3x5->cd(kcountHFnegativedirectionDigiD4);
8554 HFnegativedirectionDigiD4->SetMarkerStyle(20);
8555 HFnegativedirectionDigiD4->SetMarkerSize(0.4);
8556 HFnegativedirectionDigiD4->GetYaxis()->SetLabelSize(0.04);
8557 HFnegativedirectionDigiD4->SetXTitle(
"HFnegativedirectionDigiD4 \b");
8558 HFnegativedirectionDigiD4->SetMarkerColor(2);
8559 HFnegativedirectionDigiD4->SetLineColor(0);
8563 if (kcountHFnegativedirectionDigiD4 == 1)
8564 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-41; depth = 4 \b");
8565 if (kcountHFnegativedirectionDigiD4 == 2)
8566 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-40; depth = 4 \b");
8567 if (kcountHFnegativedirectionDigiD4 == 3)
8568 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-39; depth = 4 \b");
8569 if (kcountHFnegativedirectionDigiD4 == 4)
8570 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-38; depth = 4 \b");
8571 if (kcountHFnegativedirectionDigiD4 == 5)
8572 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-37; depth = 4 \b");
8573 if (kcountHFnegativedirectionDigiD4 == 6)
8574 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-36; depth = 4 \b");
8575 if (kcountHFnegativedirectionDigiD4 == 7)
8576 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-35; depth = 4 \b");
8577 if (kcountHFnegativedirectionDigiD4 == 8)
8578 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-34; depth = 4 \b");
8579 if (kcountHFnegativedirectionDigiD4 == 9)
8580 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-33; depth = 4 \b");
8581 if (kcountHFnegativedirectionDigiD4 == 10)
8582 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-32; depth = 4 \b");
8583 if (kcountHFnegativedirectionDigiD4 == 11)
8584 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-31; depth = 4 \b");
8585 if (kcountHFnegativedirectionDigiD4 == 12)
8586 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-30; depth = 4 \b");
8587 if (kcountHFnegativedirectionDigiD4 == 13)
8588 HFnegativedirectionDigiD4->SetXTitle(
"D for HF- jeta =-29; depth = 4 \b");
8589 HFnegativedirectionDigiD4->Draw(
"Error");
8590 kcountHFnegativedirectionDigiD4++;
8591 if (kcountHFnegativedirectionDigiD4 > 13)
8600 c3x5->Print(
"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png");
8603 if (h2CeffHFnegativedirectionDigiD4)
8604 delete h2CeffHFnegativedirectionDigiD4;
8636 double arecosignalHB[
ndepth][njeta][njphi];
8637 double recosignalvarianceHB[
ndepth][njeta][njphi];
8639 TH2F *recSignalEnergy1HB1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HB1");
8640 TH2F *recSignalEnergy0HB1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB1");
8641 TH2F *recSignalEnergyHB1 = (TH2F *)recSignalEnergy1HB1->Clone(
"recSignalEnergyHB1");
8642 recSignalEnergyHB1->Divide(recSignalEnergy1HB1, recSignalEnergy0HB1, 1, 1,
"B");
8643 TH2F *recSignalEnergy1HB2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HB2");
8644 TH2F *recSignalEnergy0HB2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB2");
8645 TH2F *recSignalEnergyHB2 = (TH2F *)recSignalEnergy1HB2->Clone(
"recSignalEnergyHB2");
8646 recSignalEnergyHB2->Divide(recSignalEnergy1HB2, recSignalEnergy0HB2, 1, 1,
"B");
8647 TH2F *recSignalEnergy1HB3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HB3");
8648 TH2F *recSignalEnergy0HB3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB3");
8649 TH2F *recSignalEnergyHB3 = (TH2F *)recSignalEnergy1HB3->Clone(
"recSignalEnergyHB3");
8650 recSignalEnergyHB3->Divide(recSignalEnergy1HB3, recSignalEnergy0HB3, 1, 1,
"B");
8651 TH2F *recSignalEnergy1HB4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HB4");
8652 TH2F *recSignalEnergy0HB4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB4");
8653 TH2F *recSignalEnergyHB4 = (TH2F *)recSignalEnergy1HB4->Clone(
"recSignalEnergyHB4");
8654 recSignalEnergyHB4->Divide(recSignalEnergy1HB4, recSignalEnergy0HB4, 1, 1,
"B");
8658 double sumrecosignalHB0 = 0;
8659 int nsumrecosignalHB0 = 0;
8660 double sumrecosignalHB1 = 0;
8661 int nsumrecosignalHB1 = 0;
8662 double sumrecosignalHB2 = 0;
8663 int nsumrecosignalHB2 = 0;
8664 double sumrecosignalHB3 = 0;
8665 int nsumrecosignalHB3 = 0;
8666 for (
int jphi = 0; jphi < njphi; jphi++) {
8667 arecosignalHB[0][
jeta][jphi] = recSignalEnergyHB1->GetBinContent(
jeta + 1, jphi + 1);
8668 arecosignalHB[1][
jeta][jphi] = recSignalEnergyHB2->GetBinContent(
jeta + 1, jphi + 1);
8669 arecosignalHB[2][
jeta][jphi] = recSignalEnergyHB3->GetBinContent(
jeta + 1, jphi + 1);
8670 arecosignalHB[3][
jeta][jphi] = recSignalEnergyHB4->GetBinContent(
jeta + 1, jphi + 1);
8671 if (arecosignalHB[0][
jeta][jphi] > 0.) {
8672 sumrecosignalHB0 += arecosignalHB[0][
jeta][jphi];
8673 ++nsumrecosignalHB0;
8675 if (arecosignalHB[1][
jeta][jphi] > 0.) {
8676 sumrecosignalHB1 += arecosignalHB[1][
jeta][jphi];
8677 ++nsumrecosignalHB1;
8679 if (arecosignalHB[2][
jeta][jphi] > 0.) {
8680 sumrecosignalHB2 += arecosignalHB[2][
jeta][jphi];
8681 ++nsumrecosignalHB2;
8683 if (arecosignalHB[3][
jeta][jphi] > 0.) {
8684 sumrecosignalHB3 += arecosignalHB[3][
jeta][jphi];
8685 ++nsumrecosignalHB3;
8689 for (
int jphi = 0; jphi < njphi; jphi++) {
8690 if (arecosignalHB[0][
jeta][jphi] > 0.)
8691 arecosignalHB[0][
jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0);
8692 if (arecosignalHB[1][
jeta][jphi] > 0.)
8693 arecosignalHB[1][
jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1);
8694 if (arecosignalHB[2][
jeta][jphi] > 0.)
8695 arecosignalHB[2][
jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2);
8696 if (arecosignalHB[3][
jeta][jphi] > 0.)
8697 arecosignalHB[3][
jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3);
8708 TH2F *GefzRrecosignalHB42D =
new TH2F(
"GefzRrecosignalHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
8709 TH2F *GefzRrecosignalHB42D0 =
new TH2F(
"GefzRrecosignalHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
8710 TH2F *GefzRrecosignalHB42DF = (TH2F *)GefzRrecosignalHB42D0->Clone(
"GefzRrecosignalHB42DF");
8713 for (
int jphi = 0; jphi <
nphi; jphi++) {
8714 double ccc1 = arecosignalHB[
i][
jeta][jphi];
8715 int k2plot =
jeta - 41;
8718 GefzRrecosignalHB42D->Fill(kkk, jphi, ccc1);
8719 GefzRrecosignalHB42D0->Fill(kkk, jphi, 1.);
8724 GefzRrecosignalHB42DF->Divide(GefzRrecosignalHB42D, GefzRrecosignalHB42D0, 1, 1,
"B");
8727 GefzRrecosignalHB42DF->SetXTitle(
"<R>_depth #eta \b");
8728 GefzRrecosignalHB42DF->SetYTitle(
" #phi \b");
8729 GefzRrecosignalHB42DF->Draw(
"COLZ");
8732 TH1F *energyhitSignal_HB = (TH1F *)
dir->FindObjectAny(
"h_energyhitSignal_HB");
8733 energyhitSignal_HB->SetMarkerStyle(20);
8734 energyhitSignal_HB->SetMarkerSize(0.4);
8735 energyhitSignal_HB->GetYaxis()->SetLabelSize(0.04);
8736 energyhitSignal_HB->SetXTitle(
"energyhitSignal_HB \b");
8737 energyhitSignal_HB->SetMarkerColor(2);
8738 energyhitSignal_HB->SetLineColor(0);
8741 energyhitSignal_HB->Draw(
"Error");
8745 c2x1->Print(
"RrecosignalGeneralD2PhiSymmetryHB.png");
8748 if (GefzRrecosignalHB42D)
8749 delete GefzRrecosignalHB42D;
8750 if (GefzRrecosignalHB42D0)
8751 delete GefzRrecosignalHB42D0;
8752 if (GefzRrecosignalHB42DF)
8753 delete GefzRrecosignalHB42DF;
8761 TH1F *GefzRrecosignalHB41D =
new TH1F(
"GefzRrecosignalHB41D",
"",
nphi, 0., 72.);
8762 TH1F *GefzRrecosignalHB41D0 =
new TH1F(
"GefzRrecosignalHB41D0",
"",
nphi, 0., 72.);
8763 TH1F *GefzRrecosignalHB41DF = (TH1F *)GefzRrecosignalHB41D0->Clone(
"GefzRrecosignalHB41DF");
8764 for (
int jphi = 0; jphi <
nphi; jphi++) {
8767 double ccc1 = arecosignalHB[
i][
jeta][jphi];
8769 GefzRrecosignalHB41D->Fill(jphi, ccc1);
8770 GefzRrecosignalHB41D0->Fill(jphi, 1.);
8775 GefzRrecosignalHB41DF->Divide(
8776 GefzRrecosignalHB41D, GefzRrecosignalHB41D0, 1, 1,
"B");
8777 GefzRrecosignalHB41D0->Sumw2();
8781 GefzRrecosignalHB41DF->SetMarkerStyle(20);
8782 GefzRrecosignalHB41DF->SetMarkerSize(1.4);
8783 GefzRrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08);
8784 GefzRrecosignalHB41DF->SetXTitle(
"#phi \b");
8785 GefzRrecosignalHB41DF->SetYTitle(
" <R> \b");
8786 GefzRrecosignalHB41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
8787 GefzRrecosignalHB41DF->SetMarkerColor(4);
8788 GefzRrecosignalHB41DF->SetLineColor(
8790 GefzRrecosignalHB41DF->Draw(
"Error");
8793 c1x1->Print(
"RrecosignalGeneralD1PhiSymmetryHB.png");
8796 if (GefzRrecosignalHB41D)
8797 delete GefzRrecosignalHB41D;
8798 if (GefzRrecosignalHB41D0)
8799 delete GefzRrecosignalHB41D0;
8800 if (GefzRrecosignalHB41DF)
8801 delete GefzRrecosignalHB41DF;
8810 int kcountHBpositivedirectionRecosignal1 = 1;
8811 TH1F *h2CeffHBpositivedirectionRecosignal1 =
new TH1F(
"h2CeffHBpositivedirectionRecosignal1",
"",
nphi, 0., 72.);
8814 if (
jeta - 41 >= 0) {
8817 for (
int i = 0;
i < 1;
i++) {
8818 TH1F *HBpositivedirectionRecosignal1 = (TH1F *)h2CeffHBpositivedirectionRecosignal1->Clone(
"twod1");
8820 for (
int jphi = 0; jphi <
nphi; jphi++) {
8821 double ccc1 = arecosignalHB[
i][
jeta][jphi];
8823 HBpositivedirectionRecosignal1->Fill(jphi, ccc1);
8829 c3x5->cd(kcountHBpositivedirectionRecosignal1);
8830 HBpositivedirectionRecosignal1->SetMarkerStyle(20);
8831 HBpositivedirectionRecosignal1->SetMarkerSize(0.4);
8832 HBpositivedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
8833 HBpositivedirectionRecosignal1->SetXTitle(
"HBpositivedirectionRecosignal1 \b");
8834 HBpositivedirectionRecosignal1->SetMarkerColor(2);
8835 HBpositivedirectionRecosignal1->SetLineColor(0);
8839 if (kcountHBpositivedirectionRecosignal1 == 1)
8840 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 0; depth = 1 \b");
8841 if (kcountHBpositivedirectionRecosignal1 == 2)
8842 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 1; depth = 1 \b");
8843 if (kcountHBpositivedirectionRecosignal1 == 3)
8844 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 2; depth = 1 \b");
8845 if (kcountHBpositivedirectionRecosignal1 == 4)
8846 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 3; depth = 1 \b");
8847 if (kcountHBpositivedirectionRecosignal1 == 5)
8848 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 4; depth = 1 \b");
8849 if (kcountHBpositivedirectionRecosignal1 == 6)
8850 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 5; depth = 1 \b");
8851 if (kcountHBpositivedirectionRecosignal1 == 7)
8852 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 6; depth = 1 \b");
8853 if (kcountHBpositivedirectionRecosignal1 == 8)
8854 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 7; depth = 1 \b");
8855 if (kcountHBpositivedirectionRecosignal1 == 9)
8856 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 8; depth = 1 \b");
8857 if (kcountHBpositivedirectionRecosignal1 == 10)
8858 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 9; depth = 1 \b");
8859 if (kcountHBpositivedirectionRecosignal1 == 11)
8860 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 10; depth = 1 \b");
8861 if (kcountHBpositivedirectionRecosignal1 == 12)
8862 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 11; depth = 1 \b");
8863 if (kcountHBpositivedirectionRecosignal1 == 13)
8864 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 12; depth = 1 \b");
8865 if (kcountHBpositivedirectionRecosignal1 == 14)
8866 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 13; depth = 1 \b");
8867 if (kcountHBpositivedirectionRecosignal1 == 15)
8868 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 14; depth = 1 \b");
8869 if (kcountHBpositivedirectionRecosignal1 == 16)
8870 HBpositivedirectionRecosignal1->SetXTitle(
"R for HB+ jeta = 15; depth = 1 \b");
8871 HBpositivedirectionRecosignal1->Draw(
"Error");
8872 kcountHBpositivedirectionRecosignal1++;
8873 if (kcountHBpositivedirectionRecosignal1 > 16)
8882 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png");
8885 if (h2CeffHBpositivedirectionRecosignal1)
8886 delete h2CeffHBpositivedirectionRecosignal1;
8896 int kcountHBpositivedirectionRecosignal2 = 1;
8897 TH1F *h2CeffHBpositivedirectionRecosignal2 =
new TH1F(
"h2CeffHBpositivedirectionRecosignal2",
"",
nphi, 0., 72.);
8900 if (
jeta - 41 >= 0) {
8903 for (
int i = 1;
i < 2;
i++) {
8904 TH1F *HBpositivedirectionRecosignal2 = (TH1F *)h2CeffHBpositivedirectionRecosignal2->Clone(
"twod1");
8906 for (
int jphi = 0; jphi <
nphi; jphi++) {
8907 double ccc1 = arecosignalHB[
i][
jeta][jphi];
8909 HBpositivedirectionRecosignal2->Fill(jphi, ccc1);
8915 c3x5->cd(kcountHBpositivedirectionRecosignal2);
8916 HBpositivedirectionRecosignal2->SetMarkerStyle(20);
8917 HBpositivedirectionRecosignal2->SetMarkerSize(0.4);
8918 HBpositivedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
8919 HBpositivedirectionRecosignal2->SetXTitle(
"HBpositivedirectionRecosignal2 \b");
8920 HBpositivedirectionRecosignal2->SetMarkerColor(2);
8921 HBpositivedirectionRecosignal2->SetLineColor(0);
8925 if (kcountHBpositivedirectionRecosignal2 == 1)
8926 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 0; depth = 2 \b");
8927 if (kcountHBpositivedirectionRecosignal2 == 2)
8928 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 1; depth = 2 \b");
8929 if (kcountHBpositivedirectionRecosignal2 == 3)
8930 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 2; depth = 2 \b");
8931 if (kcountHBpositivedirectionRecosignal2 == 4)
8932 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 3; depth = 2 \b");
8933 if (kcountHBpositivedirectionRecosignal2 == 5)
8934 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 4; depth = 2 \b");
8935 if (kcountHBpositivedirectionRecosignal2 == 6)
8936 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 5; depth = 2 \b");
8937 if (kcountHBpositivedirectionRecosignal2 == 7)
8938 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 6; depth = 2 \b");
8939 if (kcountHBpositivedirectionRecosignal2 == 8)
8940 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 7; depth = 2 \b");
8941 if (kcountHBpositivedirectionRecosignal2 == 9)
8942 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 8; depth = 2 \b");
8943 if (kcountHBpositivedirectionRecosignal2 == 10)
8944 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 9; depth = 2 \b");
8945 if (kcountHBpositivedirectionRecosignal2 == 11)
8946 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 10; depth = 2 \b");
8947 if (kcountHBpositivedirectionRecosignal2 == 12)
8948 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 11; depth = 2 \b");
8949 if (kcountHBpositivedirectionRecosignal2 == 13)
8950 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 12; depth = 2 \b");
8951 if (kcountHBpositivedirectionRecosignal2 == 14)
8952 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 13; depth = 2 \b");
8953 if (kcountHBpositivedirectionRecosignal2 == 15)
8954 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 14; depth = 2 \b");
8955 if (kcountHBpositivedirectionRecosignal2 == 16)
8956 HBpositivedirectionRecosignal2->SetXTitle(
"R for HB+ jeta = 15; depth = 2 \b");
8957 HBpositivedirectionRecosignal2->Draw(
"Error");
8958 kcountHBpositivedirectionRecosignal2++;
8959 if (kcountHBpositivedirectionRecosignal2 > 16)
8968 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png");
8971 if (h2CeffHBpositivedirectionRecosignal2)
8972 delete h2CeffHBpositivedirectionRecosignal2;
8981 int kcountHBpositivedirectionRecosignal3 = 1;
8982 TH1F *h2CeffHBpositivedirectionRecosignal3 =
new TH1F(
"h2CeffHBpositivedirectionRecosignal3",
"",
nphi, 0., 72.);
8985 if (
jeta - 41 >= 0) {
8988 for (
int i = 2;
i < 3;
i++) {
8989 TH1F *HBpositivedirectionRecosignal3 = (TH1F *)h2CeffHBpositivedirectionRecosignal3->Clone(
"twod1");
8991 for (
int jphi = 0; jphi <
nphi; jphi++) {
8992 double ccc1 = arecosignalHB[
i][
jeta][jphi];
8994 HBpositivedirectionRecosignal3->Fill(jphi, ccc1);
9000 c3x5->cd(kcountHBpositivedirectionRecosignal3);
9001 HBpositivedirectionRecosignal3->SetMarkerStyle(20);
9002 HBpositivedirectionRecosignal3->SetMarkerSize(0.4);
9003 HBpositivedirectionRecosignal3->GetYaxis()->SetLabelSize(0.04);
9004 HBpositivedirectionRecosignal3->SetXTitle(
"HBpositivedirectionRecosignal3 \b");
9005 HBpositivedirectionRecosignal3->SetMarkerColor(2);
9006 HBpositivedirectionRecosignal3->SetLineColor(0);
9010 if (kcountHBpositivedirectionRecosignal3 == 1)
9011 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
9012 if (kcountHBpositivedirectionRecosignal3 == 2)
9013 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 1; depth = 3 \b");
9014 if (kcountHBpositivedirectionRecosignal3 == 3)
9015 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 2; depth = 3 \b");
9016 if (kcountHBpositivedirectionRecosignal3 == 4)
9017 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 3; depth = 3 \b");
9018 if (kcountHBpositivedirectionRecosignal3 == 5)
9019 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 4; depth = 3 \b");
9020 if (kcountHBpositivedirectionRecosignal3 == 6)
9021 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 5; depth = 3 \b");
9022 if (kcountHBpositivedirectionRecosignal3 == 7)
9023 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 6; depth = 3 \b");
9024 if (kcountHBpositivedirectionRecosignal3 == 8)
9025 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 7; depth = 3 \b");
9026 if (kcountHBpositivedirectionRecosignal3 == 9)
9027 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 8; depth = 3 \b");
9028 if (kcountHBpositivedirectionRecosignal3 == 10)
9029 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 9; depth = 3 \b");
9030 if (kcountHBpositivedirectionRecosignal3 == 11)
9031 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
9032 if (kcountHBpositivedirectionRecosignal3 == 12)
9033 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 11; depth = 3 \b");
9034 if (kcountHBpositivedirectionRecosignal3 == 13)
9035 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 12; depth = 3 \b");
9036 if (kcountHBpositivedirectionRecosignal3 == 14)
9037 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 13; depth = 3 \b");
9038 if (kcountHBpositivedirectionRecosignal3 == 15)
9039 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 14; depth = 3 \b");
9040 if (kcountHBpositivedirectionRecosignal3 == 16)
9041 HBpositivedirectionRecosignal3->SetXTitle(
"R for HB+ jeta = 15; depth = 3 \b");
9042 HBpositivedirectionRecosignal3->Draw(
"Error");
9043 kcountHBpositivedirectionRecosignal3++;
9044 if (kcountHBpositivedirectionRecosignal3 > 16)
9053 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png");
9056 if (h2CeffHBpositivedirectionRecosignal3)
9057 delete h2CeffHBpositivedirectionRecosignal3;
9066 int kcountHBpositivedirectionRecosignal4 = 1;
9067 TH1F *h2CeffHBpositivedirectionRecosignal4 =
new TH1F(
"h2CeffHBpositivedirectionRecosignal4",
"",
nphi, 0., 72.);
9071 if (
jeta - 41 >= 0) {
9074 for (
int i = 3;
i < 4;
i++) {
9075 TH1F *HBpositivedirectionRecosignal4 = (TH1F *)h2CeffHBpositivedirectionRecosignal4->Clone(
"twod1");
9078 for (
int jphi = 0; jphi <
nphi; jphi++) {
9079 double ccc1 = arecosignalHB[
i][
jeta][jphi];
9081 HBpositivedirectionRecosignal4->Fill(jphi, ccc1);
9087 c3x5->cd(kcountHBpositivedirectionRecosignal4);
9088 HBpositivedirectionRecosignal4->SetMarkerStyle(20);
9089 HBpositivedirectionRecosignal4->SetMarkerSize(0.4);
9090 HBpositivedirectionRecosignal4->GetYaxis()->SetLabelSize(0.04);
9091 HBpositivedirectionRecosignal4->SetXTitle(
"HBpositivedirectionRecosignal4 \b");
9092 HBpositivedirectionRecosignal4->SetMarkerColor(2);
9093 HBpositivedirectionRecosignal4->SetLineColor(0);
9097 if (kcountHBpositivedirectionRecosignal4 == 1)
9098 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 0; depth = 4 \b");
9099 if (kcountHBpositivedirectionRecosignal4 == 2)
9100 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 1; depth = 4 \b");
9101 if (kcountHBpositivedirectionRecosignal4 == 3)
9102 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 2; depth = 4 \b");
9103 if (kcountHBpositivedirectionRecosignal4 == 4)
9104 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 3; depth = 4 \b");
9105 if (kcountHBpositivedirectionRecosignal4 == 5)
9106 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 4; depth = 4 \b");
9107 if (kcountHBpositivedirectionRecosignal4 == 6)
9108 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 5; depth = 4 \b");
9109 if (kcountHBpositivedirectionRecosignal4 == 7)
9110 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 6; depth = 4 \b");
9111 if (kcountHBpositivedirectionRecosignal4 == 8)
9112 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 7; depth = 4 \b");
9113 if (kcountHBpositivedirectionRecosignal4 == 9)
9114 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 8; depth = 4 \b");
9115 if (kcountHBpositivedirectionRecosignal4 == 10)
9116 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 9; depth = 4 \b");
9117 if (kcountHBpositivedirectionRecosignal4 == 11)
9118 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 10; depth = 4 \b");
9119 if (kcountHBpositivedirectionRecosignal4 == 12)
9120 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 11; depth = 4 \b");
9121 if (kcountHBpositivedirectionRecosignal4 == 13)
9122 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 12; depth = 4 \b");
9123 if (kcountHBpositivedirectionRecosignal4 == 14)
9124 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 13; depth = 4 \b");
9125 if (kcountHBpositivedirectionRecosignal4 == 15)
9126 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 14; depth = 4 \b");
9127 if (kcountHBpositivedirectionRecosignal4 == 16)
9128 HBpositivedirectionRecosignal4->SetXTitle(
"R for HB+ jeta = 15; depth = 4 \b");
9129 HBpositivedirectionRecosignal4->Draw(
"Error");
9130 kcountHBpositivedirectionRecosignal4++;
9131 if (kcountHBpositivedirectionRecosignal4 > 16)
9140 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png");
9143 if (h2CeffHBpositivedirectionRecosignal4)
9144 delete h2CeffHBpositivedirectionRecosignal4;
9154 int kcountHBnegativedirectionRecosignal1 = 1;
9155 TH1F *h2CeffHBnegativedirectionRecosignal1 =
new TH1F(
"h2CeffHBnegativedirectionRecosignal1",
"",
nphi, 0., 72.);
9158 if (
jeta - 41 < 0) {
9161 for (
int i = 0;
i < 1;
i++) {
9162 TH1F *HBnegativedirectionRecosignal1 = (TH1F *)h2CeffHBnegativedirectionRecosignal1->Clone(
"twod1");
9164 for (
int jphi = 0; jphi <
nphi; jphi++) {
9165 double ccc1 = arecosignalHB[
i][
jeta][jphi];
9167 HBnegativedirectionRecosignal1->Fill(jphi, ccc1);
9173 c3x5->cd(kcountHBnegativedirectionRecosignal1);
9174 HBnegativedirectionRecosignal1->SetMarkerStyle(20);
9175 HBnegativedirectionRecosignal1->SetMarkerSize(0.4);
9176 HBnegativedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
9177 HBnegativedirectionRecosignal1->SetXTitle(
"HBnegativedirectionRecosignal1 \b");
9178 HBnegativedirectionRecosignal1->SetMarkerColor(2);
9179 HBnegativedirectionRecosignal1->SetLineColor(0);
9183 if (kcountHBnegativedirectionRecosignal1 == 1)
9184 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -16; depth = 1 \b");
9185 if (kcountHBnegativedirectionRecosignal1 == 2)
9186 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -15; depth = 1 \b");
9187 if (kcountHBnegativedirectionRecosignal1 == 3)
9188 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -14; depth = 1 \b");
9189 if (kcountHBnegativedirectionRecosignal1 == 4)
9190 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -13; depth = 1 \b");
9191 if (kcountHBnegativedirectionRecosignal1 == 5)
9192 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -12; depth = 1 \b");
9193 if (kcountHBnegativedirectionRecosignal1 == 6)
9194 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -11; depth = 1 \b");
9195 if (kcountHBnegativedirectionRecosignal1 == 7)
9196 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -10; depth = 1 \b");
9197 if (kcountHBnegativedirectionRecosignal1 == 8)
9198 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -9; depth = 1 \b");
9199 if (kcountHBnegativedirectionRecosignal1 == 9)
9200 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -8; depth = 1 \b");
9201 if (kcountHBnegativedirectionRecosignal1 == 10)
9202 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -7; depth = 1 \b");
9203 if (kcountHBnegativedirectionRecosignal1 == 11)
9204 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -6; depth = 1 \b");
9205 if (kcountHBnegativedirectionRecosignal1 == 12)
9206 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -5; depth = 1 \b");
9207 if (kcountHBnegativedirectionRecosignal1 == 13)
9208 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -4; depth = 1 \b");
9209 if (kcountHBnegativedirectionRecosignal1 == 14)
9210 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -3; depth = 1 \b");
9211 if (kcountHBnegativedirectionRecosignal1 == 15)
9212 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -2; depth = 1 \b");
9213 if (kcountHBnegativedirectionRecosignal1 == 16)
9214 HBnegativedirectionRecosignal1->SetXTitle(
"R for HB- jeta = -1; depth = 1 \b");
9215 HBnegativedirectionRecosignal1->Draw(
"Error");
9216 kcountHBnegativedirectionRecosignal1++;
9217 if (kcountHBnegativedirectionRecosignal1 > 16)
9226 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
9229 if (h2CeffHBnegativedirectionRecosignal1)
9230 delete h2CeffHBnegativedirectionRecosignal1;
9240 int kcountHBnegativedirectionRecosignal2 = 1;
9241 TH1F *h2CeffHBnegativedirectionRecosignal2 =
new TH1F(
"h2CeffHBnegativedirectionRecosignal2",
"",
nphi, 0., 72.);
9244 if (
jeta - 41 < 0) {
9247 for (
int i = 1;
i < 2;
i++) {
9248 TH1F *HBnegativedirectionRecosignal2 = (TH1F *)h2CeffHBnegativedirectionRecosignal2->Clone(
"twod1");
9250 for (
int jphi = 0; jphi <
nphi; jphi++) {
9251 double ccc1 = arecosignalHB[
i][
jeta][jphi];
9253 HBnegativedirectionRecosignal2->Fill(jphi, ccc1);
9259 c3x5->cd(kcountHBnegativedirectionRecosignal2);
9260 HBnegativedirectionRecosignal2->SetMarkerStyle(20);
9261 HBnegativedirectionRecosignal2->SetMarkerSize(0.4);
9262 HBnegativedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
9263 HBnegativedirectionRecosignal2->SetXTitle(
"HBnegativedirectionRecosignal2 \b");
9264 HBnegativedirectionRecosignal2->SetMarkerColor(2);
9265 HBnegativedirectionRecosignal2->SetLineColor(0);
9269 if (kcountHBnegativedirectionRecosignal2 == 1)
9270 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -16; depth = 2 \b");
9271 if (kcountHBnegativedirectionRecosignal2 == 2)
9272 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -15; depth = 2 \b");
9273 if (kcountHBnegativedirectionRecosignal2 == 3)
9274 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -14; depth = 2 \b");
9275 if (kcountHBnegativedirectionRecosignal2 == 4)
9276 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -13; depth = 2 \b");
9277 if (kcountHBnegativedirectionRecosignal2 == 5)
9278 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -12; depth = 2 \b");
9279 if (kcountHBnegativedirectionRecosignal2 == 6)
9280 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -11; depth = 2 \b");
9281 if (kcountHBnegativedirectionRecosignal2 == 7)
9282 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -10; depth = 2 \b");
9283 if (kcountHBnegativedirectionRecosignal2 == 8)
9284 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -9; depth = 2 \b");
9285 if (kcountHBnegativedirectionRecosignal2 == 9)
9286 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -8; depth = 2 \b");
9287 if (kcountHBnegativedirectionRecosignal2 == 10)
9288 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -7; depth = 2 \b");
9289 if (kcountHBnegativedirectionRecosignal2 == 11)
9290 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -6; depth = 2 \b");
9291 if (kcountHBnegativedirectionRecosignal2 == 12)
9292 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -5; depth = 2 \b");
9293 if (kcountHBnegativedirectionRecosignal2 == 13)
9294 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -4; depth = 2 \b");
9295 if (kcountHBnegativedirectionRecosignal2 == 14)
9296 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -3; depth = 2 \b");
9297 if (kcountHBnegativedirectionRecosignal2 == 15)
9298 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -2; depth = 2 \b");
9299 if (kcountHBnegativedirectionRecosignal2 == 16)
9300 HBnegativedirectionRecosignal2->SetXTitle(
"R for HB- jeta = -1; depth = 2 \b");
9301 HBnegativedirectionRecosignal2->Draw(
"Error");
9302 kcountHBnegativedirectionRecosignal2++;
9303 if (kcountHBnegativedirectionRecosignal2 > 16)
9312 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
9315 if (h2CeffHBnegativedirectionRecosignal2)
9316 delete h2CeffHBnegativedirectionRecosignal2;
9325 int kcountHBnegativedirectionRecosignal3 = 1;
9326 TH1F *h2CeffHBnegativedirectionRecosignal3 =
new TH1F(
"h2CeffHBnegativedirectionRecosignal3",
"",
nphi, 0., 72.);
9329 if (
jeta - 41 < 0) {
9332 for (
int i = 2;
i < 3;
i++) {
9333 TH1F *HBnegativedirectionRecosignal3 = (TH1F *)h2CeffHBnegativedirectionRecosignal3->Clone(
"twod1");
9335 for (
int jphi = 0; jphi <
nphi; jphi++) {
9336 double ccc1 = arecosignalHB[
i][
jeta][jphi];
9338 HBnegativedirectionRecosignal3->Fill(jphi, ccc1);
9344 c3x5->cd(kcountHBnegativedirectionRecosignal3);
9345 HBnegativedirectionRecosignal3->SetMarkerStyle(20);
9346 HBnegativedirectionRecosignal3->SetMarkerSize(0.4);
9347 HBnegativedirectionRecosignal3->GetYaxis()->SetLabelSize(0.04);
9348 HBnegativedirectionRecosignal3->SetXTitle(
"HBnegativedirectionRecosignal3 \b");
9349 HBnegativedirectionRecosignal3->SetMarkerColor(2);
9350 HBnegativedirectionRecosignal3->SetLineColor(0);
9354 if (kcountHBnegativedirectionRecosignal3 == 1)
9355 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -16; depth = 3 \b");
9356 if (kcountHBnegativedirectionRecosignal3 == 2)
9357 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -15; depth = 3 \b");
9358 if (kcountHBnegativedirectionRecosignal3 == 3)
9359 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -14; depth = 3 \b");
9360 if (kcountHBnegativedirectionRecosignal3 == 4)
9361 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -13; depth = 3 \b");
9362 if (kcountHBnegativedirectionRecosignal3 == 5)
9363 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -12; depth = 3 \b");
9364 if (kcountHBnegativedirectionRecosignal3 == 6)
9365 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -11; depth = 3 \b");
9366 if (kcountHBnegativedirectionRecosignal3 == 7)
9367 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -10; depth = 3 \b");
9368 if (kcountHBnegativedirectionRecosignal3 == 8)
9369 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -9; depth = 3 \b");
9370 if (kcountHBnegativedirectionRecosignal3 == 9)
9371 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -8; depth = 3 \b");
9372 if (kcountHBnegativedirectionRecosignal3 == 10)
9373 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -7; depth = 3 \b");
9374 if (kcountHBnegativedirectionRecosignal3 == 11)
9375 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -6; depth = 3 \b");
9376 if (kcountHBnegativedirectionRecosignal3 == 12)
9377 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -5; depth = 3 \b");
9378 if (kcountHBnegativedirectionRecosignal3 == 13)
9379 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -4; depth = 3 \b");
9380 if (kcountHBnegativedirectionRecosignal3 == 14)
9381 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -3; depth = 3 \b");
9382 if (kcountHBnegativedirectionRecosignal3 == 15)
9383 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -2; depth = 3 \b");
9384 if (kcountHBnegativedirectionRecosignal3 == 16)
9385 HBnegativedirectionRecosignal3->SetXTitle(
"R for HB- jeta = -1; depth = 3 \b");
9387 HBnegativedirectionRecosignal3->Draw(
"Error");
9388 kcountHBnegativedirectionRecosignal3++;
9389 if (kcountHBnegativedirectionRecosignal3 > 16)
9398 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
9401 if (h2CeffHBnegativedirectionRecosignal3)
9402 delete h2CeffHBnegativedirectionRecosignal3;
9411 int kcountHBnegativedirectionRecosignal4 = 1;
9412 TH1F *h2CeffHBnegativedirectionRecosignal4 =
new TH1F(
"h2CeffHBnegativedirectionRecosignal4",
"",
nphi, 0., 72.);
9416 if (
jeta - 41 < 0) {
9419 for (
int i = 3;
i < 4;
i++) {
9420 TH1F *HBnegativedirectionRecosignal4 = (TH1F *)h2CeffHBnegativedirectionRecosignal4->Clone(
"twod1");
9423 for (
int jphi = 0; jphi <
nphi; jphi++) {
9424 double ccc1 = arecosignalHB[
i][
jeta][jphi];
9426 HBnegativedirectionRecosignal4->Fill(jphi, ccc1);
9432 c3x5->cd(kcountHBnegativedirectionRecosignal4);
9433 HBnegativedirectionRecosignal4->SetMarkerStyle(20);
9434 HBnegativedirectionRecosignal4->SetMarkerSize(0.4);
9435 HBnegativedirectionRecosignal4->GetYaxis()->SetLabelSize(0.04);
9436 HBnegativedirectionRecosignal4->SetXTitle(
"HBnegativedirectionRecosignal4 \b");
9437 HBnegativedirectionRecosignal4->SetMarkerColor(2);
9438 HBnegativedirectionRecosignal4->SetLineColor(0);
9442 if (kcountHBnegativedirectionRecosignal4 == 1)
9443 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -16; depth = 4 \b");
9444 if (kcountHBnegativedirectionRecosignal4 == 2)
9445 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -15; depth = 4 \b");
9446 if (kcountHBnegativedirectionRecosignal4 == 3)
9447 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -14; depth = 4 \b");
9448 if (kcountHBnegativedirectionRecosignal4 == 4)
9449 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -13; depth = 4 \b");
9450 if (kcountHBnegativedirectionRecosignal4 == 5)
9451 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -12; depth = 4 \b");
9452 if (kcountHBnegativedirectionRecosignal4 == 6)
9453 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -11; depth = 4 \b");
9454 if (kcountHBnegativedirectionRecosignal4 == 7)
9455 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -10; depth = 4 \b");
9456 if (kcountHBnegativedirectionRecosignal4 == 8)
9457 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -9; depth = 4 \b");
9458 if (kcountHBnegativedirectionRecosignal4 == 9)
9459 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -8; depth = 4 \b");
9460 if (kcountHBnegativedirectionRecosignal4 == 10)
9461 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -7; depth = 4 \b");
9462 if (kcountHBnegativedirectionRecosignal4 == 11)
9463 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -6; depth = 4 \b");
9464 if (kcountHBnegativedirectionRecosignal4 == 12)
9465 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -5; depth = 4 \b");
9466 if (kcountHBnegativedirectionRecosignal4 == 13)
9467 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -4; depth = 4 \b");
9468 if (kcountHBnegativedirectionRecosignal4 == 14)
9469 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -3; depth = 4 \b");
9470 if (kcountHBnegativedirectionRecosignal4 == 15)
9471 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -2; depth = 4 \b");
9472 if (kcountHBnegativedirectionRecosignal4 == 16)
9473 HBnegativedirectionRecosignal4->SetXTitle(
"R for HB- jeta = -1; depth = 4 \b");
9474 HBnegativedirectionRecosignal4->Draw(
"Error");
9475 kcountHBnegativedirectionRecosignal4++;
9476 if (kcountHBnegativedirectionRecosignal4 > 16)
9485 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
9488 if (h2CeffHBnegativedirectionRecosignal4)
9489 delete h2CeffHBnegativedirectionRecosignal4;
9497 TH2F *recosignalVariance1HB1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HB1");
9498 TH2F *recosignalVariance0HB1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB1");
9499 TH2F *recosignalVarianceHB1 = (TH2F *)recosignalVariance1HB1->Clone(
"recosignalVarianceHB1");
9500 recosignalVarianceHB1->Divide(recosignalVariance1HB1, recosignalVariance0HB1, 1, 1,
"B");
9501 TH2F *recosignalVariance1HB2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HB2");
9502 TH2F *recosignalVariance0HB2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB2");
9503 TH2F *recosignalVarianceHB2 = (TH2F *)recosignalVariance1HB2->Clone(
"recosignalVarianceHB2");
9504 recosignalVarianceHB2->Divide(recosignalVariance1HB2, recosignalVariance0HB2, 1, 1,
"B");
9505 TH2F *recosignalVariance1HB3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HB3");
9506 TH2F *recosignalVariance0HB3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB3");
9507 TH2F *recosignalVarianceHB3 = (TH2F *)recosignalVariance1HB3->Clone(
"recosignalVarianceHB3");
9508 recosignalVarianceHB3->Divide(recosignalVariance1HB3, recosignalVariance0HB3, 1, 1,
"B");
9509 TH2F *recosignalVariance1HB4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HB4");
9510 TH2F *recosignalVariance0HB4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HB4");
9511 TH2F *recosignalVarianceHB4 = (TH2F *)recosignalVariance1HB4->Clone(
"recosignalVarianceHB4");
9512 recosignalVarianceHB4->Divide(recosignalVariance1HB4, recosignalVariance0HB4, 1, 1,
"B");
9518 double sumrecosignalHB0 = 0;
9519 int nsumrecosignalHB0 = 0;
9520 double sumrecosignalHB1 = 0;
9521 int nsumrecosignalHB1 = 0;
9522 double sumrecosignalHB2 = 0;
9523 int nsumrecosignalHB2 = 0;
9524 double sumrecosignalHB3 = 0;
9525 int nsumrecosignalHB3 = 0;
9526 for (
int jphi = 0; jphi < njphi; jphi++) {
9527 recosignalvarianceHB[0][
jeta][jphi] = recosignalVarianceHB1->GetBinContent(
jeta + 1, jphi + 1);
9528 recosignalvarianceHB[1][
jeta][jphi] = recosignalVarianceHB2->GetBinContent(
jeta + 1, jphi + 1);
9529 recosignalvarianceHB[2][
jeta][jphi] = recosignalVarianceHB3->GetBinContent(
jeta + 1, jphi + 1);
9530 recosignalvarianceHB[3][
jeta][jphi] = recosignalVarianceHB4->GetBinContent(
jeta + 1, jphi + 1);
9531 if (recosignalvarianceHB[0][
jeta][jphi] > 0.) {
9532 sumrecosignalHB0 += recosignalvarianceHB[0][
jeta][jphi];
9533 ++nsumrecosignalHB0;
9535 if (recosignalvarianceHB[1][
jeta][jphi] > 0.) {
9536 sumrecosignalHB1 += recosignalvarianceHB[1][
jeta][jphi];
9537 ++nsumrecosignalHB1;
9539 if (recosignalvarianceHB[2][
jeta][jphi] > 0.) {
9540 sumrecosignalHB2 += recosignalvarianceHB[2][
jeta][jphi];
9541 ++nsumrecosignalHB2;
9543 if (recosignalvarianceHB[3][
jeta][jphi] > 0.) {
9544 sumrecosignalHB3 += recosignalvarianceHB[3][
jeta][jphi];
9545 ++nsumrecosignalHB3;
9549 for (
int jphi = 0; jphi < njphi; jphi++) {
9550 if (recosignalvarianceHB[0][
jeta][jphi] > 0.)
9551 recosignalvarianceHB[0][
jeta][jphi] /= (sumrecosignalHB0 / nsumrecosignalHB0);
9552 if (recosignalvarianceHB[1][
jeta][jphi] > 0.)
9553 recosignalvarianceHB[1][
jeta][jphi] /= (sumrecosignalHB1 / nsumrecosignalHB1);
9554 if (recosignalvarianceHB[2][
jeta][jphi] > 0.)
9555 recosignalvarianceHB[2][
jeta][jphi] /= (sumrecosignalHB2 / nsumrecosignalHB2);
9556 if (recosignalvarianceHB[3][
jeta][jphi] > 0.)
9557 recosignalvarianceHB[3][
jeta][jphi] /= (sumrecosignalHB3 / nsumrecosignalHB3);
9560 for (
int jphi = 0; jphi < njphi; jphi++) {
9562 recosignalvarianceHB[0][
jeta][jphi] -= arecosignalHB[0][
jeta][jphi] * arecosignalHB[0][
jeta][jphi];
9563 recosignalvarianceHB[0][
jeta][jphi] = fabs(recosignalvarianceHB[0][
jeta][jphi]);
9564 recosignalvarianceHB[1][
jeta][jphi] -= arecosignalHB[1][
jeta][jphi] * arecosignalHB[1][
jeta][jphi];
9565 recosignalvarianceHB[1][
jeta][jphi] = fabs(recosignalvarianceHB[1][
jeta][jphi]);
9566 recosignalvarianceHB[2][
jeta][jphi] -= arecosignalHB[2][
jeta][jphi] * arecosignalHB[2][
jeta][jphi];
9567 recosignalvarianceHB[2][
jeta][jphi] = fabs(recosignalvarianceHB[2][
jeta][jphi]);
9568 recosignalvarianceHB[3][
jeta][jphi] -= arecosignalHB[3][
jeta][jphi] * arecosignalHB[3][
jeta][jphi];
9569 recosignalvarianceHB[3][
jeta][jphi] = fabs(recosignalvarianceHB[3][
jeta][jphi]);
9581 TH2F *DefzDrecosignalHB42D =
new TH2F(
"DefzDrecosignalHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
9582 TH2F *DefzDrecosignalHB42D0 =
new TH2F(
"DefzDrecosignalHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
9583 TH2F *DefzDrecosignalHB42DF = (TH2F *)DefzDrecosignalHB42D0->Clone(
"DefzDrecosignalHB42DF");
9586 for (
int jphi = 0; jphi <
nphi; jphi++) {
9587 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9588 int k2plot =
jeta - 41;
9590 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9591 DefzDrecosignalHB42D->Fill(kkk, jphi, ccc1);
9592 DefzDrecosignalHB42D0->Fill(kkk, jphi, 1.);
9597 DefzDrecosignalHB42DF->Divide(DefzDrecosignalHB42D, DefzDrecosignalHB42D0, 1, 1,
"B");
9601 DefzDrecosignalHB42DF->SetMarkerStyle(20);
9602 DefzDrecosignalHB42DF->SetMarkerSize(0.4);
9603 DefzDrecosignalHB42DF->GetZaxis()->SetLabelSize(0.08);
9604 DefzDrecosignalHB42DF->SetXTitle(
"<D>_depth #eta \b");
9605 DefzDrecosignalHB42DF->SetYTitle(
" #phi \b");
9606 DefzDrecosignalHB42DF->SetZTitle(
"<D>_depth \b");
9607 DefzDrecosignalHB42DF->SetMarkerColor(2);
9608 DefzDrecosignalHB42DF->SetLineColor(
9610 DefzDrecosignalHB42DF->Draw(
"COLZ");
9613 c1x0->Print(
"DrecosignalGeneralD2PhiSymmetryHB.png");
9616 if (DefzDrecosignalHB42D)
9617 delete DefzDrecosignalHB42D;
9618 if (DefzDrecosignalHB42D0)
9619 delete DefzDrecosignalHB42D0;
9620 if (DefzDrecosignalHB42DF)
9621 delete DefzDrecosignalHB42DF;
9629 TH1F *DefzDrecosignalHB41D =
new TH1F(
"DefzDrecosignalHB41D",
"",
nphi, 0., 72.);
9630 TH1F *DefzDrecosignalHB41D0 =
new TH1F(
"DefzDrecosignalHB41D0",
"",
nphi, 0., 72.);
9631 TH1F *DefzDrecosignalHB41DF = (TH1F *)DefzDrecosignalHB41D0->Clone(
"DefzDrecosignalHB41DF");
9633 for (
int jphi = 0; jphi <
nphi; jphi++) {
9636 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9637 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9638 DefzDrecosignalHB41D->Fill(jphi, ccc1);
9639 DefzDrecosignalHB41D0->Fill(jphi, 1.);
9646 DefzDrecosignalHB41DF->Divide(
9647 DefzDrecosignalHB41D, DefzDrecosignalHB41D0, 1, 1,
"B");
9648 DefzDrecosignalHB41D0->Sumw2();
9652 DefzDrecosignalHB41DF->SetMarkerStyle(20);
9653 DefzDrecosignalHB41DF->SetMarkerSize(1.4);
9654 DefzDrecosignalHB41DF->GetZaxis()->SetLabelSize(0.08);
9655 DefzDrecosignalHB41DF->SetXTitle(
"#phi \b");
9656 DefzDrecosignalHB41DF->SetYTitle(
" <D> \b");
9657 DefzDrecosignalHB41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
9658 DefzDrecosignalHB41DF->SetMarkerColor(4);
9659 DefzDrecosignalHB41DF->SetLineColor(
9661 DefzDrecosignalHB41DF->Draw(
"Error");
9664 c1x1->Print(
"DrecosignalGeneralD1PhiSymmetryHB.png");
9667 if (DefzDrecosignalHB41D)
9668 delete DefzDrecosignalHB41D;
9669 if (DefzDrecosignalHB41D0)
9670 delete DefzDrecosignalHB41D0;
9671 if (DefzDrecosignalHB41DF)
9672 delete DefzDrecosignalHB41DF;
9682 int kcountHBpositivedirectionRecosignalD1 = 1;
9683 TH1F *h2CeffHBpositivedirectionRecosignalD1 =
new TH1F(
"h2CeffHBpositivedirectionRecosignalD1",
"",
nphi, 0., 72.);
9687 if (
jeta - 41 >= 0) {
9690 for (
int i = 0;
i < 1;
i++) {
9691 TH1F *HBpositivedirectionRecosignalD1 = (TH1F *)h2CeffHBpositivedirectionRecosignalD1->Clone(
"twod1");
9694 for (
int jphi = 0; jphi <
nphi; jphi++) {
9695 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9696 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9697 HBpositivedirectionRecosignalD1->Fill(jphi, ccc1);
9703 c3x5->cd(kcountHBpositivedirectionRecosignalD1);
9704 HBpositivedirectionRecosignalD1->SetMarkerStyle(20);
9705 HBpositivedirectionRecosignalD1->SetMarkerSize(0.4);
9706 HBpositivedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
9707 HBpositivedirectionRecosignalD1->SetXTitle(
"HBpositivedirectionRecosignalD1 \b");
9708 HBpositivedirectionRecosignalD1->SetMarkerColor(2);
9709 HBpositivedirectionRecosignalD1->SetLineColor(0);
9713 if (kcountHBpositivedirectionRecosignalD1 == 1)
9714 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 0; depth = 1 \b");
9715 if (kcountHBpositivedirectionRecosignalD1 == 2)
9716 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 1; depth = 1 \b");
9717 if (kcountHBpositivedirectionRecosignalD1 == 3)
9718 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 2; depth = 1 \b");
9719 if (kcountHBpositivedirectionRecosignalD1 == 4)
9720 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 3; depth = 1 \b");
9721 if (kcountHBpositivedirectionRecosignalD1 == 5)
9722 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 4; depth = 1 \b");
9723 if (kcountHBpositivedirectionRecosignalD1 == 6)
9724 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 5; depth = 1 \b");
9725 if (kcountHBpositivedirectionRecosignalD1 == 7)
9726 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 6; depth = 1 \b");
9727 if (kcountHBpositivedirectionRecosignalD1 == 8)
9728 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 7; depth = 1 \b");
9729 if (kcountHBpositivedirectionRecosignalD1 == 9)
9730 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 8; depth = 1 \b");
9731 if (kcountHBpositivedirectionRecosignalD1 == 10)
9732 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 9; depth = 1 \b");
9733 if (kcountHBpositivedirectionRecosignalD1 == 11)
9734 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 10; depth = 1 \b");
9735 if (kcountHBpositivedirectionRecosignalD1 == 12)
9736 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 11; depth = 1 \b");
9737 if (kcountHBpositivedirectionRecosignalD1 == 13)
9738 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 12; depth = 1 \b");
9739 if (kcountHBpositivedirectionRecosignalD1 == 14)
9740 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 13; depth = 1 \b");
9741 if (kcountHBpositivedirectionRecosignalD1 == 15)
9742 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 14; depth = 1 \b");
9743 if (kcountHBpositivedirectionRecosignalD1 == 16)
9744 HBpositivedirectionRecosignalD1->SetXTitle(
"D for HB+ jeta = 15; depth = 1 \b");
9745 HBpositivedirectionRecosignalD1->Draw(
"Error");
9746 kcountHBpositivedirectionRecosignalD1++;
9747 if (kcountHBpositivedirectionRecosignalD1 > 16)
9756 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png");
9759 if (h2CeffHBpositivedirectionRecosignalD1)
9760 delete h2CeffHBpositivedirectionRecosignalD1;
9768 int kcountHBpositivedirectionRecosignalD2 = 1;
9769 TH1F *h2CeffHBpositivedirectionRecosignalD2 =
new TH1F(
"h2CeffHBpositivedirectionRecosignalD2",
"",
nphi, 0., 72.);
9773 if (
jeta - 41 >= 0) {
9776 for (
int i = 1;
i < 2;
i++) {
9777 TH1F *HBpositivedirectionRecosignalD2 = (TH1F *)h2CeffHBpositivedirectionRecosignalD2->Clone(
"twod1");
9780 for (
int jphi = 0; jphi <
nphi; jphi++) {
9781 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9782 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9783 HBpositivedirectionRecosignalD2->Fill(jphi, ccc1);
9789 c3x5->cd(kcountHBpositivedirectionRecosignalD2);
9790 HBpositivedirectionRecosignalD2->SetMarkerStyle(20);
9791 HBpositivedirectionRecosignalD2->SetMarkerSize(0.4);
9792 HBpositivedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
9793 HBpositivedirectionRecosignalD2->SetXTitle(
"HBpositivedirectionRecosignalD2 \b");
9794 HBpositivedirectionRecosignalD2->SetMarkerColor(2);
9795 HBpositivedirectionRecosignalD2->SetLineColor(0);
9799 if (kcountHBpositivedirectionRecosignalD2 == 1)
9800 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 0; depth = 2 \b");
9801 if (kcountHBpositivedirectionRecosignalD2 == 2)
9802 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 1; depth = 2 \b");
9803 if (kcountHBpositivedirectionRecosignalD2 == 3)
9804 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 2; depth = 2 \b");
9805 if (kcountHBpositivedirectionRecosignalD2 == 4)
9806 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 3; depth = 2 \b");
9807 if (kcountHBpositivedirectionRecosignalD2 == 5)
9808 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 4; depth = 2 \b");
9809 if (kcountHBpositivedirectionRecosignalD2 == 6)
9810 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 5; depth = 2 \b");
9811 if (kcountHBpositivedirectionRecosignalD2 == 7)
9812 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 6; depth = 2 \b");
9813 if (kcountHBpositivedirectionRecosignalD2 == 8)
9814 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 7; depth = 2 \b");
9815 if (kcountHBpositivedirectionRecosignalD2 == 9)
9816 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 8; depth = 2 \b");
9817 if (kcountHBpositivedirectionRecosignalD2 == 10)
9818 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 9; depth = 2 \b");
9819 if (kcountHBpositivedirectionRecosignalD2 == 11)
9820 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 10; depth = 2 \b");
9821 if (kcountHBpositivedirectionRecosignalD2 == 12)
9822 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 11; depth = 2 \b");
9823 if (kcountHBpositivedirectionRecosignalD2 == 13)
9824 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 12; depth = 2 \b");
9825 if (kcountHBpositivedirectionRecosignalD2 == 14)
9826 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 13; depth = 2 \b");
9827 if (kcountHBpositivedirectionRecosignalD2 == 15)
9828 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 14; depth = 2 \b");
9829 if (kcountHBpositivedirectionRecosignalD2 == 16)
9830 HBpositivedirectionRecosignalD2->SetXTitle(
"D for HB+ jeta = 15; depth = 2 \b");
9831 HBpositivedirectionRecosignalD2->Draw(
"Error");
9832 kcountHBpositivedirectionRecosignalD2++;
9833 if (kcountHBpositivedirectionRecosignalD2 > 16)
9842 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png");
9845 if (h2CeffHBpositivedirectionRecosignalD2)
9846 delete h2CeffHBpositivedirectionRecosignalD2;
9854 int kcountHBpositivedirectionRecosignalD3 = 1;
9855 TH1F *h2CeffHBpositivedirectionRecosignalD3 =
new TH1F(
"h2CeffHBpositivedirectionRecosignalD3",
"",
nphi, 0., 72.);
9859 if (
jeta - 41 >= 0) {
9862 for (
int i = 2;
i < 3;
i++) {
9863 TH1F *HBpositivedirectionRecosignalD3 = (TH1F *)h2CeffHBpositivedirectionRecosignalD3->Clone(
"twod1");
9866 for (
int jphi = 0; jphi <
nphi; jphi++) {
9867 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9868 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9869 HBpositivedirectionRecosignalD3->Fill(jphi, ccc1);
9875 c3x5->cd(kcountHBpositivedirectionRecosignalD3);
9876 HBpositivedirectionRecosignalD3->SetMarkerStyle(20);
9877 HBpositivedirectionRecosignalD3->SetMarkerSize(0.4);
9878 HBpositivedirectionRecosignalD3->GetYaxis()->SetLabelSize(0.04);
9879 HBpositivedirectionRecosignalD3->SetXTitle(
"HBpositivedirectionRecosignalD3 \b");
9880 HBpositivedirectionRecosignalD3->SetMarkerColor(2);
9881 HBpositivedirectionRecosignalD3->SetLineColor(0);
9885 if (kcountHBpositivedirectionRecosignalD3 == 1)
9886 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 0; depth = 3 \b");
9887 if (kcountHBpositivedirectionRecosignalD3 == 2)
9888 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 1; depth = 3 \b");
9889 if (kcountHBpositivedirectionRecosignalD3 == 3)
9890 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 2; depth = 3 \b");
9891 if (kcountHBpositivedirectionRecosignalD3 == 4)
9892 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 3; depth = 3 \b");
9893 if (kcountHBpositivedirectionRecosignalD3 == 5)
9894 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 4; depth = 3 \b");
9895 if (kcountHBpositivedirectionRecosignalD3 == 6)
9896 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 5; depth = 3 \b");
9897 if (kcountHBpositivedirectionRecosignalD3 == 7)
9898 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 6; depth = 3 \b");
9899 if (kcountHBpositivedirectionRecosignalD3 == 8)
9900 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 7; depth = 3 \b");
9901 if (kcountHBpositivedirectionRecosignalD3 == 9)
9902 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 8; depth = 3 \b");
9903 if (kcountHBpositivedirectionRecosignalD3 == 10)
9904 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 9; depth = 3 \b");
9905 if (kcountHBpositivedirectionRecosignalD3 == 11)
9906 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 10; depth = 3 \b");
9907 if (kcountHBpositivedirectionRecosignalD3 == 12)
9908 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 11; depth = 3 \b");
9909 if (kcountHBpositivedirectionRecosignalD3 == 13)
9910 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 12; depth = 3 \b");
9911 if (kcountHBpositivedirectionRecosignalD3 == 14)
9912 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 13; depth = 3 \b");
9913 if (kcountHBpositivedirectionRecosignalD3 == 15)
9914 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 14; depth = 3 \b");
9915 if (kcountHBpositivedirectionRecosignalD3 == 16)
9916 HBpositivedirectionRecosignalD3->SetXTitle(
"D for HB+ jeta = 15; depth = 3 \b");
9917 HBpositivedirectionRecosignalD3->Draw(
"Error");
9918 kcountHBpositivedirectionRecosignalD3++;
9919 if (kcountHBpositivedirectionRecosignalD3 > 16)
9928 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png");
9931 if (h2CeffHBpositivedirectionRecosignalD3)
9932 delete h2CeffHBpositivedirectionRecosignalD3;
9940 int kcountHBpositivedirectionRecosignalD4 = 1;
9941 TH1F *h2CeffHBpositivedirectionRecosignalD4 =
new TH1F(
"h2CeffHBpositivedirectionRecosignalD4",
"",
nphi, 0., 72.);
9945 if (
jeta - 41 >= 0) {
9948 for (
int i = 3;
i < 4;
i++) {
9949 TH1F *HBpositivedirectionRecosignalD4 = (TH1F *)h2CeffHBpositivedirectionRecosignalD4->Clone(
"twod1");
9952 for (
int jphi = 0; jphi <
nphi; jphi++) {
9953 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
9954 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
9955 HBpositivedirectionRecosignalD4->Fill(jphi, ccc1);
9961 c3x5->cd(kcountHBpositivedirectionRecosignalD4);
9962 HBpositivedirectionRecosignalD4->SetMarkerStyle(20);
9963 HBpositivedirectionRecosignalD4->SetMarkerSize(0.4);
9964 HBpositivedirectionRecosignalD4->GetYaxis()->SetLabelSize(0.04);
9965 HBpositivedirectionRecosignalD4->SetXTitle(
"HBpositivedirectionRecosignalD4 \b");
9966 HBpositivedirectionRecosignalD4->SetMarkerColor(2);
9967 HBpositivedirectionRecosignalD4->SetLineColor(0);
9971 if (kcountHBpositivedirectionRecosignalD4 == 1)
9972 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 0; depth = 4 \b");
9973 if (kcountHBpositivedirectionRecosignalD4 == 2)
9974 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 1; depth = 4 \b");
9975 if (kcountHBpositivedirectionRecosignalD4 == 3)
9976 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 2; depth = 4 \b");
9977 if (kcountHBpositivedirectionRecosignalD4 == 4)
9978 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 3; depth = 4 \b");
9979 if (kcountHBpositivedirectionRecosignalD4 == 5)
9980 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 4; depth = 4 \b");
9981 if (kcountHBpositivedirectionRecosignalD4 == 6)
9982 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 5; depth = 4 \b");
9983 if (kcountHBpositivedirectionRecosignalD4 == 7)
9984 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 6; depth = 4 \b");
9985 if (kcountHBpositivedirectionRecosignalD4 == 8)
9986 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 7; depth = 4 \b");
9987 if (kcountHBpositivedirectionRecosignalD4 == 9)
9988 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 8; depth = 4 \b");
9989 if (kcountHBpositivedirectionRecosignalD4 == 10)
9990 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 9; depth = 4 \b");
9991 if (kcountHBpositivedirectionRecosignalD4 == 11)
9992 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 10; depth = 4 \b");
9993 if (kcountHBpositivedirectionRecosignalD4 == 12)
9994 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 11; depth = 4 \b");
9995 if (kcountHBpositivedirectionRecosignalD4 == 13)
9996 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 12; depth = 4 \b");
9997 if (kcountHBpositivedirectionRecosignalD4 == 14)
9998 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 13; depth = 4 \b");
9999 if (kcountHBpositivedirectionRecosignalD4 == 15)
10000 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 14; depth = 4 \b");
10001 if (kcountHBpositivedirectionRecosignalD4 == 16)
10002 HBpositivedirectionRecosignalD4->SetXTitle(
"D for HB+ jeta = 15; depth = 4 \b");
10003 HBpositivedirectionRecosignalD4->Draw(
"Error");
10004 kcountHBpositivedirectionRecosignalD4++;
10005 if (kcountHBpositivedirectionRecosignalD4 > 16)
10014 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png");
10017 if (h2CeffHBpositivedirectionRecosignalD4)
10018 delete h2CeffHBpositivedirectionRecosignalD4;
10026 c3x5->Divide(4, 4);
10028 int kcountHBnegativedirectionRecosignalD1 = 1;
10029 TH1F *h2CeffHBnegativedirectionRecosignalD1 =
new TH1F(
"h2CeffHBnegativedirectionRecosignalD1",
"",
nphi, 0., 72.);
10033 if (
jeta - 41 < 0) {
10036 for (
int i = 0;
i < 1;
i++) {
10037 TH1F *HBnegativedirectionRecosignalD1 = (TH1F *)h2CeffHBnegativedirectionRecosignalD1->Clone(
"twod1");
10040 for (
int jphi = 0; jphi <
nphi; jphi++) {
10041 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
10042 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
10043 HBnegativedirectionRecosignalD1->Fill(jphi, ccc1);
10047 if (ccctest > 0.) {
10049 c3x5->cd(kcountHBnegativedirectionRecosignalD1);
10050 HBnegativedirectionRecosignalD1->SetMarkerStyle(20);
10051 HBnegativedirectionRecosignalD1->SetMarkerSize(0.4);
10052 HBnegativedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
10053 HBnegativedirectionRecosignalD1->SetXTitle(
"HBnegativedirectionRecosignalD1 \b");
10054 HBnegativedirectionRecosignalD1->SetMarkerColor(2);
10055 HBnegativedirectionRecosignalD1->SetLineColor(0);
10059 if (kcountHBnegativedirectionRecosignalD1 == 1)
10060 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -16; depth = 1 \b");
10061 if (kcountHBnegativedirectionRecosignalD1 == 2)
10062 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -15; depth = 1 \b");
10063 if (kcountHBnegativedirectionRecosignalD1 == 3)
10064 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -14; depth = 1 \b");
10065 if (kcountHBnegativedirectionRecosignalD1 == 4)
10066 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -13; depth = 1 \b");
10067 if (kcountHBnegativedirectionRecosignalD1 == 5)
10068 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -12; depth = 1 \b");
10069 if (kcountHBnegativedirectionRecosignalD1 == 6)
10070 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -11; depth = 1 \b");
10071 if (kcountHBnegativedirectionRecosignalD1 == 7)
10072 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -10; depth = 1 \b");
10073 if (kcountHBnegativedirectionRecosignalD1 == 8)
10074 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -9; depth = 1 \b");
10075 if (kcountHBnegativedirectionRecosignalD1 == 9)
10076 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -8; depth = 1 \b");
10077 if (kcountHBnegativedirectionRecosignalD1 == 10)
10078 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -7; depth = 1 \b");
10079 if (kcountHBnegativedirectionRecosignalD1 == 11)
10080 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -6; depth = 1 \b");
10081 if (kcountHBnegativedirectionRecosignalD1 == 12)
10082 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -5; depth = 1 \b");
10083 if (kcountHBnegativedirectionRecosignalD1 == 13)
10084 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -4; depth = 1 \b");
10085 if (kcountHBnegativedirectionRecosignalD1 == 14)
10086 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -3; depth = 1 \b");
10087 if (kcountHBnegativedirectionRecosignalD1 == 15)
10088 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -2; depth = 1 \b");
10089 if (kcountHBnegativedirectionRecosignalD1 == 16)
10090 HBnegativedirectionRecosignalD1->SetXTitle(
"D for HB- jeta = -1; depth = 1 \b");
10091 HBnegativedirectionRecosignalD1->Draw(
"Error");
10092 kcountHBnegativedirectionRecosignalD1++;
10093 if (kcountHBnegativedirectionRecosignalD1 > 16)
10102 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
10105 if (h2CeffHBnegativedirectionRecosignalD1)
10106 delete h2CeffHBnegativedirectionRecosignalD1;
10112 c3x5->Divide(4, 4);
10114 int kcountHBnegativedirectionRecosignalD2 = 1;
10115 TH1F *h2CeffHBnegativedirectionRecosignalD2 =
new TH1F(
"h2CeffHBnegativedirectionRecosignalD2",
"",
nphi, 0., 72.);
10119 if (
jeta - 41 < 0) {
10122 for (
int i = 1;
i < 2;
i++) {
10123 TH1F *HBnegativedirectionRecosignalD2 = (TH1F *)h2CeffHBnegativedirectionRecosignalD2->Clone(
"twod1");
10126 for (
int jphi = 0; jphi <
nphi; jphi++) {
10127 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
10128 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
10129 HBnegativedirectionRecosignalD2->Fill(jphi, ccc1);
10133 if (ccctest > 0.) {
10135 c3x5->cd(kcountHBnegativedirectionRecosignalD2);
10136 HBnegativedirectionRecosignalD2->SetMarkerStyle(20);
10137 HBnegativedirectionRecosignalD2->SetMarkerSize(0.4);
10138 HBnegativedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
10139 HBnegativedirectionRecosignalD2->SetXTitle(
"HBnegativedirectionRecosignalD2 \b");
10140 HBnegativedirectionRecosignalD2->SetMarkerColor(2);
10141 HBnegativedirectionRecosignalD2->SetLineColor(0);
10145 if (kcountHBnegativedirectionRecosignalD2 == 1)
10146 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-16; depth = 2 \b");
10147 if (kcountHBnegativedirectionRecosignalD2 == 2)
10148 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-15; depth = 2 \b");
10149 if (kcountHBnegativedirectionRecosignalD2 == 3)
10150 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-14; depth = 2 \b");
10151 if (kcountHBnegativedirectionRecosignalD2 == 4)
10152 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-13; depth = 2 \b");
10153 if (kcountHBnegativedirectionRecosignalD2 == 5)
10154 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-12; depth = 2 \b");
10155 if (kcountHBnegativedirectionRecosignalD2 == 6)
10156 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-11; depth = 2 \b");
10157 if (kcountHBnegativedirectionRecosignalD2 == 7)
10158 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-10; depth = 2 \b");
10159 if (kcountHBnegativedirectionRecosignalD2 == 8)
10160 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-9 ; depth = 2 \b");
10161 if (kcountHBnegativedirectionRecosignalD2 == 9)
10162 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-8 ; depth = 2 \b");
10163 if (kcountHBnegativedirectionRecosignalD2 == 10)
10164 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-7 ; depth = 2 \b");
10165 if (kcountHBnegativedirectionRecosignalD2 == 11)
10166 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-6 ; depth = 2 \b");
10167 if (kcountHBnegativedirectionRecosignalD2 == 12)
10168 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-5 ; depth = 2 \b");
10169 if (kcountHBnegativedirectionRecosignalD2 == 13)
10170 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-4 ; depth = 2 \b");
10171 if (kcountHBnegativedirectionRecosignalD2 == 14)
10172 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-3 ; depth = 2 \b");
10173 if (kcountHBnegativedirectionRecosignalD2 == 15)
10174 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-2 ; depth = 2 \b");
10175 if (kcountHBnegativedirectionRecosignalD2 == 16)
10176 HBnegativedirectionRecosignalD2->SetXTitle(
"D for HB- jeta =-1 ; depth = 2 \b");
10177 HBnegativedirectionRecosignalD2->Draw(
"Error");
10178 kcountHBnegativedirectionRecosignalD2++;
10179 if (kcountHBnegativedirectionRecosignalD2 > 16)
10188 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
10191 if (h2CeffHBnegativedirectionRecosignalD2)
10192 delete h2CeffHBnegativedirectionRecosignalD2;
10198 c3x5->Divide(4, 4);
10200 int kcountHBnegativedirectionRecosignalD3 = 1;
10201 TH1F *h2CeffHBnegativedirectionRecosignalD3 =
new TH1F(
"h2CeffHBnegativedirectionRecosignalD3",
"",
nphi, 0., 72.);
10205 if (
jeta - 41 < 0) {
10208 for (
int i = 2;
i < 3;
i++) {
10209 TH1F *HBnegativedirectionRecosignalD3 = (TH1F *)h2CeffHBnegativedirectionRecosignalD3->Clone(
"twod1");
10212 for (
int jphi = 0; jphi <
nphi; jphi++) {
10213 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
10214 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
10215 HBnegativedirectionRecosignalD3->Fill(jphi, ccc1);
10219 if (ccctest > 0.) {
10221 c3x5->cd(kcountHBnegativedirectionRecosignalD3);
10222 HBnegativedirectionRecosignalD3->SetMarkerStyle(20);
10223 HBnegativedirectionRecosignalD3->SetMarkerSize(0.4);
10224 HBnegativedirectionRecosignalD3->GetYaxis()->SetLabelSize(0.04);
10225 HBnegativedirectionRecosignalD3->SetXTitle(
"HBnegativedirectionRecosignalD3 \b");
10226 HBnegativedirectionRecosignalD3->SetMarkerColor(2);
10227 HBnegativedirectionRecosignalD3->SetLineColor(0);
10231 if (kcountHBnegativedirectionRecosignalD3 == 1)
10232 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-16; depth = 3 \b");
10233 if (kcountHBnegativedirectionRecosignalD3 == 2)
10234 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-15; depth = 3 \b");
10235 if (kcountHBnegativedirectionRecosignalD3 == 3)
10236 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-14; depth = 3 \b");
10237 if (kcountHBnegativedirectionRecosignalD3 == 4)
10238 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-13; depth = 3 \b");
10239 if (kcountHBnegativedirectionRecosignalD3 == 5)
10240 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-12; depth = 3 \b");
10241 if (kcountHBnegativedirectionRecosignalD3 == 6)
10242 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-11; depth = 3 \b");
10243 if (kcountHBnegativedirectionRecosignalD3 == 7)
10244 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-10; depth = 3 \b");
10245 if (kcountHBnegativedirectionRecosignalD3 == 8)
10246 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-9 ; depth = 3 \b");
10247 if (kcountHBnegativedirectionRecosignalD3 == 9)
10248 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-8 ; depth = 3 \b");
10249 if (kcountHBnegativedirectionRecosignalD3 == 10)
10250 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-7 ; depth = 3 \b");
10251 if (kcountHBnegativedirectionRecosignalD3 == 11)
10252 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-6 ; depth = 3 \b");
10253 if (kcountHBnegativedirectionRecosignalD3 == 12)
10254 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-5 ; depth = 3 \b");
10255 if (kcountHBnegativedirectionRecosignalD3 == 13)
10256 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-4 ; depth = 3 \b");
10257 if (kcountHBnegativedirectionRecosignalD3 == 14)
10258 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-3 ; depth = 3 \b");
10259 if (kcountHBnegativedirectionRecosignalD3 == 15)
10260 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-2 ; depth = 3 \b");
10261 if (kcountHBnegativedirectionRecosignalD3 == 16)
10262 HBnegativedirectionRecosignalD3->SetXTitle(
"D for HB- jeta =-1 ; depth = 3 \b");
10263 HBnegativedirectionRecosignalD3->Draw(
"Error");
10264 kcountHBnegativedirectionRecosignalD3++;
10265 if (kcountHBnegativedirectionRecosignalD3 > 16)
10274 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
10277 if (h2CeffHBnegativedirectionRecosignalD3)
10278 delete h2CeffHBnegativedirectionRecosignalD3;
10284 c3x5->Divide(4, 4);
10286 int kcountHBnegativedirectionRecosignalD4 = 1;
10287 TH1F *h2CeffHBnegativedirectionRecosignalD4 =
new TH1F(
"h2CeffHBnegativedirectionRecosignalD4",
"",
nphi, 0., 72.);
10291 if (
jeta - 41 < 0) {
10294 for (
int i = 3;
i < 4;
i++) {
10295 TH1F *HBnegativedirectionRecosignalD4 = (TH1F *)h2CeffHBnegativedirectionRecosignalD4->Clone(
"twod1");
10298 for (
int jphi = 0; jphi <
nphi; jphi++) {
10299 double ccc1 = recosignalvarianceHB[
i][
jeta][jphi];
10300 if (arecosignalHB[
i][
jeta][jphi] > 0.) {
10301 HBnegativedirectionRecosignalD4->Fill(jphi, ccc1);
10305 if (ccctest > 0.) {
10307 c3x5->cd(kcountHBnegativedirectionRecosignalD4);
10308 HBnegativedirectionRecosignalD4->SetMarkerStyle(20);
10309 HBnegativedirectionRecosignalD4->SetMarkerSize(0.4);
10310 HBnegativedirectionRecosignalD4->GetYaxis()->SetLabelSize(0.04);
10311 HBnegativedirectionRecosignalD4->SetXTitle(
"HBnegativedirectionRecosignalD4 \b");
10312 HBnegativedirectionRecosignalD4->SetMarkerColor(2);
10313 HBnegativedirectionRecosignalD4->SetLineColor(0);
10317 if (kcountHBnegativedirectionRecosignalD4 == 1)
10318 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-16; depth = 4 \b");
10319 if (kcountHBnegativedirectionRecosignalD4 == 2)
10320 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-15; depth = 4 \b");
10321 if (kcountHBnegativedirectionRecosignalD4 == 3)
10322 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-14; depth = 4 \b");
10323 if (kcountHBnegativedirectionRecosignalD4 == 4)
10324 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-13; depth = 4 \b");
10325 if (kcountHBnegativedirectionRecosignalD4 == 5)
10326 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-12; depth = 4 \b");
10327 if (kcountHBnegativedirectionRecosignalD4 == 6)
10328 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-11; depth = 4 \b");
10329 if (kcountHBnegativedirectionRecosignalD4 == 7)
10330 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-10; depth = 4 \b");
10331 if (kcountHBnegativedirectionRecosignalD4 == 8)
10332 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-9 ; depth = 4 \b");
10333 if (kcountHBnegativedirectionRecosignalD4 == 9)
10334 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-8 ; depth = 4 \b");
10335 if (kcountHBnegativedirectionRecosignalD4 == 10)
10336 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-7 ; depth = 4 \b");
10337 if (kcountHBnegativedirectionRecosignalD4 == 11)
10338 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-6 ; depth = 4 \b");
10339 if (kcountHBnegativedirectionRecosignalD4 == 12)
10340 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-5 ; depth = 4 \b");
10341 if (kcountHBnegativedirectionRecosignalD4 == 13)
10342 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-4 ; depth = 4 \b");
10343 if (kcountHBnegativedirectionRecosignalD4 == 14)
10344 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-3 ; depth = 4 \b");
10345 if (kcountHBnegativedirectionRecosignalD4 == 15)
10346 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-2 ; depth = 4 \b");
10347 if (kcountHBnegativedirectionRecosignalD4 == 16)
10348 HBnegativedirectionRecosignalD4->SetXTitle(
"D for HB- jeta =-1 ; depth = 4 \b");
10349 HBnegativedirectionRecosignalD4->Draw(
"Error");
10350 kcountHBnegativedirectionRecosignalD4++;
10351 if (kcountHBnegativedirectionRecosignalD4 > 16)
10360 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
10363 if (h2CeffHBnegativedirectionRecosignalD4)
10364 delete h2CeffHBnegativedirectionRecosignalD4;
10377 double arecosignalhe[
ndepth][njeta][njphi];
10378 double recosignalvariancehe[
ndepth][njeta][njphi];
10380 TH2F *recSignalEnergy1HE1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE1");
10381 TH2F *recSignalEnergy0HE1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE1");
10382 TH2F *recSignalEnergyHE1 = (TH2F *)recSignalEnergy1HE1->Clone(
"recSignalEnergyHE1");
10383 recSignalEnergyHE1->Divide(recSignalEnergy1HE1, recSignalEnergy0HE1, 1, 1,
"B");
10384 TH2F *recSignalEnergy1HE2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE2");
10385 TH2F *recSignalEnergy0HE2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE2");
10386 TH2F *recSignalEnergyHE2 = (TH2F *)recSignalEnergy1HE2->Clone(
"recSignalEnergyHE2");
10387 recSignalEnergyHE2->Divide(recSignalEnergy1HE2, recSignalEnergy0HE2, 1, 1,
"B");
10388 TH2F *recSignalEnergy1HE3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE3");
10389 TH2F *recSignalEnergy0HE3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE3");
10390 TH2F *recSignalEnergyHE3 = (TH2F *)recSignalEnergy1HE3->Clone(
"recSignalEnergyHE3");
10391 recSignalEnergyHE3->Divide(recSignalEnergy1HE3, recSignalEnergy0HE3, 1, 1,
"B");
10392 TH2F *recSignalEnergy1HE4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE4");
10393 TH2F *recSignalEnergy0HE4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE4");
10394 TH2F *recSignalEnergyHE4 = (TH2F *)recSignalEnergy1HE4->Clone(
"recSignalEnergyHE4");
10395 recSignalEnergyHE4->Divide(recSignalEnergy1HE4, recSignalEnergy0HE4, 1, 1,
"B");
10396 TH2F *recSignalEnergy1HE5 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE5");
10397 TH2F *recSignalEnergy0HE5 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE5");
10398 TH2F *recSignalEnergyHE5 = (TH2F *)recSignalEnergy1HE5->Clone(
"recSignalEnergyHE5");
10399 recSignalEnergyHE5->Divide(recSignalEnergy1HE5, recSignalEnergy0HE5, 1, 1,
"B");
10400 TH2F *recSignalEnergy1HE6 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE6");
10401 TH2F *recSignalEnergy0HE6 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE6");
10402 TH2F *recSignalEnergyHE6 = (TH2F *)recSignalEnergy1HE6->Clone(
"recSignalEnergyHE6");
10403 recSignalEnergyHE6->Divide(recSignalEnergy1HE6, recSignalEnergy0HE6, 1, 1,
"B");
10404 TH2F *recSignalEnergy1HE7 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HE7");
10405 TH2F *recSignalEnergy0HE7 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE7");
10406 TH2F *recSignalEnergyHE7 = (TH2F *)recSignalEnergy1HE7->Clone(
"recSignalEnergyHE7");
10407 recSignalEnergyHE7->Divide(recSignalEnergy1HE7, recSignalEnergy0HE7, 1, 1,
"B");
10411 double sumrecosignalHE0 = 0;
10412 int nsumrecosignalHE0 = 0;
10413 double sumrecosignalHE1 = 0;
10414 int nsumrecosignalHE1 = 0;
10415 double sumrecosignalHE2 = 0;
10416 int nsumrecosignalHE2 = 0;
10417 double sumrecosignalHE3 = 0;
10418 int nsumrecosignalHE3 = 0;
10419 double sumrecosignalHE4 = 0;
10420 int nsumrecosignalHE4 = 0;
10421 double sumrecosignalHE5 = 0;
10422 int nsumrecosignalHE5 = 0;
10423 double sumrecosignalHE6 = 0;
10424 int nsumrecosignalHE6 = 0;
10425 for (
int jphi = 0; jphi < njphi; jphi++) {
10426 arecosignalhe[0][
jeta][jphi] = recSignalEnergyHE1->GetBinContent(
jeta + 1, jphi + 1);
10427 arecosignalhe[1][
jeta][jphi] = recSignalEnergyHE2->GetBinContent(
jeta + 1, jphi + 1);
10428 arecosignalhe[2][
jeta][jphi] = recSignalEnergyHE3->GetBinContent(
jeta + 1, jphi + 1);
10429 arecosignalhe[3][
jeta][jphi] = recSignalEnergyHE4->GetBinContent(
jeta + 1, jphi + 1);
10430 arecosignalhe[4][
jeta][jphi] = recSignalEnergyHE5->GetBinContent(
jeta + 1, jphi + 1);
10431 arecosignalhe[5][
jeta][jphi] = recSignalEnergyHE6->GetBinContent(
jeta + 1, jphi + 1);
10432 arecosignalhe[6][
jeta][jphi] = recSignalEnergyHE7->GetBinContent(
jeta + 1, jphi + 1);
10433 if (arecosignalhe[0][
jeta][jphi] > 0.) {
10434 sumrecosignalHE0 += arecosignalhe[0][
jeta][jphi];
10435 ++nsumrecosignalHE0;
10437 if (arecosignalhe[1][
jeta][jphi] > 0.) {
10438 sumrecosignalHE1 += arecosignalhe[1][
jeta][jphi];
10439 ++nsumrecosignalHE1;
10441 if (arecosignalhe[2][
jeta][jphi] > 0.) {
10442 sumrecosignalHE2 += arecosignalhe[2][
jeta][jphi];
10443 ++nsumrecosignalHE2;
10445 if (arecosignalhe[3][
jeta][jphi] > 0.) {
10446 sumrecosignalHE3 += arecosignalhe[3][
jeta][jphi];
10447 ++nsumrecosignalHE3;
10449 if (arecosignalhe[4][
jeta][jphi] > 0.) {
10450 sumrecosignalHE4 += arecosignalhe[4][
jeta][jphi];
10451 ++nsumrecosignalHE4;
10453 if (arecosignalhe[5][
jeta][jphi] > 0.) {
10454 sumrecosignalHE5 += arecosignalhe[5][
jeta][jphi];
10455 ++nsumrecosignalHE5;
10457 if (arecosignalhe[6][
jeta][jphi] > 0.) {
10458 sumrecosignalHE6 += arecosignalhe[6][
jeta][jphi];
10459 ++nsumrecosignalHE6;
10463 for (
int jphi = 0; jphi < njphi; jphi++) {
10464 if (arecosignalhe[0][
jeta][jphi] > 0.)
10465 arecosignalhe[0][
jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0);
10466 if (arecosignalhe[1][
jeta][jphi] > 0.)
10467 arecosignalhe[1][
jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1);
10468 if (arecosignalhe[2][
jeta][jphi] > 0.)
10469 arecosignalhe[2][
jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2);
10470 if (arecosignalhe[3][
jeta][jphi] > 0.)
10471 arecosignalhe[3][
jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3);
10472 if (arecosignalhe[4][
jeta][jphi] > 0.)
10473 arecosignalhe[4][
jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4);
10474 if (arecosignalhe[5][
jeta][jphi] > 0.)
10475 arecosignalhe[5][
jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5);
10476 if (arecosignalhe[6][
jeta][jphi] > 0.)
10477 arecosignalhe[6][
jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6);
10486 c2x1->Divide(2, 1);
10488 TH2F *GefzRrecosignalHE42D =
new TH2F(
"GefzRrecosignalHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
10489 TH2F *GefzRrecosignalHE42D0 =
new TH2F(
"GefzRrecosignalHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
10490 TH2F *GefzRrecosignalHE42DF = (TH2F *)GefzRrecosignalHE42D0->Clone(
"GefzRrecosignalHE42DF");
10493 for (
int jphi = 0; jphi <
nphi; jphi++) {
10494 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10495 int k2plot =
jeta - 41;
10498 GefzRrecosignalHE42D->Fill(kkk, jphi, ccc1);
10499 GefzRrecosignalHE42D0->Fill(kkk, jphi, 1.);
10504 GefzRrecosignalHE42DF->Divide(GefzRrecosignalHE42D, GefzRrecosignalHE42D0, 1, 1,
"B");
10507 GefzRrecosignalHE42DF->SetXTitle(
"<R>_depth #eta \b");
10508 GefzRrecosignalHE42DF->SetYTitle(
" #phi \b");
10509 GefzRrecosignalHE42DF->Draw(
"COLZ");
10512 TH1F *energyhitSignal_HE = (TH1F *)
dir->FindObjectAny(
"h_energyhitSignal_HE");
10513 energyhitSignal_HE->SetMarkerStyle(20);
10514 energyhitSignal_HE->SetMarkerSize(0.4);
10515 energyhitSignal_HE->GetYaxis()->SetLabelSize(0.04);
10516 energyhitSignal_HE->SetXTitle(
"energyhitSignal_HE \b");
10517 energyhitSignal_HE->SetMarkerColor(2);
10518 energyhitSignal_HE->SetLineColor(0);
10521 energyhitSignal_HE->Draw(
"Error");
10525 c2x1->Print(
"RrecosignalGeneralD2PhiSymmetryHE.png");
10528 if (GefzRrecosignalHE42D)
10529 delete GefzRrecosignalHE42D;
10530 if (GefzRrecosignalHE42D0)
10531 delete GefzRrecosignalHE42D0;
10532 if (GefzRrecosignalHE42DF)
10533 delete GefzRrecosignalHE42DF;
10539 c1x1->Divide(1, 1);
10541 TH1F *GefzRrecosignalHE41D =
new TH1F(
"GefzRrecosignalHE41D",
"",
nphi, 0., 72.);
10542 TH1F *GefzRrecosignalHE41D0 =
new TH1F(
"GefzRrecosignalHE41D0",
"",
nphi, 0., 72.);
10543 TH1F *GefzRrecosignalHE41DF = (TH1F *)GefzRrecosignalHE41D0->Clone(
"GefzRrecosignalHE41DF");
10544 for (
int jphi = 0; jphi <
nphi; jphi++) {
10547 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10549 GefzRrecosignalHE41D->Fill(jphi, ccc1);
10550 GefzRrecosignalHE41D0->Fill(jphi, 1.);
10555 GefzRrecosignalHE41DF->Divide(
10556 GefzRrecosignalHE41D, GefzRrecosignalHE41D0, 1, 1,
"B");
10557 GefzRrecosignalHE41D0->Sumw2();
10561 GefzRrecosignalHE41DF->SetMarkerStyle(20);
10562 GefzRrecosignalHE41DF->SetMarkerSize(1.4);
10563 GefzRrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08);
10564 GefzRrecosignalHE41DF->SetXTitle(
"#phi \b");
10565 GefzRrecosignalHE41DF->SetYTitle(
" <R> \b");
10566 GefzRrecosignalHE41DF->SetZTitle(
"<R>_PHI - AllDepthes \b");
10567 GefzRrecosignalHE41DF->SetMarkerColor(4);
10568 GefzRrecosignalHE41DF->SetLineColor(
10570 GefzRrecosignalHE41DF->Draw(
"Error");
10573 c1x1->Print(
"RrecosignalGeneralD1PhiSymmetryHE.png");
10576 if (GefzRrecosignalHE41D)
10577 delete GefzRrecosignalHE41D;
10578 if (GefzRrecosignalHE41D0)
10579 delete GefzRrecosignalHE41D0;
10580 if (GefzRrecosignalHE41DF)
10581 delete GefzRrecosignalHE41DF;
10589 c3x5->Divide(3, 5);
10591 int kcountHEpositivedirectionRecosignal1 = 1;
10592 TH1F *h2CeffHEpositivedirectionRecosignal1 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal1",
"",
nphi, 0., 72.);
10595 if (
jeta - 41 >= 0) {
10598 for (
int i = 0;
i < 1;
i++) {
10599 TH1F *HEpositivedirectionRecosignal1 = (TH1F *)h2CeffHEpositivedirectionRecosignal1->Clone(
"twod1");
10601 for (
int jphi = 0; jphi <
nphi; jphi++) {
10602 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10604 HEpositivedirectionRecosignal1->Fill(jphi, ccc1);
10608 if (ccctest > 0.) {
10610 c3x5->cd(kcountHEpositivedirectionRecosignal1);
10611 HEpositivedirectionRecosignal1->SetMarkerStyle(20);
10612 HEpositivedirectionRecosignal1->SetMarkerSize(0.4);
10613 HEpositivedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
10614 HEpositivedirectionRecosignal1->SetXTitle(
"HEpositivedirectionRecosignal1 \b");
10615 HEpositivedirectionRecosignal1->SetMarkerColor(2);
10616 HEpositivedirectionRecosignal1->SetLineColor(0);
10620 if (kcountHEpositivedirectionRecosignal1 == 1)
10621 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 17; depth = 1 \b");
10622 if (kcountHEpositivedirectionRecosignal1 == 2)
10623 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 18; depth = 1 \b");
10624 if (kcountHEpositivedirectionRecosignal1 == 3)
10625 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 19; depth = 1 \b");
10626 if (kcountHEpositivedirectionRecosignal1 == 4)
10627 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 20; depth = 1 \b");
10628 if (kcountHEpositivedirectionRecosignal1 == 5)
10629 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 21; depth = 1 \b");
10630 if (kcountHEpositivedirectionRecosignal1 == 6)
10631 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 22; depth = 1 \b");
10632 if (kcountHEpositivedirectionRecosignal1 == 7)
10633 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 23; depth = 1 \b");
10634 if (kcountHEpositivedirectionRecosignal1 == 8)
10635 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 24; depth = 1 \b");
10636 if (kcountHEpositivedirectionRecosignal1 == 9)
10637 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 25; depth = 1 \b");
10638 if (kcountHEpositivedirectionRecosignal1 == 10)
10639 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 26; depth = 1 \b");
10640 if (kcountHEpositivedirectionRecosignal1 == 11)
10641 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 27; depth = 1 \b");
10642 if (kcountHEpositivedirectionRecosignal1 == 12)
10643 HEpositivedirectionRecosignal1->SetXTitle(
"R for HE+ jeta = 28; depth = 1 \b");
10644 HEpositivedirectionRecosignal1->Draw(
"Error");
10645 kcountHEpositivedirectionRecosignal1++;
10646 if (kcountHEpositivedirectionRecosignal1 > 12)
10655 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png");
10658 if (h2CeffHEpositivedirectionRecosignal1)
10659 delete h2CeffHEpositivedirectionRecosignal1;
10667 c3x5->Divide(3, 5);
10669 int kcountHEpositivedirectionRecosignal2 = 1;
10670 TH1F *h2CeffHEpositivedirectionRecosignal2 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal2",
"",
nphi, 0., 72.);
10673 if (
jeta - 41 >= 0) {
10676 for (
int i = 1;
i < 2;
i++) {
10677 TH1F *HEpositivedirectionRecosignal2 = (TH1F *)h2CeffHEpositivedirectionRecosignal2->Clone(
"twod1");
10679 for (
int jphi = 0; jphi <
nphi; jphi++) {
10680 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10682 HEpositivedirectionRecosignal2->Fill(jphi, ccc1);
10686 if (ccctest > 0.) {
10688 c3x5->cd(kcountHEpositivedirectionRecosignal2);
10689 HEpositivedirectionRecosignal2->SetMarkerStyle(20);
10690 HEpositivedirectionRecosignal2->SetMarkerSize(0.4);
10691 HEpositivedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
10692 HEpositivedirectionRecosignal2->SetXTitle(
"HEpositivedirectionRecosignal2 \b");
10693 HEpositivedirectionRecosignal2->SetMarkerColor(2);
10694 HEpositivedirectionRecosignal2->SetLineColor(0);
10698 if (kcountHEpositivedirectionRecosignal2 == 1)
10699 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 16; depth = 2 \b");
10700 if (kcountHEpositivedirectionRecosignal2 == 2)
10701 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 17; depth = 2 \b");
10702 if (kcountHEpositivedirectionRecosignal2 == 3)
10703 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 18; depth = 2 \b");
10704 if (kcountHEpositivedirectionRecosignal2 == 4)
10705 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 19; depth = 2 \b");
10706 if (kcountHEpositivedirectionRecosignal2 == 5)
10707 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 20; depth = 2 \b");
10708 if (kcountHEpositivedirectionRecosignal2 == 6)
10709 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 21; depth = 2 \b");
10710 if (kcountHEpositivedirectionRecosignal2 == 7)
10711 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 22; depth = 2 \b");
10712 if (kcountHEpositivedirectionRecosignal2 == 8)
10713 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 23; depth = 2 \b");
10714 if (kcountHEpositivedirectionRecosignal2 == 9)
10715 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 24; depth = 2 \b");
10716 if (kcountHEpositivedirectionRecosignal2 == 10)
10717 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 25; depth = 2 \b");
10718 if (kcountHEpositivedirectionRecosignal2 == 11)
10719 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 26; depth = 2 \b");
10720 if (kcountHEpositivedirectionRecosignal2 == 12)
10721 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 27; depth = 2 \b");
10722 if (kcountHEpositivedirectionRecosignal2 == 13)
10723 HEpositivedirectionRecosignal2->SetXTitle(
"R for HE+ jeta = 28; depth = 2 \b");
10724 HEpositivedirectionRecosignal2->Draw(
"Error");
10725 kcountHEpositivedirectionRecosignal2++;
10726 if (kcountHEpositivedirectionRecosignal2 > 13)
10735 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png");
10738 if (h2CeffHEpositivedirectionRecosignal2)
10739 delete h2CeffHEpositivedirectionRecosignal2;
10746 c3x5->Divide(3, 5);
10748 int kcountHEpositivedirectionRecosignal3 = 1;
10749 TH1F *h2CeffHEpositivedirectionRecosignal3 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal3",
"",
nphi, 0., 72.);
10752 if (
jeta - 41 >= 0) {
10755 for (
int i = 2;
i < 3;
i++) {
10756 TH1F *HEpositivedirectionRecosignal3 = (TH1F *)h2CeffHEpositivedirectionRecosignal3->Clone(
"twod1");
10758 for (
int jphi = 0; jphi <
nphi; jphi++) {
10759 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10761 HEpositivedirectionRecosignal3->Fill(jphi, ccc1);
10765 if (ccctest > 0.) {
10767 c3x5->cd(kcountHEpositivedirectionRecosignal3);
10768 HEpositivedirectionRecosignal3->SetMarkerStyle(20);
10769 HEpositivedirectionRecosignal3->SetMarkerSize(0.4);
10770 HEpositivedirectionRecosignal3->GetYaxis()->SetLabelSize(0.04);
10771 HEpositivedirectionRecosignal3->SetXTitle(
"HEpositivedirectionRecosignal3 \b");
10772 HEpositivedirectionRecosignal3->SetMarkerColor(2);
10773 HEpositivedirectionRecosignal3->SetLineColor(0);
10777 if (kcountHEpositivedirectionRecosignal3 == 1)
10778 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 16; depth = 3 \b");
10779 if (kcountHEpositivedirectionRecosignal3 == 2)
10780 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 17; depth = 3 \b");
10781 if (kcountHEpositivedirectionRecosignal3 == 3)
10782 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 18; depth = 3 \b");
10783 if (kcountHEpositivedirectionRecosignal3 == 4)
10784 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 19; depth = 3 \b");
10785 if (kcountHEpositivedirectionRecosignal3 == 5)
10786 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 20; depth = 3 \b");
10787 if (kcountHEpositivedirectionRecosignal3 == 6)
10788 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 21; depth = 3 \b");
10789 if (kcountHEpositivedirectionRecosignal3 == 7)
10790 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 22; depth = 3 \b");
10791 if (kcountHEpositivedirectionRecosignal3 == 8)
10792 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 23; depth = 3 \b");
10793 if (kcountHEpositivedirectionRecosignal3 == 9)
10794 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 24; depth = 3 \b");
10795 if (kcountHEpositivedirectionRecosignal3 == 10)
10796 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 25; depth = 3 \b");
10797 if (kcountHEpositivedirectionRecosignal3 == 11)
10798 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 26; depth = 3 \b");
10799 if (kcountHEpositivedirectionRecosignal3 == 12)
10800 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 27; depth = 3 \b");
10801 if (kcountHEpositivedirectionRecosignal3 == 13)
10802 HEpositivedirectionRecosignal3->SetXTitle(
"R for HE+ jeta = 28; depth = 3 \b");
10803 HEpositivedirectionRecosignal3->Draw(
"Error");
10804 kcountHEpositivedirectionRecosignal3++;
10805 if (kcountHEpositivedirectionRecosignal3 > 13)
10814 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png");
10817 if (h2CeffHEpositivedirectionRecosignal3)
10818 delete h2CeffHEpositivedirectionRecosignal3;
10825 c3x5->Divide(3, 5);
10827 int kcountHEpositivedirectionRecosignal4 = 1;
10828 TH1F *h2CeffHEpositivedirectionRecosignal4 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal4",
"",
nphi, 0., 72.);
10832 if (
jeta - 41 >= 0) {
10835 for (
int i = 3;
i < 4;
i++) {
10836 TH1F *HEpositivedirectionRecosignal4 = (TH1F *)h2CeffHEpositivedirectionRecosignal4->Clone(
"twod1");
10839 for (
int jphi = 0; jphi <
nphi; jphi++) {
10840 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10842 HEpositivedirectionRecosignal4->Fill(jphi, ccc1);
10846 if (ccctest > 0.) {
10848 c3x5->cd(kcountHEpositivedirectionRecosignal4);
10849 HEpositivedirectionRecosignal4->SetMarkerStyle(20);
10850 HEpositivedirectionRecosignal4->SetMarkerSize(0.4);
10851 HEpositivedirectionRecosignal4->GetYaxis()->SetLabelSize(0.04);
10852 HEpositivedirectionRecosignal4->SetXTitle(
"HEpositivedirectionRecosignal4 \b");
10853 HEpositivedirectionRecosignal4->SetMarkerColor(2);
10854 HEpositivedirectionRecosignal4->SetLineColor(0);
10858 if (kcountHEpositivedirectionRecosignal4 == 1)
10859 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 15; depth = 4 \b");
10860 if (kcountHEpositivedirectionRecosignal4 == 2)
10861 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 17; depth = 4 \b");
10862 if (kcountHEpositivedirectionRecosignal4 == 3)
10863 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 18; depth = 4 \b");
10864 if (kcountHEpositivedirectionRecosignal4 == 4)
10865 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 19; depth = 4 \b");
10866 if (kcountHEpositivedirectionRecosignal4 == 5)
10867 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 20; depth = 4 \b");
10868 if (kcountHEpositivedirectionRecosignal4 == 6)
10869 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 21; depth = 4 \b");
10870 if (kcountHEpositivedirectionRecosignal4 == 7)
10871 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 22; depth = 4 \b");
10872 if (kcountHEpositivedirectionRecosignal4 == 8)
10873 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 23; depth = 4 \b");
10874 if (kcountHEpositivedirectionRecosignal4 == 9)
10875 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 24; depth = 4 \b");
10876 if (kcountHEpositivedirectionRecosignal4 == 10)
10877 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 25; depth = 4 \b");
10878 if (kcountHEpositivedirectionRecosignal4 == 11)
10879 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 26; depth = 4 \b");
10880 if (kcountHEpositivedirectionRecosignal4 == 12)
10881 HEpositivedirectionRecosignal4->SetXTitle(
"R for HE+ jeta = 27; depth = 4 \b");
10882 HEpositivedirectionRecosignal4->Draw(
"Error");
10883 kcountHEpositivedirectionRecosignal4++;
10884 if (kcountHEpositivedirectionRecosignal4 > 12)
10893 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png");
10896 if (h2CeffHEpositivedirectionRecosignal4)
10897 delete h2CeffHEpositivedirectionRecosignal4;
10904 c3x5->Divide(3, 5);
10906 int kcountHEpositivedirectionRecosignal5 = 1;
10907 TH1F *h2CeffHEpositivedirectionRecosignal5 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal5",
"",
nphi, 0., 72.);
10911 if (
jeta - 41 >= 0) {
10914 for (
int i = 4;
i < 5;
i++) {
10915 TH1F *HEpositivedirectionRecosignal5 = (TH1F *)h2CeffHEpositivedirectionRecosignal5->Clone(
"twod1");
10918 for (
int jphi = 0; jphi <
nphi; jphi++) {
10921 double ccc1 = arecosignalhe[
i][
jeta][jphi];
10923 HEpositivedirectionRecosignal5->Fill(jphi, ccc1);
10927 if (ccctest > 0.) {
10929 c3x5->cd(kcountHEpositivedirectionRecosignal5);
10930 HEpositivedirectionRecosignal5->SetMarkerStyle(20);
10931 HEpositivedirectionRecosignal5->SetMarkerSize(0.4);
10932 HEpositivedirectionRecosignal5->GetYaxis()->SetLabelSize(0.04);
10933 HEpositivedirectionRecosignal5->SetXTitle(
"HEpositivedirectionRecosignal5 \b");
10934 HEpositivedirectionRecosignal5->SetMarkerColor(2);
10935 HEpositivedirectionRecosignal5->SetLineColor(0);
10939 if (kcountHEpositivedirectionRecosignal5 == 1)
10940 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 17; depth = 5 \b");
10941 if (kcountHEpositivedirectionRecosignal5 == 2)
10942 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 18; depth = 5 \b");
10943 if (kcountHEpositivedirectionRecosignal5 == 3)
10944 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 19; depth = 5 \b");
10945 if (kcountHEpositivedirectionRecosignal5 == 4)
10946 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 20; depth = 5 \b");
10947 if (kcountHEpositivedirectionRecosignal5 == 5)
10948 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 21; depth = 5 \b");
10949 if (kcountHEpositivedirectionRecosignal5 == 6)
10950 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 22; depth = 5 \b");
10951 if (kcountHEpositivedirectionRecosignal5 == 7)
10952 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 23; depth = 5 \b");
10953 if (kcountHEpositivedirectionRecosignal5 == 8)
10954 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 24; depth = 5 \b");
10955 if (kcountHEpositivedirectionRecosignal5 == 9)
10956 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 25; depth = 5 \b");
10957 if (kcountHEpositivedirectionRecosignal5 == 10)
10958 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 26; depth = 5 \b");
10959 if (kcountHEpositivedirectionRecosignal5 == 11)
10960 HEpositivedirectionRecosignal5->SetXTitle(
"R for HE+ jeta = 27; depth = 5 \b");
10961 HEpositivedirectionRecosignal5->Draw(
"Error");
10962 kcountHEpositivedirectionRecosignal5++;
10963 if (kcountHEpositivedirectionRecosignal5 > 11)
10972 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png");
10975 if (h2CeffHEpositivedirectionRecosignal5)
10976 delete h2CeffHEpositivedirectionRecosignal5;
10983 c3x5->Divide(3, 5);
10985 int kcountHEpositivedirectionRecosignal6 = 1;
10986 TH1F *h2CeffHEpositivedirectionRecosignal6 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal6",
"",
nphi, 0., 72.);
10990 if (
jeta - 41 >= 0) {
10993 for (
int i = 5;
i < 6;
i++) {
10994 TH1F *HEpositivedirectionRecosignal6 = (TH1F *)h2CeffHEpositivedirectionRecosignal6->Clone(
"twod1");
10997 for (
int jphi = 0; jphi <
nphi; jphi++) {
10998 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11000 HEpositivedirectionRecosignal6->Fill(jphi, ccc1);
11004 if (ccctest > 0.) {
11006 c3x5->cd(kcountHEpositivedirectionRecosignal6);
11007 HEpositivedirectionRecosignal6->SetMarkerStyle(20);
11008 HEpositivedirectionRecosignal6->SetMarkerSize(0.4);
11009 HEpositivedirectionRecosignal6->GetYaxis()->SetLabelSize(0.04);
11010 HEpositivedirectionRecosignal6->SetXTitle(
"HEpositivedirectionRecosignal6 \b");
11011 HEpositivedirectionRecosignal6->SetMarkerColor(2);
11012 HEpositivedirectionRecosignal6->SetLineColor(0);
11016 if (kcountHEpositivedirectionRecosignal6 == 1)
11017 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 18; depth = 6 \b");
11018 if (kcountHEpositivedirectionRecosignal6 == 2)
11019 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 19; depth = 6 \b");
11020 if (kcountHEpositivedirectionRecosignal6 == 3)
11021 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 20; depth = 6 \b");
11022 if (kcountHEpositivedirectionRecosignal6 == 4)
11023 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 21; depth = 6 \b");
11024 if (kcountHEpositivedirectionRecosignal6 == 5)
11025 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 22; depth = 6 \b");
11026 if (kcountHEpositivedirectionRecosignal6 == 6)
11027 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 23; depth = 6 \b");
11028 if (kcountHEpositivedirectionRecosignal6 == 7)
11029 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 24; depth = 6 \b");
11030 if (kcountHEpositivedirectionRecosignal6 == 8)
11031 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 25; depth = 6 \b");
11032 if (kcountHEpositivedirectionRecosignal6 == 9)
11033 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 26; depth = 6 \b");
11034 if (kcountHEpositivedirectionRecosignal6 == 10)
11035 HEpositivedirectionRecosignal6->SetXTitle(
"R for HE+ jeta = 27; depth = 6 \b");
11036 HEpositivedirectionRecosignal6->Draw(
"Error");
11037 kcountHEpositivedirectionRecosignal6++;
11038 if (kcountHEpositivedirectionRecosignal6 > 10)
11047 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png");
11050 if (h2CeffHEpositivedirectionRecosignal6)
11051 delete h2CeffHEpositivedirectionRecosignal6;
11058 c3x5->Divide(3, 5);
11060 int kcountHEpositivedirectionRecosignal7 = 1;
11061 TH1F *h2CeffHEpositivedirectionRecosignal7 =
new TH1F(
"h2CeffHEpositivedirectionRecosignal7",
"",
nphi, 0., 72.);
11065 if (
jeta - 41 >= 0) {
11068 for (
int i = 6;
i < 7;
i++) {
11069 TH1F *HEpositivedirectionRecosignal7 = (TH1F *)h2CeffHEpositivedirectionRecosignal7->Clone(
"twod1");
11072 for (
int jphi = 0; jphi <
nphi; jphi++) {
11073 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11075 HEpositivedirectionRecosignal7->Fill(jphi, ccc1);
11079 if (ccctest > 0.) {
11081 c3x5->cd(kcountHEpositivedirectionRecosignal7);
11082 HEpositivedirectionRecosignal7->SetMarkerStyle(20);
11083 HEpositivedirectionRecosignal7->SetMarkerSize(0.4);
11084 HEpositivedirectionRecosignal7->GetYaxis()->SetLabelSize(0.04);
11085 HEpositivedirectionRecosignal7->SetXTitle(
"HEpositivedirectionRecosignal7 \b");
11086 HEpositivedirectionRecosignal7->SetMarkerColor(2);
11087 HEpositivedirectionRecosignal7->SetLineColor(0);
11091 if (kcountHEpositivedirectionRecosignal7 == 1)
11092 HEpositivedirectionRecosignal7->SetXTitle(
"R for HE+ jeta = 25; depth = 7 \b");
11093 if (kcountHEpositivedirectionRecosignal7 == 2)
11094 HEpositivedirectionRecosignal7->SetXTitle(
"R for HE+ jeta = 26; depth = 7 \b");
11095 if (kcountHEpositivedirectionRecosignal7 == 3)
11096 HEpositivedirectionRecosignal7->SetXTitle(
"R for HE+ jeta = 27; depth = 7 \b");
11097 HEpositivedirectionRecosignal7->Draw(
"Error");
11098 kcountHEpositivedirectionRecosignal7++;
11099 if (kcountHEpositivedirectionRecosignal7 > 3)
11108 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png");
11111 if (h2CeffHEpositivedirectionRecosignal7)
11112 delete h2CeffHEpositivedirectionRecosignal7;
11121 c3x5->Divide(3, 5);
11123 int kcountHEnegativedirectionRecosignal1 = 1;
11124 TH1F *h2CeffHEnegativedirectionRecosignal1 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal1",
"",
nphi, 0., 72.);
11127 if (
jeta - 41 < 0) {
11130 for (
int i = 0;
i < 1;
i++) {
11131 TH1F *HEnegativedirectionRecosignal1 = (TH1F *)h2CeffHEnegativedirectionRecosignal1->Clone(
"twod1");
11133 for (
int jphi = 0; jphi <
nphi; jphi++) {
11134 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11136 HEnegativedirectionRecosignal1->Fill(jphi, ccc1);
11140 if (ccctest > 0.) {
11142 c3x5->cd(kcountHEnegativedirectionRecosignal1);
11143 HEnegativedirectionRecosignal1->SetMarkerStyle(20);
11144 HEnegativedirectionRecosignal1->SetMarkerSize(0.4);
11145 HEnegativedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
11146 HEnegativedirectionRecosignal1->SetXTitle(
"HEnegativedirectionRecosignal1 \b");
11147 HEnegativedirectionRecosignal1->SetMarkerColor(2);
11148 HEnegativedirectionRecosignal1->SetLineColor(0);
11152 if (kcountHEnegativedirectionRecosignal1 == 1)
11153 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-29; depth = 1 \b");
11154 if (kcountHEnegativedirectionRecosignal1 == 2)
11155 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-28; depth = 1 \b");
11156 if (kcountHEnegativedirectionRecosignal1 == 3)
11157 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-27; depth = 1 \b");
11158 if (kcountHEnegativedirectionRecosignal1 == 4)
11159 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-26; depth = 1 \b");
11160 if (kcountHEnegativedirectionRecosignal1 == 5)
11161 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-25; depth = 1 \b");
11162 if (kcountHEnegativedirectionRecosignal1 == 6)
11163 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-24; depth = 1 \b");
11164 if (kcountHEnegativedirectionRecosignal1 == 7)
11165 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-23; depth = 1 \b");
11166 if (kcountHEnegativedirectionRecosignal1 == 8)
11167 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-22; depth = 1 \b");
11168 if (kcountHEnegativedirectionRecosignal1 == 9)
11169 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-21; depth = 1 \b");
11170 if (kcountHEnegativedirectionRecosignal1 == 10)
11171 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-20; depth = 1 \b");
11172 if (kcountHEnegativedirectionRecosignal1 == 11)
11173 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-19; depth = 1 \b");
11174 if (kcountHEnegativedirectionRecosignal1 == 12)
11175 HEnegativedirectionRecosignal1->SetXTitle(
"R for HE- jeta =-18; depth = 1 \b");
11176 HEnegativedirectionRecosignal1->Draw(
"Error");
11177 kcountHEnegativedirectionRecosignal1++;
11178 if (kcountHEnegativedirectionRecosignal1 > 12)
11187 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
11190 if (h2CeffHEnegativedirectionRecosignal1)
11191 delete h2CeffHEnegativedirectionRecosignal1;
11199 c3x5->Divide(3, 5);
11201 int kcountHEnegativedirectionRecosignal2 = 1;
11202 TH1F *h2CeffHEnegativedirectionRecosignal2 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal2",
"",
nphi, 0., 72.);
11205 if (
jeta - 41 < 0) {
11208 for (
int i = 1;
i < 2;
i++) {
11209 TH1F *HEnegativedirectionRecosignal2 = (TH1F *)h2CeffHEnegativedirectionRecosignal2->Clone(
"twod1");
11211 for (
int jphi = 0; jphi <
nphi; jphi++) {
11212 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11214 HEnegativedirectionRecosignal2->Fill(jphi, ccc1);
11218 if (ccctest > 0.) {
11220 c3x5->cd(kcountHEnegativedirectionRecosignal2);
11221 HEnegativedirectionRecosignal2->SetMarkerStyle(20);
11222 HEnegativedirectionRecosignal2->SetMarkerSize(0.4);
11223 HEnegativedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
11224 HEnegativedirectionRecosignal2->SetXTitle(
"HEnegativedirectionRecosignal2 \b");
11225 HEnegativedirectionRecosignal2->SetMarkerColor(2);
11226 HEnegativedirectionRecosignal2->SetLineColor(0);
11230 if (kcountHEnegativedirectionRecosignal2 == 1)
11231 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-29; depth = 2 \b");
11232 if (kcountHEnegativedirectionRecosignal2 == 2)
11233 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-28; depth = 2 \b");
11234 if (kcountHEnegativedirectionRecosignal2 == 3)
11235 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-27; depth = 2 \b");
11236 if (kcountHEnegativedirectionRecosignal2 == 4)
11237 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-26; depth = 2 \b");
11238 if (kcountHEnegativedirectionRecosignal2 == 5)
11239 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-25; depth = 2 \b");
11240 if (kcountHEnegativedirectionRecosignal2 == 6)
11241 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-24; depth = 2 \b");
11242 if (kcountHEnegativedirectionRecosignal2 == 7)
11243 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-23; depth = 2 \b");
11244 if (kcountHEnegativedirectionRecosignal2 == 8)
11245 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-22; depth = 2 \b");
11246 if (kcountHEnegativedirectionRecosignal2 == 9)
11247 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-21; depth = 2 \b");
11248 if (kcountHEnegativedirectionRecosignal2 == 10)
11249 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-20; depth = 2 \b");
11250 if (kcountHEnegativedirectionRecosignal2 == 11)
11251 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-19; depth = 2 \b");
11252 if (kcountHEnegativedirectionRecosignal2 == 12)
11253 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-18; depth = 2 \b");
11254 if (kcountHEnegativedirectionRecosignal2 == 13)
11255 HEnegativedirectionRecosignal2->SetXTitle(
"R for HE- jeta =-17; depth = 2 \b");
11256 HEnegativedirectionRecosignal2->Draw(
"Error");
11257 kcountHEnegativedirectionRecosignal2++;
11258 if (kcountHEnegativedirectionRecosignal2 > 13)
11267 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
11270 if (h2CeffHEnegativedirectionRecosignal2)
11271 delete h2CeffHEnegativedirectionRecosignal2;
11278 c3x5->Divide(3, 5);
11280 int kcountHEnegativedirectionRecosignal3 = 1;
11281 TH1F *h2CeffHEnegativedirectionRecosignal3 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal3",
"",
nphi, 0., 72.);
11284 if (
jeta - 41 < 0) {
11287 for (
int i = 2;
i < 3;
i++) {
11288 TH1F *HEnegativedirectionRecosignal3 = (TH1F *)h2CeffHEnegativedirectionRecosignal3->Clone(
"twod1");
11290 for (
int jphi = 0; jphi <
nphi; jphi++) {
11291 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11293 HEnegativedirectionRecosignal3->Fill(jphi, ccc1);
11297 if (ccctest > 0.) {
11299 c3x5->cd(kcountHEnegativedirectionRecosignal3);
11300 HEnegativedirectionRecosignal3->SetMarkerStyle(20);
11301 HEnegativedirectionRecosignal3->SetMarkerSize(0.4);
11302 HEnegativedirectionRecosignal3->GetYaxis()->SetLabelSize(0.04);
11303 HEnegativedirectionRecosignal3->SetXTitle(
"HEnegativedirectionRecosignal3 \b");
11304 HEnegativedirectionRecosignal3->SetMarkerColor(2);
11305 HEnegativedirectionRecosignal3->SetLineColor(0);
11309 if (kcountHEnegativedirectionRecosignal3 == 1)
11310 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-29; depth = 3 \b");
11311 if (kcountHEnegativedirectionRecosignal3 == 2)
11312 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-28; depth = 3 \b");
11313 if (kcountHEnegativedirectionRecosignal3 == 3)
11314 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-27; depth = 3 \b");
11315 if (kcountHEnegativedirectionRecosignal3 == 4)
11316 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-26; depth = 3 \b");
11317 if (kcountHEnegativedirectionRecosignal3 == 5)
11318 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-25; depth = 3 \b");
11319 if (kcountHEnegativedirectionRecosignal3 == 6)
11320 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-24; depth = 3 \b");
11321 if (kcountHEnegativedirectionRecosignal3 == 7)
11322 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-23; depth = 3 \b");
11323 if (kcountHEnegativedirectionRecosignal3 == 8)
11324 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-22; depth = 3 \b");
11325 if (kcountHEnegativedirectionRecosignal3 == 9)
11326 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-21; depth = 3 \b");
11327 if (kcountHEnegativedirectionRecosignal3 == 10)
11328 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-20; depth = 3 \b");
11329 if (kcountHEnegativedirectionRecosignal3 == 11)
11330 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-19; depth = 3 \b");
11331 if (kcountHEnegativedirectionRecosignal3 == 12)
11332 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-18; depth = 3 \b");
11333 if (kcountHEnegativedirectionRecosignal3 == 13)
11334 HEnegativedirectionRecosignal3->SetXTitle(
"R for HE- jeta =-17; depth = 3 \b");
11335 HEnegativedirectionRecosignal3->Draw(
"Error");
11336 kcountHEnegativedirectionRecosignal3++;
11337 if (kcountHEnegativedirectionRecosignal3 > 13)
11346 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
11349 if (h2CeffHEnegativedirectionRecosignal3)
11350 delete h2CeffHEnegativedirectionRecosignal3;
11357 c3x5->Divide(3, 5);
11359 int kcountHEnegativedirectionRecosignal4 = 1;
11360 TH1F *h2CeffHEnegativedirectionRecosignal4 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal4",
"",
nphi, 0., 72.);
11364 if (
jeta - 41 < 0) {
11367 for (
int i = 3;
i < 4;
i++) {
11368 TH1F *HEnegativedirectionRecosignal4 = (TH1F *)h2CeffHEnegativedirectionRecosignal4->Clone(
"twod1");
11371 for (
int jphi = 0; jphi <
nphi; jphi++) {
11372 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11374 HEnegativedirectionRecosignal4->Fill(jphi, ccc1);
11378 if (ccctest > 0.) {
11380 c3x5->cd(kcountHEnegativedirectionRecosignal4);
11381 HEnegativedirectionRecosignal4->SetMarkerStyle(20);
11382 HEnegativedirectionRecosignal4->SetMarkerSize(0.4);
11383 HEnegativedirectionRecosignal4->GetYaxis()->SetLabelSize(0.04);
11384 HEnegativedirectionRecosignal4->SetXTitle(
"HEnegativedirectionRecosignal4 \b");
11385 HEnegativedirectionRecosignal4->SetMarkerColor(2);
11386 HEnegativedirectionRecosignal4->SetLineColor(0);
11390 if (kcountHEnegativedirectionRecosignal4 == 1)
11391 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-28; depth = 4 \b");
11392 if (kcountHEnegativedirectionRecosignal4 == 2)
11393 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-27; depth = 4 \b");
11394 if (kcountHEnegativedirectionRecosignal4 == 3)
11395 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-26; depth = 4 \b");
11396 if (kcountHEnegativedirectionRecosignal4 == 4)
11397 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-25; depth = 4 \b");
11398 if (kcountHEnegativedirectionRecosignal4 == 5)
11399 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-24; depth = 4 \b");
11400 if (kcountHEnegativedirectionRecosignal4 == 6)
11401 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-23; depth = 4 \b");
11402 if (kcountHEnegativedirectionRecosignal4 == 7)
11403 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-22; depth = 4 \b");
11404 if (kcountHEnegativedirectionRecosignal4 == 8)
11405 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-21; depth = 4 \b");
11406 if (kcountHEnegativedirectionRecosignal4 == 9)
11407 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-20; depth = 4 \b");
11408 if (kcountHEnegativedirectionRecosignal4 == 10)
11409 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-19; depth = 4 \b");
11410 if (kcountHEnegativedirectionRecosignal4 == 11)
11411 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-18; depth = 4 \b");
11412 if (kcountHEnegativedirectionRecosignal4 == 12)
11413 HEnegativedirectionRecosignal4->SetXTitle(
"R for HE- jeta =-16; depth = 4 \b");
11414 HEnegativedirectionRecosignal4->Draw(
"Error");
11415 kcountHEnegativedirectionRecosignal4++;
11416 if (kcountHEnegativedirectionRecosignal4 > 12)
11425 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
11428 if (h2CeffHEnegativedirectionRecosignal4)
11429 delete h2CeffHEnegativedirectionRecosignal4;
11436 c3x5->Divide(3, 5);
11438 int kcountHEnegativedirectionRecosignal5 = 1;
11439 TH1F *h2CeffHEnegativedirectionRecosignal5 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal5",
"",
nphi, 0., 72.);
11443 if (
jeta - 41 < 0) {
11446 for (
int i = 4;
i < 5;
i++) {
11447 TH1F *HEnegativedirectionRecosignal5 = (TH1F *)h2CeffHEnegativedirectionRecosignal5->Clone(
"twod1");
11450 for (
int jphi = 0; jphi <
nphi; jphi++) {
11453 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11455 HEnegativedirectionRecosignal5->Fill(jphi, ccc1);
11459 if (ccctest > 0.) {
11461 c3x5->cd(kcountHEnegativedirectionRecosignal5);
11462 HEnegativedirectionRecosignal5->SetMarkerStyle(20);
11463 HEnegativedirectionRecosignal5->SetMarkerSize(0.4);
11464 HEnegativedirectionRecosignal5->GetYaxis()->SetLabelSize(0.04);
11465 HEnegativedirectionRecosignal5->SetXTitle(
"HEnegativedirectionRecosignal5 \b");
11466 HEnegativedirectionRecosignal5->SetMarkerColor(2);
11467 HEnegativedirectionRecosignal5->SetLineColor(0);
11471 if (kcountHEnegativedirectionRecosignal5 == 1)
11472 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-28; depth = 5 \b");
11473 if (kcountHEnegativedirectionRecosignal5 == 2)
11474 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-27; depth = 5 \b");
11475 if (kcountHEnegativedirectionRecosignal5 == 3)
11476 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-26; depth = 5 \b");
11477 if (kcountHEnegativedirectionRecosignal5 == 4)
11478 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-25; depth = 5 \b");
11479 if (kcountHEnegativedirectionRecosignal5 == 5)
11480 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-24; depth = 5 \b");
11481 if (kcountHEnegativedirectionRecosignal5 == 6)
11482 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-23; depth = 5 \b");
11483 if (kcountHEnegativedirectionRecosignal5 == 7)
11484 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-22; depth = 5 \b");
11485 if (kcountHEnegativedirectionRecosignal5 == 8)
11486 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-21; depth = 5 \b");
11487 if (kcountHEnegativedirectionRecosignal5 == 9)
11488 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-20; depth = 5 \b");
11489 if (kcountHEnegativedirectionRecosignal5 == 10)
11490 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-19; depth = 5 \b");
11491 if (kcountHEnegativedirectionRecosignal5 == 11)
11492 HEnegativedirectionRecosignal5->SetXTitle(
"R for HE- jeta =-18; depth = 5 \b");
11493 HEnegativedirectionRecosignal5->Draw(
"Error");
11494 kcountHEnegativedirectionRecosignal5++;
11495 if (kcountHEnegativedirectionRecosignal5 > 11)
11504 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
11507 if (h2CeffHEnegativedirectionRecosignal5)
11508 delete h2CeffHEnegativedirectionRecosignal5;
11515 c3x5->Divide(3, 5);
11517 int kcountHEnegativedirectionRecosignal6 = 1;
11518 TH1F *h2CeffHEnegativedirectionRecosignal6 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal6",
"",
nphi, 0., 72.);
11522 if (
jeta - 41 < 0) {
11525 for (
int i = 5;
i < 6;
i++) {
11526 TH1F *HEnegativedirectionRecosignal6 = (TH1F *)h2CeffHEnegativedirectionRecosignal6->Clone(
"twod1");
11529 for (
int jphi = 0; jphi <
nphi; jphi++) {
11530 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11532 HEnegativedirectionRecosignal6->Fill(jphi, ccc1);
11536 if (ccctest > 0.) {
11538 c3x5->cd(kcountHEnegativedirectionRecosignal6);
11539 HEnegativedirectionRecosignal6->SetMarkerStyle(20);
11540 HEnegativedirectionRecosignal6->SetMarkerSize(0.4);
11541 HEnegativedirectionRecosignal6->GetYaxis()->SetLabelSize(0.04);
11542 HEnegativedirectionRecosignal6->SetXTitle(
"HEnegativedirectionRecosignal6 \b");
11543 HEnegativedirectionRecosignal6->SetMarkerColor(2);
11544 HEnegativedirectionRecosignal6->SetLineColor(0);
11548 if (kcountHEnegativedirectionRecosignal6 == 1)
11549 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-28; depth = 6 \b");
11550 if (kcountHEnegativedirectionRecosignal6 == 2)
11551 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-27; depth = 6 \b");
11552 if (kcountHEnegativedirectionRecosignal6 == 3)
11553 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-26; depth = 6 \b");
11554 if (kcountHEnegativedirectionRecosignal6 == 4)
11555 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-25; depth = 6 \b");
11556 if (kcountHEnegativedirectionRecosignal6 == 5)
11557 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-24; depth = 6 \b");
11558 if (kcountHEnegativedirectionRecosignal6 == 6)
11559 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-23; depth = 6 \b");
11560 if (kcountHEnegativedirectionRecosignal6 == 7)
11561 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-22; depth = 6 \b");
11562 if (kcountHEnegativedirectionRecosignal6 == 8)
11563 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-21; depth = 6 \b");
11564 if (kcountHEnegativedirectionRecosignal6 == 9)
11565 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-20; depth = 6 \b");
11566 if (kcountHEnegativedirectionRecosignal6 == 10)
11567 HEnegativedirectionRecosignal6->SetXTitle(
"R for HE- jeta =-19; depth = 6 \b");
11568 HEnegativedirectionRecosignal6->Draw(
"Error");
11569 kcountHEnegativedirectionRecosignal6++;
11570 if (kcountHEnegativedirectionRecosignal6 > 10)
11579 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
11582 if (h2CeffHEnegativedirectionRecosignal6)
11583 delete h2CeffHEnegativedirectionRecosignal6;
11590 c3x5->Divide(3, 5);
11592 int kcountHEnegativedirectionRecosignal7 = 1;
11593 TH1F *h2CeffHEnegativedirectionRecosignal7 =
new TH1F(
"h2CeffHEnegativedirectionRecosignal7",
"",
nphi, 0., 72.);
11597 if (
jeta - 41 < 0) {
11600 for (
int i = 6;
i < 7;
i++) {
11601 TH1F *HEnegativedirectionRecosignal7 = (TH1F *)h2CeffHEnegativedirectionRecosignal7->Clone(
"twod1");
11604 for (
int jphi = 0; jphi <
nphi; jphi++) {
11605 double ccc1 = arecosignalhe[
i][
jeta][jphi];
11607 HEnegativedirectionRecosignal7->Fill(jphi, ccc1);
11611 if (ccctest > 0.) {
11613 c3x5->cd(kcountHEnegativedirectionRecosignal7);
11614 HEnegativedirectionRecosignal7->SetMarkerStyle(20);
11615 HEnegativedirectionRecosignal7->SetMarkerSize(0.4);
11616 HEnegativedirectionRecosignal7->GetYaxis()->SetLabelSize(0.04);
11617 HEnegativedirectionRecosignal7->SetXTitle(
"HEnegativedirectionRecosignal7 \b");
11618 HEnegativedirectionRecosignal7->SetMarkerColor(2);
11619 HEnegativedirectionRecosignal7->SetLineColor(0);
11623 if (kcountHEnegativedirectionRecosignal7 == 1)
11624 HEnegativedirectionRecosignal7->SetXTitle(
"R for HE- jeta =-28; depth = 7 \b");
11625 if (kcountHEnegativedirectionRecosignal7 == 2)
11626 HEnegativedirectionRecosignal7->SetXTitle(
"R for HE- jeta =-27; depth = 7 \b");
11627 if (kcountHEnegativedirectionRecosignal7 == 3)
11628 HEnegativedirectionRecosignal7->SetXTitle(
"R for HE- jeta =-26; depth = 7 \b");
11629 HEnegativedirectionRecosignal7->Draw(
"Error");
11630 kcountHEnegativedirectionRecosignal7++;
11631 if (kcountHEnegativedirectionRecosignal7 > 3)
11640 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
11643 if (h2CeffHEnegativedirectionRecosignal7)
11644 delete h2CeffHEnegativedirectionRecosignal7;
11651 TH2F *recosignalVariance1HE1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE1");
11652 TH2F *recosignalVariance0HE1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE1");
11653 TH2F *recosignalVarianceHE1 = (TH2F *)recosignalVariance1HE1->Clone(
"recosignalVarianceHE1");
11654 recosignalVarianceHE1->Divide(recosignalVariance1HE1, recosignalVariance0HE1, 1, 1,
"B");
11655 TH2F *recosignalVariance1HE2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE2");
11656 TH2F *recosignalVariance0HE2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE2");
11657 TH2F *recosignalVarianceHE2 = (TH2F *)recosignalVariance1HE2->Clone(
"recosignalVarianceHE2");
11658 recosignalVarianceHE2->Divide(recosignalVariance1HE2, recosignalVariance0HE2, 1, 1,
"B");
11659 TH2F *recosignalVariance1HE3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE3");
11660 TH2F *recosignalVariance0HE3 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE3");
11661 TH2F *recosignalVarianceHE3 = (TH2F *)recosignalVariance1HE3->Clone(
"recosignalVarianceHE3");
11662 recosignalVarianceHE3->Divide(recosignalVariance1HE3, recosignalVariance0HE3, 1, 1,
"B");
11663 TH2F *recosignalVariance1HE4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE4");
11664 TH2F *recosignalVariance0HE4 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE4");
11665 TH2F *recosignalVarianceHE4 = (TH2F *)recosignalVariance1HE4->Clone(
"recosignalVarianceHE4");
11666 recosignalVarianceHE4->Divide(recosignalVariance1HE4, recosignalVariance0HE4, 1, 1,
"B");
11667 TH2F *recosignalVariance1HE5 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE5");
11668 TH2F *recosignalVariance0HE5 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE5");
11669 TH2F *recosignalVarianceHE5 = (TH2F *)recosignalVariance1HE5->Clone(
"recosignalVarianceHE5");
11670 recosignalVarianceHE5->Divide(recosignalVariance1HE5, recosignalVariance0HE5, 1, 1,
"B");
11671 TH2F *recosignalVariance1HE6 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE6");
11672 TH2F *recosignalVariance0HE6 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE6");
11673 TH2F *recosignalVarianceHE6 = (TH2F *)recosignalVariance1HE6->Clone(
"recosignalVarianceHE6");
11674 recosignalVarianceHE6->Divide(recosignalVariance1HE6, recosignalVariance0HE6, 1, 1,
"B");
11675 TH2F *recosignalVariance1HE7 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HE7");
11676 TH2F *recosignalVariance0HE7 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HE7");
11677 TH2F *recosignalVarianceHE7 = (TH2F *)recosignalVariance1HE7->Clone(
"recosignalVarianceHE7");
11678 recosignalVarianceHE7->Divide(recosignalVariance1HE7, recosignalVariance0HE7, 1, 1,
"B");
11684 double sumrecosignalHE0 = 0;
11685 int nsumrecosignalHE0 = 0;
11686 double sumrecosignalHE1 = 0;
11687 int nsumrecosignalHE1 = 0;
11688 double sumrecosignalHE2 = 0;
11689 int nsumrecosignalHE2 = 0;
11690 double sumrecosignalHE3 = 0;
11691 int nsumrecosignalHE3 = 0;
11692 double sumrecosignalHE4 = 0;
11693 int nsumrecosignalHE4 = 0;
11694 double sumrecosignalHE5 = 0;
11695 int nsumrecosignalHE5 = 0;
11696 double sumrecosignalHE6 = 0;
11697 int nsumrecosignalHE6 = 0;
11698 for (
int jphi = 0; jphi < njphi; jphi++) {
11699 recosignalvariancehe[0][
jeta][jphi] = recosignalVarianceHE1->GetBinContent(
jeta + 1, jphi + 1);
11700 recosignalvariancehe[1][
jeta][jphi] = recosignalVarianceHE2->GetBinContent(
jeta + 1, jphi + 1);
11701 recosignalvariancehe[2][
jeta][jphi] = recosignalVarianceHE3->GetBinContent(
jeta + 1, jphi + 1);
11702 recosignalvariancehe[3][
jeta][jphi] = recosignalVarianceHE4->GetBinContent(
jeta + 1, jphi + 1);
11703 recosignalvariancehe[4][
jeta][jphi] = recosignalVarianceHE5->GetBinContent(
jeta + 1, jphi + 1);
11704 recosignalvariancehe[5][
jeta][jphi] = recosignalVarianceHE6->GetBinContent(
jeta + 1, jphi + 1);
11705 recosignalvariancehe[6][
jeta][jphi] = recosignalVarianceHE7->GetBinContent(
jeta + 1, jphi + 1);
11706 if (recosignalvariancehe[0][
jeta][jphi] > 0.) {
11707 sumrecosignalHE0 += recosignalvariancehe[0][
jeta][jphi];
11708 ++nsumrecosignalHE0;
11710 if (recosignalvariancehe[1][
jeta][jphi] > 0.) {
11711 sumrecosignalHE1 += recosignalvariancehe[1][
jeta][jphi];
11712 ++nsumrecosignalHE1;
11714 if (recosignalvariancehe[2][
jeta][jphi] > 0.) {
11715 sumrecosignalHE2 += recosignalvariancehe[2][
jeta][jphi];
11716 ++nsumrecosignalHE2;
11718 if (recosignalvariancehe[3][
jeta][jphi] > 0.) {
11719 sumrecosignalHE3 += recosignalvariancehe[3][
jeta][jphi];
11720 ++nsumrecosignalHE3;
11722 if (recosignalvariancehe[4][
jeta][jphi] > 0.) {
11723 sumrecosignalHE4 += recosignalvariancehe[4][
jeta][jphi];
11724 ++nsumrecosignalHE4;
11726 if (recosignalvariancehe[5][
jeta][jphi] > 0.) {
11727 sumrecosignalHE5 += recosignalvariancehe[5][
jeta][jphi];
11728 ++nsumrecosignalHE5;
11730 if (recosignalvariancehe[6][
jeta][jphi] > 0.) {
11731 sumrecosignalHE6 += recosignalvariancehe[6][
jeta][jphi];
11732 ++nsumrecosignalHE6;
11736 for (
int jphi = 0; jphi < njphi; jphi++) {
11737 if (recosignalvariancehe[0][
jeta][jphi] > 0.)
11738 recosignalvariancehe[0][
jeta][jphi] /= (sumrecosignalHE0 / nsumrecosignalHE0);
11739 if (recosignalvariancehe[1][
jeta][jphi] > 0.)
11740 recosignalvariancehe[1][
jeta][jphi] /= (sumrecosignalHE1 / nsumrecosignalHE1);
11741 if (recosignalvariancehe[2][
jeta][jphi] > 0.)
11742 recosignalvariancehe[2][
jeta][jphi] /= (sumrecosignalHE2 / nsumrecosignalHE2);
11743 if (recosignalvariancehe[3][
jeta][jphi] > 0.)
11744 recosignalvariancehe[3][
jeta][jphi] /= (sumrecosignalHE3 / nsumrecosignalHE3);
11745 if (recosignalvariancehe[4][
jeta][jphi] > 0.)
11746 recosignalvariancehe[4][
jeta][jphi] /= (sumrecosignalHE4 / nsumrecosignalHE4);
11747 if (recosignalvariancehe[5][
jeta][jphi] > 0.)
11748 recosignalvariancehe[5][
jeta][jphi] /= (sumrecosignalHE5 / nsumrecosignalHE5);
11749 if (recosignalvariancehe[6][
jeta][jphi] > 0.)
11750 recosignalvariancehe[6][
jeta][jphi] /= (sumrecosignalHE6 / nsumrecosignalHE6);
11753 for (
int jphi = 0; jphi < njphi; jphi++) {
11755 recosignalvariancehe[0][
jeta][jphi] -= arecosignalhe[0][
jeta][jphi] * arecosignalhe[0][
jeta][jphi];
11756 recosignalvariancehe[0][
jeta][jphi] = fabs(recosignalvariancehe[0][
jeta][jphi]);
11757 recosignalvariancehe[1][
jeta][jphi] -= arecosignalhe[1][
jeta][jphi] * arecosignalhe[1][
jeta][jphi];
11758 recosignalvariancehe[1][
jeta][jphi] = fabs(recosignalvariancehe[1][
jeta][jphi]);
11759 recosignalvariancehe[2][
jeta][jphi] -= arecosignalhe[2][
jeta][jphi] * arecosignalhe[2][
jeta][jphi];
11760 recosignalvariancehe[2][
jeta][jphi] = fabs(recosignalvariancehe[2][
jeta][jphi]);
11761 recosignalvariancehe[3][
jeta][jphi] -= arecosignalhe[3][
jeta][jphi] * arecosignalhe[3][
jeta][jphi];
11762 recosignalvariancehe[3][
jeta][jphi] = fabs(recosignalvariancehe[3][
jeta][jphi]);
11763 recosignalvariancehe[4][
jeta][jphi] -= arecosignalhe[4][
jeta][jphi] * arecosignalhe[4][
jeta][jphi];
11764 recosignalvariancehe[4][
jeta][jphi] = fabs(recosignalvariancehe[4][
jeta][jphi]);
11765 recosignalvariancehe[5][
jeta][jphi] -= arecosignalhe[5][
jeta][jphi] * arecosignalhe[5][
jeta][jphi];
11766 recosignalvariancehe[5][
jeta][jphi] = fabs(recosignalvariancehe[5][
jeta][jphi]);
11767 recosignalvariancehe[6][
jeta][jphi] -= arecosignalhe[6][
jeta][jphi] * arecosignalhe[6][
jeta][jphi];
11768 recosignalvariancehe[6][
jeta][jphi] = fabs(recosignalvariancehe[6][
jeta][jphi]);
11778 c1x0->Divide(1, 1);
11780 TH2F *DefzDrecosignalHE42D =
new TH2F(
"DefzDrecosignalHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
11781 TH2F *DefzDrecosignalHE42D0 =
new TH2F(
"DefzDrecosignalHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
11782 TH2F *DefzDrecosignalHE42DF = (TH2F *)DefzDrecosignalHE42D0->Clone(
"DefzDrecosignalHE42DF");
11785 for (
int jphi = 0; jphi <
nphi; jphi++) {
11786 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
11787 int k2plot =
jeta - 41;
11789 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
11790 DefzDrecosignalHE42D->Fill(kkk, jphi, ccc1);
11791 DefzDrecosignalHE42D0->Fill(kkk, jphi, 1.);
11796 DefzDrecosignalHE42DF->Divide(DefzDrecosignalHE42D, DefzDrecosignalHE42D0, 1, 1,
"B");
11800 DefzDrecosignalHE42DF->SetMarkerStyle(20);
11801 DefzDrecosignalHE42DF->SetMarkerSize(0.4);
11802 DefzDrecosignalHE42DF->GetZaxis()->SetLabelSize(0.08);
11803 DefzDrecosignalHE42DF->SetXTitle(
"<D>_depth #eta \b");
11804 DefzDrecosignalHE42DF->SetYTitle(
" #phi \b");
11805 DefzDrecosignalHE42DF->SetZTitle(
"<D>_depth \b");
11806 DefzDrecosignalHE42DF->SetMarkerColor(2);
11807 DefzDrecosignalHE42DF->SetLineColor(
11809 DefzDrecosignalHE42DF->Draw(
"COLZ");
11812 c1x0->Print(
"DrecosignalGeneralD2PhiSymmetryHE.png");
11815 if (DefzDrecosignalHE42D)
11816 delete DefzDrecosignalHE42D;
11817 if (DefzDrecosignalHE42D0)
11818 delete DefzDrecosignalHE42D0;
11819 if (DefzDrecosignalHE42DF)
11820 delete DefzDrecosignalHE42DF;
11826 c1x1->Divide(1, 1);
11828 TH1F *DefzDrecosignalHE41D =
new TH1F(
"DefzDrecosignalHE41D",
"",
nphi, 0., 72.);
11829 TH1F *DefzDrecosignalHE41D0 =
new TH1F(
"DefzDrecosignalHE41D0",
"",
nphi, 0., 72.);
11830 TH1F *DefzDrecosignalHE41DF = (TH1F *)DefzDrecosignalHE41D0->Clone(
"DefzDrecosignalHE41DF");
11832 for (
int jphi = 0; jphi <
nphi; jphi++) {
11835 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
11836 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
11837 DefzDrecosignalHE41D->Fill(jphi, ccc1);
11838 DefzDrecosignalHE41D0->Fill(jphi, 1.);
11845 DefzDrecosignalHE41DF->Divide(
11846 DefzDrecosignalHE41D, DefzDrecosignalHE41D0, 1, 1,
"B");
11847 DefzDrecosignalHE41D0->Sumw2();
11851 DefzDrecosignalHE41DF->SetMarkerStyle(20);
11852 DefzDrecosignalHE41DF->SetMarkerSize(1.4);
11853 DefzDrecosignalHE41DF->GetZaxis()->SetLabelSize(0.08);
11854 DefzDrecosignalHE41DF->SetXTitle(
"#phi \b");
11855 DefzDrecosignalHE41DF->SetYTitle(
" <D> \b");
11856 DefzDrecosignalHE41DF->SetZTitle(
"<D>_PHI - AllDepthes \b");
11857 DefzDrecosignalHE41DF->SetMarkerColor(4);
11858 DefzDrecosignalHE41DF->SetLineColor(
11860 DefzDrecosignalHE41DF->Draw(
"Error");
11863 c1x1->Print(
"DrecosignalGeneralD1PhiSymmetryHE.png");
11866 if (DefzDrecosignalHE41D)
11867 delete DefzDrecosignalHE41D;
11868 if (DefzDrecosignalHE41D0)
11869 delete DefzDrecosignalHE41D0;
11870 if (DefzDrecosignalHE41DF)
11871 delete DefzDrecosignalHE41DF;
11878 c3x5->Divide(3, 5);
11880 int kcountHEpositivedirectionRecosignalD1 = 1;
11881 TH1F *h2CeffHEpositivedirectionRecosignalD1 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD1",
"",
nphi, 0., 72.);
11885 if (
jeta - 41 >= 0) {
11888 for (
int i = 0;
i < 1;
i++) {
11889 TH1F *HEpositivedirectionRecosignalD1 = (TH1F *)h2CeffHEpositivedirectionRecosignalD1->Clone(
"twod1");
11892 for (
int jphi = 0; jphi <
nphi; jphi++) {
11893 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
11894 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
11895 HEpositivedirectionRecosignalD1->Fill(jphi, ccc1);
11899 if (ccctest > 0.) {
11901 c3x5->cd(kcountHEpositivedirectionRecosignalD1);
11902 HEpositivedirectionRecosignalD1->SetMarkerStyle(20);
11903 HEpositivedirectionRecosignalD1->SetMarkerSize(0.4);
11904 HEpositivedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
11905 HEpositivedirectionRecosignalD1->SetXTitle(
"HEpositivedirectionRecosignalD1 \b");
11906 HEpositivedirectionRecosignalD1->SetMarkerColor(2);
11907 HEpositivedirectionRecosignalD1->SetLineColor(0);
11911 if (kcountHEpositivedirectionRecosignalD1 == 1)
11912 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 17; depth = 1 \b");
11913 if (kcountHEpositivedirectionRecosignalD1 == 2)
11914 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 18; depth = 1 \b");
11915 if (kcountHEpositivedirectionRecosignalD1 == 3)
11916 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 19; depth = 1 \b");
11917 if (kcountHEpositivedirectionRecosignalD1 == 4)
11918 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 20; depth = 1 \b");
11919 if (kcountHEpositivedirectionRecosignalD1 == 5)
11920 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 21; depth = 1 \b");
11921 if (kcountHEpositivedirectionRecosignalD1 == 6)
11922 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 22; depth = 1 \b");
11923 if (kcountHEpositivedirectionRecosignalD1 == 7)
11924 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 23; depth = 1 \b");
11925 if (kcountHEpositivedirectionRecosignalD1 == 8)
11926 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 24; depth = 1 \b");
11927 if (kcountHEpositivedirectionRecosignalD1 == 9)
11928 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 25; depth = 1 \b");
11929 if (kcountHEpositivedirectionRecosignalD1 == 10)
11930 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 26; depth = 1 \b");
11931 if (kcountHEpositivedirectionRecosignalD1 == 11)
11932 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 27; depth = 1 \b");
11933 if (kcountHEpositivedirectionRecosignalD1 == 12)
11934 HEpositivedirectionRecosignalD1->SetXTitle(
"D for HE+ jeta = 28; depth = 1 \b");
11935 HEpositivedirectionRecosignalD1->Draw(
"Error");
11936 kcountHEpositivedirectionRecosignalD1++;
11937 if (kcountHEpositivedirectionRecosignalD1 > 12)
11946 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png");
11949 if (h2CeffHEpositivedirectionRecosignalD1)
11950 delete h2CeffHEpositivedirectionRecosignalD1;
11956 c3x5->Divide(3, 5);
11958 int kcountHEpositivedirectionRecosignalD2 = 1;
11959 TH1F *h2CeffHEpositivedirectionRecosignalD2 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD2",
"",
nphi, 0., 72.);
11963 if (
jeta - 41 >= 0) {
11966 for (
int i = 1;
i < 2;
i++) {
11967 TH1F *HEpositivedirectionRecosignalD2 = (TH1F *)h2CeffHEpositivedirectionRecosignalD2->Clone(
"twod1");
11970 for (
int jphi = 0; jphi <
nphi; jphi++) {
11971 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
11972 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
11973 HEpositivedirectionRecosignalD2->Fill(jphi, ccc1);
11977 if (ccctest > 0.) {
11979 c3x5->cd(kcountHEpositivedirectionRecosignalD2);
11980 HEpositivedirectionRecosignalD2->SetMarkerStyle(20);
11981 HEpositivedirectionRecosignalD2->SetMarkerSize(0.4);
11982 HEpositivedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
11983 HEpositivedirectionRecosignalD2->SetXTitle(
"HEpositivedirectionRecosignalD2 \b");
11984 HEpositivedirectionRecosignalD2->SetMarkerColor(2);
11985 HEpositivedirectionRecosignalD2->SetLineColor(0);
11989 if (kcountHEpositivedirectionRecosignalD2 == 1)
11990 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 16; depth = 2 \b");
11991 if (kcountHEpositivedirectionRecosignalD2 == 2)
11992 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 17; depth = 2 \b");
11993 if (kcountHEpositivedirectionRecosignalD2 == 3)
11994 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 18; depth = 2 \b");
11995 if (kcountHEpositivedirectionRecosignalD2 == 4)
11996 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 19; depth = 2 \b");
11997 if (kcountHEpositivedirectionRecosignalD2 == 5)
11998 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 20; depth = 2 \b");
11999 if (kcountHEpositivedirectionRecosignalD2 == 6)
12000 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 21; depth = 2 \b");
12001 if (kcountHEpositivedirectionRecosignalD2 == 7)
12002 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 22; depth = 2 \b");
12003 if (kcountHEpositivedirectionRecosignalD2 == 8)
12004 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 23; depth = 2 \b");
12005 if (kcountHEpositivedirectionRecosignalD2 == 9)
12006 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 24; depth = 2 \b");
12007 if (kcountHEpositivedirectionRecosignalD2 == 10)
12008 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 25; depth = 2 \b");
12009 if (kcountHEpositivedirectionRecosignalD2 == 11)
12010 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 26; depth = 2 \b");
12011 if (kcountHEpositivedirectionRecosignalD2 == 12)
12012 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 27; depth = 2 \b");
12013 if (kcountHEpositivedirectionRecosignalD2 == 13)
12014 HEpositivedirectionRecosignalD2->SetXTitle(
"D for HE+ jeta = 28; depth = 2 \b");
12015 HEpositivedirectionRecosignalD2->Draw(
"Error");
12016 kcountHEpositivedirectionRecosignalD2++;
12017 if (kcountHEpositivedirectionRecosignalD2 > 13)
12026 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png");
12029 if (h2CeffHEpositivedirectionRecosignalD2)
12030 delete h2CeffHEpositivedirectionRecosignalD2;
12036 c3x5->Divide(3, 5);
12038 int kcountHEpositivedirectionRecosignalD3 = 1;
12039 TH1F *h2CeffHEpositivedirectionRecosignalD3 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD3",
"",
nphi, 0., 72.);
12043 if (
jeta - 41 >= 0) {
12046 for (
int i = 2;
i < 3;
i++) {
12047 TH1F *HEpositivedirectionRecosignalD3 = (TH1F *)h2CeffHEpositivedirectionRecosignalD3->Clone(
"twod1");
12050 for (
int jphi = 0; jphi <
nphi; jphi++) {
12051 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12052 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12053 HEpositivedirectionRecosignalD3->Fill(jphi, ccc1);
12057 if (ccctest > 0.) {
12059 c3x5->cd(kcountHEpositivedirectionRecosignalD3);
12060 HEpositivedirectionRecosignalD3->SetMarkerStyle(20);
12061 HEpositivedirectionRecosignalD3->SetMarkerSize(0.4);
12062 HEpositivedirectionRecosignalD3->GetYaxis()->SetLabelSize(0.04);
12063 HEpositivedirectionRecosignalD3->SetXTitle(
"HEpositivedirectionRecosignalD3 \b");
12064 HEpositivedirectionRecosignalD3->SetMarkerColor(2);
12065 HEpositivedirectionRecosignalD3->SetLineColor(0);
12069 if (kcountHEpositivedirectionRecosignalD3 == 1)
12070 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 16; depth = 3 \b");
12071 if (kcountHEpositivedirectionRecosignalD3 == 2)
12072 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 17; depth = 3 \b");
12073 if (kcountHEpositivedirectionRecosignalD3 == 3)
12074 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 18; depth = 3 \b");
12075 if (kcountHEpositivedirectionRecosignalD3 == 4)
12076 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 19; depth = 3 \b");
12077 if (kcountHEpositivedirectionRecosignalD3 == 5)
12078 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 20; depth = 3 \b");
12079 if (kcountHEpositivedirectionRecosignalD3 == 6)
12080 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 21; depth = 3 \b");
12081 if (kcountHEpositivedirectionRecosignalD3 == 7)
12082 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 22; depth = 3 \b");
12083 if (kcountHEpositivedirectionRecosignalD3 == 8)
12084 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 23; depth = 3 \b");
12085 if (kcountHEpositivedirectionRecosignalD3 == 9)
12086 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 24; depth = 3 \b");
12087 if (kcountHEpositivedirectionRecosignalD3 == 10)
12088 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 25; depth = 3 \b");
12089 if (kcountHEpositivedirectionRecosignalD3 == 11)
12090 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 26; depth = 3 \b");
12091 if (kcountHEpositivedirectionRecosignalD3 == 12)
12092 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 27; depth = 3 \b");
12093 if (kcountHEpositivedirectionRecosignalD3 == 13)
12094 HEpositivedirectionRecosignalD3->SetXTitle(
"D for HE+ jeta = 28; depth = 3 \b");
12095 HEpositivedirectionRecosignalD3->Draw(
"Error");
12096 kcountHEpositivedirectionRecosignalD3++;
12097 if (kcountHEpositivedirectionRecosignalD3 > 13)
12106 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png");
12109 if (h2CeffHEpositivedirectionRecosignalD3)
12110 delete h2CeffHEpositivedirectionRecosignalD3;
12116 c3x5->Divide(3, 5);
12118 int kcountHEpositivedirectionRecosignalD4 = 1;
12119 TH1F *h2CeffHEpositivedirectionRecosignalD4 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD4",
"",
nphi, 0., 72.);
12123 if (
jeta - 41 >= 0) {
12126 for (
int i = 3;
i < 4;
i++) {
12127 TH1F *HEpositivedirectionRecosignalD4 = (TH1F *)h2CeffHEpositivedirectionRecosignalD4->Clone(
"twod1");
12130 for (
int jphi = 0; jphi <
nphi; jphi++) {
12131 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12132 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12133 HEpositivedirectionRecosignalD4->Fill(jphi, ccc1);
12137 if (ccctest > 0.) {
12139 c3x5->cd(kcountHEpositivedirectionRecosignalD4);
12140 HEpositivedirectionRecosignalD4->SetMarkerStyle(20);
12141 HEpositivedirectionRecosignalD4->SetMarkerSize(0.4);
12142 HEpositivedirectionRecosignalD4->GetYaxis()->SetLabelSize(0.04);
12143 HEpositivedirectionRecosignalD4->SetXTitle(
"HEpositivedirectionRecosignalD4 \b");
12144 HEpositivedirectionRecosignalD4->SetMarkerColor(2);
12145 HEpositivedirectionRecosignalD4->SetLineColor(0);
12149 if (kcountHEpositivedirectionRecosignalD4 == 1)
12150 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 15; depth = 4 \b");
12151 if (kcountHEpositivedirectionRecosignalD4 == 2)
12152 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 17; depth = 4 \b");
12153 if (kcountHEpositivedirectionRecosignalD4 == 3)
12154 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 18; depth = 4 \b");
12155 if (kcountHEpositivedirectionRecosignalD4 == 4)
12156 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 19; depth = 4 \b");
12157 if (kcountHEpositivedirectionRecosignalD4 == 5)
12158 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 20; depth = 4 \b");
12159 if (kcountHEpositivedirectionRecosignalD4 == 6)
12160 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 21; depth = 4 \b");
12161 if (kcountHEpositivedirectionRecosignalD4 == 7)
12162 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 22; depth = 4 \b");
12163 if (kcountHEpositivedirectionRecosignalD4 == 8)
12164 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 23; depth = 4 \b");
12165 if (kcountHEpositivedirectionRecosignalD4 == 9)
12166 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 24; depth = 4 \b");
12167 if (kcountHEpositivedirectionRecosignalD4 == 10)
12168 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 25; depth = 4 \b");
12169 if (kcountHEpositivedirectionRecosignalD4 == 11)
12170 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 26; depth = 4 \b");
12171 if (kcountHEpositivedirectionRecosignalD4 == 12)
12172 HEpositivedirectionRecosignalD4->SetXTitle(
"D for HE+ jeta = 27; depth = 4 \b");
12173 HEpositivedirectionRecosignalD4->Draw(
"Error");
12174 kcountHEpositivedirectionRecosignalD4++;
12175 if (kcountHEpositivedirectionRecosignalD4 > 12)
12184 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png");
12187 if (h2CeffHEpositivedirectionRecosignalD4)
12188 delete h2CeffHEpositivedirectionRecosignalD4;
12194 c3x5->Divide(3, 5);
12196 int kcountHEpositivedirectionRecosignalD5 = 1;
12197 TH1F *h2CeffHEpositivedirectionRecosignalD5 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD5",
"",
nphi, 0., 72.);
12201 if (
jeta - 41 >= 0) {
12204 for (
int i = 4;
i < 5;
i++) {
12205 TH1F *HEpositivedirectionRecosignalD5 = (TH1F *)h2CeffHEpositivedirectionRecosignalD5->Clone(
"twod1");
12208 for (
int jphi = 0; jphi <
nphi; jphi++) {
12209 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12210 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12211 HEpositivedirectionRecosignalD5->Fill(jphi, ccc1);
12215 if (ccctest > 0.) {
12217 c3x5->cd(kcountHEpositivedirectionRecosignalD5);
12218 HEpositivedirectionRecosignalD5->SetMarkerStyle(20);
12219 HEpositivedirectionRecosignalD5->SetMarkerSize(0.4);
12220 HEpositivedirectionRecosignalD5->GetYaxis()->SetLabelSize(0.04);
12221 HEpositivedirectionRecosignalD5->SetXTitle(
"HEpositivedirectionRecosignalD5 \b");
12222 HEpositivedirectionRecosignalD5->SetMarkerColor(2);
12223 HEpositivedirectionRecosignalD5->SetLineColor(0);
12227 if (kcountHEpositivedirectionRecosignalD5 == 1)
12228 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 17; depth = 5 \b");
12229 if (kcountHEpositivedirectionRecosignalD5 == 2)
12230 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 18; depth = 5 \b");
12231 if (kcountHEpositivedirectionRecosignalD5 == 3)
12232 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 19; depth = 5 \b");
12233 if (kcountHEpositivedirectionRecosignalD5 == 4)
12234 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 20; depth = 5 \b");
12235 if (kcountHEpositivedirectionRecosignalD5 == 5)
12236 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 21; depth = 5 \b");
12237 if (kcountHEpositivedirectionRecosignalD5 == 6)
12238 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 22; depth = 5 \b");
12239 if (kcountHEpositivedirectionRecosignalD5 == 7)
12240 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 23; depth = 5 \b");
12241 if (kcountHEpositivedirectionRecosignalD5 == 8)
12242 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 24; depth = 5 \b");
12243 if (kcountHEpositivedirectionRecosignalD5 == 9)
12244 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 25; depth = 5 \b");
12245 if (kcountHEpositivedirectionRecosignalD5 == 10)
12246 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 26; depth = 5 \b");
12247 if (kcountHEpositivedirectionRecosignalD5 == 11)
12248 HEpositivedirectionRecosignalD5->SetXTitle(
"D for HE+ jeta = 27; depth = 5 \b");
12249 HEpositivedirectionRecosignalD5->Draw(
"Error");
12250 kcountHEpositivedirectionRecosignalD5++;
12251 if (kcountHEpositivedirectionRecosignalD5 > 11)
12260 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png");
12263 if (h2CeffHEpositivedirectionRecosignalD5)
12264 delete h2CeffHEpositivedirectionRecosignalD5;
12270 c3x5->Divide(3, 5);
12272 int kcountHEpositivedirectionRecosignalD6 = 1;
12273 TH1F *h2CeffHEpositivedirectionRecosignalD6 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD6",
"",
nphi, 0., 72.);
12277 if (
jeta - 41 >= 0) {
12280 for (
int i = 5;
i < 6;
i++) {
12281 TH1F *HEpositivedirectionRecosignalD6 = (TH1F *)h2CeffHEpositivedirectionRecosignalD6->Clone(
"twod1");
12284 for (
int jphi = 0; jphi <
nphi; jphi++) {
12285 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12286 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12287 HEpositivedirectionRecosignalD6->Fill(jphi, ccc1);
12291 if (ccctest > 0.) {
12293 c3x5->cd(kcountHEpositivedirectionRecosignalD6);
12294 HEpositivedirectionRecosignalD6->SetMarkerStyle(20);
12295 HEpositivedirectionRecosignalD6->SetMarkerSize(0.4);
12296 HEpositivedirectionRecosignalD6->GetYaxis()->SetLabelSize(0.04);
12297 HEpositivedirectionRecosignalD6->SetXTitle(
"HEpositivedirectionRecosignalD6 \b");
12298 HEpositivedirectionRecosignalD6->SetMarkerColor(2);
12299 HEpositivedirectionRecosignalD6->SetLineColor(0);
12303 if (kcountHEpositivedirectionRecosignalD6 == 1)
12304 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 18; depth = 6 \b");
12305 if (kcountHEpositivedirectionRecosignalD6 == 2)
12306 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 19; depth = 6 \b");
12307 if (kcountHEpositivedirectionRecosignalD6 == 3)
12308 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 20; depth = 6 \b");
12309 if (kcountHEpositivedirectionRecosignalD6 == 4)
12310 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 21; depth = 6 \b");
12311 if (kcountHEpositivedirectionRecosignalD6 == 5)
12312 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 22; depth = 6 \b");
12313 if (kcountHEpositivedirectionRecosignalD6 == 6)
12314 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 23; depth = 6 \b");
12315 if (kcountHEpositivedirectionRecosignalD6 == 7)
12316 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 24; depth = 6 \b");
12317 if (kcountHEpositivedirectionRecosignalD6 == 8)
12318 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 25; depth = 6 \b");
12319 if (kcountHEpositivedirectionRecosignalD6 == 9)
12320 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 26; depth = 6 \b");
12321 if (kcountHEpositivedirectionRecosignalD6 == 10)
12322 HEpositivedirectionRecosignalD6->SetXTitle(
"D for HE+ jeta = 27; depth = 6 \b");
12323 HEpositivedirectionRecosignalD6->Draw(
"Error");
12324 kcountHEpositivedirectionRecosignalD6++;
12325 if (kcountHEpositivedirectionRecosignalD6 > 10)
12334 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png");
12337 if (h2CeffHEpositivedirectionRecosignalD6)
12338 delete h2CeffHEpositivedirectionRecosignalD6;
12344 c3x5->Divide(3, 5);
12346 int kcountHEpositivedirectionRecosignalD7 = 1;
12347 TH1F *h2CeffHEpositivedirectionRecosignalD7 =
new TH1F(
"h2CeffHEpositivedirectionRecosignalD7",
"",
nphi, 0., 72.);
12351 if (
jeta - 41 >= 0) {
12354 for (
int i = 6;
i < 7;
i++) {
12355 TH1F *HEpositivedirectionRecosignalD7 = (TH1F *)h2CeffHEpositivedirectionRecosignalD7->Clone(
"twod1");
12358 for (
int jphi = 0; jphi <
nphi; jphi++) {
12359 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12360 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12361 HEpositivedirectionRecosignalD7->Fill(jphi, ccc1);
12365 if (ccctest != 0.) {
12367 c3x5->cd(kcountHEpositivedirectionRecosignalD7);
12368 HEpositivedirectionRecosignalD7->SetMarkerStyle(20);
12369 HEpositivedirectionRecosignalD7->SetMarkerSize(0.4);
12370 HEpositivedirectionRecosignalD7->GetYaxis()->SetLabelSize(0.04);
12371 HEpositivedirectionRecosignalD7->SetXTitle(
"HEpositivedirectionRecosignalD7 \b");
12372 HEpositivedirectionRecosignalD7->SetMarkerColor(2);
12373 HEpositivedirectionRecosignalD7->SetLineColor(0);
12377 if (kcountHEpositivedirectionRecosignalD7 == 1)
12378 HEpositivedirectionRecosignalD7->SetXTitle(
"D for HE+ jeta = 25; depth = 7 \b");
12379 if (kcountHEpositivedirectionRecosignalD7 == 2)
12380 HEpositivedirectionRecosignalD7->SetXTitle(
"D for HE+ jeta = 26; depth = 7 \b");
12381 if (kcountHEpositivedirectionRecosignalD7 == 3)
12382 HEpositivedirectionRecosignalD7->SetXTitle(
"D for HE+ jeta = 27; depth = 7 \b");
12383 HEpositivedirectionRecosignalD7->Draw(
"Error");
12384 kcountHEpositivedirectionRecosignalD7++;
12385 if (kcountHEpositivedirectionRecosignalD7 > 3)
12394 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png");
12397 if (h2CeffHEpositivedirectionRecosignalD7)
12398 delete h2CeffHEpositivedirectionRecosignalD7;
12406 c3x5->Divide(3, 5);
12408 int kcountHEnegativedirectionRecosignalD1 = 1;
12409 TH1F *h2CeffHEnegativedirectionRecosignalD1 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD1",
"",
nphi, 0., 72.);
12413 if (
jeta - 41 < 0) {
12416 for (
int i = 0;
i < 1;
i++) {
12417 TH1F *HEnegativedirectionRecosignalD1 = (TH1F *)h2CeffHEnegativedirectionRecosignalD1->Clone(
"twod1");
12420 for (
int jphi = 0; jphi <
nphi; jphi++) {
12421 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12422 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12423 HEnegativedirectionRecosignalD1->Fill(jphi, ccc1);
12427 if (ccctest > 0.) {
12429 c3x5->cd(kcountHEnegativedirectionRecosignalD1);
12430 HEnegativedirectionRecosignalD1->SetMarkerStyle(20);
12431 HEnegativedirectionRecosignalD1->SetMarkerSize(0.4);
12432 HEnegativedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
12433 HEnegativedirectionRecosignalD1->SetXTitle(
"HEnegativedirectionRecosignalD1 \b");
12434 HEnegativedirectionRecosignalD1->SetMarkerColor(2);
12435 HEnegativedirectionRecosignalD1->SetLineColor(0);
12439 if (kcountHEnegativedirectionRecosignalD1 == 1)
12440 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-29; depth = 1 \b");
12441 if (kcountHEnegativedirectionRecosignalD1 == 2)
12442 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-28; depth = 1 \b");
12443 if (kcountHEnegativedirectionRecosignalD1 == 3)
12444 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-27; depth = 1 \b");
12445 if (kcountHEnegativedirectionRecosignalD1 == 4)
12446 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-26; depth = 1 \b");
12447 if (kcountHEnegativedirectionRecosignalD1 == 5)
12448 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-25; depth = 1 \b");
12449 if (kcountHEnegativedirectionRecosignalD1 == 6)
12450 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-24; depth = 1 \b");
12451 if (kcountHEnegativedirectionRecosignalD1 == 7)
12452 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-23; depth = 1 \b");
12453 if (kcountHEnegativedirectionRecosignalD1 == 8)
12454 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-22; depth = 1 \b");
12455 if (kcountHEnegativedirectionRecosignalD1 == 9)
12456 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-21; depth = 1 \b");
12457 if (kcountHEnegativedirectionRecosignalD1 == 10)
12458 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-20; depth = 1 \b");
12459 if (kcountHEnegativedirectionRecosignalD1 == 11)
12460 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-19; depth = 1 \b");
12461 if (kcountHEnegativedirectionRecosignalD1 == 12)
12462 HEnegativedirectionRecosignalD1->SetXTitle(
"D for HE- jeta =-18; depth = 1 \b");
12463 HEnegativedirectionRecosignalD1->Draw(
"Error");
12464 kcountHEnegativedirectionRecosignalD1++;
12465 if (kcountHEnegativedirectionRecosignalD1 > 12)
12474 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
12477 if (h2CeffHEnegativedirectionRecosignalD1)
12478 delete h2CeffHEnegativedirectionRecosignalD1;
12484 c3x5->Divide(3, 5);
12486 int kcountHEnegativedirectionRecosignalD2 = 1;
12487 TH1F *h2CeffHEnegativedirectionRecosignalD2 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD2",
"",
nphi, 0., 72.);
12491 if (
jeta - 41 < 0) {
12494 for (
int i = 1;
i < 2;
i++) {
12495 TH1F *HEnegativedirectionRecosignalD2 = (TH1F *)h2CeffHEnegativedirectionRecosignalD2->Clone(
"twod1");
12498 for (
int jphi = 0; jphi <
nphi; jphi++) {
12499 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12500 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12501 HEnegativedirectionRecosignalD2->Fill(jphi, ccc1);
12505 if (ccctest > 0.) {
12507 c3x5->cd(kcountHEnegativedirectionRecosignalD2);
12508 HEnegativedirectionRecosignalD2->SetMarkerStyle(20);
12509 HEnegativedirectionRecosignalD2->SetMarkerSize(0.4);
12510 HEnegativedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
12511 HEnegativedirectionRecosignalD2->SetXTitle(
"HEnegativedirectionRecosignalD2 \b");
12512 HEnegativedirectionRecosignalD2->SetMarkerColor(2);
12513 HEnegativedirectionRecosignalD2->SetLineColor(0);
12517 if (kcountHEnegativedirectionRecosignalD2 == 1)
12518 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-29; depth = 2 \b");
12519 if (kcountHEnegativedirectionRecosignalD2 == 2)
12520 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-28; depth = 2 \b");
12521 if (kcountHEnegativedirectionRecosignalD2 == 3)
12522 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-27; depth = 2 \b");
12523 if (kcountHEnegativedirectionRecosignalD2 == 4)
12524 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-26; depth = 2 \b");
12525 if (kcountHEnegativedirectionRecosignalD2 == 5)
12526 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-25; depth = 2 \b");
12527 if (kcountHEnegativedirectionRecosignalD2 == 6)
12528 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-24; depth = 2 \b");
12529 if (kcountHEnegativedirectionRecosignalD2 == 7)
12530 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-23; depth = 2 \b");
12531 if (kcountHEnegativedirectionRecosignalD2 == 8)
12532 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-22; depth = 2 \b");
12533 if (kcountHEnegativedirectionRecosignalD2 == 9)
12534 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-21; depth = 2 \b");
12535 if (kcountHEnegativedirectionRecosignalD2 == 10)
12536 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-20; depth = 2 \b");
12537 if (kcountHEnegativedirectionRecosignalD2 == 11)
12538 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-19; depth = 2 \b");
12539 if (kcountHEnegativedirectionRecosignalD2 == 12)
12540 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-18; depth = 2 \b");
12541 if (kcountHEnegativedirectionRecosignalD2 == 13)
12542 HEnegativedirectionRecosignalD2->SetXTitle(
"D for HE- jeta =-17; depth = 2 \b");
12543 HEnegativedirectionRecosignalD2->Draw(
"Error");
12544 kcountHEnegativedirectionRecosignalD2++;
12545 if (kcountHEnegativedirectionRecosignalD2 > 13)
12554 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
12557 if (h2CeffHEnegativedirectionRecosignalD2)
12558 delete h2CeffHEnegativedirectionRecosignalD2;
12564 c3x5->Divide(3, 5);
12566 int kcountHEnegativedirectionRecosignalD3 = 1;
12567 TH1F *h2CeffHEnegativedirectionRecosignalD3 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD3",
"",
nphi, 0., 72.);
12571 if (
jeta - 41 < 0) {
12574 for (
int i = 2;
i < 3;
i++) {
12575 TH1F *HEnegativedirectionRecosignalD3 = (TH1F *)h2CeffHEnegativedirectionRecosignalD3->Clone(
"twod1");
12578 for (
int jphi = 0; jphi <
nphi; jphi++) {
12579 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12580 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12581 HEnegativedirectionRecosignalD3->Fill(jphi, ccc1);
12585 if (ccctest > 0.) {
12587 c3x5->cd(kcountHEnegativedirectionRecosignalD3);
12588 HEnegativedirectionRecosignalD3->SetMarkerStyle(20);
12589 HEnegativedirectionRecosignalD3->SetMarkerSize(0.4);
12590 HEnegativedirectionRecosignalD3->GetYaxis()->SetLabelSize(0.04);
12591 HEnegativedirectionRecosignalD3->SetXTitle(
"HEnegativedirectionRecosignalD3 \b");
12592 HEnegativedirectionRecosignalD3->SetMarkerColor(2);
12593 HEnegativedirectionRecosignalD3->SetLineColor(0);
12597 if (kcountHEnegativedirectionRecosignalD3 == 1)
12598 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-29; depth = 3 \b");
12599 if (kcountHEnegativedirectionRecosignalD3 == 2)
12600 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-28; depth = 3 \b");
12601 if (kcountHEnegativedirectionRecosignalD3 == 3)
12602 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-27; depth = 3 \b");
12603 if (kcountHEnegativedirectionRecosignalD3 == 4)
12604 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-26; depth = 3 \b");
12605 if (kcountHEnegativedirectionRecosignalD3 == 5)
12606 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-25; depth = 3 \b");
12607 if (kcountHEnegativedirectionRecosignalD3 == 6)
12608 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-24; depth = 3 \b");
12609 if (kcountHEnegativedirectionRecosignalD3 == 7)
12610 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-23; depth = 3 \b");
12611 if (kcountHEnegativedirectionRecosignalD3 == 8)
12612 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-22; depth = 3 \b");
12613 if (kcountHEnegativedirectionRecosignalD3 == 9)
12614 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-21; depth = 3 \b");
12615 if (kcountHEnegativedirectionRecosignalD3 == 10)
12616 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-20; depth = 3 \b");
12617 if (kcountHEnegativedirectionRecosignalD3 == 11)
12618 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-19; depth = 3 \b");
12619 if (kcountHEnegativedirectionRecosignalD3 == 12)
12620 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-18; depth = 3 \b");
12621 if (kcountHEnegativedirectionRecosignalD3 == 13)
12622 HEnegativedirectionRecosignalD3->SetXTitle(
"D for HE- jeta =-17; depth = 3 \b");
12623 HEnegativedirectionRecosignalD3->Draw(
"Error");
12624 kcountHEnegativedirectionRecosignalD3++;
12625 if (kcountHEnegativedirectionRecosignalD3 > 13)
12634 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
12637 if (h2CeffHEnegativedirectionRecosignalD3)
12638 delete h2CeffHEnegativedirectionRecosignalD3;
12644 c3x5->Divide(3, 5);
12646 int kcountHEnegativedirectionRecosignalD4 = 1;
12647 TH1F *h2CeffHEnegativedirectionRecosignalD4 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD4",
"",
nphi, 0., 72.);
12651 if (
jeta - 41 < 0) {
12654 for (
int i = 3;
i < 4;
i++) {
12655 TH1F *HEnegativedirectionRecosignalD4 = (TH1F *)h2CeffHEnegativedirectionRecosignalD4->Clone(
"twod1");
12658 for (
int jphi = 0; jphi <
nphi; jphi++) {
12659 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12660 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12661 HEnegativedirectionRecosignalD4->Fill(jphi, ccc1);
12665 if (ccctest > 0.) {
12667 c3x5->cd(kcountHEnegativedirectionRecosignalD4);
12668 HEnegativedirectionRecosignalD4->SetMarkerStyle(20);
12669 HEnegativedirectionRecosignalD4->SetMarkerSize(0.4);
12670 HEnegativedirectionRecosignalD4->GetYaxis()->SetLabelSize(0.04);
12671 HEnegativedirectionRecosignalD4->SetXTitle(
"HEnegativedirectionRecosignalD4 \b");
12672 HEnegativedirectionRecosignalD4->SetMarkerColor(2);
12673 HEnegativedirectionRecosignalD4->SetLineColor(0);
12677 if (kcountHEnegativedirectionRecosignalD4 == 1)
12678 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-28; depth = 4 \b");
12679 if (kcountHEnegativedirectionRecosignalD4 == 2)
12680 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-27; depth = 4 \b");
12681 if (kcountHEnegativedirectionRecosignalD4 == 3)
12682 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-26; depth = 4 \b");
12683 if (kcountHEnegativedirectionRecosignalD4 == 4)
12684 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-25; depth = 4 \b");
12685 if (kcountHEnegativedirectionRecosignalD4 == 5)
12686 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-24; depth = 4 \b");
12687 if (kcountHEnegativedirectionRecosignalD4 == 6)
12688 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-23; depth = 4 \b");
12689 if (kcountHEnegativedirectionRecosignalD4 == 7)
12690 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-22; depth = 4 \b");
12691 if (kcountHEnegativedirectionRecosignalD4 == 8)
12692 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-21; depth = 4 \b");
12693 if (kcountHEnegativedirectionRecosignalD4 == 9)
12694 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-20; depth = 4 \b");
12695 if (kcountHEnegativedirectionRecosignalD4 == 10)
12696 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-19; depth = 4 \b");
12697 if (kcountHEnegativedirectionRecosignalD4 == 11)
12698 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-18; depth = 4 \b");
12699 if (kcountHEnegativedirectionRecosignalD4 == 12)
12700 HEnegativedirectionRecosignalD4->SetXTitle(
"D for HE- jeta =-16; depth = 4 \b");
12701 HEnegativedirectionRecosignalD4->Draw(
"Error");
12702 kcountHEnegativedirectionRecosignalD4++;
12703 if (kcountHEnegativedirectionRecosignalD4 > 12)
12712 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
12715 if (h2CeffHEnegativedirectionRecosignalD4)
12716 delete h2CeffHEnegativedirectionRecosignalD4;
12722 c3x5->Divide(3, 5);
12724 int kcountHEnegativedirectionRecosignalD5 = 1;
12725 TH1F *h2CeffHEnegativedirectionRecosignalD5 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD5",
"",
nphi, 0., 72.);
12729 if (
jeta - 41 < 0) {
12732 for (
int i = 4;
i < 5;
i++) {
12733 TH1F *HEnegativedirectionRecosignalD5 = (TH1F *)h2CeffHEnegativedirectionRecosignalD5->Clone(
"twod1");
12736 for (
int jphi = 0; jphi <
nphi; jphi++) {
12737 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12738 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12739 HEnegativedirectionRecosignalD5->Fill(jphi, ccc1);
12743 if (ccctest > 0.) {
12745 c3x5->cd(kcountHEnegativedirectionRecosignalD5);
12746 HEnegativedirectionRecosignalD5->SetMarkerStyle(20);
12747 HEnegativedirectionRecosignalD5->SetMarkerSize(0.4);
12748 HEnegativedirectionRecosignalD5->GetYaxis()->SetLabelSize(0.04);
12749 HEnegativedirectionRecosignalD5->SetXTitle(
"HEnegativedirectionRecosignalD5 \b");
12750 HEnegativedirectionRecosignalD5->SetMarkerColor(2);
12751 HEnegativedirectionRecosignalD5->SetLineColor(0);
12755 if (kcountHEnegativedirectionRecosignalD5 == 1)
12756 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-28; depth = 5 \b");
12757 if (kcountHEnegativedirectionRecosignalD5 == 2)
12758 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-27; depth = 5 \b");
12759 if (kcountHEnegativedirectionRecosignalD5 == 3)
12760 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-26; depth = 5 \b");
12761 if (kcountHEnegativedirectionRecosignalD5 == 4)
12762 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-25; depth = 5 \b");
12763 if (kcountHEnegativedirectionRecosignalD5 == 5)
12764 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-24; depth = 5 \b");
12765 if (kcountHEnegativedirectionRecosignalD5 == 6)
12766 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-23; depth = 5 \b");
12767 if (kcountHEnegativedirectionRecosignalD5 == 7)
12768 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-22; depth = 5 \b");
12769 if (kcountHEnegativedirectionRecosignalD5 == 8)
12770 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-21; depth = 5 \b");
12771 if (kcountHEnegativedirectionRecosignalD5 == 9)
12772 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-20; depth = 5 \b");
12773 if (kcountHEnegativedirectionRecosignalD5 == 10)
12774 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-19; depth = 5 \b");
12775 if (kcountHEnegativedirectionRecosignalD5 == 11)
12776 HEnegativedirectionRecosignalD5->SetXTitle(
"D for HE- jeta =-18; depth = 5 \b");
12777 HEnegativedirectionRecosignalD5->Draw(
"Error");
12778 kcountHEnegativedirectionRecosignalD5++;
12779 if (kcountHEnegativedirectionRecosignalD5 > 11)
12788 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
12791 if (h2CeffHEnegativedirectionRecosignalD5)
12792 delete h2CeffHEnegativedirectionRecosignalD5;
12798 c3x5->Divide(3, 5);
12800 int kcountHEnegativedirectionRecosignalD6 = 1;
12801 TH1F *h2CeffHEnegativedirectionRecosignalD6 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD6",
"",
nphi, 0., 72.);
12805 if (
jeta - 41 < 0) {
12808 for (
int i = 5;
i < 6;
i++) {
12809 TH1F *HEnegativedirectionRecosignalD6 = (TH1F *)h2CeffHEnegativedirectionRecosignalD6->Clone(
"twod1");
12812 for (
int jphi = 0; jphi <
nphi; jphi++) {
12813 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12814 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12815 HEnegativedirectionRecosignalD6->Fill(jphi, ccc1);
12819 if (ccctest > 0.) {
12821 c3x5->cd(kcountHEnegativedirectionRecosignalD6);
12822 HEnegativedirectionRecosignalD6->SetMarkerStyle(20);
12823 HEnegativedirectionRecosignalD6->SetMarkerSize(0.4);
12824 HEnegativedirectionRecosignalD6->GetYaxis()->SetLabelSize(0.04);
12825 HEnegativedirectionRecosignalD6->SetXTitle(
"HEnegativedirectionRecosignalD6 \b");
12826 HEnegativedirectionRecosignalD6->SetMarkerColor(2);
12827 HEnegativedirectionRecosignalD6->SetLineColor(0);
12831 if (kcountHEnegativedirectionRecosignalD6 == 1)
12832 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-28; depth = 6 \b");
12833 if (kcountHEnegativedirectionRecosignalD6 == 2)
12834 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-27; depth = 6 \b");
12835 if (kcountHEnegativedirectionRecosignalD6 == 3)
12836 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-26; depth = 6 \b");
12837 if (kcountHEnegativedirectionRecosignalD6 == 4)
12838 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-25; depth = 6 \b");
12839 if (kcountHEnegativedirectionRecosignalD6 == 5)
12840 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-24; depth = 6 \b");
12841 if (kcountHEnegativedirectionRecosignalD6 == 6)
12842 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-23; depth = 6 \b");
12843 if (kcountHEnegativedirectionRecosignalD6 == 7)
12844 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-22; depth = 6 \b");
12845 if (kcountHEnegativedirectionRecosignalD6 == 8)
12846 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-21; depth = 6 \b");
12847 if (kcountHEnegativedirectionRecosignalD6 == 9)
12848 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-20; depth = 6 \b");
12849 if (kcountHEnegativedirectionRecosignalD6 == 10)
12850 HEnegativedirectionRecosignalD6->SetXTitle(
"D for HE- jeta =-19; depth = 6 \b");
12851 HEnegativedirectionRecosignalD6->Draw(
"Error");
12852 kcountHEnegativedirectionRecosignalD6++;
12853 if (kcountHEnegativedirectionRecosignalD6 > 10)
12862 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
12865 if (h2CeffHEnegativedirectionRecosignalD6)
12866 delete h2CeffHEnegativedirectionRecosignalD6;
12872 c3x5->Divide(3, 5);
12874 int kcountHEnegativedirectionRecosignalD7 = 1;
12875 TH1F *h2CeffHEnegativedirectionRecosignalD7 =
new TH1F(
"h2CeffHEnegativedirectionRecosignalD7",
"",
nphi, 0., 72.);
12879 if (
jeta - 41 < 0) {
12882 for (
int i = 6;
i < 7;
i++) {
12883 TH1F *HEnegativedirectionRecosignalD7 = (TH1F *)h2CeffHEnegativedirectionRecosignalD7->Clone(
"twod1");
12886 for (
int jphi = 0; jphi <
nphi; jphi++) {
12887 double ccc1 = recosignalvariancehe[
i][
jeta][jphi];
12888 if (arecosignalhe[
i][
jeta][jphi] > 0.) {
12889 HEnegativedirectionRecosignalD7->Fill(jphi, ccc1);
12893 if (ccctest != 0.) {
12895 c3x5->cd(kcountHEnegativedirectionRecosignalD7);
12896 HEnegativedirectionRecosignalD7->SetMarkerStyle(20);
12897 HEnegativedirectionRecosignalD7->SetMarkerSize(0.4);
12898 HEnegativedirectionRecosignalD7->GetYaxis()->SetLabelSize(0.04);
12899 HEnegativedirectionRecosignalD7->SetXTitle(
"HEnegativedirectionRecosignalD7 \b");
12900 HEnegativedirectionRecosignalD7->SetMarkerColor(2);
12901 HEnegativedirectionRecosignalD7->SetLineColor(0);
12905 if (kcountHEnegativedirectionRecosignalD7 == 1)
12906 HEnegativedirectionRecosignalD7->SetXTitle(
"D for HE- jeta =-28; depth = 7 \b");
12907 if (kcountHEnegativedirectionRecosignalD7 == 2)
12908 HEnegativedirectionRecosignalD7->SetXTitle(
"D for HE- jeta =-27; depth = 7 \b");
12909 if (kcountHEnegativedirectionRecosignalD7 == 3)
12910 HEnegativedirectionRecosignalD7->SetXTitle(
"D for HE- jeta =-26; depth = 7 \b");
12911 HEnegativedirectionRecosignalD7->Draw(
"Error");
12912 kcountHEnegativedirectionRecosignalD7++;
12913 if (kcountHEnegativedirectionRecosignalD7 > 3)
12922 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
12925 if (h2CeffHEnegativedirectionRecosignalD7)
12926 delete h2CeffHEnegativedirectionRecosignalD7;
12936 double arecosignalHF[
ndepth][njeta][njphi];
12937 double recosignalvarianceHF[
ndepth][njeta][njphi];
12940 TH2F *recSignalEnergy1HF1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HF1");
12941 TH2F *recSignalEnergy0HF1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HF1");
12942 TH2F *recSignalEnergyHF1 = (TH2F *)recSignalEnergy1HF1->Clone(
"recSignalEnergyHF1");
12943 recSignalEnergyHF1->Divide(recSignalEnergy1HF1, recSignalEnergy0HF1, 1, 1,
"B");
12944 TH2F *recSignalEnergy1HF2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy1_HF2");
12945 TH2F *recSignalEnergy0HF2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HF2");
12946 TH2F *recSignalEnergyHF2 = (TH2F *)recSignalEnergy1HF2->Clone(
"recSignalEnergyHF2");
12947 recSignalEnergyHF2->Divide(recSignalEnergy1HF2, recSignalEnergy0HF2, 1, 1,
"B");
12952 double sumrecosignalHF0 = 0;
12953 int nsumrecosignalHF0 = 0;
12954 double sumrecosignalHF1 = 0;
12955 int nsumrecosignalHF1 = 0;
12956 for (
int jphi = 0; jphi < njphi; jphi++) {
12957 arecosignalHF[0][
jeta][jphi] = recSignalEnergyHF1->GetBinContent(
jeta + 1, jphi + 1);
12958 arecosignalHF[1][
jeta][jphi] = recSignalEnergyHF2->GetBinContent(
jeta + 1, jphi + 1);
12959 if (arecosignalHF[0][
jeta][jphi] > 0.) {
12960 sumrecosignalHF0 += arecosignalHF[0][
jeta][jphi];
12961 ++nsumrecosignalHF0;
12963 if (arecosignalHF[1][
jeta][jphi] > 0.) {
12964 sumrecosignalHF1 += arecosignalHF[1][
jeta][jphi];
12965 ++nsumrecosignalHF1;
12969 for (
int jphi = 0; jphi < njphi; jphi++) {
12970 if (arecosignalHF[0][
jeta][jphi] > 0.)
12971 arecosignalHF[0][
jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0);
12972 if (arecosignalHF[1][
jeta][jphi] > 0.)
12973 arecosignalHF[1][
jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1);
12982 c2x1->Divide(2, 1);
12984 TH2F *GefzRrecosignalHF42D =
new TH2F(
"GefzRrecosignalHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
12985 TH2F *GefzRrecosignalHF42D0 =
new TH2F(
"GefzRrecosignalHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
12986 TH2F *GefzRrecosignalHF42DF = (TH2F *)GefzRrecosignalHF42D0->Clone(
"GefzRrecosignalHF42DF");
12989 for (
int jphi = 0; jphi <
nphi; jphi++) {
12990 double ccc1 = arecosignalHF[
i][
jeta][jphi];
12991 int k2plot =
jeta - 41;
12994 GefzRrecosignalHF42D->Fill(kkk, jphi, ccc1);
12995 GefzRrecosignalHF42D0->Fill(kkk, jphi, 1.);
13000 GefzRrecosignalHF42DF->Divide(GefzRrecosignalHF42D, GefzRrecosignalHF42D0, 1, 1,
"B");
13003 GefzRrecosignalHF42DF->SetXTitle(
"<R>_depth #eta \b");
13004 GefzRrecosignalHF42DF->SetYTitle(
" #phi \b");
13005 GefzRrecosignalHF42DF->Draw(
"COLZ");
13008 TH1F *energyhitSignal_HF = (TH1F *)
dir->FindObjectAny(
"h_energyhitSignal_HF");
13009 energyhitSignal_HF->SetMarkerStyle(20);
13010 energyhitSignal_HF->SetMarkerSize(0.4);
13011 energyhitSignal_HF->GetYaxis()->SetLabelSize(0.04);
13012 energyhitSignal_HF->SetXTitle(
"energyhitSignal_HF \b");
13013 energyhitSignal_HF->SetMarkerColor(2);
13014 energyhitSignal_HF->SetLineColor(0);
13017 energyhitSignal_HF->Draw(
"Error");
13021 c2x1->Print(
"RrecosignalGeneralD2PhiSymmetryHF.png");
13024 if (GefzRrecosignalHF42D)
13025 delete GefzRrecosignalHF42D;
13026 if (GefzRrecosignalHF42D0)
13027 delete GefzRrecosignalHF42D0;
13028 if (GefzRrecosignalHF42DF)
13029 delete GefzRrecosignalHF42DF;
13035 c1x1->Divide(1, 1);
13037 TH1F *GefzRrecosignalHF41D =
new TH1F(
"GefzRrecosignalHF41D",
"",
nphi, 0., 72.);
13038 TH1F *GefzRrecosignalHF41D0 =
new TH1F(
"GefzRrecosignalHF41D0",
"",
nphi, 0., 72.);
13039 TH1F *GefzRrecosignalHF41DF = (TH1F *)GefzRrecosignalHF41D0->Clone(
"GefzRrecosignalHF41DF");
13040 for (
int jphi = 0; jphi <
nphi; jphi++) {
13043 double ccc1 = arecosignalHF[
i][
jeta][jphi];
13045 GefzRrecosignalHF41D->Fill(jphi, ccc1);
13046 GefzRrecosignalHF41D0->Fill(jphi, 1.);
13051 GefzRrecosignalHF41DF->Divide(
13052 GefzRrecosignalHF41D, GefzRrecosignalHF41D0, 1, 1,
"B");
13053 GefzRrecosignalHF41D0->Sumw2();
13057 GefzRrecosignalHF41DF->SetMarkerStyle(20);
13058 GefzRrecosignalHF41DF->SetMarkerSize(1.4);
13059 GefzRrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08);
13060 GefzRrecosignalHF41DF->SetXTitle(
"#phi \b");
13061 GefzRrecosignalHF41DF->SetYTitle(
" <R> \b");
13062 GefzRrecosignalHF41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
13063 GefzRrecosignalHF41DF->SetMarkerColor(4);
13064 GefzRrecosignalHF41DF->SetLineColor(
13066 GefzRrecosignalHF41DF->Draw(
"Error");
13069 c1x1->Print(
"RrecosignalGeneralD1PhiSymmetryHF.png");
13072 if (GefzRrecosignalHF41D)
13073 delete GefzRrecosignalHF41D;
13074 if (GefzRrecosignalHF41D0)
13075 delete GefzRrecosignalHF41D0;
13076 if (GefzRrecosignalHF41DF)
13077 delete GefzRrecosignalHF41DF;
13084 c3x5->Divide(3, 5);
13086 int kcountHFpositivedirectionRecosignal1 = 1;
13087 TH1F *h2CeffHFpositivedirectionRecosignal1 =
new TH1F(
"h2CeffHFpositivedirectionRecosignal1",
"",
nphi, 0., 72.);
13090 if (
jeta - 41 >= 0) {
13093 for (
int i = 0;
i < 1;
i++) {
13094 TH1F *HFpositivedirectionRecosignal1 = (TH1F *)h2CeffHFpositivedirectionRecosignal1->Clone(
"twod1");
13096 for (
int jphi = 0; jphi <
nphi; jphi++) {
13097 double ccc1 = arecosignalHF[
i][
jeta][jphi];
13099 HFpositivedirectionRecosignal1->Fill(jphi, ccc1);
13103 if (ccctest > 0.) {
13105 c3x5->cd(kcountHFpositivedirectionRecosignal1);
13106 HFpositivedirectionRecosignal1->SetMarkerStyle(20);
13107 HFpositivedirectionRecosignal1->SetMarkerSize(0.4);
13108 HFpositivedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
13109 HFpositivedirectionRecosignal1->SetXTitle(
"HFpositivedirectionRecosignal1 \b");
13110 HFpositivedirectionRecosignal1->SetMarkerColor(2);
13111 HFpositivedirectionRecosignal1->SetLineColor(0);
13115 if (kcountHFpositivedirectionRecosignal1 == 1)
13116 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 28; depth = 1 \b");
13117 if (kcountHFpositivedirectionRecosignal1 == 2)
13118 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 29; depth = 1 \b");
13119 if (kcountHFpositivedirectionRecosignal1 == 3)
13120 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 30; depth = 1 \b");
13121 if (kcountHFpositivedirectionRecosignal1 == 4)
13122 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 31; depth = 1 \b");
13123 if (kcountHFpositivedirectionRecosignal1 == 5)
13124 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 32; depth = 1 \b");
13125 if (kcountHFpositivedirectionRecosignal1 == 6)
13126 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 33; depth = 1 \b");
13127 if (kcountHFpositivedirectionRecosignal1 == 7)
13128 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 34; depth = 1 \b");
13129 if (kcountHFpositivedirectionRecosignal1 == 8)
13130 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 35; depth = 1 \b");
13131 if (kcountHFpositivedirectionRecosignal1 == 9)
13132 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 36; depth = 1 \b");
13133 if (kcountHFpositivedirectionRecosignal1 == 10)
13134 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 37; depth = 1 \b");
13135 if (kcountHFpositivedirectionRecosignal1 == 11)
13136 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 38; depth = 1 \b");
13137 if (kcountHFpositivedirectionRecosignal1 == 12)
13138 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 39; depth = 1 \b");
13139 if (kcountHFpositivedirectionRecosignal1 == 13)
13140 HFpositivedirectionRecosignal1->SetXTitle(
"R for HF+ jeta = 40; depth = 1 \b");
13141 HFpositivedirectionRecosignal1->Draw(
"Error");
13142 kcountHFpositivedirectionRecosignal1++;
13143 if (kcountHFpositivedirectionRecosignal1 > 13)
13152 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png");
13155 if (h2CeffHFpositivedirectionRecosignal1)
13156 delete h2CeffHFpositivedirectionRecosignal1;
13164 c3x5->Divide(3, 5);
13166 int kcountHFpositivedirectionRecosignal2 = 1;
13167 TH1F *h2CeffHFpositivedirectionRecosignal2 =
new TH1F(
"h2CeffHFpositivedirectionRecosignal2",
"",
nphi, 0., 72.);
13170 if (
jeta - 41 >= 0) {
13173 for (
int i = 1;
i < 2;
i++) {
13174 TH1F *HFpositivedirectionRecosignal2 = (TH1F *)h2CeffHFpositivedirectionRecosignal2->Clone(
"twod1");
13176 for (
int jphi = 0; jphi <
nphi; jphi++) {
13177 double ccc1 = arecosignalHF[
i][
jeta][jphi];
13179 HFpositivedirectionRecosignal2->Fill(jphi, ccc1);
13183 if (ccctest > 0.) {
13185 c3x5->cd(kcountHFpositivedirectionRecosignal2);
13186 HFpositivedirectionRecosignal2->SetMarkerStyle(20);
13187 HFpositivedirectionRecosignal2->SetMarkerSize(0.4);
13188 HFpositivedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
13189 HFpositivedirectionRecosignal2->SetXTitle(
"HFpositivedirectionRecosignal2 \b");
13190 HFpositivedirectionRecosignal2->SetMarkerColor(2);
13191 HFpositivedirectionRecosignal2->SetLineColor(0);
13195 if (kcountHFpositivedirectionRecosignal2 == 1)
13196 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 28; depth = 2 \b");
13197 if (kcountHFpositivedirectionRecosignal2 == 2)
13198 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 29; depth = 2 \b");
13199 if (kcountHFpositivedirectionRecosignal2 == 3)
13200 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 30; depth = 2 \b");
13201 if (kcountHFpositivedirectionRecosignal2 == 4)
13202 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 31; depth = 2 \b");
13203 if (kcountHFpositivedirectionRecosignal2 == 5)
13204 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 32; depth = 2 \b");
13205 if (kcountHFpositivedirectionRecosignal2 == 6)
13206 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 33; depth = 2 \b");
13207 if (kcountHFpositivedirectionRecosignal2 == 7)
13208 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 34; depth = 2 \b");
13209 if (kcountHFpositivedirectionRecosignal2 == 8)
13210 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 35; depth = 2 \b");
13211 if (kcountHFpositivedirectionRecosignal2 == 9)
13212 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 36; depth = 2 \b");
13213 if (kcountHFpositivedirectionRecosignal2 == 10)
13214 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 37; depth = 2 \b");
13215 if (kcountHFpositivedirectionRecosignal2 == 11)
13216 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 38; depth = 2 \b");
13217 if (kcountHFpositivedirectionRecosignal2 == 12)
13218 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 39; depth = 2 \b");
13219 if (kcountHFpositivedirectionRecosignal2 == 13)
13220 HFpositivedirectionRecosignal2->SetXTitle(
"R for HF+ jeta = 40; depth = 2 \b");
13221 HFpositivedirectionRecosignal2->Draw(
"Error");
13222 kcountHFpositivedirectionRecosignal2++;
13223 if (kcountHFpositivedirectionRecosignal2 > 13)
13232 c3x5->Print(
"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png");
13235 if (h2CeffHFpositivedirectionRecosignal2)
13236 delete h2CeffHFpositivedirectionRecosignal2;
13244 c3x5->Divide(3, 5);
13246 int kcountHFnegativedirectionRecosignal1 = 1;
13247 TH1F *h2CeffHFnegativedirectionRecosignal1 =
new TH1F(
"h2CeffHFnegativedirectionRecosignal1",
"",
nphi, 0., 72.);
13250 if (
jeta - 41 < 0) {
13253 for (
int i = 0;
i < 1;
i++) {
13254 TH1F *HFnegativedirectionRecosignal1 = (TH1F *)h2CeffHFnegativedirectionRecosignal1->Clone(
"twod1");
13256 for (
int jphi = 0; jphi <
nphi; jphi++) {
13257 double ccc1 = arecosignalHF[
i][
jeta][jphi];
13259 HFnegativedirectionRecosignal1->Fill(jphi, ccc1);
13263 if (ccctest > 0.) {
13265 c3x5->cd(kcountHFnegativedirectionRecosignal1);
13266 HFnegativedirectionRecosignal1->SetMarkerStyle(20);
13267 HFnegativedirectionRecosignal1->SetMarkerSize(0.4);
13268 HFnegativedirectionRecosignal1->GetYaxis()->SetLabelSize(0.04);
13269 HFnegativedirectionRecosignal1->SetXTitle(
"HFnegativedirectionRecosignal1 \b");
13270 HFnegativedirectionRecosignal1->SetMarkerColor(2);
13271 HFnegativedirectionRecosignal1->SetLineColor(0);
13275 if (kcountHFnegativedirectionRecosignal1 == 1)
13276 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-41; depth = 1 \b");
13277 if (kcountHFnegativedirectionRecosignal1 == 2)
13278 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-40; depth = 1 \b");
13279 if (kcountHFnegativedirectionRecosignal1 == 3)
13280 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-39; depth = 1 \b");
13281 if (kcountHFnegativedirectionRecosignal1 == 4)
13282 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-38; depth = 1 \b");
13283 if (kcountHFnegativedirectionRecosignal1 == 5)
13284 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-37; depth = 1 \b");
13285 if (kcountHFnegativedirectionRecosignal1 == 6)
13286 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-36; depth = 1 \b");
13287 if (kcountHFnegativedirectionRecosignal1 == 7)
13288 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-35; depth = 1 \b");
13289 if (kcountHFnegativedirectionRecosignal1 == 8)
13290 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-34; depth = 1 \b");
13291 if (kcountHFnegativedirectionRecosignal1 == 9)
13292 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-33; depth = 1 \b");
13293 if (kcountHFnegativedirectionRecosignal1 == 10)
13294 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-32; depth = 1 \b");
13295 if (kcountHFnegativedirectionRecosignal1 == 11)
13296 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-31; depth = 1 \b");
13297 if (kcountHFnegativedirectionRecosignal1 == 12)
13298 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-30; depth = 1 \b");
13299 if (kcountHFnegativedirectionRecosignal1 == 13)
13300 HFnegativedirectionRecosignal1->SetXTitle(
"R for HF- jeta =-29; depth = 1 \b");
13301 HFnegativedirectionRecosignal1->Draw(
"Error");
13302 kcountHFnegativedirectionRecosignal1++;
13303 if (kcountHFnegativedirectionRecosignal1 > 13)
13312 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
13315 if (h2CeffHFnegativedirectionRecosignal1)
13316 delete h2CeffHFnegativedirectionRecosignal1;
13324 c3x5->Divide(3, 5);
13326 int kcountHFnegativedirectionRecosignal2 = 1;
13327 TH1F *h2CeffHFnegativedirectionRecosignal2 =
new TH1F(
"h2CeffHFnegativedirectionRecosignal2",
"",
nphi, 0., 72.);
13330 if (
jeta - 41 < 0) {
13333 for (
int i = 1;
i < 2;
i++) {
13334 TH1F *HFnegativedirectionRecosignal2 = (TH1F *)h2CeffHFnegativedirectionRecosignal2->Clone(
"twod1");
13336 for (
int jphi = 0; jphi <
nphi; jphi++) {
13337 double ccc1 = arecosignalHF[
i][
jeta][jphi];
13339 HFnegativedirectionRecosignal2->Fill(jphi, ccc1);
13343 if (ccctest > 0.) {
13345 c3x5->cd(kcountHFnegativedirectionRecosignal2);
13346 HFnegativedirectionRecosignal2->SetMarkerStyle(20);
13347 HFnegativedirectionRecosignal2->SetMarkerSize(0.4);
13348 HFnegativedirectionRecosignal2->GetYaxis()->SetLabelSize(0.04);
13349 HFnegativedirectionRecosignal2->SetXTitle(
"HFnegativedirectionRecosignal2 \b");
13350 HFnegativedirectionRecosignal2->SetMarkerColor(2);
13351 HFnegativedirectionRecosignal2->SetLineColor(0);
13355 if (kcountHFnegativedirectionRecosignal2 == 1)
13356 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-41; depth = 2 \b");
13357 if (kcountHFnegativedirectionRecosignal2 == 2)
13358 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-40; depth = 2 \b");
13359 if (kcountHFnegativedirectionRecosignal2 == 3)
13360 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-39; depth = 2 \b");
13361 if (kcountHFnegativedirectionRecosignal2 == 4)
13362 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-38; depth = 2 \b");
13363 if (kcountHFnegativedirectionRecosignal2 == 5)
13364 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-37; depth = 2 \b");
13365 if (kcountHFnegativedirectionRecosignal2 == 6)
13366 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-36; depth = 2 \b");
13367 if (kcountHFnegativedirectionRecosignal2 == 7)
13368 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-35; depth = 2 \b");
13369 if (kcountHFnegativedirectionRecosignal2 == 8)
13370 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-34; depth = 2 \b");
13371 if (kcountHFnegativedirectionRecosignal2 == 9)
13372 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-33; depth = 2 \b");
13373 if (kcountHFnegativedirectionRecosignal2 == 10)
13374 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-32; depth = 2 \b");
13375 if (kcountHFnegativedirectionRecosignal2 == 11)
13376 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-31; depth = 2 \b");
13377 if (kcountHFnegativedirectionRecosignal2 == 12)
13378 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-30; depth = 2 \b");
13379 if (kcountHFnegativedirectionRecosignal2 == 13)
13380 HFnegativedirectionRecosignal2->SetXTitle(
"R for HF- jeta =-20; depth = 2 \b");
13381 HFnegativedirectionRecosignal2->Draw(
"Error");
13382 kcountHFnegativedirectionRecosignal2++;
13383 if (kcountHFnegativedirectionRecosignal2 > 13)
13392 c3x5->Print(
"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
13395 if (h2CeffHFnegativedirectionRecosignal2)
13396 delete h2CeffHFnegativedirectionRecosignal2;
13404 TH2F *recosignalVariance1HF1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HF1");
13405 TH2F *recosignalVariance0HF1 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HF1");
13406 TH2F *recosignalVarianceHF1 = (TH2F *)recosignalVariance1HF1->Clone(
"recosignalVarianceHF1");
13407 recosignalVarianceHF1->Divide(recosignalVariance1HF1, recosignalVariance0HF1, 1, 1,
"B");
13408 TH2F *recosignalVariance1HF2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy2_HF2");
13409 TH2F *recosignalVariance0HF2 = (TH2F *)
dir->FindObjectAny(
"h_recSignalEnergy0_HF2");
13410 TH2F *recosignalVarianceHF2 = (TH2F *)recosignalVariance1HF2->Clone(
"recosignalVarianceHF2");
13411 recosignalVarianceHF2->Divide(recosignalVariance1HF2, recosignalVariance0HF2, 1, 1,
"B");
13417 double sumrecosignalHF0 = 0;
13418 int nsumrecosignalHF0 = 0;
13419 double sumrecosignalHF1 = 0;
13420 int nsumrecosignalHF1 = 0;
13421 for (
int jphi = 0; jphi < njphi; jphi++) {
13422 recosignalvarianceHF[0][
jeta][jphi] = recosignalVarianceHF1->GetBinContent(
jeta + 1, jphi + 1);
13423 recosignalvarianceHF[1][
jeta][jphi] = recosignalVarianceHF2->GetBinContent(
jeta + 1, jphi + 1);
13424 if (recosignalvarianceHF[0][
jeta][jphi] > 0.) {
13425 sumrecosignalHF0 += recosignalvarianceHF[0][
jeta][jphi];
13426 ++nsumrecosignalHF0;
13428 if (recosignalvarianceHF[1][
jeta][jphi] > 0.) {
13429 sumrecosignalHF1 += recosignalvarianceHF[1][
jeta][jphi];
13430 ++nsumrecosignalHF1;
13434 for (
int jphi = 0; jphi < njphi; jphi++) {
13435 if (recosignalvarianceHF[0][
jeta][jphi] > 0.)
13436 recosignalvarianceHF[0][
jeta][jphi] /= (sumrecosignalHF0 / nsumrecosignalHF0);
13437 if (recosignalvarianceHF[1][
jeta][jphi] > 0.)
13438 recosignalvarianceHF[1][
jeta][jphi] /= (sumrecosignalHF1 / nsumrecosignalHF1);
13441 for (
int jphi = 0; jphi < njphi; jphi++) {
13443 recosignalvarianceHF[0][
jeta][jphi] -= arecosignalHF[0][
jeta][jphi] * arecosignalHF[0][
jeta][jphi];
13444 recosignalvarianceHF[0][
jeta][jphi] = fabs(recosignalvarianceHF[0][
jeta][jphi]);
13445 recosignalvarianceHF[1][
jeta][jphi] -= arecosignalHF[1][
jeta][jphi] * arecosignalHF[1][
jeta][jphi];
13446 recosignalvarianceHF[1][
jeta][jphi] = fabs(recosignalvarianceHF[1][
jeta][jphi]);
13456 c1x0->Divide(1, 1);
13458 TH2F *DefzDrecosignalHF42D =
new TH2F(
"DefzDrecosignalHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
13459 TH2F *DefzDrecosignalHF42D0 =
new TH2F(
"DefzDrecosignalHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
13460 TH2F *DefzDrecosignalHF42DF = (TH2F *)DefzDrecosignalHF42D0->Clone(
"DefzDrecosignalHF42DF");
13463 for (
int jphi = 0; jphi <
nphi; jphi++) {
13464 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13465 int k2plot =
jeta - 41;
13467 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13468 DefzDrecosignalHF42D->Fill(kkk, jphi, ccc1);
13469 DefzDrecosignalHF42D0->Fill(kkk, jphi, 1.);
13474 DefzDrecosignalHF42DF->Divide(DefzDrecosignalHF42D, DefzDrecosignalHF42D0, 1, 1,
"B");
13478 DefzDrecosignalHF42DF->SetMarkerStyle(20);
13479 DefzDrecosignalHF42DF->SetMarkerSize(0.4);
13480 DefzDrecosignalHF42DF->GetZaxis()->SetLabelSize(0.08);
13481 DefzDrecosignalHF42DF->SetXTitle(
"<D>_depth #eta \b");
13482 DefzDrecosignalHF42DF->SetYTitle(
" #phi \b");
13483 DefzDrecosignalHF42DF->SetZTitle(
"<D>_depth \b");
13484 DefzDrecosignalHF42DF->SetMarkerColor(2);
13485 DefzDrecosignalHF42DF->SetLineColor(
13487 DefzDrecosignalHF42DF->Draw(
"COLZ");
13490 c1x0->Print(
"DrecosignalGeneralD2PhiSymmetryHF.png");
13493 if (DefzDrecosignalHF42D)
13494 delete DefzDrecosignalHF42D;
13495 if (DefzDrecosignalHF42D0)
13496 delete DefzDrecosignalHF42D0;
13497 if (DefzDrecosignalHF42DF)
13498 delete DefzDrecosignalHF42DF;
13504 c1x1->Divide(1, 1);
13506 TH1F *DefzDrecosignalHF41D =
new TH1F(
"DefzDrecosignalHF41D",
"",
nphi, 0., 72.);
13507 TH1F *DefzDrecosignalHF41D0 =
new TH1F(
"DefzDrecosignalHF41D0",
"",
nphi, 0., 72.);
13508 TH1F *DefzDrecosignalHF41DF = (TH1F *)DefzDrecosignalHF41D0->Clone(
"DefzDrecosignalHF41DF");
13510 for (
int jphi = 0; jphi <
nphi; jphi++) {
13513 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13514 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13515 DefzDrecosignalHF41D->Fill(jphi, ccc1);
13516 DefzDrecosignalHF41D0->Fill(jphi, 1.);
13523 DefzDrecosignalHF41DF->Divide(
13524 DefzDrecosignalHF41D, DefzDrecosignalHF41D0, 1, 1,
"B");
13525 DefzDrecosignalHF41D0->Sumw2();
13529 DefzDrecosignalHF41DF->SetMarkerStyle(20);
13530 DefzDrecosignalHF41DF->SetMarkerSize(1.4);
13531 DefzDrecosignalHF41DF->GetZaxis()->SetLabelSize(0.08);
13532 DefzDrecosignalHF41DF->SetXTitle(
"#phi \b");
13533 DefzDrecosignalHF41DF->SetYTitle(
" <D> \b");
13534 DefzDrecosignalHF41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
13535 DefzDrecosignalHF41DF->SetMarkerColor(4);
13536 DefzDrecosignalHF41DF->SetLineColor(
13538 DefzDrecosignalHF41DF->Draw(
"Error");
13541 c1x1->Print(
"DrecosignalGeneralD1PhiSymmetryHF.png");
13544 if (DefzDrecosignalHF41D)
13545 delete DefzDrecosignalHF41D;
13546 if (DefzDrecosignalHF41D0)
13547 delete DefzDrecosignalHF41D0;
13548 if (DefzDrecosignalHF41DF)
13549 delete DefzDrecosignalHF41DF;
13556 c3x5->Divide(3, 5);
13558 int kcountHFpositivedirectionRecosignalD1 = 1;
13559 TH1F *h2CeffHFpositivedirectionRecosignalD1 =
new TH1F(
"h2CeffHFpositivedirectionRecosignalD1",
"",
nphi, 0., 72.);
13563 if (
jeta - 41 >= 0) {
13566 for (
int i = 0;
i < 1;
i++) {
13567 TH1F *HFpositivedirectionRecosignalD1 = (TH1F *)h2CeffHFpositivedirectionRecosignalD1->Clone(
"twod1");
13570 for (
int jphi = 0; jphi <
nphi; jphi++) {
13571 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13572 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13573 HFpositivedirectionRecosignalD1->Fill(jphi, ccc1);
13577 if (ccctest > 0.) {
13579 c3x5->cd(kcountHFpositivedirectionRecosignalD1);
13580 HFpositivedirectionRecosignalD1->SetMarkerStyle(20);
13581 HFpositivedirectionRecosignalD1->SetMarkerSize(0.4);
13582 HFpositivedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
13583 HFpositivedirectionRecosignalD1->SetXTitle(
"HFpositivedirectionRecosignalD1 \b");
13584 HFpositivedirectionRecosignalD1->SetMarkerColor(2);
13585 HFpositivedirectionRecosignalD1->SetLineColor(0);
13589 if (kcountHFpositivedirectionRecosignalD1 == 1)
13590 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 28; depth = 1 \b");
13591 if (kcountHFpositivedirectionRecosignalD1 == 2)
13592 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 29; depth = 1 \b");
13593 if (kcountHFpositivedirectionRecosignalD1 == 3)
13594 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 30; depth = 1 \b");
13595 if (kcountHFpositivedirectionRecosignalD1 == 4)
13596 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 31; depth = 1 \b");
13597 if (kcountHFpositivedirectionRecosignalD1 == 5)
13598 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 32; depth = 1 \b");
13599 if (kcountHFpositivedirectionRecosignalD1 == 6)
13600 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 33; depth = 1 \b");
13601 if (kcountHFpositivedirectionRecosignalD1 == 7)
13602 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 34; depth = 1 \b");
13603 if (kcountHFpositivedirectionRecosignalD1 == 8)
13604 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 35; depth = 1 \b");
13605 if (kcountHFpositivedirectionRecosignalD1 == 9)
13606 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 36; depth = 1 \b");
13607 if (kcountHFpositivedirectionRecosignalD1 == 10)
13608 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 37; depth = 1 \b");
13609 if (kcountHFpositivedirectionRecosignalD1 == 11)
13610 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 38; depth = 1 \b");
13611 if (kcountHFpositivedirectionRecosignalD1 == 12)
13612 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 39; depth = 1 \b");
13613 if (kcountHFpositivedirectionRecosignalD1 == 13)
13614 HFpositivedirectionRecosignalD1->SetXTitle(
"D for HF+ jeta = 40; depth = 1 \b");
13615 HFpositivedirectionRecosignalD1->Draw(
"Error");
13616 kcountHFpositivedirectionRecosignalD1++;
13617 if (kcountHFpositivedirectionRecosignalD1 > 13)
13626 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png");
13629 if (h2CeffHFpositivedirectionRecosignalD1)
13630 delete h2CeffHFpositivedirectionRecosignalD1;
13636 c3x5->Divide(3, 5);
13638 int kcountHFpositivedirectionRecosignalD2 = 1;
13639 TH1F *h2CeffHFpositivedirectionRecosignalD2 =
new TH1F(
"h2CeffHFpositivedirectionRecosignalD2",
"",
nphi, 0., 72.);
13643 if (
jeta - 41 >= 0) {
13646 for (
int i = 1;
i < 2;
i++) {
13647 TH1F *HFpositivedirectionRecosignalD2 = (TH1F *)h2CeffHFpositivedirectionRecosignalD2->Clone(
"twod1");
13650 for (
int jphi = 0; jphi <
nphi; jphi++) {
13651 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13652 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13653 HFpositivedirectionRecosignalD2->Fill(jphi, ccc1);
13657 if (ccctest > 0.) {
13659 c3x5->cd(kcountHFpositivedirectionRecosignalD2);
13660 HFpositivedirectionRecosignalD2->SetMarkerStyle(20);
13661 HFpositivedirectionRecosignalD2->SetMarkerSize(0.4);
13662 HFpositivedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
13663 HFpositivedirectionRecosignalD2->SetXTitle(
"HFpositivedirectionRecosignalD2 \b");
13664 HFpositivedirectionRecosignalD2->SetMarkerColor(2);
13665 HFpositivedirectionRecosignalD2->SetLineColor(0);
13669 if (kcountHFpositivedirectionRecosignalD2 == 1)
13670 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 28; depth = 2 \b");
13671 if (kcountHFpositivedirectionRecosignalD2 == 2)
13672 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 29; depth = 2 \b");
13673 if (kcountHFpositivedirectionRecosignalD2 == 3)
13674 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 30; depth = 2 \b");
13675 if (kcountHFpositivedirectionRecosignalD2 == 4)
13676 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 31; depth = 2 \b");
13677 if (kcountHFpositivedirectionRecosignalD2 == 5)
13678 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 32; depth = 2 \b");
13679 if (kcountHFpositivedirectionRecosignalD2 == 6)
13680 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 33; depth = 2 \b");
13681 if (kcountHFpositivedirectionRecosignalD2 == 7)
13682 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 34; depth = 2 \b");
13683 if (kcountHFpositivedirectionRecosignalD2 == 8)
13684 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 35; depth = 2 \b");
13685 if (kcountHFpositivedirectionRecosignalD2 == 9)
13686 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 36; depth = 2 \b");
13687 if (kcountHFpositivedirectionRecosignalD2 == 10)
13688 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 37; depth = 2 \b");
13689 if (kcountHFpositivedirectionRecosignalD2 == 11)
13690 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 38; depth = 2 \b");
13691 if (kcountHFpositivedirectionRecosignalD2 == 12)
13692 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 39; depth = 2 \b");
13693 if (kcountHFpositivedirectionRecosignalD2 == 13)
13694 HFpositivedirectionRecosignalD2->SetXTitle(
"D for HF+ jeta = 40; depth = 2 \b");
13695 HFpositivedirectionRecosignalD2->Draw(
"Error");
13696 kcountHFpositivedirectionRecosignalD2++;
13697 if (kcountHFpositivedirectionRecosignalD2 > 13)
13706 c3x5->Print(
"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png");
13709 if (h2CeffHFpositivedirectionRecosignalD2)
13710 delete h2CeffHFpositivedirectionRecosignalD2;
13717 c3x5->Divide(3, 5);
13719 int kcountHFnegativedirectionRecosignalD1 = 1;
13720 TH1F *h2CeffHFnegativedirectionRecosignalD1 =
new TH1F(
"h2CeffHFnegativedirectionRecosignalD1",
"",
nphi, 0., 72.);
13724 if (
jeta - 41 < 0) {
13727 for (
int i = 0;
i < 1;
i++) {
13728 TH1F *HFnegativedirectionRecosignalD1 = (TH1F *)h2CeffHFnegativedirectionRecosignalD1->Clone(
"twod1");
13731 for (
int jphi = 0; jphi <
nphi; jphi++) {
13732 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13733 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13734 HFnegativedirectionRecosignalD1->Fill(jphi, ccc1);
13738 if (ccctest > 0.) {
13740 c3x5->cd(kcountHFnegativedirectionRecosignalD1);
13741 HFnegativedirectionRecosignalD1->SetMarkerStyle(20);
13742 HFnegativedirectionRecosignalD1->SetMarkerSize(0.4);
13743 HFnegativedirectionRecosignalD1->GetYaxis()->SetLabelSize(0.04);
13744 HFnegativedirectionRecosignalD1->SetXTitle(
"HFnegativedirectionRecosignalD1 \b");
13745 HFnegativedirectionRecosignalD1->SetMarkerColor(2);
13746 HFnegativedirectionRecosignalD1->SetLineColor(0);
13750 if (kcountHFnegativedirectionRecosignalD1 == 1)
13751 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-41; depth = 1 \b");
13752 if (kcountHFnegativedirectionRecosignalD1 == 2)
13753 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-40; depth = 1 \b");
13754 if (kcountHFnegativedirectionRecosignalD1 == 3)
13755 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-39; depth = 1 \b");
13756 if (kcountHFnegativedirectionRecosignalD1 == 4)
13757 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-38; depth = 1 \b");
13758 if (kcountHFnegativedirectionRecosignalD1 == 5)
13759 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-37; depth = 1 \b");
13760 if (kcountHFnegativedirectionRecosignalD1 == 6)
13761 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-36; depth = 1 \b");
13762 if (kcountHFnegativedirectionRecosignalD1 == 7)
13763 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-35; depth = 1 \b");
13764 if (kcountHFnegativedirectionRecosignalD1 == 8)
13765 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-34; depth = 1 \b");
13766 if (kcountHFnegativedirectionRecosignalD1 == 9)
13767 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-33; depth = 1 \b");
13768 if (kcountHFnegativedirectionRecosignalD1 == 10)
13769 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-32; depth = 1 \b");
13770 if (kcountHFnegativedirectionRecosignalD1 == 11)
13771 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-31; depth = 1 \b");
13772 if (kcountHFnegativedirectionRecosignalD1 == 12)
13773 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-30; depth = 1 \b");
13774 if (kcountHFnegativedirectionRecosignalD1 == 13)
13775 HFnegativedirectionRecosignalD1->SetXTitle(
"D for HF- jeta =-29; depth = 1 \b");
13776 HFnegativedirectionRecosignalD1->Draw(
"Error");
13777 kcountHFnegativedirectionRecosignalD1++;
13778 if (kcountHFnegativedirectionRecosignalD1 > 13)
13787 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
13790 if (h2CeffHFnegativedirectionRecosignalD1)
13791 delete h2CeffHFnegativedirectionRecosignalD1;
13797 c3x5->Divide(3, 5);
13799 int kcountHFnegativedirectionRecosignalD2 = 1;
13800 TH1F *h2CeffHFnegativedirectionRecosignalD2 =
new TH1F(
"h2CeffHFnegativedirectionRecosignalD2",
"",
nphi, 0., 72.);
13804 if (
jeta - 41 < 0) {
13807 for (
int i = 1;
i < 2;
i++) {
13808 TH1F *HFnegativedirectionRecosignalD2 = (TH1F *)h2CeffHFnegativedirectionRecosignalD2->Clone(
"twod1");
13811 for (
int jphi = 0; jphi <
nphi; jphi++) {
13812 double ccc1 = recosignalvarianceHF[
i][
jeta][jphi];
13813 if (arecosignalHF[
i][
jeta][jphi] > 0.) {
13814 HFnegativedirectionRecosignalD2->Fill(jphi, ccc1);
13818 if (ccctest > 0.) {
13820 c3x5->cd(kcountHFnegativedirectionRecosignalD2);
13821 HFnegativedirectionRecosignalD2->SetMarkerStyle(20);
13822 HFnegativedirectionRecosignalD2->SetMarkerSize(0.4);
13823 HFnegativedirectionRecosignalD2->GetYaxis()->SetLabelSize(0.04);
13824 HFnegativedirectionRecosignalD2->SetXTitle(
"HFnegativedirectionRecosignalD2 \b");
13825 HFnegativedirectionRecosignalD2->SetMarkerColor(2);
13826 HFnegativedirectionRecosignalD2->SetLineColor(0);
13830 if (kcountHFnegativedirectionRecosignalD2 == 1)
13831 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-41; depth = 2 \b");
13832 if (kcountHFnegativedirectionRecosignalD2 == 2)
13833 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-40; depth = 2 \b");
13834 if (kcountHFnegativedirectionRecosignalD2 == 3)
13835 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-39; depth = 2 \b");
13836 if (kcountHFnegativedirectionRecosignalD2 == 4)
13837 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-38; depth = 2 \b");
13838 if (kcountHFnegativedirectionRecosignalD2 == 5)
13839 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-37; depth = 2 \b");
13840 if (kcountHFnegativedirectionRecosignalD2 == 6)
13841 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-36; depth = 2 \b");
13842 if (kcountHFnegativedirectionRecosignalD2 == 7)
13843 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-35; depth = 2 \b");
13844 if (kcountHFnegativedirectionRecosignalD2 == 8)
13845 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-34; depth = 2 \b");
13846 if (kcountHFnegativedirectionRecosignalD2 == 9)
13847 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-33; depth = 2 \b");
13848 if (kcountHFnegativedirectionRecosignalD2 == 10)
13849 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-32; depth = 2 \b");
13850 if (kcountHFnegativedirectionRecosignalD2 == 11)
13851 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-31; depth = 2 \b");
13852 if (kcountHFnegativedirectionRecosignalD2 == 12)
13853 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-30; depth = 2 \b");
13854 if (kcountHFnegativedirectionRecosignalD2 == 13)
13855 HFnegativedirectionRecosignalD2->SetXTitle(
"D for HF- jeta =-29; depth = 2 \b");
13856 HFnegativedirectionRecosignalD2->Draw(
"Error");
13857 kcountHFnegativedirectionRecosignalD2++;
13858 if (kcountHFnegativedirectionRecosignalD2 > 13)
13867 c3x5->Print(
"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
13870 if (h2CeffHFnegativedirectionRecosignalD2)
13871 delete h2CeffHFnegativedirectionRecosignalD2;
13889 double areconoiseHB[
ndepth][njeta][njphi];
13890 double breconoiseHB[
ndepth][njeta][njphi];
13891 double reconoisevarianceHB[
ndepth][njeta][njphi];
13893 TH2F *recNoiseEnergy1HB1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HB1");
13894 TH2F *recNoiseEnergy0HB1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB1");
13895 TH2F *recNoiseEnergyHB1 = (TH2F *)recNoiseEnergy1HB1->Clone(
"recNoiseEnergyHB1");
13896 recNoiseEnergyHB1->Divide(recNoiseEnergy1HB1, recNoiseEnergy0HB1, 1, 1,
"B");
13897 TH2F *recNoiseEnergy1HB2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HB2");
13898 TH2F *recNoiseEnergy0HB2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB2");
13899 TH2F *recNoiseEnergyHB2 = (TH2F *)recNoiseEnergy1HB2->Clone(
"recNoiseEnergyHB2");
13900 recNoiseEnergyHB2->Divide(recNoiseEnergy1HB2, recNoiseEnergy0HB2, 1, 1,
"B");
13901 TH2F *recNoiseEnergy1HB3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HB3");
13902 TH2F *recNoiseEnergy0HB3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB3");
13903 TH2F *recNoiseEnergyHB3 = (TH2F *)recNoiseEnergy1HB3->Clone(
"recNoiseEnergyHB3");
13904 recNoiseEnergyHB3->Divide(recNoiseEnergy1HB3, recNoiseEnergy0HB3, 1, 1,
"B");
13905 TH2F *recNoiseEnergy1HB4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HB4");
13906 TH2F *recNoiseEnergy0HB4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB4");
13907 TH2F *recNoiseEnergyHB4 = (TH2F *)recNoiseEnergy1HB4->Clone(
"recNoiseEnergyHB4");
13908 recNoiseEnergyHB4->Divide(recNoiseEnergy1HB4, recNoiseEnergy0HB4, 1, 1,
"B");
13910 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
13913 double sumreconoiseHB0 = 0;
13914 int nsumreconoiseHB0 = 0;
13915 double sumreconoiseHB1 = 0;
13916 int nsumreconoiseHB1 = 0;
13917 double sumreconoiseHB2 = 0;
13918 int nsumreconoiseHB2 = 0;
13919 double sumreconoiseHB3 = 0;
13920 int nsumreconoiseHB3 = 0;
13921 for (
int jphi = 0; jphi < njphi; jphi++) {
13922 areconoiseHB[0][
jeta][jphi] = recNoiseEnergyHB1->GetBinContent(
jeta + 1, jphi + 1);
13923 areconoiseHB[1][
jeta][jphi] = recNoiseEnergyHB2->GetBinContent(
jeta + 1, jphi + 1);
13924 areconoiseHB[2][
jeta][jphi] = recNoiseEnergyHB3->GetBinContent(
jeta + 1, jphi + 1);
13925 areconoiseHB[3][
jeta][jphi] = recNoiseEnergyHB4->GetBinContent(
jeta + 1, jphi + 1);
13926 breconoiseHB[0][
jeta][jphi] = recNoiseEnergyHB1->GetBinContent(
jeta + 1, jphi + 1);
13927 breconoiseHB[1][
jeta][jphi] = recNoiseEnergyHB2->GetBinContent(
jeta + 1, jphi + 1);
13928 breconoiseHB[2][
jeta][jphi] = recNoiseEnergyHB3->GetBinContent(
jeta + 1, jphi + 1);
13929 breconoiseHB[3][
jeta][jphi] = recNoiseEnergyHB4->GetBinContent(
jeta + 1, jphi + 1);
13930 if (areconoiseHB[0][
jeta][jphi] != 0.) {
13931 sumreconoiseHB0 += areconoiseHB[0][
jeta][jphi];
13932 ++nsumreconoiseHB0;
13934 if (areconoiseHB[1][
jeta][jphi] != 0.) {
13935 sumreconoiseHB1 += areconoiseHB[1][
jeta][jphi];
13936 ++nsumreconoiseHB1;
13938 if (areconoiseHB[2][
jeta][jphi] != 0.) {
13939 sumreconoiseHB2 += areconoiseHB[2][
jeta][jphi];
13940 ++nsumreconoiseHB2;
13942 if (areconoiseHB[3][
jeta][jphi] != 0.) {
13943 sumreconoiseHB3 += areconoiseHB[3][
jeta][jphi];
13944 ++nsumreconoiseHB3;
13948 for (
int jphi = 0; jphi < njphi; jphi++) {
13949 if (sumreconoiseHB0 != 0.)
13950 breconoiseHB[0][
jeta][jphi] -= (sumreconoiseHB0 / nsumreconoiseHB0);
13951 if (sumreconoiseHB1 != 0.)
13952 breconoiseHB[1][
jeta][jphi] -= (sumreconoiseHB1 / nsumreconoiseHB1);
13953 if (sumreconoiseHB2 != 0.)
13954 breconoiseHB[2][
jeta][jphi] -= (sumreconoiseHB2 / nsumreconoiseHB2);
13955 if (sumreconoiseHB3 != 0.)
13956 breconoiseHB[3][
jeta][jphi] -= (sumreconoiseHB3 / nsumreconoiseHB3);
13959 for (
int jphi = 0; jphi < njphi; jphi++) {
13960 if (areconoiseHB[0][
jeta][jphi] != 0.)
13961 areconoiseHB[0][
jeta][jphi] /= (sumreconoiseHB0 / nsumreconoiseHB0);
13962 if (areconoiseHB[1][
jeta][jphi] != 0.)
13963 areconoiseHB[1][
jeta][jphi] /= (sumreconoiseHB1 / nsumreconoiseHB1);
13964 if (areconoiseHB[2][
jeta][jphi] != 0.)
13965 areconoiseHB[2][
jeta][jphi] /= (sumreconoiseHB2 / nsumreconoiseHB2);
13966 if (areconoiseHB[3][
jeta][jphi] != 0.)
13967 areconoiseHB[3][
jeta][jphi] /= (sumreconoiseHB3 / nsumreconoiseHB3);
13977 c2x1->Divide(2, 1);
13979 TH2F *GefzRreconoiseHB42D =
new TH2F(
"GefzRreconoiseHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
13980 TH2F *GefzRreconoiseHB42D0 =
new TH2F(
"GefzRreconoiseHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
13981 TH2F *GefzRreconoiseHB42DF = (TH2F *)GefzRreconoiseHB42D0->Clone(
"GefzRreconoiseHB42DF");
13984 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
13985 for (
int jphi = 0; jphi <
nphi; jphi++) {
13986 double ccc1 = areconoiseHB[
i][
jeta][jphi];
13987 int k2plot =
jeta - 41;
13990 GefzRreconoiseHB42D->Fill(kkk, jphi, ccc1);
13991 GefzRreconoiseHB42D0->Fill(kkk, jphi, 1.);
13997 GefzRreconoiseHB42DF->Divide(GefzRreconoiseHB42D, GefzRreconoiseHB42D0, 1, 1,
"B");
14000 GefzRreconoiseHB42DF->SetXTitle(
"<R>_depth #eta \b");
14001 GefzRreconoiseHB42DF->SetYTitle(
" #phi \b");
14002 GefzRreconoiseHB42DF->Draw(
"COLZ");
14005 TH1F *energyhitNoise_HB = (TH1F *)
dir->FindObjectAny(
"h_energyhitNoise_HB");
14006 energyhitNoise_HB->SetMarkerStyle(20);
14007 energyhitNoise_HB->SetMarkerSize(0.4);
14008 energyhitNoise_HB->GetYaxis()->SetLabelSize(0.04);
14009 energyhitNoise_HB->SetXTitle(
"energyhitNoise_HB \b");
14010 energyhitNoise_HB->SetMarkerColor(2);
14011 energyhitNoise_HB->SetLineColor(0);
14014 energyhitNoise_HB->Draw(
"Error");
14018 c2x1->Print(
"RreconoiseGeneralD2PhiSymmetryHB.png");
14021 if (GefzRreconoiseHB42D)
14022 delete GefzRreconoiseHB42D;
14023 if (GefzRreconoiseHB42D0)
14024 delete GefzRreconoiseHB42D0;
14025 if (GefzRreconoiseHB42DF)
14026 delete GefzRreconoiseHB42DF;
14032 c1x1->Divide(1, 1);
14034 TH1F *GefzRreconoiseHB41D =
new TH1F(
"GefzRreconoiseHB41D",
"",
nphi, 0., 72.);
14035 TH1F *GefzRreconoiseHB41D0 =
new TH1F(
"GefzRreconoiseHB41D0",
"",
nphi, 0., 72.);
14036 TH1F *GefzRreconoiseHB41DF = (TH1F *)GefzRreconoiseHB41D0->Clone(
"GefzRreconoiseHB41DF");
14037 for (
int jphi = 0; jphi <
nphi; jphi++) {
14039 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
14041 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14043 GefzRreconoiseHB41D->Fill(jphi, ccc1);
14044 GefzRreconoiseHB41D0->Fill(jphi, 1.);
14050 GefzRreconoiseHB41DF->Divide(GefzRreconoiseHB41D, GefzRreconoiseHB41D0, 1, 1,
"B");
14051 GefzRreconoiseHB41D0->Sumw2();
14055 GefzRreconoiseHB41DF->SetMarkerStyle(20);
14056 GefzRreconoiseHB41DF->SetMarkerSize(1.4);
14057 GefzRreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08);
14058 GefzRreconoiseHB41DF->SetXTitle(
"#phi \b");
14059 GefzRreconoiseHB41DF->SetYTitle(
" <R> \b");
14060 GefzRreconoiseHB41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
14061 GefzRreconoiseHB41DF->SetMarkerColor(4);
14062 GefzRreconoiseHB41DF->SetLineColor(
14064 GefzRreconoiseHB41DF->Draw(
"Error");
14067 c1x1->Print(
"RreconoiseGeneralD1PhiSymmetryHB.png");
14070 if (GefzRreconoiseHB41D)
14071 delete GefzRreconoiseHB41D;
14072 if (GefzRreconoiseHB41D0)
14073 delete GefzRreconoiseHB41D0;
14074 if (GefzRreconoiseHB41DF)
14075 delete GefzRreconoiseHB41DF;
14082 c3x5->Divide(4, 4);
14084 int kcountHBpositivedirectionReconoise1 = 1;
14085 TH1F *h2CeffHBpositivedirectionReconoise1 =
new TH1F(
"h2CeffHBpositivedirectionReconoise1",
"",
nphi, 0., 72.);
14088 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14091 for (
int i = 0;
i < 1;
i++) {
14092 TH1F *HBpositivedirectionReconoise1 = (TH1F *)h2CeffHBpositivedirectionReconoise1->Clone(
"twod1");
14094 for (
int jphi = 0; jphi <
nphi; jphi++) {
14095 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14097 HBpositivedirectionReconoise1->Fill(jphi, ccc1);
14101 if (ccctest > 0.) {
14103 c3x5->cd(kcountHBpositivedirectionReconoise1);
14104 HBpositivedirectionReconoise1->SetMarkerStyle(20);
14105 HBpositivedirectionReconoise1->SetMarkerSize(0.4);
14106 HBpositivedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
14107 HBpositivedirectionReconoise1->SetXTitle(
"HBpositivedirectionReconoise1 \b");
14108 HBpositivedirectionReconoise1->SetMarkerColor(2);
14109 HBpositivedirectionReconoise1->SetLineColor(0);
14113 if (kcountHBpositivedirectionReconoise1 == 1)
14114 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 0; depth = 1 \b");
14115 if (kcountHBpositivedirectionReconoise1 == 2)
14116 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 1; depth = 1 \b");
14117 if (kcountHBpositivedirectionReconoise1 == 3)
14118 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 2; depth = 1 \b");
14119 if (kcountHBpositivedirectionReconoise1 == 4)
14120 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 3; depth = 1 \b");
14121 if (kcountHBpositivedirectionReconoise1 == 5)
14122 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 4; depth = 1 \b");
14123 if (kcountHBpositivedirectionReconoise1 == 6)
14124 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 5; depth = 1 \b");
14125 if (kcountHBpositivedirectionReconoise1 == 7)
14126 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 6; depth = 1 \b");
14127 if (kcountHBpositivedirectionReconoise1 == 8)
14128 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 7; depth = 1 \b");
14129 if (kcountHBpositivedirectionReconoise1 == 9)
14130 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 8; depth = 1 \b");
14131 if (kcountHBpositivedirectionReconoise1 == 10)
14132 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 9; depth = 1 \b");
14133 if (kcountHBpositivedirectionReconoise1 == 11)
14134 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 10; depth = 1 \b");
14135 if (kcountHBpositivedirectionReconoise1 == 12)
14136 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 11; depth = 1 \b");
14137 if (kcountHBpositivedirectionReconoise1 == 13)
14138 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 12; depth = 1 \b");
14139 if (kcountHBpositivedirectionReconoise1 == 14)
14140 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 13; depth = 1 \b");
14141 if (kcountHBpositivedirectionReconoise1 == 15)
14142 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 14; depth = 1 \b");
14143 if (kcountHBpositivedirectionReconoise1 == 16)
14144 HBpositivedirectionReconoise1->SetXTitle(
"R for HB+ jeta = 15; depth = 1 \b");
14145 HBpositivedirectionReconoise1->Draw(
"Error");
14146 kcountHBpositivedirectionReconoise1++;
14147 if (kcountHBpositivedirectionReconoise1 > 16)
14156 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png");
14159 if (h2CeffHBpositivedirectionReconoise1)
14160 delete h2CeffHBpositivedirectionReconoise1;
14168 c3x5->Divide(4, 4);
14170 int kcountHBpositivedirectionReconoise2 = 1;
14171 TH1F *h2CeffHBpositivedirectionReconoise2 =
new TH1F(
"h2CeffHBpositivedirectionReconoise2",
"",
nphi, 0., 72.);
14174 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14177 for (
int i = 1;
i < 2;
i++) {
14178 TH1F *HBpositivedirectionReconoise2 = (TH1F *)h2CeffHBpositivedirectionReconoise2->Clone(
"twod1");
14180 for (
int jphi = 0; jphi <
nphi; jphi++) {
14181 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14183 HBpositivedirectionReconoise2->Fill(jphi, ccc1);
14187 if (ccctest > 0.) {
14189 c3x5->cd(kcountHBpositivedirectionReconoise2);
14190 HBpositivedirectionReconoise2->SetMarkerStyle(20);
14191 HBpositivedirectionReconoise2->SetMarkerSize(0.4);
14192 HBpositivedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
14193 HBpositivedirectionReconoise2->SetXTitle(
"HBpositivedirectionReconoise2 \b");
14194 HBpositivedirectionReconoise2->SetMarkerColor(2);
14195 HBpositivedirectionReconoise2->SetLineColor(0);
14199 if (kcountHBpositivedirectionReconoise2 == 1)
14200 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 0; depth = 2 \b");
14201 if (kcountHBpositivedirectionReconoise2 == 2)
14202 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 1; depth = 2 \b");
14203 if (kcountHBpositivedirectionReconoise2 == 3)
14204 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 2; depth = 2 \b");
14205 if (kcountHBpositivedirectionReconoise2 == 4)
14206 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 3; depth = 2 \b");
14207 if (kcountHBpositivedirectionReconoise2 == 5)
14208 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 4; depth = 2 \b");
14209 if (kcountHBpositivedirectionReconoise2 == 6)
14210 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 5; depth = 2 \b");
14211 if (kcountHBpositivedirectionReconoise2 == 7)
14212 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 6; depth = 2 \b");
14213 if (kcountHBpositivedirectionReconoise2 == 8)
14214 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 7; depth = 2 \b");
14215 if (kcountHBpositivedirectionReconoise2 == 9)
14216 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 8; depth = 2 \b");
14217 if (kcountHBpositivedirectionReconoise2 == 10)
14218 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 9; depth = 2 \b");
14219 if (kcountHBpositivedirectionReconoise2 == 11)
14220 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 10; depth = 2 \b");
14221 if (kcountHBpositivedirectionReconoise2 == 12)
14222 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 11; depth = 2 \b");
14223 if (kcountHBpositivedirectionReconoise2 == 13)
14224 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 12; depth = 2 \b");
14225 if (kcountHBpositivedirectionReconoise2 == 14)
14226 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 13; depth = 2 \b");
14227 if (kcountHBpositivedirectionReconoise2 == 15)
14228 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 14; depth = 2 \b");
14229 if (kcountHBpositivedirectionReconoise2 == 16)
14230 HBpositivedirectionReconoise2->SetXTitle(
"R for HB+ jeta = 15; depth = 2 \b");
14231 HBpositivedirectionReconoise2->Draw(
"Error");
14232 kcountHBpositivedirectionReconoise2++;
14233 if (kcountHBpositivedirectionReconoise2 > 16)
14242 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png");
14245 if (h2CeffHBpositivedirectionReconoise2)
14246 delete h2CeffHBpositivedirectionReconoise2;
14253 c3x5->Divide(4, 4);
14255 int kcountHBpositivedirectionReconoise3 = 1;
14256 TH1F *h2CeffHBpositivedirectionReconoise3 =
new TH1F(
"h2CeffHBpositivedirectionReconoise3",
"",
nphi, 0., 72.);
14259 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14262 for (
int i = 2;
i < 3;
i++) {
14263 TH1F *HBpositivedirectionReconoise3 = (TH1F *)h2CeffHBpositivedirectionReconoise3->Clone(
"twod1");
14265 for (
int jphi = 0; jphi <
nphi; jphi++) {
14266 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14268 HBpositivedirectionReconoise3->Fill(jphi, ccc1);
14272 if (ccctest > 0.) {
14274 c3x5->cd(kcountHBpositivedirectionReconoise3);
14275 HBpositivedirectionReconoise3->SetMarkerStyle(20);
14276 HBpositivedirectionReconoise3->SetMarkerSize(0.4);
14277 HBpositivedirectionReconoise3->GetYaxis()->SetLabelSize(0.04);
14278 HBpositivedirectionReconoise3->SetXTitle(
"HBpositivedirectionReconoise3 \b");
14279 HBpositivedirectionReconoise3->SetMarkerColor(2);
14280 HBpositivedirectionReconoise3->SetLineColor(0);
14284 if (kcountHBpositivedirectionReconoise3 == 1)
14285 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
14286 if (kcountHBpositivedirectionReconoise3 == 2)
14287 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 1; depth = 3 \b");
14288 if (kcountHBpositivedirectionReconoise3 == 3)
14289 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 2; depth = 3 \b");
14290 if (kcountHBpositivedirectionReconoise3 == 4)
14291 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 3; depth = 3 \b");
14292 if (kcountHBpositivedirectionReconoise3 == 5)
14293 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 4; depth = 3 \b");
14294 if (kcountHBpositivedirectionReconoise3 == 6)
14295 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 5; depth = 3 \b");
14296 if (kcountHBpositivedirectionReconoise3 == 7)
14297 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 6; depth = 3 \b");
14298 if (kcountHBpositivedirectionReconoise3 == 8)
14299 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 7; depth = 3 \b");
14300 if (kcountHBpositivedirectionReconoise3 == 9)
14301 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 8; depth = 3 \b");
14302 if (kcountHBpositivedirectionReconoise3 == 10)
14303 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 9; depth = 3 \b");
14304 if (kcountHBpositivedirectionReconoise3 == 11)
14305 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 0; depth = 3 \b");
14306 if (kcountHBpositivedirectionReconoise3 == 12)
14307 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 11; depth = 3 \b");
14308 if (kcountHBpositivedirectionReconoise3 == 13)
14309 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 12; depth = 3 \b");
14310 if (kcountHBpositivedirectionReconoise3 == 14)
14311 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 13; depth = 3 \b");
14312 if (kcountHBpositivedirectionReconoise3 == 15)
14313 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 14; depth = 3 \b");
14314 if (kcountHBpositivedirectionReconoise3 == 16)
14315 HBpositivedirectionReconoise3->SetXTitle(
"R for HB+ jeta = 15; depth = 3 \b");
14316 HBpositivedirectionReconoise3->Draw(
"Error");
14317 kcountHBpositivedirectionReconoise3++;
14318 if (kcountHBpositivedirectionReconoise3 > 16)
14327 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png");
14330 if (h2CeffHBpositivedirectionReconoise3)
14331 delete h2CeffHBpositivedirectionReconoise3;
14338 c3x5->Divide(4, 4);
14340 int kcountHBpositivedirectionReconoise4 = 1;
14341 TH1F *h2CeffHBpositivedirectionReconoise4 =
new TH1F(
"h2CeffHBpositivedirectionReconoise4",
"",
nphi, 0., 72.);
14345 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14348 for (
int i = 3;
i < 4;
i++) {
14349 TH1F *HBpositivedirectionReconoise4 = (TH1F *)h2CeffHBpositivedirectionReconoise4->Clone(
"twod1");
14352 for (
int jphi = 0; jphi <
nphi; jphi++) {
14353 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14355 HBpositivedirectionReconoise4->Fill(jphi, ccc1);
14359 if (ccctest > 0.) {
14361 c3x5->cd(kcountHBpositivedirectionReconoise4);
14362 HBpositivedirectionReconoise4->SetMarkerStyle(20);
14363 HBpositivedirectionReconoise4->SetMarkerSize(0.4);
14364 HBpositivedirectionReconoise4->GetYaxis()->SetLabelSize(0.04);
14365 HBpositivedirectionReconoise4->SetXTitle(
"HBpositivedirectionReconoise4 \b");
14366 HBpositivedirectionReconoise4->SetMarkerColor(2);
14367 HBpositivedirectionReconoise4->SetLineColor(0);
14371 if (kcountHBpositivedirectionReconoise4 == 1)
14372 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 0; depth = 4 \b");
14373 if (kcountHBpositivedirectionReconoise4 == 2)
14374 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 1; depth = 4 \b");
14375 if (kcountHBpositivedirectionReconoise4 == 3)
14376 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 2; depth = 4 \b");
14377 if (kcountHBpositivedirectionReconoise4 == 4)
14378 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 3; depth = 4 \b");
14379 if (kcountHBpositivedirectionReconoise4 == 5)
14380 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 4; depth = 4 \b");
14381 if (kcountHBpositivedirectionReconoise4 == 6)
14382 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 5; depth = 4 \b");
14383 if (kcountHBpositivedirectionReconoise4 == 7)
14384 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 6; depth = 4 \b");
14385 if (kcountHBpositivedirectionReconoise4 == 8)
14386 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 7; depth = 4 \b");
14387 if (kcountHBpositivedirectionReconoise4 == 9)
14388 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 8; depth = 4 \b");
14389 if (kcountHBpositivedirectionReconoise4 == 10)
14390 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 9; depth = 4 \b");
14391 if (kcountHBpositivedirectionReconoise4 == 11)
14392 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 10; depth = 4 \b");
14393 if (kcountHBpositivedirectionReconoise4 == 12)
14394 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 11; depth = 4 \b");
14395 if (kcountHBpositivedirectionReconoise4 == 13)
14396 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 12; depth = 4 \b");
14397 if (kcountHBpositivedirectionReconoise4 == 14)
14398 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 13; depth = 4 \b");
14399 if (kcountHBpositivedirectionReconoise4 == 15)
14400 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 14; depth = 4 \b");
14401 if (kcountHBpositivedirectionReconoise4 == 16)
14402 HBpositivedirectionReconoise4->SetXTitle(
"R for HB+ jeta = 15; depth = 4 \b");
14403 HBpositivedirectionReconoise4->Draw(
"Error");
14404 kcountHBpositivedirectionReconoise4++;
14405 if (kcountHBpositivedirectionReconoise4 > 16)
14414 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png");
14417 if (h2CeffHBpositivedirectionReconoise4)
14418 delete h2CeffHBpositivedirectionReconoise4;
14426 c3x5->Divide(4, 4);
14428 int kcountHBnegativedirectionReconoise1 = 1;
14429 TH1F *h2CeffHBnegativedirectionReconoise1 =
new TH1F(
"h2CeffHBnegativedirectionReconoise1",
"",
nphi, 0., 72.);
14432 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
14435 for (
int i = 0;
i < 1;
i++) {
14436 TH1F *HBnegativedirectionReconoise1 = (TH1F *)h2CeffHBnegativedirectionReconoise1->Clone(
"twod1");
14438 for (
int jphi = 0; jphi <
nphi; jphi++) {
14439 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14441 HBnegativedirectionReconoise1->Fill(jphi, ccc1);
14445 if (ccctest > 0.) {
14447 c3x5->cd(kcountHBnegativedirectionReconoise1);
14448 HBnegativedirectionReconoise1->SetMarkerStyle(20);
14449 HBnegativedirectionReconoise1->SetMarkerSize(0.4);
14450 HBnegativedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
14451 HBnegativedirectionReconoise1->SetXTitle(
"HBnegativedirectionReconoise1 \b");
14452 HBnegativedirectionReconoise1->SetMarkerColor(2);
14453 HBnegativedirectionReconoise1->SetLineColor(0);
14457 if (kcountHBnegativedirectionReconoise1 == 1)
14458 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -16; depth = 1 \b");
14459 if (kcountHBnegativedirectionReconoise1 == 2)
14460 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -15; depth = 1 \b");
14461 if (kcountHBnegativedirectionReconoise1 == 3)
14462 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -14; depth = 1 \b");
14463 if (kcountHBnegativedirectionReconoise1 == 4)
14464 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -13; depth = 1 \b");
14465 if (kcountHBnegativedirectionReconoise1 == 5)
14466 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -12; depth = 1 \b");
14467 if (kcountHBnegativedirectionReconoise1 == 6)
14468 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -11; depth = 1 \b");
14469 if (kcountHBnegativedirectionReconoise1 == 7)
14470 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -10; depth = 1 \b");
14471 if (kcountHBnegativedirectionReconoise1 == 8)
14472 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -9; depth = 1 \b");
14473 if (kcountHBnegativedirectionReconoise1 == 9)
14474 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -8; depth = 1 \b");
14475 if (kcountHBnegativedirectionReconoise1 == 10)
14476 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -7; depth = 1 \b");
14477 if (kcountHBnegativedirectionReconoise1 == 11)
14478 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -6; depth = 1 \b");
14479 if (kcountHBnegativedirectionReconoise1 == 12)
14480 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -5; depth = 1 \b");
14481 if (kcountHBnegativedirectionReconoise1 == 13)
14482 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -4; depth = 1 \b");
14483 if (kcountHBnegativedirectionReconoise1 == 14)
14484 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -3; depth = 1 \b");
14485 if (kcountHBnegativedirectionReconoise1 == 15)
14486 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -2; depth = 1 \b");
14487 if (kcountHBnegativedirectionReconoise1 == 16)
14488 HBnegativedirectionReconoise1->SetXTitle(
"R for HB- jeta = -1; depth = 1 \b");
14489 HBnegativedirectionReconoise1->Draw(
"Error");
14490 kcountHBnegativedirectionReconoise1++;
14491 if (kcountHBnegativedirectionReconoise1 > 16)
14500 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
14503 if (h2CeffHBnegativedirectionReconoise1)
14504 delete h2CeffHBnegativedirectionReconoise1;
14512 c3x5->Divide(4, 4);
14514 int kcountHBnegativedirectionReconoise2 = 1;
14515 TH1F *h2CeffHBnegativedirectionReconoise2 =
new TH1F(
"h2CeffHBnegativedirectionReconoise2",
"",
nphi, 0., 72.);
14518 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
14521 for (
int i = 1;
i < 2;
i++) {
14522 TH1F *HBnegativedirectionReconoise2 = (TH1F *)h2CeffHBnegativedirectionReconoise2->Clone(
"twod1");
14524 for (
int jphi = 0; jphi <
nphi; jphi++) {
14525 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14527 HBnegativedirectionReconoise2->Fill(jphi, ccc1);
14531 if (ccctest > 0.) {
14533 c3x5->cd(kcountHBnegativedirectionReconoise2);
14534 HBnegativedirectionReconoise2->SetMarkerStyle(20);
14535 HBnegativedirectionReconoise2->SetMarkerSize(0.4);
14536 HBnegativedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
14537 HBnegativedirectionReconoise2->SetXTitle(
"HBnegativedirectionReconoise2 \b");
14538 HBnegativedirectionReconoise2->SetMarkerColor(2);
14539 HBnegativedirectionReconoise2->SetLineColor(0);
14543 if (kcountHBnegativedirectionReconoise2 == 1)
14544 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -16; depth = 2 \b");
14545 if (kcountHBnegativedirectionReconoise2 == 2)
14546 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -15; depth = 2 \b");
14547 if (kcountHBnegativedirectionReconoise2 == 3)
14548 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -14; depth = 2 \b");
14549 if (kcountHBnegativedirectionReconoise2 == 4)
14550 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -13; depth = 2 \b");
14551 if (kcountHBnegativedirectionReconoise2 == 5)
14552 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -12; depth = 2 \b");
14553 if (kcountHBnegativedirectionReconoise2 == 6)
14554 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -11; depth = 2 \b");
14555 if (kcountHBnegativedirectionReconoise2 == 7)
14556 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -10; depth = 2 \b");
14557 if (kcountHBnegativedirectionReconoise2 == 8)
14558 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -9; depth = 2 \b");
14559 if (kcountHBnegativedirectionReconoise2 == 9)
14560 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -8; depth = 2 \b");
14561 if (kcountHBnegativedirectionReconoise2 == 10)
14562 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -7; depth = 2 \b");
14563 if (kcountHBnegativedirectionReconoise2 == 11)
14564 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -6; depth = 2 \b");
14565 if (kcountHBnegativedirectionReconoise2 == 12)
14566 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -5; depth = 2 \b");
14567 if (kcountHBnegativedirectionReconoise2 == 13)
14568 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -4; depth = 2 \b");
14569 if (kcountHBnegativedirectionReconoise2 == 14)
14570 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -3; depth = 2 \b");
14571 if (kcountHBnegativedirectionReconoise2 == 15)
14572 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -2; depth = 2 \b");
14573 if (kcountHBnegativedirectionReconoise2 == 16)
14574 HBnegativedirectionReconoise2->SetXTitle(
"R for HB- jeta = -1; depth = 2 \b");
14575 HBnegativedirectionReconoise2->Draw(
"Error");
14576 kcountHBnegativedirectionReconoise2++;
14577 if (kcountHBnegativedirectionReconoise2 > 16)
14586 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
14589 if (h2CeffHBnegativedirectionReconoise2)
14590 delete h2CeffHBnegativedirectionReconoise2;
14597 c3x5->Divide(4, 4);
14599 int kcountHBnegativedirectionReconoise3 = 1;
14600 TH1F *h2CeffHBnegativedirectionReconoise3 =
new TH1F(
"h2CeffHBnegativedirectionReconoise3",
"",
nphi, 0., 72.);
14603 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
14606 for (
int i = 2;
i < 3;
i++) {
14607 TH1F *HBnegativedirectionReconoise3 = (TH1F *)h2CeffHBnegativedirectionReconoise3->Clone(
"twod1");
14609 for (
int jphi = 0; jphi <
nphi; jphi++) {
14610 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14612 HBnegativedirectionReconoise3->Fill(jphi, ccc1);
14616 if (ccctest > 0.) {
14618 c3x5->cd(kcountHBnegativedirectionReconoise3);
14619 HBnegativedirectionReconoise3->SetMarkerStyle(20);
14620 HBnegativedirectionReconoise3->SetMarkerSize(0.4);
14621 HBnegativedirectionReconoise3->GetYaxis()->SetLabelSize(0.04);
14622 HBnegativedirectionReconoise3->SetXTitle(
"HBnegativedirectionReconoise3 \b");
14623 HBnegativedirectionReconoise3->SetMarkerColor(2);
14624 HBnegativedirectionReconoise3->SetLineColor(0);
14628 if (kcountHBnegativedirectionReconoise3 == 1)
14629 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -16; depth = 3 \b");
14630 if (kcountHBnegativedirectionReconoise3 == 2)
14631 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -15; depth = 3 \b");
14632 if (kcountHBnegativedirectionReconoise3 == 3)
14633 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -14; depth = 3 \b");
14634 if (kcountHBnegativedirectionReconoise3 == 4)
14635 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -13; depth = 3 \b");
14636 if (kcountHBnegativedirectionReconoise3 == 5)
14637 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -12; depth = 3 \b");
14638 if (kcountHBnegativedirectionReconoise3 == 6)
14639 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -11; depth = 3 \b");
14640 if (kcountHBnegativedirectionReconoise3 == 7)
14641 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -10; depth = 3 \b");
14642 if (kcountHBnegativedirectionReconoise3 == 8)
14643 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -9; depth = 3 \b");
14644 if (kcountHBnegativedirectionReconoise3 == 9)
14645 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -8; depth = 3 \b");
14646 if (kcountHBnegativedirectionReconoise3 == 10)
14647 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -7; depth = 3 \b");
14648 if (kcountHBnegativedirectionReconoise3 == 11)
14649 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -6; depth = 3 \b");
14650 if (kcountHBnegativedirectionReconoise3 == 12)
14651 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -5; depth = 3 \b");
14652 if (kcountHBnegativedirectionReconoise3 == 13)
14653 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -4; depth = 3 \b");
14654 if (kcountHBnegativedirectionReconoise3 == 14)
14655 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -3; depth = 3 \b");
14656 if (kcountHBnegativedirectionReconoise3 == 15)
14657 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -2; depth = 3 \b");
14658 if (kcountHBnegativedirectionReconoise3 == 16)
14659 HBnegativedirectionReconoise3->SetXTitle(
"R for HB- jeta = -1; depth = 3 \b");
14661 HBnegativedirectionReconoise3->Draw(
"Error");
14662 kcountHBnegativedirectionReconoise3++;
14663 if (kcountHBnegativedirectionReconoise3 > 16)
14672 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
14675 if (h2CeffHBnegativedirectionReconoise3)
14676 delete h2CeffHBnegativedirectionReconoise3;
14683 c3x5->Divide(4, 4);
14685 int kcountHBnegativedirectionReconoise4 = 1;
14686 TH1F *h2CeffHBnegativedirectionReconoise4 =
new TH1F(
"h2CeffHBnegativedirectionReconoise4",
"",
nphi, 0., 72.);
14690 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
14693 for (
int i = 3;
i < 4;
i++) {
14694 TH1F *HBnegativedirectionReconoise4 = (TH1F *)h2CeffHBnegativedirectionReconoise4->Clone(
"twod1");
14697 for (
int jphi = 0; jphi <
nphi; jphi++) {
14698 double ccc1 = areconoiseHB[
i][
jeta][jphi];
14700 HBnegativedirectionReconoise4->Fill(jphi, ccc1);
14704 if (ccctest > 0.) {
14706 c3x5->cd(kcountHBnegativedirectionReconoise4);
14707 HBnegativedirectionReconoise4->SetMarkerStyle(20);
14708 HBnegativedirectionReconoise4->SetMarkerSize(0.4);
14709 HBnegativedirectionReconoise4->GetYaxis()->SetLabelSize(0.04);
14710 HBnegativedirectionReconoise4->SetXTitle(
"HBnegativedirectionReconoise4 \b");
14711 HBnegativedirectionReconoise4->SetMarkerColor(2);
14712 HBnegativedirectionReconoise4->SetLineColor(0);
14716 if (kcountHBnegativedirectionReconoise4 == 1)
14717 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -16; depth = 4 \b");
14718 if (kcountHBnegativedirectionReconoise4 == 2)
14719 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -15; depth = 4 \b");
14720 if (kcountHBnegativedirectionReconoise4 == 3)
14721 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -14; depth = 4 \b");
14722 if (kcountHBnegativedirectionReconoise4 == 4)
14723 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -13; depth = 4 \b");
14724 if (kcountHBnegativedirectionReconoise4 == 5)
14725 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -12; depth = 4 \b");
14726 if (kcountHBnegativedirectionReconoise4 == 6)
14727 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -11; depth = 4 \b");
14728 if (kcountHBnegativedirectionReconoise4 == 7)
14729 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -10; depth = 4 \b");
14730 if (kcountHBnegativedirectionReconoise4 == 8)
14731 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -9; depth = 4 \b");
14732 if (kcountHBnegativedirectionReconoise4 == 9)
14733 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -8; depth = 4 \b");
14734 if (kcountHBnegativedirectionReconoise4 == 10)
14735 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -7; depth = 4 \b");
14736 if (kcountHBnegativedirectionReconoise4 == 11)
14737 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -6; depth = 4 \b");
14738 if (kcountHBnegativedirectionReconoise4 == 12)
14739 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -5; depth = 4 \b");
14740 if (kcountHBnegativedirectionReconoise4 == 13)
14741 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -4; depth = 4 \b");
14742 if (kcountHBnegativedirectionReconoise4 == 14)
14743 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -3; depth = 4 \b");
14744 if (kcountHBnegativedirectionReconoise4 == 15)
14745 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -2; depth = 4 \b");
14746 if (kcountHBnegativedirectionReconoise4 == 16)
14747 HBnegativedirectionReconoise4->SetXTitle(
"R for HB- jeta = -1; depth = 4 \b");
14748 HBnegativedirectionReconoise4->Draw(
"Error");
14749 kcountHBnegativedirectionReconoise4++;
14750 if (kcountHBnegativedirectionReconoise4 > 16)
14759 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
14762 if (h2CeffHBnegativedirectionReconoise4)
14763 delete h2CeffHBnegativedirectionReconoise4;
14772 c2x1->Divide(2, 1);
14774 TH2F *GefzDIFreconoiseHB42D =
new TH2F(
"GefzDIFreconoiseHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
14775 TH2F *GefzDIFreconoiseHB42D0 =
new TH2F(
"GefzDIFreconoiseHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
14776 TH2F *GefzDIFreconoiseHB42DF = (TH2F *)GefzDIFreconoiseHB42D0->Clone(
"GefzDIFreconoiseHB42DF");
14779 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
14780 for (
int jphi = 0; jphi <
nphi; jphi++) {
14781 double ccc1 = breconoiseHB[
i][
jeta][jphi];
14782 int k2plot =
jeta - 41;
14785 GefzDIFreconoiseHB42D->Fill(kkk, jphi, ccc1);
14786 GefzDIFreconoiseHB42D0->Fill(kkk, jphi, 1.);
14792 GefzDIFreconoiseHB42DF->Divide(GefzDIFreconoiseHB42D, GefzDIFreconoiseHB42D0, 1, 1,
"B");
14795 GefzDIFreconoiseHB42DF->SetXTitle(
"<DIF>_depth #eta \b");
14796 GefzDIFreconoiseHB42DF->SetYTitle(
" #phi \b");
14797 GefzDIFreconoiseHB42DF->Draw(
"COLZ");
14805 c2x1->Print(
"DIFreconoiseGeneralD2PhiSymmetryHB.png");
14808 if (GefzDIFreconoiseHB42D)
14809 delete GefzDIFreconoiseHB42D;
14810 if (GefzDIFreconoiseHB42D0)
14811 delete GefzDIFreconoiseHB42D0;
14812 if (GefzDIFreconoiseHB42DF)
14813 delete GefzDIFreconoiseHB42DF;
14819 c1x1->Divide(1, 1);
14821 TH1F *GefzDIFreconoiseHB41D =
new TH1F(
"GefzDIFreconoiseHB41D",
"",
nphi, 0., 72.);
14822 TH1F *GefzDIFreconoiseHB41D0 =
new TH1F(
"GefzDIFreconoiseHB41D0",
"",
nphi, 0., 72.);
14823 TH1F *GefzDIFreconoiseHB41DF = (TH1F *)GefzDIFreconoiseHB41D0->Clone(
"GefzDIFreconoiseHB41DF");
14824 for (
int jphi = 0; jphi <
nphi; jphi++) {
14826 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
14828 double ccc1 = breconoiseHB[
i][
jeta][jphi];
14830 GefzDIFreconoiseHB41D->Fill(jphi, ccc1);
14831 GefzDIFreconoiseHB41D0->Fill(jphi, 1.);
14837 GefzDIFreconoiseHB41DF->Divide(
14838 GefzDIFreconoiseHB41D, GefzDIFreconoiseHB41D0, 1, 1,
"B");
14839 GefzDIFreconoiseHB41D0->Sumw2();
14843 GefzDIFreconoiseHB41DF->SetMarkerStyle(20);
14844 GefzDIFreconoiseHB41DF->SetMarkerSize(1.4);
14845 GefzDIFreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08);
14846 GefzDIFreconoiseHB41DF->SetXTitle(
"#phi \b");
14847 GefzDIFreconoiseHB41DF->SetYTitle(
" <DIF> \b");
14848 GefzDIFreconoiseHB41DF->SetZTitle(
"<DIF>_PHI - AllDepthfs \b");
14849 GefzDIFreconoiseHB41DF->SetMarkerColor(4);
14850 GefzDIFreconoiseHB41DF->SetLineColor(
14852 GefzDIFreconoiseHB41DF->Draw(
"Error");
14855 c1x1->Print(
"DIFreconoiseGeneralD1PhiSymmetryHB.png");
14858 if (GefzDIFreconoiseHB41D)
14859 delete GefzDIFreconoiseHB41D;
14860 if (GefzDIFreconoiseHB41D0)
14861 delete GefzDIFreconoiseHB41D0;
14862 if (GefzDIFreconoiseHB41DF)
14863 delete GefzDIFreconoiseHB41DF;
14870 c3x5->Divide(4, 4);
14872 int kcountHBpositivedirectionReconoiseDIF1 = 1;
14873 TH1F *h2CeffHBpositivedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
14876 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14879 for (
int i = 0;
i < 1;
i++) {
14880 TH1F *HBpositivedirectionReconoiseDIF1 = (TH1F *)h2CeffHBpositivedirectionReconoiseDIF1->Clone(
"twod1");
14882 for (
int jphi = 0; jphi <
nphi; jphi++) {
14883 double ccc1 = breconoiseHB[
i][
jeta][jphi];
14885 HBpositivedirectionReconoiseDIF1->Fill(jphi, ccc1);
14889 if (ccctest > 0.) {
14891 c3x5->cd(kcountHBpositivedirectionReconoiseDIF1);
14892 HBpositivedirectionReconoiseDIF1->SetMarkerStyle(20);
14893 HBpositivedirectionReconoiseDIF1->SetMarkerSize(0.4);
14894 HBpositivedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
14895 HBpositivedirectionReconoiseDIF1->SetXTitle(
"HBpositivedirectionReconoiseDIF1 \b");
14896 HBpositivedirectionReconoiseDIF1->SetMarkerColor(2);
14897 HBpositivedirectionReconoiseDIF1->SetLineColor(0);
14901 if (kcountHBpositivedirectionReconoiseDIF1 == 1)
14902 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 0; depth = 1 \b");
14903 if (kcountHBpositivedirectionReconoiseDIF1 == 2)
14904 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 1; depth = 1 \b");
14905 if (kcountHBpositivedirectionReconoiseDIF1 == 3)
14906 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 2; depth = 1 \b");
14907 if (kcountHBpositivedirectionReconoiseDIF1 == 4)
14908 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 3; depth = 1 \b");
14909 if (kcountHBpositivedirectionReconoiseDIF1 == 5)
14910 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 4; depth = 1 \b");
14911 if (kcountHBpositivedirectionReconoiseDIF1 == 6)
14912 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 5; depth = 1 \b");
14913 if (kcountHBpositivedirectionReconoiseDIF1 == 7)
14914 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 6; depth = 1 \b");
14915 if (kcountHBpositivedirectionReconoiseDIF1 == 8)
14916 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 7; depth = 1 \b");
14917 if (kcountHBpositivedirectionReconoiseDIF1 == 9)
14918 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 8; depth = 1 \b");
14919 if (kcountHBpositivedirectionReconoiseDIF1 == 10)
14920 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 9; depth = 1 \b");
14921 if (kcountHBpositivedirectionReconoiseDIF1 == 11)
14922 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 10; depth = 1 \b");
14923 if (kcountHBpositivedirectionReconoiseDIF1 == 12)
14924 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 11; depth = 1 \b");
14925 if (kcountHBpositivedirectionReconoiseDIF1 == 13)
14926 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 12; depth = 1 \b");
14927 if (kcountHBpositivedirectionReconoiseDIF1 == 14)
14928 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 13; depth = 1 \b");
14929 if (kcountHBpositivedirectionReconoiseDIF1 == 15)
14930 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 14; depth = 1 \b");
14931 if (kcountHBpositivedirectionReconoiseDIF1 == 16)
14932 HBpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HB+ jeta = 15; depth = 1 \b");
14933 HBpositivedirectionReconoiseDIF1->Draw(
"Error");
14934 kcountHBpositivedirectionReconoiseDIF1++;
14935 if (kcountHBpositivedirectionReconoiseDIF1 > 16)
14944 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png");
14947 if (h2CeffHBpositivedirectionReconoiseDIF1)
14948 delete h2CeffHBpositivedirectionReconoiseDIF1;
14956 c3x5->Divide(4, 4);
14958 int kcountHBpositivedirectionReconoiseDIF2 = 1;
14959 TH1F *h2CeffHBpositivedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
14962 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
14965 for (
int i = 1;
i < 2;
i++) {
14966 TH1F *HBpositivedirectionReconoiseDIF2 = (TH1F *)h2CeffHBpositivedirectionReconoiseDIF2->Clone(
"twod1");
14968 for (
int jphi = 0; jphi <
nphi; jphi++) {
14969 double ccc1 = breconoiseHB[
i][
jeta][jphi];
14971 HBpositivedirectionReconoiseDIF2->Fill(jphi, ccc1);
14975 if (ccctest > 0.) {
14977 c3x5->cd(kcountHBpositivedirectionReconoiseDIF2);
14978 HBpositivedirectionReconoiseDIF2->SetMarkerStyle(20);
14979 HBpositivedirectionReconoiseDIF2->SetMarkerSize(0.4);
14980 HBpositivedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
14981 HBpositivedirectionReconoiseDIF2->SetXTitle(
"HBpositivedirectionReconoiseDIF2 \b");
14982 HBpositivedirectionReconoiseDIF2->SetMarkerColor(2);
14983 HBpositivedirectionReconoiseDIF2->SetLineColor(0);
14987 if (kcountHBpositivedirectionReconoiseDIF2 == 1)
14988 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 0; depth = 2 \b");
14989 if (kcountHBpositivedirectionReconoiseDIF2 == 2)
14990 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 1; depth = 2 \b");
14991 if (kcountHBpositivedirectionReconoiseDIF2 == 3)
14992 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 2; depth = 2 \b");
14993 if (kcountHBpositivedirectionReconoiseDIF2 == 4)
14994 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 3; depth = 2 \b");
14995 if (kcountHBpositivedirectionReconoiseDIF2 == 5)
14996 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 4; depth = 2 \b");
14997 if (kcountHBpositivedirectionReconoiseDIF2 == 6)
14998 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 5; depth = 2 \b");
14999 if (kcountHBpositivedirectionReconoiseDIF2 == 7)
15000 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 6; depth = 2 \b");
15001 if (kcountHBpositivedirectionReconoiseDIF2 == 8)
15002 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 7; depth = 2 \b");
15003 if (kcountHBpositivedirectionReconoiseDIF2 == 9)
15004 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 8; depth = 2 \b");
15005 if (kcountHBpositivedirectionReconoiseDIF2 == 10)
15006 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 9; depth = 2 \b");
15007 if (kcountHBpositivedirectionReconoiseDIF2 == 11)
15008 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 10; depth = 2 \b");
15009 if (kcountHBpositivedirectionReconoiseDIF2 == 12)
15010 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 11; depth = 2 \b");
15011 if (kcountHBpositivedirectionReconoiseDIF2 == 13)
15012 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 12; depth = 2 \b");
15013 if (kcountHBpositivedirectionReconoiseDIF2 == 14)
15014 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 13; depth = 2 \b");
15015 if (kcountHBpositivedirectionReconoiseDIF2 == 15)
15016 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 14; depth = 2 \b");
15017 if (kcountHBpositivedirectionReconoiseDIF2 == 16)
15018 HBpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HB+ jeta = 15; depth = 2 \b");
15019 HBpositivedirectionReconoiseDIF2->Draw(
"Error");
15020 kcountHBpositivedirectionReconoiseDIF2++;
15021 if (kcountHBpositivedirectionReconoiseDIF2 > 16)
15030 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png");
15033 if (h2CeffHBpositivedirectionReconoiseDIF2)
15034 delete h2CeffHBpositivedirectionReconoiseDIF2;
15041 c3x5->Divide(4, 4);
15043 int kcountHBpositivedirectionReconoiseDIF3 = 1;
15044 TH1F *h2CeffHBpositivedirectionReconoiseDIF3 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseDIF3",
"",
nphi, 0., 72.);
15047 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
15050 for (
int i = 2;
i < 3;
i++) {
15051 TH1F *HBpositivedirectionReconoiseDIF3 = (TH1F *)h2CeffHBpositivedirectionReconoiseDIF3->Clone(
"twod1");
15053 for (
int jphi = 0; jphi <
nphi; jphi++) {
15054 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15056 HBpositivedirectionReconoiseDIF3->Fill(jphi, ccc1);
15060 if (ccctest > 0.) {
15062 c3x5->cd(kcountHBpositivedirectionReconoiseDIF3);
15063 HBpositivedirectionReconoiseDIF3->SetMarkerStyle(20);
15064 HBpositivedirectionReconoiseDIF3->SetMarkerSize(0.4);
15065 HBpositivedirectionReconoiseDIF3->GetYaxis()->SetLabelSize(0.04);
15066 HBpositivedirectionReconoiseDIF3->SetXTitle(
"HBpositivedirectionReconoiseDIF3 \b");
15067 HBpositivedirectionReconoiseDIF3->SetMarkerColor(2);
15068 HBpositivedirectionReconoiseDIF3->SetLineColor(0);
15072 if (kcountHBpositivedirectionReconoiseDIF3 == 1)
15073 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 0; depth = 3 \b");
15074 if (kcountHBpositivedirectionReconoiseDIF3 == 2)
15075 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 1; depth = 3 \b");
15076 if (kcountHBpositivedirectionReconoiseDIF3 == 3)
15077 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 2; depth = 3 \b");
15078 if (kcountHBpositivedirectionReconoiseDIF3 == 4)
15079 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 3; depth = 3 \b");
15080 if (kcountHBpositivedirectionReconoiseDIF3 == 5)
15081 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 4; depth = 3 \b");
15082 if (kcountHBpositivedirectionReconoiseDIF3 == 6)
15083 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 5; depth = 3 \b");
15084 if (kcountHBpositivedirectionReconoiseDIF3 == 7)
15085 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 6; depth = 3 \b");
15086 if (kcountHBpositivedirectionReconoiseDIF3 == 8)
15087 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 7; depth = 3 \b");
15088 if (kcountHBpositivedirectionReconoiseDIF3 == 9)
15089 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 8; depth = 3 \b");
15090 if (kcountHBpositivedirectionReconoiseDIF3 == 10)
15091 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 9; depth = 3 \b");
15092 if (kcountHBpositivedirectionReconoiseDIF3 == 11)
15093 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 0; depth = 3 \b");
15094 if (kcountHBpositivedirectionReconoiseDIF3 == 12)
15095 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 11; depth = 3 \b");
15096 if (kcountHBpositivedirectionReconoiseDIF3 == 13)
15097 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 12; depth = 3 \b");
15098 if (kcountHBpositivedirectionReconoiseDIF3 == 14)
15099 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 13; depth = 3 \b");
15100 if (kcountHBpositivedirectionReconoiseDIF3 == 15)
15101 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 14; depth = 3 \b");
15102 if (kcountHBpositivedirectionReconoiseDIF3 == 16)
15103 HBpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HB+ jeta = 15; depth = 3 \b");
15104 HBpositivedirectionReconoiseDIF3->Draw(
"Error");
15105 kcountHBpositivedirectionReconoiseDIF3++;
15106 if (kcountHBpositivedirectionReconoiseDIF3 > 16)
15115 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png");
15118 if (h2CeffHBpositivedirectionReconoiseDIF3)
15119 delete h2CeffHBpositivedirectionReconoiseDIF3;
15126 c3x5->Divide(4, 4);
15128 int kcountHBpositivedirectionReconoiseDIF4 = 1;
15129 TH1F *h2CeffHBpositivedirectionReconoiseDIF4 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseDIF4",
"",
nphi, 0., 72.);
15133 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
15136 for (
int i = 3;
i < 4;
i++) {
15137 TH1F *HBpositivedirectionReconoiseDIF4 = (TH1F *)h2CeffHBpositivedirectionReconoiseDIF4->Clone(
"twod1");
15140 for (
int jphi = 0; jphi <
nphi; jphi++) {
15141 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15143 HBpositivedirectionReconoiseDIF4->Fill(jphi, ccc1);
15147 if (ccctest > 0.) {
15149 c3x5->cd(kcountHBpositivedirectionReconoiseDIF4);
15150 HBpositivedirectionReconoiseDIF4->SetMarkerStyle(20);
15151 HBpositivedirectionReconoiseDIF4->SetMarkerSize(0.4);
15152 HBpositivedirectionReconoiseDIF4->GetYaxis()->SetLabelSize(0.04);
15153 HBpositivedirectionReconoiseDIF4->SetXTitle(
"HBpositivedirectionReconoiseDIF4 \b");
15154 HBpositivedirectionReconoiseDIF4->SetMarkerColor(2);
15155 HBpositivedirectionReconoiseDIF4->SetLineColor(0);
15159 if (kcountHBpositivedirectionReconoiseDIF4 == 1)
15160 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 0; depth = 4 \b");
15161 if (kcountHBpositivedirectionReconoiseDIF4 == 2)
15162 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 1; depth = 4 \b");
15163 if (kcountHBpositivedirectionReconoiseDIF4 == 3)
15164 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 2; depth = 4 \b");
15165 if (kcountHBpositivedirectionReconoiseDIF4 == 4)
15166 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 3; depth = 4 \b");
15167 if (kcountHBpositivedirectionReconoiseDIF4 == 5)
15168 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 4; depth = 4 \b");
15169 if (kcountHBpositivedirectionReconoiseDIF4 == 6)
15170 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 5; depth = 4 \b");
15171 if (kcountHBpositivedirectionReconoiseDIF4 == 7)
15172 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 6; depth = 4 \b");
15173 if (kcountHBpositivedirectionReconoiseDIF4 == 8)
15174 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 7; depth = 4 \b");
15175 if (kcountHBpositivedirectionReconoiseDIF4 == 9)
15176 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 8; depth = 4 \b");
15177 if (kcountHBpositivedirectionReconoiseDIF4 == 10)
15178 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 9; depth = 4 \b");
15179 if (kcountHBpositivedirectionReconoiseDIF4 == 11)
15180 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 10; depth = 4 \b");
15181 if (kcountHBpositivedirectionReconoiseDIF4 == 12)
15182 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 11; depth = 4 \b");
15183 if (kcountHBpositivedirectionReconoiseDIF4 == 13)
15184 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 12; depth = 4 \b");
15185 if (kcountHBpositivedirectionReconoiseDIF4 == 14)
15186 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 13; depth = 4 \b");
15187 if (kcountHBpositivedirectionReconoiseDIF4 == 15)
15188 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 14; depth = 4 \b");
15189 if (kcountHBpositivedirectionReconoiseDIF4 == 16)
15190 HBpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HB+ jeta = 15; depth = 4 \b");
15191 HBpositivedirectionReconoiseDIF4->Draw(
"Error");
15192 kcountHBpositivedirectionReconoiseDIF4++;
15193 if (kcountHBpositivedirectionReconoiseDIF4 > 16)
15202 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png");
15205 if (h2CeffHBpositivedirectionReconoiseDIF4)
15206 delete h2CeffHBpositivedirectionReconoiseDIF4;
15214 c3x5->Divide(4, 4);
15216 int kcountHBnegativedirectionReconoiseDIF1 = 1;
15217 TH1F *h2CeffHBnegativedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
15220 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
15223 for (
int i = 0;
i < 1;
i++) {
15224 TH1F *HBnegativedirectionReconoiseDIF1 = (TH1F *)h2CeffHBnegativedirectionReconoiseDIF1->Clone(
"twod1");
15226 for (
int jphi = 0; jphi <
nphi; jphi++) {
15227 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15229 HBnegativedirectionReconoiseDIF1->Fill(jphi, ccc1);
15233 if (ccctest > 0.) {
15235 c3x5->cd(kcountHBnegativedirectionReconoiseDIF1);
15236 HBnegativedirectionReconoiseDIF1->SetMarkerStyle(20);
15237 HBnegativedirectionReconoiseDIF1->SetMarkerSize(0.4);
15238 HBnegativedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
15239 HBnegativedirectionReconoiseDIF1->SetXTitle(
"HBnegativedirectionReconoiseDIF1 \b");
15240 HBnegativedirectionReconoiseDIF1->SetMarkerColor(2);
15241 HBnegativedirectionReconoiseDIF1->SetLineColor(0);
15245 if (kcountHBnegativedirectionReconoiseDIF1 == 1)
15246 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -16; depth = 1 \b");
15247 if (kcountHBnegativedirectionReconoiseDIF1 == 2)
15248 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -15; depth = 1 \b");
15249 if (kcountHBnegativedirectionReconoiseDIF1 == 3)
15250 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -14; depth = 1 \b");
15251 if (kcountHBnegativedirectionReconoiseDIF1 == 4)
15252 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -13; depth = 1 \b");
15253 if (kcountHBnegativedirectionReconoiseDIF1 == 5)
15254 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -12; depth = 1 \b");
15255 if (kcountHBnegativedirectionReconoiseDIF1 == 6)
15256 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -11; depth = 1 \b");
15257 if (kcountHBnegativedirectionReconoiseDIF1 == 7)
15258 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -10; depth = 1 \b");
15259 if (kcountHBnegativedirectionReconoiseDIF1 == 8)
15260 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -9; depth = 1 \b");
15261 if (kcountHBnegativedirectionReconoiseDIF1 == 9)
15262 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -8; depth = 1 \b");
15263 if (kcountHBnegativedirectionReconoiseDIF1 == 10)
15264 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -7; depth = 1 \b");
15265 if (kcountHBnegativedirectionReconoiseDIF1 == 11)
15266 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -6; depth = 1 \b");
15267 if (kcountHBnegativedirectionReconoiseDIF1 == 12)
15268 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -5; depth = 1 \b");
15269 if (kcountHBnegativedirectionReconoiseDIF1 == 13)
15270 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -4; depth = 1 \b");
15271 if (kcountHBnegativedirectionReconoiseDIF1 == 14)
15272 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -3; depth = 1 \b");
15273 if (kcountHBnegativedirectionReconoiseDIF1 == 15)
15274 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -2; depth = 1 \b");
15275 if (kcountHBnegativedirectionReconoiseDIF1 == 16)
15276 HBnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HB- jeta = -1; depth = 1 \b");
15277 HBnegativedirectionReconoiseDIF1->Draw(
"Error");
15278 kcountHBnegativedirectionReconoiseDIF1++;
15279 if (kcountHBnegativedirectionReconoiseDIF1 > 16)
15288 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
15291 if (h2CeffHBnegativedirectionReconoiseDIF1)
15292 delete h2CeffHBnegativedirectionReconoiseDIF1;
15300 c3x5->Divide(4, 4);
15302 int kcountHBnegativedirectionReconoiseDIF2 = 1;
15303 TH1F *h2CeffHBnegativedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
15306 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
15309 for (
int i = 1;
i < 2;
i++) {
15310 TH1F *HBnegativedirectionReconoiseDIF2 = (TH1F *)h2CeffHBnegativedirectionReconoiseDIF2->Clone(
"twod1");
15312 for (
int jphi = 0; jphi <
nphi; jphi++) {
15313 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15315 HBnegativedirectionReconoiseDIF2->Fill(jphi, ccc1);
15319 if (ccctest > 0.) {
15321 c3x5->cd(kcountHBnegativedirectionReconoiseDIF2);
15322 HBnegativedirectionReconoiseDIF2->SetMarkerStyle(20);
15323 HBnegativedirectionReconoiseDIF2->SetMarkerSize(0.4);
15324 HBnegativedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
15325 HBnegativedirectionReconoiseDIF2->SetXTitle(
"HBnegativedirectionReconoiseDIF2 \b");
15326 HBnegativedirectionReconoiseDIF2->SetMarkerColor(2);
15327 HBnegativedirectionReconoiseDIF2->SetLineColor(0);
15331 if (kcountHBnegativedirectionReconoiseDIF2 == 1)
15332 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -16; depth = 2 \b");
15333 if (kcountHBnegativedirectionReconoiseDIF2 == 2)
15334 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -15; depth = 2 \b");
15335 if (kcountHBnegativedirectionReconoiseDIF2 == 3)
15336 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -14; depth = 2 \b");
15337 if (kcountHBnegativedirectionReconoiseDIF2 == 4)
15338 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -13; depth = 2 \b");
15339 if (kcountHBnegativedirectionReconoiseDIF2 == 5)
15340 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -12; depth = 2 \b");
15341 if (kcountHBnegativedirectionReconoiseDIF2 == 6)
15342 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -11; depth = 2 \b");
15343 if (kcountHBnegativedirectionReconoiseDIF2 == 7)
15344 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -10; depth = 2 \b");
15345 if (kcountHBnegativedirectionReconoiseDIF2 == 8)
15346 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -9; depth = 2 \b");
15347 if (kcountHBnegativedirectionReconoiseDIF2 == 9)
15348 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -8; depth = 2 \b");
15349 if (kcountHBnegativedirectionReconoiseDIF2 == 10)
15350 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -7; depth = 2 \b");
15351 if (kcountHBnegativedirectionReconoiseDIF2 == 11)
15352 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -6; depth = 2 \b");
15353 if (kcountHBnegativedirectionReconoiseDIF2 == 12)
15354 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -5; depth = 2 \b");
15355 if (kcountHBnegativedirectionReconoiseDIF2 == 13)
15356 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -4; depth = 2 \b");
15357 if (kcountHBnegativedirectionReconoiseDIF2 == 14)
15358 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -3; depth = 2 \b");
15359 if (kcountHBnegativedirectionReconoiseDIF2 == 15)
15360 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -2; depth = 2 \b");
15361 if (kcountHBnegativedirectionReconoiseDIF2 == 16)
15362 HBnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HB- jeta = -1; depth = 2 \b");
15363 HBnegativedirectionReconoiseDIF2->Draw(
"Error");
15364 kcountHBnegativedirectionReconoiseDIF2++;
15365 if (kcountHBnegativedirectionReconoiseDIF2 > 16)
15374 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
15377 if (h2CeffHBnegativedirectionReconoiseDIF2)
15378 delete h2CeffHBnegativedirectionReconoiseDIF2;
15385 c3x5->Divide(4, 4);
15387 int kcountHBnegativedirectionReconoiseDIF3 = 1;
15388 TH1F *h2CeffHBnegativedirectionReconoiseDIF3 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseDIF3",
"",
nphi, 0., 72.);
15391 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
15394 for (
int i = 2;
i < 3;
i++) {
15395 TH1F *HBnegativedirectionReconoiseDIF3 = (TH1F *)h2CeffHBnegativedirectionReconoiseDIF3->Clone(
"twod1");
15397 for (
int jphi = 0; jphi <
nphi; jphi++) {
15398 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15400 HBnegativedirectionReconoiseDIF3->Fill(jphi, ccc1);
15404 if (ccctest > 0.) {
15406 c3x5->cd(kcountHBnegativedirectionReconoiseDIF3);
15407 HBnegativedirectionReconoiseDIF3->SetMarkerStyle(20);
15408 HBnegativedirectionReconoiseDIF3->SetMarkerSize(0.4);
15409 HBnegativedirectionReconoiseDIF3->GetYaxis()->SetLabelSize(0.04);
15410 HBnegativedirectionReconoiseDIF3->SetXTitle(
"HBnegativedirectionReconoiseDIF3 \b");
15411 HBnegativedirectionReconoiseDIF3->SetMarkerColor(2);
15412 HBnegativedirectionReconoiseDIF3->SetLineColor(0);
15416 if (kcountHBnegativedirectionReconoiseDIF3 == 1)
15417 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -16; depth = 3 \b");
15418 if (kcountHBnegativedirectionReconoiseDIF3 == 2)
15419 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -15; depth = 3 \b");
15420 if (kcountHBnegativedirectionReconoiseDIF3 == 3)
15421 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -14; depth = 3 \b");
15422 if (kcountHBnegativedirectionReconoiseDIF3 == 4)
15423 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -13; depth = 3 \b");
15424 if (kcountHBnegativedirectionReconoiseDIF3 == 5)
15425 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -12; depth = 3 \b");
15426 if (kcountHBnegativedirectionReconoiseDIF3 == 6)
15427 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -11; depth = 3 \b");
15428 if (kcountHBnegativedirectionReconoiseDIF3 == 7)
15429 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -10; depth = 3 \b");
15430 if (kcountHBnegativedirectionReconoiseDIF3 == 8)
15431 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -9; depth = 3 \b");
15432 if (kcountHBnegativedirectionReconoiseDIF3 == 9)
15433 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -8; depth = 3 \b");
15434 if (kcountHBnegativedirectionReconoiseDIF3 == 10)
15435 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -7; depth = 3 \b");
15436 if (kcountHBnegativedirectionReconoiseDIF3 == 11)
15437 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -6; depth = 3 \b");
15438 if (kcountHBnegativedirectionReconoiseDIF3 == 12)
15439 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -5; depth = 3 \b");
15440 if (kcountHBnegativedirectionReconoiseDIF3 == 13)
15441 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -4; depth = 3 \b");
15442 if (kcountHBnegativedirectionReconoiseDIF3 == 14)
15443 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -3; depth = 3 \b");
15444 if (kcountHBnegativedirectionReconoiseDIF3 == 15)
15445 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -2; depth = 3 \b");
15446 if (kcountHBnegativedirectionReconoiseDIF3 == 16)
15447 HBnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HB- jeta = -1; depth = 3 \b");
15449 HBnegativedirectionReconoiseDIF3->Draw(
"Error");
15450 kcountHBnegativedirectionReconoiseDIF3++;
15451 if (kcountHBnegativedirectionReconoiseDIF3 > 16)
15460 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
15463 if (h2CeffHBnegativedirectionReconoiseDIF3)
15464 delete h2CeffHBnegativedirectionReconoiseDIF3;
15471 c3x5->Divide(4, 4);
15473 int kcountHBnegativedirectionReconoiseDIF4 = 1;
15474 TH1F *h2CeffHBnegativedirectionReconoiseDIF4 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseDIF4",
"",
nphi, 0., 72.);
15478 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
15481 for (
int i = 3;
i < 4;
i++) {
15482 TH1F *HBnegativedirectionReconoiseDIF4 = (TH1F *)h2CeffHBnegativedirectionReconoiseDIF4->Clone(
"twod1");
15485 for (
int jphi = 0; jphi <
nphi; jphi++) {
15486 double ccc1 = breconoiseHB[
i][
jeta][jphi];
15488 HBnegativedirectionReconoiseDIF4->Fill(jphi, ccc1);
15492 if (ccctest > 0.) {
15494 c3x5->cd(kcountHBnegativedirectionReconoiseDIF4);
15495 HBnegativedirectionReconoiseDIF4->SetMarkerStyle(20);
15496 HBnegativedirectionReconoiseDIF4->SetMarkerSize(0.4);
15497 HBnegativedirectionReconoiseDIF4->GetYaxis()->SetLabelSize(0.04);
15498 HBnegativedirectionReconoiseDIF4->SetXTitle(
"HBnegativedirectionReconoiseDIF4 \b");
15499 HBnegativedirectionReconoiseDIF4->SetMarkerColor(2);
15500 HBnegativedirectionReconoiseDIF4->SetLineColor(0);
15504 if (kcountHBnegativedirectionReconoiseDIF4 == 1)
15505 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -16; depth = 4 \b");
15506 if (kcountHBnegativedirectionReconoiseDIF4 == 2)
15507 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -15; depth = 4 \b");
15508 if (kcountHBnegativedirectionReconoiseDIF4 == 3)
15509 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -14; depth = 4 \b");
15510 if (kcountHBnegativedirectionReconoiseDIF4 == 4)
15511 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -13; depth = 4 \b");
15512 if (kcountHBnegativedirectionReconoiseDIF4 == 5)
15513 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -12; depth = 4 \b");
15514 if (kcountHBnegativedirectionReconoiseDIF4 == 6)
15515 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -11; depth = 4 \b");
15516 if (kcountHBnegativedirectionReconoiseDIF4 == 7)
15517 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -10; depth = 4 \b");
15518 if (kcountHBnegativedirectionReconoiseDIF4 == 8)
15519 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -9; depth = 4 \b");
15520 if (kcountHBnegativedirectionReconoiseDIF4 == 9)
15521 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -8; depth = 4 \b");
15522 if (kcountHBnegativedirectionReconoiseDIF4 == 10)
15523 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -7; depth = 4 \b");
15524 if (kcountHBnegativedirectionReconoiseDIF4 == 11)
15525 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -6; depth = 4 \b");
15526 if (kcountHBnegativedirectionReconoiseDIF4 == 12)
15527 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -5; depth = 4 \b");
15528 if (kcountHBnegativedirectionReconoiseDIF4 == 13)
15529 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -4; depth = 4 \b");
15530 if (kcountHBnegativedirectionReconoiseDIF4 == 14)
15531 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -3; depth = 4 \b");
15532 if (kcountHBnegativedirectionReconoiseDIF4 == 15)
15533 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -2; depth = 4 \b");
15534 if (kcountHBnegativedirectionReconoiseDIF4 == 16)
15535 HBnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HB- jeta = -1; depth = 4 \b");
15536 HBnegativedirectionReconoiseDIF4->Draw(
"Error");
15537 kcountHBnegativedirectionReconoiseDIF4++;
15538 if (kcountHBnegativedirectionReconoiseDIF4 > 16)
15547 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
15550 if (h2CeffHBnegativedirectionReconoiseDIF4)
15551 delete h2CeffHBnegativedirectionReconoiseDIF4;
15559 TH2F *reconoiseVariance1HB1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HB1");
15560 TH2F *reconoiseVariance0HB1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB1");
15561 TH2F *reconoiseVarianceHB1 = (TH2F *)reconoiseVariance1HB1->Clone(
"reconoiseVarianceHB1");
15562 reconoiseVarianceHB1->Divide(reconoiseVariance1HB1, reconoiseVariance0HB1, 1, 1,
"B");
15563 TH2F *reconoiseVariance1HB2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HB2");
15564 TH2F *reconoiseVariance0HB2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB2");
15565 TH2F *reconoiseVarianceHB2 = (TH2F *)reconoiseVariance1HB2->Clone(
"reconoiseVarianceHB2");
15566 reconoiseVarianceHB2->Divide(reconoiseVariance1HB2, reconoiseVariance0HB2, 1, 1,
"B");
15567 TH2F *reconoiseVariance1HB3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HB3");
15568 TH2F *reconoiseVariance0HB3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB3");
15569 TH2F *reconoiseVarianceHB3 = (TH2F *)reconoiseVariance1HB3->Clone(
"reconoiseVarianceHB3");
15570 reconoiseVarianceHB3->Divide(reconoiseVariance1HB3, reconoiseVariance0HB3, 1, 1,
"B");
15571 TH2F *reconoiseVariance1HB4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HB4");
15572 TH2F *reconoiseVariance0HB4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HB4");
15573 TH2F *reconoiseVarianceHB4 = (TH2F *)reconoiseVariance1HB4->Clone(
"reconoiseVarianceHB4");
15574 reconoiseVarianceHB4->Divide(reconoiseVariance1HB4, reconoiseVariance0HB4, 1, 1,
"B");
15579 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
15581 double sumreconoiseHB0 = 0;
15582 int nsumreconoiseHB0 = 0;
15583 double sumreconoiseHB1 = 0;
15584 int nsumreconoiseHB1 = 0;
15585 double sumreconoiseHB2 = 0;
15586 int nsumreconoiseHB2 = 0;
15587 double sumreconoiseHB3 = 0;
15588 int nsumreconoiseHB3 = 0;
15589 for (
int jphi = 0; jphi < njphi; jphi++) {
15590 reconoisevarianceHB[0][
jeta][jphi] = reconoiseVarianceHB1->GetBinContent(
jeta + 1, jphi + 1);
15591 reconoisevarianceHB[1][
jeta][jphi] = reconoiseVarianceHB2->GetBinContent(
jeta + 1, jphi + 1);
15592 reconoisevarianceHB[2][
jeta][jphi] = reconoiseVarianceHB3->GetBinContent(
jeta + 1, jphi + 1);
15593 reconoisevarianceHB[3][
jeta][jphi] = reconoiseVarianceHB4->GetBinContent(
jeta + 1, jphi + 1);
15594 if (reconoisevarianceHB[0][
jeta][jphi] != 0.) {
15595 sumreconoiseHB0 += reconoisevarianceHB[0][
jeta][jphi];
15596 ++nsumreconoiseHB0;
15598 if (reconoisevarianceHB[1][
jeta][jphi] != 0.) {
15599 sumreconoiseHB1 += reconoisevarianceHB[1][
jeta][jphi];
15600 ++nsumreconoiseHB1;
15602 if (reconoisevarianceHB[2][
jeta][jphi] != 0.) {
15603 sumreconoiseHB2 += reconoisevarianceHB[2][
jeta][jphi];
15604 ++nsumreconoiseHB2;
15606 if (reconoisevarianceHB[3][
jeta][jphi] != 0.) {
15607 sumreconoiseHB3 += reconoisevarianceHB[3][
jeta][jphi];
15608 ++nsumreconoiseHB3;
15612 for (
int jphi = 0; jphi < njphi; jphi++) {
15613 if (sumreconoiseHB0 != 0.)
15614 reconoisevarianceHB[0][
jeta][jphi] /= (sumreconoiseHB0 / nsumreconoiseHB0);
15615 if (sumreconoiseHB1 != 0.)
15616 reconoisevarianceHB[1][
jeta][jphi] /= (sumreconoiseHB1 / nsumreconoiseHB1);
15617 if (sumreconoiseHB2 != 0.)
15618 reconoisevarianceHB[2][
jeta][jphi] /= (sumreconoiseHB2 / nsumreconoiseHB2);
15619 if (sumreconoiseHB3 != 0.)
15620 reconoisevarianceHB[3][
jeta][jphi] /= (sumreconoiseHB3 / nsumreconoiseHB3);
15623 for (
int jphi = 0; jphi < njphi; jphi++) {
15625 reconoisevarianceHB[0][
jeta][jphi] -= areconoiseHB[0][
jeta][jphi] * areconoiseHB[0][
jeta][jphi];
15626 reconoisevarianceHB[0][
jeta][jphi] = fabs(reconoisevarianceHB[0][
jeta][jphi]);
15627 reconoisevarianceHB[1][
jeta][jphi] -= areconoiseHB[1][
jeta][jphi] * areconoiseHB[1][
jeta][jphi];
15628 reconoisevarianceHB[1][
jeta][jphi] = fabs(reconoisevarianceHB[1][
jeta][jphi]);
15629 reconoisevarianceHB[2][
jeta][jphi] -= areconoiseHB[2][
jeta][jphi] * areconoiseHB[2][
jeta][jphi];
15630 reconoisevarianceHB[2][
jeta][jphi] = fabs(reconoisevarianceHB[2][
jeta][jphi]);
15631 reconoisevarianceHB[3][
jeta][jphi] -= areconoiseHB[3][
jeta][jphi] * areconoiseHB[3][
jeta][jphi];
15632 reconoisevarianceHB[3][
jeta][jphi] = fabs(reconoisevarianceHB[3][
jeta][jphi]);
15643 c1x0->Divide(1, 1);
15645 TH2F *DefzDreconoiseHB42D =
new TH2F(
"DefzDreconoiseHB42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
15646 TH2F *DefzDreconoiseHB42D0 =
new TH2F(
"DefzDreconoiseHB42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
15647 TH2F *DefzDreconoiseHB42DF = (TH2F *)DefzDreconoiseHB42D0->Clone(
"DefzDreconoiseHB42DF");
15650 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
15651 for (
int jphi = 0; jphi <
nphi; jphi++) {
15652 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
15653 int k2plot =
jeta - 41;
15655 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
15656 DefzDreconoiseHB42D->Fill(kkk, jphi, ccc1);
15657 DefzDreconoiseHB42D0->Fill(kkk, jphi, 1.);
15663 DefzDreconoiseHB42DF->Divide(DefzDreconoiseHB42D, DefzDreconoiseHB42D0, 1, 1,
"B");
15667 DefzDreconoiseHB42DF->SetMarkerStyle(20);
15668 DefzDreconoiseHB42DF->SetMarkerSize(0.4);
15669 DefzDreconoiseHB42DF->GetZaxis()->SetLabelSize(0.08);
15670 DefzDreconoiseHB42DF->SetXTitle(
"<D>_depth #eta \b");
15671 DefzDreconoiseHB42DF->SetYTitle(
" #phi \b");
15672 DefzDreconoiseHB42DF->SetZTitle(
"<D>_depth \b");
15673 DefzDreconoiseHB42DF->SetMarkerColor(2);
15674 DefzDreconoiseHB42DF->SetLineColor(
15676 DefzDreconoiseHB42DF->Draw(
"COLZ");
15679 c1x0->Print(
"DreconoiseGeneralD2PhiSymmetryHB.png");
15682 if (DefzDreconoiseHB42D)
15683 delete DefzDreconoiseHB42D;
15684 if (DefzDreconoiseHB42D0)
15685 delete DefzDreconoiseHB42D0;
15686 if (DefzDreconoiseHB42DF)
15687 delete DefzDreconoiseHB42DF;
15693 c1x1->Divide(1, 1);
15695 TH1F *DefzDreconoiseHB41D =
new TH1F(
"DefzDreconoiseHB41D",
"",
nphi, 0., 72.);
15696 TH1F *DefzDreconoiseHB41D0 =
new TH1F(
"DefzDreconoiseHB41D0",
"",
nphi, 0., 72.);
15697 TH1F *DefzDreconoiseHB41DF = (TH1F *)DefzDreconoiseHB41D0->Clone(
"DefzDreconoiseHB41DF");
15699 for (
int jphi = 0; jphi <
nphi; jphi++) {
15701 if ((
jeta - 41 >= -16 &&
jeta - 41 <= -1) || (
jeta - 41 >= 0 &&
jeta - 41 <= 15)) {
15703 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
15704 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
15705 DefzDreconoiseHB41D->Fill(jphi, ccc1);
15706 DefzDreconoiseHB41D0->Fill(jphi, 1.);
15714 DefzDreconoiseHB41DF->Divide(DefzDreconoiseHB41D, DefzDreconoiseHB41D0, 1, 1,
"B");
15715 DefzDreconoiseHB41D0->Sumw2();
15719 DefzDreconoiseHB41DF->SetMarkerStyle(20);
15720 DefzDreconoiseHB41DF->SetMarkerSize(1.4);
15721 DefzDreconoiseHB41DF->GetZaxis()->SetLabelSize(0.08);
15722 DefzDreconoiseHB41DF->SetXTitle(
"#phi \b");
15723 DefzDreconoiseHB41DF->SetYTitle(
" <D> \b");
15724 DefzDreconoiseHB41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
15725 DefzDreconoiseHB41DF->SetMarkerColor(4);
15726 DefzDreconoiseHB41DF->SetLineColor(
15728 DefzDreconoiseHB41DF->Draw(
"Error");
15731 c1x1->Print(
"DreconoiseGeneralD1PhiSymmetryHB.png");
15734 if (DefzDreconoiseHB41D)
15735 delete DefzDreconoiseHB41D;
15736 if (DefzDreconoiseHB41D0)
15737 delete DefzDreconoiseHB41D0;
15738 if (DefzDreconoiseHB41DF)
15739 delete DefzDreconoiseHB41DF;
15747 c3x5->Divide(4, 4);
15749 int kcountHBpositivedirectionReconoiseD1 = 1;
15750 TH1F *h2CeffHBpositivedirectionReconoiseD1 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseD1",
"",
nphi, 0., 72.);
15754 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
15757 for (
int i = 0;
i < 1;
i++) {
15758 TH1F *HBpositivedirectionReconoiseD1 = (TH1F *)h2CeffHBpositivedirectionReconoiseD1->Clone(
"twod1");
15761 for (
int jphi = 0; jphi <
nphi; jphi++) {
15762 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
15763 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
15764 HBpositivedirectionReconoiseD1->Fill(jphi, ccc1);
15768 if (ccctest > 0.) {
15770 c3x5->cd(kcountHBpositivedirectionReconoiseD1);
15771 HBpositivedirectionReconoiseD1->SetMarkerStyle(20);
15772 HBpositivedirectionReconoiseD1->SetMarkerSize(0.4);
15773 HBpositivedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
15774 HBpositivedirectionReconoiseD1->SetXTitle(
"HBpositivedirectionReconoiseD1 \b");
15775 HBpositivedirectionReconoiseD1->SetMarkerColor(2);
15776 HBpositivedirectionReconoiseD1->SetLineColor(0);
15780 if (kcountHBpositivedirectionReconoiseD1 == 1)
15781 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 0; depth = 1 \b");
15782 if (kcountHBpositivedirectionReconoiseD1 == 2)
15783 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 1; depth = 1 \b");
15784 if (kcountHBpositivedirectionReconoiseD1 == 3)
15785 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 2; depth = 1 \b");
15786 if (kcountHBpositivedirectionReconoiseD1 == 4)
15787 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 3; depth = 1 \b");
15788 if (kcountHBpositivedirectionReconoiseD1 == 5)
15789 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 4; depth = 1 \b");
15790 if (kcountHBpositivedirectionReconoiseD1 == 6)
15791 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 5; depth = 1 \b");
15792 if (kcountHBpositivedirectionReconoiseD1 == 7)
15793 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 6; depth = 1 \b");
15794 if (kcountHBpositivedirectionReconoiseD1 == 8)
15795 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 7; depth = 1 \b");
15796 if (kcountHBpositivedirectionReconoiseD1 == 9)
15797 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 8; depth = 1 \b");
15798 if (kcountHBpositivedirectionReconoiseD1 == 10)
15799 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 9; depth = 1 \b");
15800 if (kcountHBpositivedirectionReconoiseD1 == 11)
15801 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 10; depth = 1 \b");
15802 if (kcountHBpositivedirectionReconoiseD1 == 12)
15803 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 11; depth = 1 \b");
15804 if (kcountHBpositivedirectionReconoiseD1 == 13)
15805 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 12; depth = 1 \b");
15806 if (kcountHBpositivedirectionReconoiseD1 == 14)
15807 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 13; depth = 1 \b");
15808 if (kcountHBpositivedirectionReconoiseD1 == 15)
15809 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 14; depth = 1 \b");
15810 if (kcountHBpositivedirectionReconoiseD1 == 16)
15811 HBpositivedirectionReconoiseD1->SetXTitle(
"D for HB+ jeta = 15; depth = 1 \b");
15812 HBpositivedirectionReconoiseD1->Draw(
"Error");
15813 kcountHBpositivedirectionReconoiseD1++;
15814 if (kcountHBpositivedirectionReconoiseD1 > 16)
15823 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png");
15826 if (h2CeffHBpositivedirectionReconoiseD1)
15827 delete h2CeffHBpositivedirectionReconoiseD1;
15833 c3x5->Divide(4, 4);
15835 int kcountHBpositivedirectionReconoiseD2 = 1;
15836 TH1F *h2CeffHBpositivedirectionReconoiseD2 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseD2",
"",
nphi, 0., 72.);
15840 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
15843 for (
int i = 1;
i < 2;
i++) {
15844 TH1F *HBpositivedirectionReconoiseD2 = (TH1F *)h2CeffHBpositivedirectionReconoiseD2->Clone(
"twod1");
15847 for (
int jphi = 0; jphi <
nphi; jphi++) {
15848 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
15849 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
15850 HBpositivedirectionReconoiseD2->Fill(jphi, ccc1);
15854 if (ccctest > 0.) {
15856 c3x5->cd(kcountHBpositivedirectionReconoiseD2);
15857 HBpositivedirectionReconoiseD2->SetMarkerStyle(20);
15858 HBpositivedirectionReconoiseD2->SetMarkerSize(0.4);
15859 HBpositivedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
15860 HBpositivedirectionReconoiseD2->SetXTitle(
"HBpositivedirectionReconoiseD2 \b");
15861 HBpositivedirectionReconoiseD2->SetMarkerColor(2);
15862 HBpositivedirectionReconoiseD2->SetLineColor(0);
15866 if (kcountHBpositivedirectionReconoiseD2 == 1)
15867 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 0; depth = 2 \b");
15868 if (kcountHBpositivedirectionReconoiseD2 == 2)
15869 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 1; depth = 2 \b");
15870 if (kcountHBpositivedirectionReconoiseD2 == 3)
15871 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 2; depth = 2 \b");
15872 if (kcountHBpositivedirectionReconoiseD2 == 4)
15873 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 3; depth = 2 \b");
15874 if (kcountHBpositivedirectionReconoiseD2 == 5)
15875 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 4; depth = 2 \b");
15876 if (kcountHBpositivedirectionReconoiseD2 == 6)
15877 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 5; depth = 2 \b");
15878 if (kcountHBpositivedirectionReconoiseD2 == 7)
15879 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 6; depth = 2 \b");
15880 if (kcountHBpositivedirectionReconoiseD2 == 8)
15881 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 7; depth = 2 \b");
15882 if (kcountHBpositivedirectionReconoiseD2 == 9)
15883 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 8; depth = 2 \b");
15884 if (kcountHBpositivedirectionReconoiseD2 == 10)
15885 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 9; depth = 2 \b");
15886 if (kcountHBpositivedirectionReconoiseD2 == 11)
15887 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 10; depth = 2 \b");
15888 if (kcountHBpositivedirectionReconoiseD2 == 12)
15889 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 11; depth = 2 \b");
15890 if (kcountHBpositivedirectionReconoiseD2 == 13)
15891 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 12; depth = 2 \b");
15892 if (kcountHBpositivedirectionReconoiseD2 == 14)
15893 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 13; depth = 2 \b");
15894 if (kcountHBpositivedirectionReconoiseD2 == 15)
15895 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 14; depth = 2 \b");
15896 if (kcountHBpositivedirectionReconoiseD2 == 16)
15897 HBpositivedirectionReconoiseD2->SetXTitle(
"D for HB+ jeta = 15; depth = 2 \b");
15898 HBpositivedirectionReconoiseD2->Draw(
"Error");
15899 kcountHBpositivedirectionReconoiseD2++;
15900 if (kcountHBpositivedirectionReconoiseD2 > 16)
15909 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png");
15912 if (h2CeffHBpositivedirectionReconoiseD2)
15913 delete h2CeffHBpositivedirectionReconoiseD2;
15919 c3x5->Divide(4, 4);
15921 int kcountHBpositivedirectionReconoiseD3 = 1;
15922 TH1F *h2CeffHBpositivedirectionReconoiseD3 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseD3",
"",
nphi, 0., 72.);
15926 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
15929 for (
int i = 2;
i < 3;
i++) {
15930 TH1F *HBpositivedirectionReconoiseD3 = (TH1F *)h2CeffHBpositivedirectionReconoiseD3->Clone(
"twod1");
15933 for (
int jphi = 0; jphi <
nphi; jphi++) {
15934 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
15935 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
15936 HBpositivedirectionReconoiseD3->Fill(jphi, ccc1);
15940 if (ccctest > 0.) {
15942 c3x5->cd(kcountHBpositivedirectionReconoiseD3);
15943 HBpositivedirectionReconoiseD3->SetMarkerStyle(20);
15944 HBpositivedirectionReconoiseD3->SetMarkerSize(0.4);
15945 HBpositivedirectionReconoiseD3->GetYaxis()->SetLabelSize(0.04);
15946 HBpositivedirectionReconoiseD3->SetXTitle(
"HBpositivedirectionReconoiseD3 \b");
15947 HBpositivedirectionReconoiseD3->SetMarkerColor(2);
15948 HBpositivedirectionReconoiseD3->SetLineColor(0);
15952 if (kcountHBpositivedirectionReconoiseD3 == 1)
15953 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 0; depth = 3 \b");
15954 if (kcountHBpositivedirectionReconoiseD3 == 2)
15955 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 1; depth = 3 \b");
15956 if (kcountHBpositivedirectionReconoiseD3 == 3)
15957 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 2; depth = 3 \b");
15958 if (kcountHBpositivedirectionReconoiseD3 == 4)
15959 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 3; depth = 3 \b");
15960 if (kcountHBpositivedirectionReconoiseD3 == 5)
15961 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 4; depth = 3 \b");
15962 if (kcountHBpositivedirectionReconoiseD3 == 6)
15963 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 5; depth = 3 \b");
15964 if (kcountHBpositivedirectionReconoiseD3 == 7)
15965 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 6; depth = 3 \b");
15966 if (kcountHBpositivedirectionReconoiseD3 == 8)
15967 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 7; depth = 3 \b");
15968 if (kcountHBpositivedirectionReconoiseD3 == 9)
15969 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 8; depth = 3 \b");
15970 if (kcountHBpositivedirectionReconoiseD3 == 10)
15971 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 9; depth = 3 \b");
15972 if (kcountHBpositivedirectionReconoiseD3 == 11)
15973 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 10; depth = 3 \b");
15974 if (kcountHBpositivedirectionReconoiseD3 == 12)
15975 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 11; depth = 3 \b");
15976 if (kcountHBpositivedirectionReconoiseD3 == 13)
15977 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 12; depth = 3 \b");
15978 if (kcountHBpositivedirectionReconoiseD3 == 14)
15979 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 13; depth = 3 \b");
15980 if (kcountHBpositivedirectionReconoiseD3 == 15)
15981 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 14; depth = 3 \b");
15982 if (kcountHBpositivedirectionReconoiseD3 == 16)
15983 HBpositivedirectionReconoiseD3->SetXTitle(
"D for HB+ jeta = 15; depth = 3 \b");
15984 HBpositivedirectionReconoiseD3->Draw(
"Error");
15985 kcountHBpositivedirectionReconoiseD3++;
15986 if (kcountHBpositivedirectionReconoiseD3 > 16)
15995 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png");
15998 if (h2CeffHBpositivedirectionReconoiseD3)
15999 delete h2CeffHBpositivedirectionReconoiseD3;
16005 c3x5->Divide(4, 4);
16007 int kcountHBpositivedirectionReconoiseD4 = 1;
16008 TH1F *h2CeffHBpositivedirectionReconoiseD4 =
new TH1F(
"h2CeffHBpositivedirectionReconoiseD4",
"",
nphi, 0., 72.);
16012 if (
jeta - 41 >= 0 &&
jeta - 41 <= 15) {
16015 for (
int i = 3;
i < 4;
i++) {
16016 TH1F *HBpositivedirectionReconoiseD4 = (TH1F *)h2CeffHBpositivedirectionReconoiseD4->Clone(
"twod1");
16019 for (
int jphi = 0; jphi <
nphi; jphi++) {
16020 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
16021 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
16022 HBpositivedirectionReconoiseD4->Fill(jphi, ccc1);
16026 if (ccctest > 0.) {
16028 c3x5->cd(kcountHBpositivedirectionReconoiseD4);
16029 HBpositivedirectionReconoiseD4->SetMarkerStyle(20);
16030 HBpositivedirectionReconoiseD4->SetMarkerSize(0.4);
16031 HBpositivedirectionReconoiseD4->GetYaxis()->SetLabelSize(0.04);
16032 HBpositivedirectionReconoiseD4->SetXTitle(
"HBpositivedirectionReconoiseD4 \b");
16033 HBpositivedirectionReconoiseD4->SetMarkerColor(2);
16034 HBpositivedirectionReconoiseD4->SetLineColor(0);
16038 if (kcountHBpositivedirectionReconoiseD4 == 1)
16039 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 0; depth = 4 \b");
16040 if (kcountHBpositivedirectionReconoiseD4 == 2)
16041 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 1; depth = 4 \b");
16042 if (kcountHBpositivedirectionReconoiseD4 == 3)
16043 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 2; depth = 4 \b");
16044 if (kcountHBpositivedirectionReconoiseD4 == 4)
16045 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 3; depth = 4 \b");
16046 if (kcountHBpositivedirectionReconoiseD4 == 5)
16047 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 4; depth = 4 \b");
16048 if (kcountHBpositivedirectionReconoiseD4 == 6)
16049 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 5; depth = 4 \b");
16050 if (kcountHBpositivedirectionReconoiseD4 == 7)
16051 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 6; depth = 4 \b");
16052 if (kcountHBpositivedirectionReconoiseD4 == 8)
16053 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 7; depth = 4 \b");
16054 if (kcountHBpositivedirectionReconoiseD4 == 9)
16055 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 8; depth = 4 \b");
16056 if (kcountHBpositivedirectionReconoiseD4 == 10)
16057 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 9; depth = 4 \b");
16058 if (kcountHBpositivedirectionReconoiseD4 == 11)
16059 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 10; depth = 4 \b");
16060 if (kcountHBpositivedirectionReconoiseD4 == 12)
16061 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 11; depth = 4 \b");
16062 if (kcountHBpositivedirectionReconoiseD4 == 13)
16063 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 12; depth = 4 \b");
16064 if (kcountHBpositivedirectionReconoiseD4 == 14)
16065 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 13; depth = 4 \b");
16066 if (kcountHBpositivedirectionReconoiseD4 == 15)
16067 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 14; depth = 4 \b");
16068 if (kcountHBpositivedirectionReconoiseD4 == 16)
16069 HBpositivedirectionReconoiseD4->SetXTitle(
"D for HB+ jeta = 15; depth = 4 \b");
16070 HBpositivedirectionReconoiseD4->Draw(
"Error");
16071 kcountHBpositivedirectionReconoiseD4++;
16072 if (kcountHBpositivedirectionReconoiseD4 > 16)
16081 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png");
16084 if (h2CeffHBpositivedirectionReconoiseD4)
16085 delete h2CeffHBpositivedirectionReconoiseD4;
16093 c3x5->Divide(4, 4);
16095 int kcountHBnegativedirectionReconoiseD1 = 1;
16096 TH1F *h2CeffHBnegativedirectionReconoiseD1 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseD1",
"",
nphi, 0., 72.);
16100 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
16103 for (
int i = 0;
i < 1;
i++) {
16104 TH1F *HBnegativedirectionReconoiseD1 = (TH1F *)h2CeffHBnegativedirectionReconoiseD1->Clone(
"twod1");
16107 for (
int jphi = 0; jphi <
nphi; jphi++) {
16108 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
16109 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
16110 HBnegativedirectionReconoiseD1->Fill(jphi, ccc1);
16114 if (ccctest > 0.) {
16116 c3x5->cd(kcountHBnegativedirectionReconoiseD1);
16117 HBnegativedirectionReconoiseD1->SetMarkerStyle(20);
16118 HBnegativedirectionReconoiseD1->SetMarkerSize(0.4);
16119 HBnegativedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
16120 HBnegativedirectionReconoiseD1->SetXTitle(
"HBnegativedirectionReconoiseD1 \b");
16121 HBnegativedirectionReconoiseD1->SetMarkerColor(2);
16122 HBnegativedirectionReconoiseD1->SetLineColor(0);
16126 if (kcountHBnegativedirectionReconoiseD1 == 1)
16127 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-16; depth = 1 \b");
16128 if (kcountHBnegativedirectionReconoiseD1 == 2)
16129 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-15; depth = 1 \b");
16130 if (kcountHBnegativedirectionReconoiseD1 == 3)
16131 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-14; depth = 1 \b");
16132 if (kcountHBnegativedirectionReconoiseD1 == 4)
16133 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-13; depth = 1 \b");
16134 if (kcountHBnegativedirectionReconoiseD1 == 5)
16135 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-12; depth = 1 \b");
16136 if (kcountHBnegativedirectionReconoiseD1 == 6)
16137 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-11; depth = 1 \b");
16138 if (kcountHBnegativedirectionReconoiseD1 == 7)
16139 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-10; depth = 1 \b");
16140 if (kcountHBnegativedirectionReconoiseD1 == 8)
16141 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-9; depth = 1 \b");
16142 if (kcountHBnegativedirectionReconoiseD1 == 9)
16143 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-8; depth = 1 \b");
16144 if (kcountHBnegativedirectionReconoiseD1 == 10)
16145 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-7; depth = 1 \b");
16146 if (kcountHBnegativedirectionReconoiseD1 == 11)
16147 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-6; depth = 1 \b");
16148 if (kcountHBnegativedirectionReconoiseD1 == 12)
16149 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-5; depth = 1 \b");
16150 if (kcountHBnegativedirectionReconoiseD1 == 13)
16151 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-4; depth = 1 \b");
16152 if (kcountHBnegativedirectionReconoiseD1 == 14)
16153 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-3; depth = 1 \b");
16154 if (kcountHBnegativedirectionReconoiseD1 == 15)
16155 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-2; depth = 1 \b");
16156 if (kcountHBnegativedirectionReconoiseD1 == 16)
16157 HBnegativedirectionReconoiseD1->SetXTitle(
"D for HB- jeta =-1; depth = 1 \b");
16158 HBnegativedirectionReconoiseD1->Draw(
"Error");
16159 kcountHBnegativedirectionReconoiseD1++;
16160 if (kcountHBnegativedirectionReconoiseD1 > 16)
16169 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png");
16172 if (h2CeffHBnegativedirectionReconoiseD1)
16173 delete h2CeffHBnegativedirectionReconoiseD1;
16179 c3x5->Divide(4, 4);
16181 int kcountHBnegativedirectionReconoiseD2 = 1;
16182 TH1F *h2CeffHBnegativedirectionReconoiseD2 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseD2",
"",
nphi, 0., 72.);
16186 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
16189 for (
int i = 1;
i < 2;
i++) {
16190 TH1F *HBnegativedirectionReconoiseD2 = (TH1F *)h2CeffHBnegativedirectionReconoiseD2->Clone(
"twod1");
16193 for (
int jphi = 0; jphi <
nphi; jphi++) {
16194 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
16195 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
16196 HBnegativedirectionReconoiseD2->Fill(jphi, ccc1);
16200 if (ccctest > 0.) {
16202 c3x5->cd(kcountHBnegativedirectionReconoiseD2);
16203 HBnegativedirectionReconoiseD2->SetMarkerStyle(20);
16204 HBnegativedirectionReconoiseD2->SetMarkerSize(0.4);
16205 HBnegativedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
16206 HBnegativedirectionReconoiseD2->SetXTitle(
"HBnegativedirectionReconoiseD2 \b");
16207 HBnegativedirectionReconoiseD2->SetMarkerColor(2);
16208 HBnegativedirectionReconoiseD2->SetLineColor(0);
16212 if (kcountHBnegativedirectionReconoiseD2 == 1)
16213 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-16; depth = 2 \b");
16214 if (kcountHBnegativedirectionReconoiseD2 == 2)
16215 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-15; depth = 2 \b");
16216 if (kcountHBnegativedirectionReconoiseD2 == 3)
16217 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-14; depth = 2 \b");
16218 if (kcountHBnegativedirectionReconoiseD2 == 4)
16219 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-13; depth = 2 \b");
16220 if (kcountHBnegativedirectionReconoiseD2 == 5)
16221 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-12; depth = 2 \b");
16222 if (kcountHBnegativedirectionReconoiseD2 == 6)
16223 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-11; depth = 2 \b");
16224 if (kcountHBnegativedirectionReconoiseD2 == 7)
16225 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-10; depth = 2 \b");
16226 if (kcountHBnegativedirectionReconoiseD2 == 8)
16227 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-9; depth = 2 \b");
16228 if (kcountHBnegativedirectionReconoiseD2 == 9)
16229 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-8; depth = 2 \b");
16230 if (kcountHBnegativedirectionReconoiseD2 == 10)
16231 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-7; depth = 2 \b");
16232 if (kcountHBnegativedirectionReconoiseD2 == 11)
16233 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-6; depth = 2 \b");
16234 if (kcountHBnegativedirectionReconoiseD2 == 12)
16235 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-5; depth = 2 \b");
16236 if (kcountHBnegativedirectionReconoiseD2 == 13)
16237 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-4; depth = 2 \b");
16238 if (kcountHBnegativedirectionReconoiseD2 == 14)
16239 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-3; depth = 2 \b");
16240 if (kcountHBnegativedirectionReconoiseD2 == 15)
16241 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-2; depth = 2 \b");
16242 if (kcountHBnegativedirectionReconoiseD2 == 16)
16243 HBnegativedirectionReconoiseD2->SetXTitle(
"D for HB- jeta =-1; depth = 2 \b");
16244 HBnegativedirectionReconoiseD2->Draw(
"Error");
16245 kcountHBnegativedirectionReconoiseD2++;
16246 if (kcountHBnegativedirectionReconoiseD2 > 16)
16255 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png");
16258 if (h2CeffHBnegativedirectionReconoiseD2)
16259 delete h2CeffHBnegativedirectionReconoiseD2;
16265 c3x5->Divide(4, 4);
16267 int kcountHBnegativedirectionReconoiseD3 = 1;
16268 TH1F *h2CeffHBnegativedirectionReconoiseD3 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseD3",
"",
nphi, 0., 72.);
16272 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
16275 for (
int i = 2;
i < 3;
i++) {
16276 TH1F *HBnegativedirectionReconoiseD3 = (TH1F *)h2CeffHBnegativedirectionReconoiseD3->Clone(
"twod1");
16279 for (
int jphi = 0; jphi <
nphi; jphi++) {
16280 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
16281 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
16282 HBnegativedirectionReconoiseD3->Fill(jphi, ccc1);
16286 if (ccctest > 0.) {
16288 c3x5->cd(kcountHBnegativedirectionReconoiseD3);
16289 HBnegativedirectionReconoiseD3->SetMarkerStyle(20);
16290 HBnegativedirectionReconoiseD3->SetMarkerSize(0.4);
16291 HBnegativedirectionReconoiseD3->GetYaxis()->SetLabelSize(0.04);
16292 HBnegativedirectionReconoiseD3->SetXTitle(
"HBnegativedirectionReconoiseD3 \b");
16293 HBnegativedirectionReconoiseD3->SetMarkerColor(2);
16294 HBnegativedirectionReconoiseD3->SetLineColor(0);
16298 if (kcountHBnegativedirectionReconoiseD3 == 1)
16299 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-16; depth = 3 \b");
16300 if (kcountHBnegativedirectionReconoiseD3 == 2)
16301 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-15; depth = 3 \b");
16302 if (kcountHBnegativedirectionReconoiseD3 == 3)
16303 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-14; depth = 3 \b");
16304 if (kcountHBnegativedirectionReconoiseD3 == 4)
16305 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-13; depth = 3 \b");
16306 if (kcountHBnegativedirectionReconoiseD3 == 5)
16307 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-12; depth = 3 \b");
16308 if (kcountHBnegativedirectionReconoiseD3 == 6)
16309 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-11; depth = 3 \b");
16310 if (kcountHBnegativedirectionReconoiseD3 == 7)
16311 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-10; depth = 3 \b");
16312 if (kcountHBnegativedirectionReconoiseD3 == 8)
16313 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-9; depth = 3 \b");
16314 if (kcountHBnegativedirectionReconoiseD3 == 9)
16315 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-8; depth = 3 \b");
16316 if (kcountHBnegativedirectionReconoiseD3 == 10)
16317 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-7; depth = 3 \b");
16318 if (kcountHBnegativedirectionReconoiseD3 == 11)
16319 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-6; depth = 3 \b");
16320 if (kcountHBnegativedirectionReconoiseD3 == 12)
16321 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-5; depth = 3 \b");
16322 if (kcountHBnegativedirectionReconoiseD3 == 13)
16323 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-4; depth = 3 \b");
16324 if (kcountHBnegativedirectionReconoiseD3 == 14)
16325 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-3; depth = 3 \b");
16326 if (kcountHBnegativedirectionReconoiseD3 == 15)
16327 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-2; depth = 3 \b");
16328 if (kcountHBnegativedirectionReconoiseD3 == 16)
16329 HBnegativedirectionReconoiseD3->SetXTitle(
"D for HB- jeta =-1; depth = 3 \b");
16330 HBnegativedirectionReconoiseD3->Draw(
"Error");
16331 kcountHBnegativedirectionReconoiseD3++;
16332 if (kcountHBnegativedirectionReconoiseD3 > 16)
16341 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png");
16344 if (h2CeffHBnegativedirectionReconoiseD3)
16345 delete h2CeffHBnegativedirectionReconoiseD3;
16351 c3x5->Divide(4, 4);
16353 int kcountHBnegativedirectionReconoiseD4 = 1;
16354 TH1F *h2CeffHBnegativedirectionReconoiseD4 =
new TH1F(
"h2CeffHBnegativedirectionReconoiseD4",
"",
nphi, 0., 72.);
16358 if (
jeta - 41 >= -16 &&
jeta - 41 <= -1) {
16361 for (
int i = 3;
i < 4;
i++) {
16362 TH1F *HBnegativedirectionReconoiseD4 = (TH1F *)h2CeffHBnegativedirectionReconoiseD4->Clone(
"twod1");
16365 for (
int jphi = 0; jphi <
nphi; jphi++) {
16366 double ccc1 = reconoisevarianceHB[
i][
jeta][jphi];
16367 if (areconoiseHB[
i][
jeta][jphi] > 0.) {
16368 HBnegativedirectionReconoiseD4->Fill(jphi, ccc1);
16372 if (ccctest > 0.) {
16374 c3x5->cd(kcountHBnegativedirectionReconoiseD4);
16375 HBnegativedirectionReconoiseD4->SetMarkerStyle(20);
16376 HBnegativedirectionReconoiseD4->SetMarkerSize(0.4);
16377 HBnegativedirectionReconoiseD4->GetYaxis()->SetLabelSize(0.04);
16378 HBnegativedirectionReconoiseD4->SetXTitle(
"HBnegativedirectionReconoiseD4 \b");
16379 HBnegativedirectionReconoiseD4->SetMarkerColor(2);
16380 HBnegativedirectionReconoiseD4->SetLineColor(0);
16384 if (kcountHBnegativedirectionReconoiseD4 == 1)
16385 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-16; depth = 4 \b");
16386 if (kcountHBnegativedirectionReconoiseD4 == 2)
16387 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-15; depth = 4 \b");
16388 if (kcountHBnegativedirectionReconoiseD4 == 3)
16389 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-14; depth = 4 \b");
16390 if (kcountHBnegativedirectionReconoiseD4 == 4)
16391 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-13; depth = 4 \b");
16392 if (kcountHBnegativedirectionReconoiseD4 == 5)
16393 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-12; depth = 4 \b");
16394 if (kcountHBnegativedirectionReconoiseD4 == 6)
16395 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-11; depth = 4 \b");
16396 if (kcountHBnegativedirectionReconoiseD4 == 7)
16397 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-10; depth = 4 \b");
16398 if (kcountHBnegativedirectionReconoiseD4 == 8)
16399 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-9; depth = 4 \b");
16400 if (kcountHBnegativedirectionReconoiseD4 == 9)
16401 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-8; depth = 4 \b");
16402 if (kcountHBnegativedirectionReconoiseD4 == 10)
16403 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-7; depth = 4 \b");
16404 if (kcountHBnegativedirectionReconoiseD4 == 11)
16405 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-6; depth = 4 \b");
16406 if (kcountHBnegativedirectionReconoiseD4 == 12)
16407 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-5; depth = 4 \b");
16408 if (kcountHBnegativedirectionReconoiseD4 == 13)
16409 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-4; depth = 4 \b");
16410 if (kcountHBnegativedirectionReconoiseD4 == 14)
16411 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-3; depth = 4 \b");
16412 if (kcountHBnegativedirectionReconoiseD4 == 15)
16413 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-2; depth = 4 \b");
16414 if (kcountHBnegativedirectionReconoiseD4 == 16)
16415 HBnegativedirectionReconoiseD4->SetXTitle(
"D for HB- jeta =-1; depth = 4 \b");
16416 HBnegativedirectionReconoiseD4->Draw(
"Error");
16417 kcountHBnegativedirectionReconoiseD4++;
16418 if (kcountHBnegativedirectionReconoiseD4 > 16)
16427 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png");
16430 if (h2CeffHBnegativedirectionReconoiseD4)
16431 delete h2CeffHBnegativedirectionReconoiseD4;
16444 double areconoisehe[
ndepth][njeta][njphi];
16445 double breconoisehe[
ndepth][njeta][njphi];
16446 double reconoisevariancehe[
ndepth][njeta][njphi];
16448 TH2F *recNoiseEnergy1HE1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE1");
16449 TH2F *recNoiseEnergy0HE1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE1");
16450 TH2F *recNoiseEnergyHE1 = (TH2F *)recNoiseEnergy1HE1->Clone(
"recNoiseEnergyHE1");
16451 recNoiseEnergyHE1->Divide(recNoiseEnergy1HE1, recNoiseEnergy0HE1, 1, 1,
"B");
16452 TH2F *recNoiseEnergy1HE2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE2");
16453 TH2F *recNoiseEnergy0HE2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE2");
16454 TH2F *recNoiseEnergyHE2 = (TH2F *)recNoiseEnergy1HE2->Clone(
"recNoiseEnergyHE2");
16455 recNoiseEnergyHE2->Divide(recNoiseEnergy1HE2, recNoiseEnergy0HE2, 1, 1,
"B");
16456 TH2F *recNoiseEnergy1HE3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE3");
16457 TH2F *recNoiseEnergy0HE3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE3");
16458 TH2F *recNoiseEnergyHE3 = (TH2F *)recNoiseEnergy1HE3->Clone(
"recNoiseEnergyHE3");
16459 recNoiseEnergyHE3->Divide(recNoiseEnergy1HE3, recNoiseEnergy0HE3, 1, 1,
"B");
16460 TH2F *recNoiseEnergy1HE4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE4");
16461 TH2F *recNoiseEnergy0HE4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE4");
16462 TH2F *recNoiseEnergyHE4 = (TH2F *)recNoiseEnergy1HE4->Clone(
"recNoiseEnergyHE4");
16463 recNoiseEnergyHE4->Divide(recNoiseEnergy1HE4, recNoiseEnergy0HE4, 1, 1,
"B");
16464 TH2F *recNoiseEnergy1HE5 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE5");
16465 TH2F *recNoiseEnergy0HE5 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE5");
16466 TH2F *recNoiseEnergyHE5 = (TH2F *)recNoiseEnergy1HE5->Clone(
"recNoiseEnergyHE5");
16467 recNoiseEnergyHE5->Divide(recNoiseEnergy1HE5, recNoiseEnergy0HE5, 1, 1,
"B");
16468 TH2F *recNoiseEnergy1HE6 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE6");
16469 TH2F *recNoiseEnergy0HE6 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE6");
16470 TH2F *recNoiseEnergyHE6 = (TH2F *)recNoiseEnergy1HE6->Clone(
"recNoiseEnergyHE6");
16471 recNoiseEnergyHE6->Divide(recNoiseEnergy1HE6, recNoiseEnergy0HE6, 1, 1,
"B");
16472 TH2F *recNoiseEnergy1HE7 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HE7");
16473 TH2F *recNoiseEnergy0HE7 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE7");
16474 TH2F *recNoiseEnergyHE7 = (TH2F *)recNoiseEnergy1HE7->Clone(
"recNoiseEnergyHE7");
16475 recNoiseEnergyHE7->Divide(recNoiseEnergy1HE7, recNoiseEnergy0HE7, 1, 1,
"B");
16477 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
16480 double sumreconoiseHE0 = 0;
16481 int nsumreconoiseHE0 = 0;
16482 double sumreconoiseHE1 = 0;
16483 int nsumreconoiseHE1 = 0;
16484 double sumreconoiseHE2 = 0;
16485 int nsumreconoiseHE2 = 0;
16486 double sumreconoiseHE3 = 0;
16487 int nsumreconoiseHE3 = 0;
16488 double sumreconoiseHE4 = 0;
16489 int nsumreconoiseHE4 = 0;
16490 double sumreconoiseHE5 = 0;
16491 int nsumreconoiseHE5 = 0;
16492 double sumreconoiseHE6 = 0;
16493 int nsumreconoiseHE6 = 0;
16494 for (
int jphi = 0; jphi < njphi; jphi++) {
16495 areconoisehe[0][
jeta][jphi] = recNoiseEnergyHE1->GetBinContent(
jeta + 1, jphi + 1);
16496 areconoisehe[1][
jeta][jphi] = recNoiseEnergyHE2->GetBinContent(
jeta + 1, jphi + 1);
16497 areconoisehe[2][
jeta][jphi] = recNoiseEnergyHE3->GetBinContent(
jeta + 1, jphi + 1);
16498 areconoisehe[3][
jeta][jphi] = recNoiseEnergyHE4->GetBinContent(
jeta + 1, jphi + 1);
16499 areconoisehe[4][
jeta][jphi] = recNoiseEnergyHE5->GetBinContent(
jeta + 1, jphi + 1);
16500 areconoisehe[5][
jeta][jphi] = recNoiseEnergyHE6->GetBinContent(
jeta + 1, jphi + 1);
16501 areconoisehe[6][
jeta][jphi] = recNoiseEnergyHE7->GetBinContent(
jeta + 1, jphi + 1);
16503 breconoisehe[0][
jeta][jphi] = recNoiseEnergyHE1->GetBinContent(
jeta + 1, jphi + 1);
16504 breconoisehe[1][
jeta][jphi] = recNoiseEnergyHE2->GetBinContent(
jeta + 1, jphi + 1);
16505 breconoisehe[2][
jeta][jphi] = recNoiseEnergyHE3->GetBinContent(
jeta + 1, jphi + 1);
16506 breconoisehe[3][
jeta][jphi] = recNoiseEnergyHE4->GetBinContent(
jeta + 1, jphi + 1);
16507 breconoisehe[4][
jeta][jphi] = recNoiseEnergyHE5->GetBinContent(
jeta + 1, jphi + 1);
16508 breconoisehe[5][
jeta][jphi] = recNoiseEnergyHE6->GetBinContent(
jeta + 1, jphi + 1);
16509 breconoisehe[6][
jeta][jphi] = recNoiseEnergyHE7->GetBinContent(
jeta + 1, jphi + 1);
16511 if (areconoisehe[0][
jeta][jphi] != 0.) {
16512 sumreconoiseHE0 += areconoisehe[0][
jeta][jphi];
16513 ++nsumreconoiseHE0;
16515 if (areconoisehe[1][
jeta][jphi] != 0.) {
16516 sumreconoiseHE1 += areconoisehe[1][
jeta][jphi];
16517 ++nsumreconoiseHE1;
16519 if (areconoisehe[2][
jeta][jphi] != 0.) {
16520 sumreconoiseHE2 += areconoisehe[2][
jeta][jphi];
16521 ++nsumreconoiseHE2;
16523 if (areconoisehe[3][
jeta][jphi] != 0.) {
16524 sumreconoiseHE3 += areconoisehe[3][
jeta][jphi];
16525 ++nsumreconoiseHE3;
16527 if (areconoisehe[4][
jeta][jphi] != 0.) {
16528 sumreconoiseHE4 += areconoisehe[4][
jeta][jphi];
16529 ++nsumreconoiseHE4;
16531 if (areconoisehe[5][
jeta][jphi] != 0.) {
16532 sumreconoiseHE5 += areconoisehe[5][
jeta][jphi];
16533 ++nsumreconoiseHE5;
16535 if (areconoisehe[6][
jeta][jphi] != 0.) {
16536 sumreconoiseHE6 += areconoisehe[6][
jeta][jphi];
16537 ++nsumreconoiseHE6;
16542 for (
int jphi = 0; jphi < njphi; jphi++) {
16543 if (sumreconoiseHE0 != 0.)
16544 breconoisehe[0][
jeta][jphi] -= (sumreconoiseHE0 / nsumreconoiseHE0);
16545 if (sumreconoiseHE1 != 0.)
16546 breconoisehe[1][
jeta][jphi] -= (sumreconoiseHE1 / nsumreconoiseHE1);
16547 if (sumreconoiseHE2 != 0.)
16548 breconoisehe[2][
jeta][jphi] -= (sumreconoiseHE2 / nsumreconoiseHE2);
16549 if (sumreconoiseHE3 != 0.)
16550 breconoisehe[3][
jeta][jphi] -= (sumreconoiseHE3 / nsumreconoiseHE3);
16551 if (sumreconoiseHE4 != 0.)
16552 breconoisehe[4][
jeta][jphi] -= (sumreconoiseHE4 / nsumreconoiseHE4);
16553 if (sumreconoiseHE5 != 0.)
16554 breconoisehe[5][
jeta][jphi] -= (sumreconoiseHE5 / nsumreconoiseHE5);
16555 if (sumreconoiseHE6 != 0.)
16556 breconoisehe[6][
jeta][jphi] -= (sumreconoiseHE6 / nsumreconoiseHE6);
16560 for (
int jphi = 0; jphi < njphi; jphi++) {
16561 if (sumreconoiseHE0 != 0.)
16562 areconoisehe[0][
jeta][jphi] /= (sumreconoiseHE0 / nsumreconoiseHE0);
16563 if (sumreconoiseHE1 != 0.)
16564 areconoisehe[1][
jeta][jphi] /= (sumreconoiseHE1 / nsumreconoiseHE1);
16565 if (sumreconoiseHE2 != 0.)
16566 areconoisehe[2][
jeta][jphi] /= (sumreconoiseHE2 / nsumreconoiseHE2);
16567 if (sumreconoiseHE3 != 0.)
16568 areconoisehe[3][
jeta][jphi] /= (sumreconoiseHE3 / nsumreconoiseHE3);
16569 if (sumreconoiseHE4 != 0.)
16570 areconoisehe[4][
jeta][jphi] /= (sumreconoiseHE4 / nsumreconoiseHE4);
16571 if (sumreconoiseHE5 != 0.)
16572 areconoisehe[5][
jeta][jphi] /= (sumreconoiseHE5 / nsumreconoiseHE5);
16573 if (sumreconoiseHE6 != 0.)
16574 areconoisehe[6][
jeta][jphi] /= (sumreconoiseHE6 / nsumreconoiseHE6);
16584 c2x1->Divide(2, 1);
16586 TH2F *GefzRreconoiseHE42D =
new TH2F(
"GefzRreconoiseHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
16587 TH2F *GefzRreconoiseHE42D0 =
new TH2F(
"GefzRreconoiseHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
16588 TH2F *GefzRreconoiseHE42DF = (TH2F *)GefzRreconoiseHE42D0->Clone(
"GefzRreconoiseHE42DF");
16591 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
16592 for (
int jphi = 0; jphi <
nphi; jphi++) {
16593 double ccc1 = areconoisehe[
i][
jeta][jphi];
16594 int k2plot =
jeta - 41;
16597 GefzRreconoiseHE42D->Fill(kkk, jphi, ccc1);
16598 GefzRreconoiseHE42D0->Fill(kkk, jphi, 1.);
16604 GefzRreconoiseHE42DF->Divide(GefzRreconoiseHE42D, GefzRreconoiseHE42D0, 1, 1,
"B");
16607 GefzRreconoiseHE42DF->SetXTitle(
"<R>_depth #eta \b");
16608 GefzRreconoiseHE42DF->SetYTitle(
" #phi \b");
16609 GefzRreconoiseHE42DF->Draw(
"COLZ");
16612 TH1F *energyhitNoise_HE = (TH1F *)
dir->FindObjectAny(
"h_energyhitNoise_HE");
16613 energyhitNoise_HE->SetMarkerStyle(20);
16614 energyhitNoise_HE->SetMarkerSize(0.4);
16615 energyhitNoise_HE->GetYaxis()->SetLabelSize(0.04);
16616 energyhitNoise_HE->SetXTitle(
"energyhitNoise_HE \b");
16617 energyhitNoise_HE->SetMarkerColor(2);
16618 energyhitNoise_HE->SetLineColor(0);
16621 energyhitNoise_HE->Draw(
"Error");
16625 c2x1->Print(
"RreconoiseGeneralD2PhiSymmetryHE.png");
16628 if (GefzRreconoiseHE42D)
16629 delete GefzRreconoiseHE42D;
16630 if (GefzRreconoiseHE42D0)
16631 delete GefzRreconoiseHE42D0;
16632 if (GefzRreconoiseHE42DF)
16633 delete GefzRreconoiseHE42DF;
16639 c1x1->Divide(1, 1);
16641 TH1F *GefzRreconoiseHE41D =
new TH1F(
"GefzRreconoiseHE41D",
"",
nphi, 0., 72.);
16642 TH1F *GefzRreconoiseHE41D0 =
new TH1F(
"GefzRreconoiseHE41D0",
"",
nphi, 0., 72.);
16643 TH1F *GefzRreconoiseHE41DF = (TH1F *)GefzRreconoiseHE41D0->Clone(
"GefzRreconoiseHE41DF");
16644 for (
int jphi = 0; jphi <
nphi; jphi++) {
16646 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
16648 double ccc1 = areconoisehe[
i][
jeta][jphi];
16650 GefzRreconoiseHE41D->Fill(jphi, ccc1);
16651 GefzRreconoiseHE41D0->Fill(jphi, 1.);
16657 GefzRreconoiseHE41DF->Divide(GefzRreconoiseHE41D, GefzRreconoiseHE41D0, 1, 1,
"B");
16658 GefzRreconoiseHE41D0->Sumw2();
16662 GefzRreconoiseHE41DF->SetMarkerStyle(20);
16663 GefzRreconoiseHE41DF->SetMarkerSize(1.4);
16664 GefzRreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08);
16665 GefzRreconoiseHE41DF->SetXTitle(
"#phi \b");
16666 GefzRreconoiseHE41DF->SetYTitle(
" <R> \b");
16667 GefzRreconoiseHE41DF->SetZTitle(
"<R>_PHI - AllDepthes \b");
16668 GefzRreconoiseHE41DF->SetMarkerColor(4);
16669 GefzRreconoiseHE41DF->SetLineColor(
16671 GefzRreconoiseHE41DF->Draw(
"Error");
16674 c1x1->Print(
"RreconoiseGeneralD1PhiSymmetryHE.png");
16677 if (GefzRreconoiseHE41D)
16678 delete GefzRreconoiseHE41D;
16679 if (GefzRreconoiseHE41D0)
16680 delete GefzRreconoiseHE41D0;
16681 if (GefzRreconoiseHE41DF)
16682 delete GefzRreconoiseHE41DF;
16690 c3x5->Divide(3, 5);
16692 int kcountHEpositivedirectionReconoise1 = 1;
16693 TH1F *h2CeffHEpositivedirectionReconoise1 =
new TH1F(
"h2CeffHEpositivedirectionReconoise1",
"",
nphi, 0., 72.);
16696 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
16699 for (
int i = 0;
i < 1;
i++) {
16700 TH1F *HEpositivedirectionReconoise1 = (TH1F *)h2CeffHEpositivedirectionReconoise1->Clone(
"twod1");
16702 for (
int jphi = 0; jphi <
nphi; jphi++) {
16703 double ccc1 = areconoisehe[
i][
jeta][jphi];
16705 HEpositivedirectionReconoise1->Fill(jphi, ccc1);
16709 if (ccctest > 0.) {
16711 c3x5->cd(kcountHEpositivedirectionReconoise1);
16712 HEpositivedirectionReconoise1->SetMarkerStyle(20);
16713 HEpositivedirectionReconoise1->SetMarkerSize(0.4);
16714 HEpositivedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
16715 HEpositivedirectionReconoise1->SetXTitle(
"HEpositivedirectionReconoise1 \b");
16716 HEpositivedirectionReconoise1->SetMarkerColor(2);
16717 HEpositivedirectionReconoise1->SetLineColor(0);
16721 if (kcountHEpositivedirectionReconoise1 == 1)
16722 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 17; depth = 1 \b");
16723 if (kcountHEpositivedirectionReconoise1 == 2)
16724 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 18; depth = 1 \b");
16725 if (kcountHEpositivedirectionReconoise1 == 3)
16726 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 19; depth = 1 \b");
16727 if (kcountHEpositivedirectionReconoise1 == 4)
16728 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 20; depth = 1 \b");
16729 if (kcountHEpositivedirectionReconoise1 == 5)
16730 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 21; depth = 1 \b");
16731 if (kcountHEpositivedirectionReconoise1 == 6)
16732 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 22; depth = 1 \b");
16733 if (kcountHEpositivedirectionReconoise1 == 7)
16734 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 23; depth = 1 \b");
16735 if (kcountHEpositivedirectionReconoise1 == 8)
16736 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 24; depth = 1 \b");
16737 if (kcountHEpositivedirectionReconoise1 == 9)
16738 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 25; depth = 1 \b");
16739 if (kcountHEpositivedirectionReconoise1 == 10)
16740 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 26; depth = 1 \b");
16741 if (kcountHEpositivedirectionReconoise1 == 11)
16742 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 27; depth = 1 \b");
16743 if (kcountHEpositivedirectionReconoise1 == 12)
16744 HEpositivedirectionReconoise1->SetXTitle(
"R for HE+ jeta = 28; depth = 1 \b");
16745 HEpositivedirectionReconoise1->Draw(
"Error");
16746 kcountHEpositivedirectionReconoise1++;
16747 if (kcountHEpositivedirectionReconoise1 > 12)
16756 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png");
16759 if (h2CeffHEpositivedirectionReconoise1)
16760 delete h2CeffHEpositivedirectionReconoise1;
16768 c3x5->Divide(3, 5);
16770 int kcountHEpositivedirectionReconoise2 = 1;
16771 TH1F *h2CeffHEpositivedirectionReconoise2 =
new TH1F(
"h2CeffHEpositivedirectionReconoise2",
"",
nphi, 0., 72.);
16774 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
16777 for (
int i = 1;
i < 2;
i++) {
16778 TH1F *HEpositivedirectionReconoise2 = (TH1F *)h2CeffHEpositivedirectionReconoise2->Clone(
"twod1");
16780 for (
int jphi = 0; jphi <
nphi; jphi++) {
16781 double ccc1 = areconoisehe[
i][
jeta][jphi];
16783 HEpositivedirectionReconoise2->Fill(jphi, ccc1);
16787 if (ccctest > 0.) {
16789 c3x5->cd(kcountHEpositivedirectionReconoise2);
16790 HEpositivedirectionReconoise2->SetMarkerStyle(20);
16791 HEpositivedirectionReconoise2->SetMarkerSize(0.4);
16792 HEpositivedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
16793 HEpositivedirectionReconoise2->SetXTitle(
"HEpositivedirectionReconoise2 \b");
16794 HEpositivedirectionReconoise2->SetMarkerColor(2);
16795 HEpositivedirectionReconoise2->SetLineColor(0);
16799 if (kcountHEpositivedirectionReconoise2 == 1)
16800 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 16; depth = 2 \b");
16801 if (kcountHEpositivedirectionReconoise2 == 2)
16802 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 17; depth = 2 \b");
16803 if (kcountHEpositivedirectionReconoise2 == 3)
16804 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 18; depth = 2 \b");
16805 if (kcountHEpositivedirectionReconoise2 == 4)
16806 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 19; depth = 2 \b");
16807 if (kcountHEpositivedirectionReconoise2 == 5)
16808 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 20; depth = 2 \b");
16809 if (kcountHEpositivedirectionReconoise2 == 6)
16810 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 21; depth = 2 \b");
16811 if (kcountHEpositivedirectionReconoise2 == 7)
16812 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 22; depth = 2 \b");
16813 if (kcountHEpositivedirectionReconoise2 == 8)
16814 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 23; depth = 2 \b");
16815 if (kcountHEpositivedirectionReconoise2 == 9)
16816 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 24; depth = 2 \b");
16817 if (kcountHEpositivedirectionReconoise2 == 10)
16818 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 25; depth = 2 \b");
16819 if (kcountHEpositivedirectionReconoise2 == 11)
16820 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 26; depth = 2 \b");
16821 if (kcountHEpositivedirectionReconoise2 == 12)
16822 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 27; depth = 2 \b");
16823 if (kcountHEpositivedirectionReconoise2 == 13)
16824 HEpositivedirectionReconoise2->SetXTitle(
"R for HE+ jeta = 28; depth = 2 \b");
16825 HEpositivedirectionReconoise2->Draw(
"Error");
16826 kcountHEpositivedirectionReconoise2++;
16827 if (kcountHEpositivedirectionReconoise2 > 13)
16836 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png");
16839 if (h2CeffHEpositivedirectionReconoise2)
16840 delete h2CeffHEpositivedirectionReconoise2;
16847 c3x5->Divide(3, 5);
16849 int kcountHEpositivedirectionReconoise3 = 1;
16850 TH1F *h2CeffHEpositivedirectionReconoise3 =
new TH1F(
"h2CeffHEpositivedirectionReconoise3",
"",
nphi, 0., 72.);
16853 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
16856 for (
int i = 2;
i < 3;
i++) {
16857 TH1F *HEpositivedirectionReconoise3 = (TH1F *)h2CeffHEpositivedirectionReconoise3->Clone(
"twod1");
16859 for (
int jphi = 0; jphi <
nphi; jphi++) {
16860 double ccc1 = areconoisehe[
i][
jeta][jphi];
16862 HEpositivedirectionReconoise3->Fill(jphi, ccc1);
16866 if (ccctest > 0.) {
16868 c3x5->cd(kcountHEpositivedirectionReconoise3);
16869 HEpositivedirectionReconoise3->SetMarkerStyle(20);
16870 HEpositivedirectionReconoise3->SetMarkerSize(0.4);
16871 HEpositivedirectionReconoise3->GetYaxis()->SetLabelSize(0.04);
16872 HEpositivedirectionReconoise3->SetXTitle(
"HEpositivedirectionReconoise3 \b");
16873 HEpositivedirectionReconoise3->SetMarkerColor(2);
16874 HEpositivedirectionReconoise3->SetLineColor(0);
16878 if (kcountHEpositivedirectionReconoise3 == 1)
16879 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 16; depth = 3 \b");
16880 if (kcountHEpositivedirectionReconoise3 == 2)
16881 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 17; depth = 3 \b");
16882 if (kcountHEpositivedirectionReconoise3 == 3)
16883 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 18; depth = 3 \b");
16884 if (kcountHEpositivedirectionReconoise3 == 4)
16885 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 19; depth = 3 \b");
16886 if (kcountHEpositivedirectionReconoise3 == 5)
16887 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 20; depth = 3 \b");
16888 if (kcountHEpositivedirectionReconoise3 == 6)
16889 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 21; depth = 3 \b");
16890 if (kcountHEpositivedirectionReconoise3 == 7)
16891 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 22; depth = 3 \b");
16892 if (kcountHEpositivedirectionReconoise3 == 8)
16893 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 23; depth = 3 \b");
16894 if (kcountHEpositivedirectionReconoise3 == 9)
16895 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 24; depth = 3 \b");
16896 if (kcountHEpositivedirectionReconoise3 == 10)
16897 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 25; depth = 3 \b");
16898 if (kcountHEpositivedirectionReconoise3 == 11)
16899 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 26; depth = 3 \b");
16900 if (kcountHEpositivedirectionReconoise3 == 12)
16901 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 27; depth = 3 \b");
16902 if (kcountHEpositivedirectionReconoise3 == 13)
16903 HEpositivedirectionReconoise3->SetXTitle(
"R for HE+ jeta = 28; depth = 3 \b");
16904 HEpositivedirectionReconoise3->Draw(
"Error");
16905 kcountHEpositivedirectionReconoise3++;
16906 if (kcountHEpositivedirectionReconoise3 > 13)
16915 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png");
16918 if (h2CeffHEpositivedirectionReconoise3)
16919 delete h2CeffHEpositivedirectionReconoise3;
16926 c3x5->Divide(3, 5);
16928 int kcountHEpositivedirectionReconoise4 = 1;
16929 TH1F *h2CeffHEpositivedirectionReconoise4 =
new TH1F(
"h2CeffHEpositivedirectionReconoise4",
"",
nphi, 0., 72.);
16933 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
16936 for (
int i = 3;
i < 4;
i++) {
16937 TH1F *HEpositivedirectionReconoise4 = (TH1F *)h2CeffHEpositivedirectionReconoise4->Clone(
"twod1");
16940 for (
int jphi = 0; jphi <
nphi; jphi++) {
16941 double ccc1 = areconoisehe[
i][
jeta][jphi];
16943 HEpositivedirectionReconoise4->Fill(jphi, ccc1);
16947 if (ccctest > 0.) {
16949 c3x5->cd(kcountHEpositivedirectionReconoise4);
16950 HEpositivedirectionReconoise4->SetMarkerStyle(20);
16951 HEpositivedirectionReconoise4->SetMarkerSize(0.4);
16952 HEpositivedirectionReconoise4->GetYaxis()->SetLabelSize(0.04);
16953 HEpositivedirectionReconoise4->SetXTitle(
"HEpositivedirectionReconoise4 \b");
16954 HEpositivedirectionReconoise4->SetMarkerColor(2);
16955 HEpositivedirectionReconoise4->SetLineColor(0);
16959 if (kcountHEpositivedirectionReconoise4 == 1)
16960 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 15; depth = 4 \b");
16961 if (kcountHEpositivedirectionReconoise4 == 2)
16962 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 17; depth = 4 \b");
16963 if (kcountHEpositivedirectionReconoise4 == 3)
16964 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 18; depth = 4 \b");
16965 if (kcountHEpositivedirectionReconoise4 == 4)
16966 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 19; depth = 4 \b");
16967 if (kcountHEpositivedirectionReconoise4 == 5)
16968 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 20; depth = 4 \b");
16969 if (kcountHEpositivedirectionReconoise4 == 6)
16970 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 21; depth = 4 \b");
16971 if (kcountHEpositivedirectionReconoise4 == 7)
16972 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 22; depth = 4 \b");
16973 if (kcountHEpositivedirectionReconoise4 == 8)
16974 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 23; depth = 4 \b");
16975 if (kcountHEpositivedirectionReconoise4 == 9)
16976 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 24; depth = 4 \b");
16977 if (kcountHEpositivedirectionReconoise4 == 10)
16978 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 25; depth = 4 \b");
16979 if (kcountHEpositivedirectionReconoise4 == 11)
16980 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 26; depth = 4 \b");
16981 if (kcountHEpositivedirectionReconoise4 == 12)
16982 HEpositivedirectionReconoise4->SetXTitle(
"R for HE+ jeta = 27; depth = 4 \b");
16983 HEpositivedirectionReconoise4->Draw(
"Error");
16984 kcountHEpositivedirectionReconoise4++;
16985 if (kcountHEpositivedirectionReconoise4 > 12)
16994 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png");
16997 if (h2CeffHEpositivedirectionReconoise4)
16998 delete h2CeffHEpositivedirectionReconoise4;
17005 c3x5->Divide(3, 5);
17007 int kcountHEpositivedirectionReconoise5 = 1;
17008 TH1F *h2CeffHEpositivedirectionReconoise5 =
new TH1F(
"h2CeffHEpositivedirectionReconoise5",
"",
nphi, 0., 72.);
17012 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
17015 for (
int i = 4;
i < 5;
i++) {
17016 TH1F *HEpositivedirectionReconoise5 = (TH1F *)h2CeffHEpositivedirectionReconoise5->Clone(
"twod1");
17019 for (
int jphi = 0; jphi <
nphi; jphi++) {
17022 double ccc1 = areconoisehe[
i][
jeta][jphi];
17024 HEpositivedirectionReconoise5->Fill(jphi, ccc1);
17028 if (ccctest > 0.) {
17030 c3x5->cd(kcountHEpositivedirectionReconoise5);
17031 HEpositivedirectionReconoise5->SetMarkerStyle(20);
17032 HEpositivedirectionReconoise5->SetMarkerSize(0.4);
17033 HEpositivedirectionReconoise5->GetYaxis()->SetLabelSize(0.04);
17034 HEpositivedirectionReconoise5->SetXTitle(
"HEpositivedirectionReconoise5 \b");
17035 HEpositivedirectionReconoise5->SetMarkerColor(2);
17036 HEpositivedirectionReconoise5->SetLineColor(0);
17040 if (kcountHEpositivedirectionReconoise5 == 1)
17041 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 17; depth = 5 \b");
17042 if (kcountHEpositivedirectionReconoise5 == 2)
17043 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 18; depth = 5 \b");
17044 if (kcountHEpositivedirectionReconoise5 == 3)
17045 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 19; depth = 5 \b");
17046 if (kcountHEpositivedirectionReconoise5 == 4)
17047 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 20; depth = 5 \b");
17048 if (kcountHEpositivedirectionReconoise5 == 5)
17049 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 21; depth = 5 \b");
17050 if (kcountHEpositivedirectionReconoise5 == 6)
17051 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 22; depth = 5 \b");
17052 if (kcountHEpositivedirectionReconoise5 == 7)
17053 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 23; depth = 5 \b");
17054 if (kcountHEpositivedirectionReconoise5 == 8)
17055 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 24; depth = 5 \b");
17056 if (kcountHEpositivedirectionReconoise5 == 9)
17057 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 25; depth = 5 \b");
17058 if (kcountHEpositivedirectionReconoise5 == 10)
17059 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 26; depth = 5 \b");
17060 if (kcountHEpositivedirectionReconoise5 == 11)
17061 HEpositivedirectionReconoise5->SetXTitle(
"R for HE+ jeta = 27; depth = 5 \b");
17062 HEpositivedirectionReconoise5->Draw(
"Error");
17063 kcountHEpositivedirectionReconoise5++;
17064 if (kcountHEpositivedirectionReconoise5 > 11)
17073 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png");
17076 if (h2CeffHEpositivedirectionReconoise5)
17077 delete h2CeffHEpositivedirectionReconoise5;
17084 c3x5->Divide(3, 5);
17086 int kcountHEpositivedirectionReconoise6 = 1;
17087 TH1F *h2CeffHEpositivedirectionReconoise6 =
new TH1F(
"h2CeffHEpositivedirectionReconoise6",
"",
nphi, 0., 72.);
17091 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
17094 for (
int i = 5;
i < 6;
i++) {
17095 TH1F *HEpositivedirectionReconoise6 = (TH1F *)h2CeffHEpositivedirectionReconoise6->Clone(
"twod1");
17098 for (
int jphi = 0; jphi <
nphi; jphi++) {
17099 double ccc1 = areconoisehe[
i][
jeta][jphi];
17101 HEpositivedirectionReconoise6->Fill(jphi, ccc1);
17105 if (ccctest > 0.) {
17107 c3x5->cd(kcountHEpositivedirectionReconoise6);
17108 HEpositivedirectionReconoise6->SetMarkerStyle(20);
17109 HEpositivedirectionReconoise6->SetMarkerSize(0.4);
17110 HEpositivedirectionReconoise6->GetYaxis()->SetLabelSize(0.04);
17111 HEpositivedirectionReconoise6->SetXTitle(
"HEpositivedirectionReconoise6 \b");
17112 HEpositivedirectionReconoise6->SetMarkerColor(2);
17113 HEpositivedirectionReconoise6->SetLineColor(0);
17117 if (kcountHEpositivedirectionReconoise6 == 1)
17118 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 18; depth = 6 \b");
17119 if (kcountHEpositivedirectionReconoise6 == 2)
17120 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 19; depth = 6 \b");
17121 if (kcountHEpositivedirectionReconoise6 == 3)
17122 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 20; depth = 6 \b");
17123 if (kcountHEpositivedirectionReconoise6 == 4)
17124 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 21; depth = 6 \b");
17125 if (kcountHEpositivedirectionReconoise6 == 5)
17126 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 22; depth = 6 \b");
17127 if (kcountHEpositivedirectionReconoise6 == 6)
17128 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 23; depth = 6 \b");
17129 if (kcountHEpositivedirectionReconoise6 == 7)
17130 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 24; depth = 6 \b");
17131 if (kcountHEpositivedirectionReconoise6 == 8)
17132 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 25; depth = 6 \b");
17133 if (kcountHEpositivedirectionReconoise6 == 9)
17134 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 26; depth = 6 \b");
17135 if (kcountHEpositivedirectionReconoise6 == 10)
17136 HEpositivedirectionReconoise6->SetXTitle(
"R for HE+ jeta = 27; depth = 6 \b");
17137 HEpositivedirectionReconoise6->Draw(
"Error");
17138 kcountHEpositivedirectionReconoise6++;
17139 if (kcountHEpositivedirectionReconoise6 > 10)
17148 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png");
17151 if (h2CeffHEpositivedirectionReconoise6)
17152 delete h2CeffHEpositivedirectionReconoise6;
17159 c3x5->Divide(3, 5);
17161 int kcountHEpositivedirectionReconoise7 = 1;
17162 TH1F *h2CeffHEpositivedirectionReconoise7 =
new TH1F(
"h2CeffHEpositivedirectionReconoise7",
"",
nphi, 0., 72.);
17166 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
17169 for (
int i = 6;
i < 7;
i++) {
17170 TH1F *HEpositivedirectionReconoise7 = (TH1F *)h2CeffHEpositivedirectionReconoise7->Clone(
"twod1");
17173 for (
int jphi = 0; jphi <
nphi; jphi++) {
17174 double ccc1 = areconoisehe[
i][
jeta][jphi];
17176 HEpositivedirectionReconoise7->Fill(jphi, ccc1);
17180 if (ccctest > 0.) {
17182 c3x5->cd(kcountHEpositivedirectionReconoise7);
17183 HEpositivedirectionReconoise7->SetMarkerStyle(20);
17184 HEpositivedirectionReconoise7->SetMarkerSize(0.4);
17185 HEpositivedirectionReconoise7->GetYaxis()->SetLabelSize(0.04);
17186 HEpositivedirectionReconoise7->SetXTitle(
"HEpositivedirectionReconoise7 \b");
17187 HEpositivedirectionReconoise7->SetMarkerColor(2);
17188 HEpositivedirectionReconoise7->SetLineColor(0);
17192 if (kcountHEpositivedirectionReconoise7 == 1)
17193 HEpositivedirectionReconoise7->SetXTitle(
"R for HE+ jeta = 25; depth = 7 \b");
17194 if (kcountHEpositivedirectionReconoise7 == 2)
17195 HEpositivedirectionReconoise7->SetXTitle(
"R for HE+ jeta = 26; depth = 7 \b");
17196 if (kcountHEpositivedirectionReconoise7 == 3)
17197 HEpositivedirectionReconoise7->SetXTitle(
"R for HE+ jeta = 27; depth = 7 \b");
17198 HEpositivedirectionReconoise7->Draw(
"Error");
17199 kcountHEpositivedirectionReconoise7++;
17200 if (kcountHEpositivedirectionReconoise7 > 3)
17209 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png");
17212 if (h2CeffHEpositivedirectionReconoise7)
17213 delete h2CeffHEpositivedirectionReconoise7;
17222 c3x5->Divide(3, 5);
17224 int kcountHEnegativedirectionReconoise1 = 1;
17225 TH1F *h2CeffHEnegativedirectionReconoise1 =
new TH1F(
"h2CeffHEnegativedirectionReconoise1",
"",
nphi, 0., 72.);
17228 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17231 for (
int i = 0;
i < 1;
i++) {
17232 TH1F *HEnegativedirectionReconoise1 = (TH1F *)h2CeffHEnegativedirectionReconoise1->Clone(
"twod1");
17234 for (
int jphi = 0; jphi <
nphi; jphi++) {
17235 double ccc1 = areconoisehe[
i][
jeta][jphi];
17237 HEnegativedirectionReconoise1->Fill(jphi, ccc1);
17241 if (ccctest > 0.) {
17243 c3x5->cd(kcountHEnegativedirectionReconoise1);
17244 HEnegativedirectionReconoise1->SetMarkerStyle(20);
17245 HEnegativedirectionReconoise1->SetMarkerSize(0.4);
17246 HEnegativedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
17247 HEnegativedirectionReconoise1->SetXTitle(
"HEnegativedirectionReconoise1 \b");
17248 HEnegativedirectionReconoise1->SetMarkerColor(2);
17249 HEnegativedirectionReconoise1->SetLineColor(0);
17253 if (kcountHEnegativedirectionReconoise1 == 1)
17254 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-29; depth = 1 \b");
17255 if (kcountHEnegativedirectionReconoise1 == 2)
17256 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-28; depth = 1 \b");
17257 if (kcountHEnegativedirectionReconoise1 == 3)
17258 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-27; depth = 1 \b");
17259 if (kcountHEnegativedirectionReconoise1 == 4)
17260 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-26; depth = 1 \b");
17261 if (kcountHEnegativedirectionReconoise1 == 5)
17262 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-25; depth = 1 \b");
17263 if (kcountHEnegativedirectionReconoise1 == 6)
17264 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-24; depth = 1 \b");
17265 if (kcountHEnegativedirectionReconoise1 == 7)
17266 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-23; depth = 1 \b");
17267 if (kcountHEnegativedirectionReconoise1 == 8)
17268 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-22; depth = 1 \b");
17269 if (kcountHEnegativedirectionReconoise1 == 9)
17270 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-21; depth = 1 \b");
17271 if (kcountHEnegativedirectionReconoise1 == 10)
17272 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-20; depth = 1 \b");
17273 if (kcountHEnegativedirectionReconoise1 == 11)
17274 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-19; depth = 1 \b");
17275 if (kcountHEnegativedirectionReconoise1 == 12)
17276 HEnegativedirectionReconoise1->SetXTitle(
"R for HE- jeta =-18; depth = 1 \b");
17277 HEnegativedirectionReconoise1->Draw(
"Error");
17278 kcountHEnegativedirectionReconoise1++;
17279 if (kcountHEnegativedirectionReconoise1 > 12)
17288 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
17291 if (h2CeffHEnegativedirectionReconoise1)
17292 delete h2CeffHEnegativedirectionReconoise1;
17300 c3x5->Divide(3, 5);
17302 int kcountHEnegativedirectionReconoise2 = 1;
17303 TH1F *h2CeffHEnegativedirectionReconoise2 =
new TH1F(
"h2CeffHEnegativedirectionReconoise2",
"",
nphi, 0., 72.);
17306 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17309 for (
int i = 1;
i < 2;
i++) {
17310 TH1F *HEnegativedirectionReconoise2 = (TH1F *)h2CeffHEnegativedirectionReconoise2->Clone(
"twod1");
17312 for (
int jphi = 0; jphi <
nphi; jphi++) {
17313 double ccc1 = areconoisehe[
i][
jeta][jphi];
17315 HEnegativedirectionReconoise2->Fill(jphi, ccc1);
17319 if (ccctest > 0.) {
17321 c3x5->cd(kcountHEnegativedirectionReconoise2);
17322 HEnegativedirectionReconoise2->SetMarkerStyle(20);
17323 HEnegativedirectionReconoise2->SetMarkerSize(0.4);
17324 HEnegativedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
17325 HEnegativedirectionReconoise2->SetXTitle(
"HEnegativedirectionReconoise2 \b");
17326 HEnegativedirectionReconoise2->SetMarkerColor(2);
17327 HEnegativedirectionReconoise2->SetLineColor(0);
17331 if (kcountHEnegativedirectionReconoise2 == 1)
17332 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-29; depth = 2 \b");
17333 if (kcountHEnegativedirectionReconoise2 == 2)
17334 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-28; depth = 2 \b");
17335 if (kcountHEnegativedirectionReconoise2 == 3)
17336 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-27; depth = 2 \b");
17337 if (kcountHEnegativedirectionReconoise2 == 4)
17338 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-26; depth = 2 \b");
17339 if (kcountHEnegativedirectionReconoise2 == 5)
17340 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-25; depth = 2 \b");
17341 if (kcountHEnegativedirectionReconoise2 == 6)
17342 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-24; depth = 2 \b");
17343 if (kcountHEnegativedirectionReconoise2 == 7)
17344 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-23; depth = 2 \b");
17345 if (kcountHEnegativedirectionReconoise2 == 8)
17346 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-22; depth = 2 \b");
17347 if (kcountHEnegativedirectionReconoise2 == 9)
17348 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-21; depth = 2 \b");
17349 if (kcountHEnegativedirectionReconoise2 == 10)
17350 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-20; depth = 2 \b");
17351 if (kcountHEnegativedirectionReconoise2 == 11)
17352 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-19; depth = 2 \b");
17353 if (kcountHEnegativedirectionReconoise2 == 12)
17354 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-18; depth = 2 \b");
17355 if (kcountHEnegativedirectionReconoise2 == 13)
17356 HEnegativedirectionReconoise2->SetXTitle(
"R for HE- jeta =-17; depth = 2 \b");
17357 HEnegativedirectionReconoise2->Draw(
"Error");
17358 kcountHEnegativedirectionReconoise2++;
17359 if (kcountHEnegativedirectionReconoise2 > 13)
17368 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
17371 if (h2CeffHEnegativedirectionReconoise2)
17372 delete h2CeffHEnegativedirectionReconoise2;
17379 c3x5->Divide(3, 5);
17381 int kcountHEnegativedirectionReconoise3 = 1;
17382 TH1F *h2CeffHEnegativedirectionReconoise3 =
new TH1F(
"h2CeffHEnegativedirectionReconoise3",
"",
nphi, 0., 72.);
17385 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17388 for (
int i = 2;
i < 3;
i++) {
17389 TH1F *HEnegativedirectionReconoise3 = (TH1F *)h2CeffHEnegativedirectionReconoise3->Clone(
"twod1");
17391 for (
int jphi = 0; jphi <
nphi; jphi++) {
17392 double ccc1 = areconoisehe[
i][
jeta][jphi];
17394 HEnegativedirectionReconoise3->Fill(jphi, ccc1);
17398 if (ccctest > 0.) {
17400 c3x5->cd(kcountHEnegativedirectionReconoise3);
17401 HEnegativedirectionReconoise3->SetMarkerStyle(20);
17402 HEnegativedirectionReconoise3->SetMarkerSize(0.4);
17403 HEnegativedirectionReconoise3->GetYaxis()->SetLabelSize(0.04);
17404 HEnegativedirectionReconoise3->SetXTitle(
"HEnegativedirectionReconoise3 \b");
17405 HEnegativedirectionReconoise3->SetMarkerColor(2);
17406 HEnegativedirectionReconoise3->SetLineColor(0);
17410 if (kcountHEnegativedirectionReconoise3 == 1)
17411 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-29; depth = 3 \b");
17412 if (kcountHEnegativedirectionReconoise3 == 2)
17413 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-28; depth = 3 \b");
17414 if (kcountHEnegativedirectionReconoise3 == 3)
17415 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-27; depth = 3 \b");
17416 if (kcountHEnegativedirectionReconoise3 == 4)
17417 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-26; depth = 3 \b");
17418 if (kcountHEnegativedirectionReconoise3 == 5)
17419 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-25; depth = 3 \b");
17420 if (kcountHEnegativedirectionReconoise3 == 6)
17421 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-24; depth = 3 \b");
17422 if (kcountHEnegativedirectionReconoise3 == 7)
17423 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-23; depth = 3 \b");
17424 if (kcountHEnegativedirectionReconoise3 == 8)
17425 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-22; depth = 3 \b");
17426 if (kcountHEnegativedirectionReconoise3 == 9)
17427 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-21; depth = 3 \b");
17428 if (kcountHEnegativedirectionReconoise3 == 10)
17429 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-20; depth = 3 \b");
17430 if (kcountHEnegativedirectionReconoise3 == 11)
17431 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-19; depth = 3 \b");
17432 if (kcountHEnegativedirectionReconoise3 == 12)
17433 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-18; depth = 3 \b");
17434 if (kcountHEnegativedirectionReconoise3 == 13)
17435 HEnegativedirectionReconoise3->SetXTitle(
"R for HE- jeta =-17; depth = 3 \b");
17436 HEnegativedirectionReconoise3->Draw(
"Error");
17437 kcountHEnegativedirectionReconoise3++;
17438 if (kcountHEnegativedirectionReconoise3 > 13)
17447 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
17450 if (h2CeffHEnegativedirectionReconoise3)
17451 delete h2CeffHEnegativedirectionReconoise3;
17458 c3x5->Divide(3, 5);
17460 int kcountHEnegativedirectionReconoise4 = 1;
17461 TH1F *h2CeffHEnegativedirectionReconoise4 =
new TH1F(
"h2CeffHEnegativedirectionReconoise4",
"",
nphi, 0., 72.);
17465 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17468 for (
int i = 3;
i < 4;
i++) {
17469 TH1F *HEnegativedirectionReconoise4 = (TH1F *)h2CeffHEnegativedirectionReconoise4->Clone(
"twod1");
17472 for (
int jphi = 0; jphi <
nphi; jphi++) {
17473 double ccc1 = areconoisehe[
i][
jeta][jphi];
17475 HEnegativedirectionReconoise4->Fill(jphi, ccc1);
17479 if (ccctest > 0.) {
17481 c3x5->cd(kcountHEnegativedirectionReconoise4);
17482 HEnegativedirectionReconoise4->SetMarkerStyle(20);
17483 HEnegativedirectionReconoise4->SetMarkerSize(0.4);
17484 HEnegativedirectionReconoise4->GetYaxis()->SetLabelSize(0.04);
17485 HEnegativedirectionReconoise4->SetXTitle(
"HEnegativedirectionReconoise4 \b");
17486 HEnegativedirectionReconoise4->SetMarkerColor(2);
17487 HEnegativedirectionReconoise4->SetLineColor(0);
17491 if (kcountHEnegativedirectionReconoise4 == 1)
17492 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-28; depth = 4 \b");
17493 if (kcountHEnegativedirectionReconoise4 == 2)
17494 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-27; depth = 4 \b");
17495 if (kcountHEnegativedirectionReconoise4 == 3)
17496 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-26; depth = 4 \b");
17497 if (kcountHEnegativedirectionReconoise4 == 4)
17498 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-25; depth = 4 \b");
17499 if (kcountHEnegativedirectionReconoise4 == 5)
17500 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-24; depth = 4 \b");
17501 if (kcountHEnegativedirectionReconoise4 == 6)
17502 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-23; depth = 4 \b");
17503 if (kcountHEnegativedirectionReconoise4 == 7)
17504 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-22; depth = 4 \b");
17505 if (kcountHEnegativedirectionReconoise4 == 8)
17506 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-21; depth = 4 \b");
17507 if (kcountHEnegativedirectionReconoise4 == 9)
17508 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-20; depth = 4 \b");
17509 if (kcountHEnegativedirectionReconoise4 == 10)
17510 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-19; depth = 4 \b");
17511 if (kcountHEnegativedirectionReconoise4 == 11)
17512 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-18; depth = 4 \b");
17513 if (kcountHEnegativedirectionReconoise4 == 12)
17514 HEnegativedirectionReconoise4->SetXTitle(
"R for HE- jeta =-16; depth = 4 \b");
17515 HEnegativedirectionReconoise4->Draw(
"Error");
17516 kcountHEnegativedirectionReconoise4++;
17517 if (kcountHEnegativedirectionReconoise4 > 12)
17526 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
17529 if (h2CeffHEnegativedirectionReconoise4)
17530 delete h2CeffHEnegativedirectionReconoise4;
17537 c3x5->Divide(3, 5);
17539 int kcountHEnegativedirectionReconoise5 = 1;
17540 TH1F *h2CeffHEnegativedirectionReconoise5 =
new TH1F(
"h2CeffHEnegativedirectionReconoise5",
"",
nphi, 0., 72.);
17544 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17547 for (
int i = 4;
i < 5;
i++) {
17548 TH1F *HEnegativedirectionReconoise5 = (TH1F *)h2CeffHEnegativedirectionReconoise5->Clone(
"twod1");
17551 for (
int jphi = 0; jphi <
nphi; jphi++) {
17554 double ccc1 = areconoisehe[
i][
jeta][jphi];
17556 HEnegativedirectionReconoise5->Fill(jphi, ccc1);
17560 if (ccctest > 0.) {
17562 c3x5->cd(kcountHEnegativedirectionReconoise5);
17563 HEnegativedirectionReconoise5->SetMarkerStyle(20);
17564 HEnegativedirectionReconoise5->SetMarkerSize(0.4);
17565 HEnegativedirectionReconoise5->GetYaxis()->SetLabelSize(0.04);
17566 HEnegativedirectionReconoise5->SetXTitle(
"HEnegativedirectionReconoise5 \b");
17567 HEnegativedirectionReconoise5->SetMarkerColor(2);
17568 HEnegativedirectionReconoise5->SetLineColor(0);
17572 if (kcountHEnegativedirectionReconoise5 == 1)
17573 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-28; depth = 5 \b");
17574 if (kcountHEnegativedirectionReconoise5 == 2)
17575 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-27; depth = 5 \b");
17576 if (kcountHEnegativedirectionReconoise5 == 3)
17577 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-26; depth = 5 \b");
17578 if (kcountHEnegativedirectionReconoise5 == 4)
17579 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-25; depth = 5 \b");
17580 if (kcountHEnegativedirectionReconoise5 == 5)
17581 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-24; depth = 5 \b");
17582 if (kcountHEnegativedirectionReconoise5 == 6)
17583 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-23; depth = 5 \b");
17584 if (kcountHEnegativedirectionReconoise5 == 7)
17585 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-22; depth = 5 \b");
17586 if (kcountHEnegativedirectionReconoise5 == 8)
17587 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-21; depth = 5 \b");
17588 if (kcountHEnegativedirectionReconoise5 == 9)
17589 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-20; depth = 5 \b");
17590 if (kcountHEnegativedirectionReconoise5 == 10)
17591 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-19; depth = 5 \b");
17592 if (kcountHEnegativedirectionReconoise5 == 11)
17593 HEnegativedirectionReconoise5->SetXTitle(
"R for HE- jeta =-18; depth = 5 \b");
17594 HEnegativedirectionReconoise5->Draw(
"Error");
17595 kcountHEnegativedirectionReconoise5++;
17596 if (kcountHEnegativedirectionReconoise5 > 11)
17605 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
17608 if (h2CeffHEnegativedirectionReconoise5)
17609 delete h2CeffHEnegativedirectionReconoise5;
17616 c3x5->Divide(3, 5);
17618 int kcountHEnegativedirectionReconoise6 = 1;
17619 TH1F *h2CeffHEnegativedirectionReconoise6 =
new TH1F(
"h2CeffHEnegativedirectionReconoise6",
"",
nphi, 0., 72.);
17623 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17626 for (
int i = 5;
i < 6;
i++) {
17627 TH1F *HEnegativedirectionReconoise6 = (TH1F *)h2CeffHEnegativedirectionReconoise6->Clone(
"twod1");
17630 for (
int jphi = 0; jphi <
nphi; jphi++) {
17631 double ccc1 = areconoisehe[
i][
jeta][jphi];
17633 HEnegativedirectionReconoise6->Fill(jphi, ccc1);
17637 if (ccctest > 0.) {
17639 c3x5->cd(kcountHEnegativedirectionReconoise6);
17640 HEnegativedirectionReconoise6->SetMarkerStyle(20);
17641 HEnegativedirectionReconoise6->SetMarkerSize(0.4);
17642 HEnegativedirectionReconoise6->GetYaxis()->SetLabelSize(0.04);
17643 HEnegativedirectionReconoise6->SetXTitle(
"HEnegativedirectionReconoise6 \b");
17644 HEnegativedirectionReconoise6->SetMarkerColor(2);
17645 HEnegativedirectionReconoise6->SetLineColor(0);
17649 if (kcountHEnegativedirectionReconoise6 == 1)
17650 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-28; depth = 6 \b");
17651 if (kcountHEnegativedirectionReconoise6 == 2)
17652 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-27; depth = 6 \b");
17653 if (kcountHEnegativedirectionReconoise6 == 3)
17654 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-26; depth = 6 \b");
17655 if (kcountHEnegativedirectionReconoise6 == 4)
17656 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-25; depth = 6 \b");
17657 if (kcountHEnegativedirectionReconoise6 == 5)
17658 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-24; depth = 6 \b");
17659 if (kcountHEnegativedirectionReconoise6 == 6)
17660 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-23; depth = 6 \b");
17661 if (kcountHEnegativedirectionReconoise6 == 7)
17662 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-22; depth = 6 \b");
17663 if (kcountHEnegativedirectionReconoise6 == 8)
17664 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-21; depth = 6 \b");
17665 if (kcountHEnegativedirectionReconoise6 == 9)
17666 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-20; depth = 6 \b");
17667 if (kcountHEnegativedirectionReconoise6 == 10)
17668 HEnegativedirectionReconoise6->SetXTitle(
"R for HE- jeta =-19; depth = 6 \b");
17669 HEnegativedirectionReconoise6->Draw(
"Error");
17670 kcountHEnegativedirectionReconoise6++;
17671 if (kcountHEnegativedirectionReconoise6 > 10)
17680 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
17683 if (h2CeffHEnegativedirectionReconoise6)
17684 delete h2CeffHEnegativedirectionReconoise6;
17691 c3x5->Divide(3, 5);
17693 int kcountHEnegativedirectionReconoise7 = 1;
17694 TH1F *h2CeffHEnegativedirectionReconoise7 =
new TH1F(
"h2CeffHEnegativedirectionReconoise7",
"",
nphi, 0., 72.);
17698 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
17701 for (
int i = 6;
i < 7;
i++) {
17702 TH1F *HEnegativedirectionReconoise7 = (TH1F *)h2CeffHEnegativedirectionReconoise7->Clone(
"twod1");
17705 for (
int jphi = 0; jphi <
nphi; jphi++) {
17706 double ccc1 = areconoisehe[
i][
jeta][jphi];
17708 HEnegativedirectionReconoise7->Fill(jphi, ccc1);
17712 if (ccctest > 0.) {
17714 c3x5->cd(kcountHEnegativedirectionReconoise7);
17715 HEnegativedirectionReconoise7->SetMarkerStyle(20);
17716 HEnegativedirectionReconoise7->SetMarkerSize(0.4);
17717 HEnegativedirectionReconoise7->GetYaxis()->SetLabelSize(0.04);
17718 HEnegativedirectionReconoise7->SetXTitle(
"HEnegativedirectionReconoise7 \b");
17719 HEnegativedirectionReconoise7->SetMarkerColor(2);
17720 HEnegativedirectionReconoise7->SetLineColor(0);
17724 if (kcountHEnegativedirectionReconoise7 == 1)
17725 HEnegativedirectionReconoise7->SetXTitle(
"R for HE- jeta =-28; depth = 7 \b");
17726 if (kcountHEnegativedirectionReconoise7 == 2)
17727 HEnegativedirectionReconoise7->SetXTitle(
"R for HE- jeta =-27; depth = 7 \b");
17728 if (kcountHEnegativedirectionReconoise7 == 3)
17729 HEnegativedirectionReconoise7->SetXTitle(
"R for HE- jeta =-26; depth = 7 \b");
17730 HEnegativedirectionReconoise7->Draw(
"Error");
17731 kcountHEnegativedirectionReconoise7++;
17732 if (kcountHEnegativedirectionReconoise7 > 3)
17741 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
17744 if (h2CeffHEnegativedirectionReconoise7)
17745 delete h2CeffHEnegativedirectionReconoise7;
17756 c2x1->Divide(2, 1);
17758 TH2F *GefzDIFreconoiseHE42D =
new TH2F(
"GefzDIFreconoiseHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
17759 TH2F *GefzDIFreconoiseHE42D0 =
new TH2F(
"GefzDIFreconoiseHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
17760 TH2F *GefzDIFreconoiseHE42DF = (TH2F *)GefzDIFreconoiseHE42D0->Clone(
"GefzDIFreconoiseHE42DF");
17763 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
17764 for (
int jphi = 0; jphi <
nphi; jphi++) {
17765 double ccc1 = breconoisehe[
i][
jeta][jphi];
17766 int k2plot =
jeta - 41;
17769 GefzDIFreconoiseHE42D->Fill(kkk, jphi, ccc1);
17770 GefzDIFreconoiseHE42D0->Fill(kkk, jphi, 1.);
17776 GefzDIFreconoiseHE42DF->Divide(GefzDIFreconoiseHE42D, GefzDIFreconoiseHE42D0, 1, 1,
"B");
17779 GefzDIFreconoiseHE42DF->SetXTitle(
"<DIF>_depth #eta \b");
17780 GefzDIFreconoiseHE42DF->SetYTitle(
" #phi \b");
17781 GefzDIFreconoiseHE42DF->Draw(
"COLZ");
17789 c2x1->Print(
"DIFreconoiseGeneralD2PhiSymmetryHE.png");
17792 if (GefzDIFreconoiseHE42D)
17793 delete GefzDIFreconoiseHE42D;
17794 if (GefzDIFreconoiseHE42D0)
17795 delete GefzDIFreconoiseHE42D0;
17796 if (GefzDIFreconoiseHE42DF)
17797 delete GefzDIFreconoiseHE42DF;
17803 c1x1->Divide(1, 1);
17805 TH1F *GefzDIFreconoiseHE41D =
new TH1F(
"GefzDIFreconoiseHE41D",
"",
nphi, 0., 72.);
17806 TH1F *GefzDIFreconoiseHE41D0 =
new TH1F(
"GefzDIFreconoiseHE41D0",
"",
nphi, 0., 72.);
17807 TH1F *GefzDIFreconoiseHE41DF = (TH1F *)GefzDIFreconoiseHE41D0->Clone(
"GefzDIFreconoiseHE41DF");
17808 for (
int jphi = 0; jphi <
nphi; jphi++) {
17810 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
17812 double ccc1 = breconoisehe[
i][
jeta][jphi];
17814 GefzDIFreconoiseHE41D->Fill(jphi, ccc1);
17815 GefzDIFreconoiseHE41D0->Fill(jphi, 1.);
17821 GefzDIFreconoiseHE41DF->Divide(
17822 GefzDIFreconoiseHE41D, GefzDIFreconoiseHE41D0, 1, 1,
"B");
17823 GefzDIFreconoiseHE41D0->Sumw2();
17827 GefzDIFreconoiseHE41DF->SetMarkerStyle(20);
17828 GefzDIFreconoiseHE41DF->SetMarkerSize(1.4);
17829 GefzDIFreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08);
17830 GefzDIFreconoiseHE41DF->SetXTitle(
"#phi \b");
17831 GefzDIFreconoiseHE41DF->SetYTitle(
" <DIF> \b");
17832 GefzDIFreconoiseHE41DF->SetZTitle(
"<DIF>_PHI - AllDepthes \b");
17833 GefzDIFreconoiseHE41DF->SetMarkerColor(4);
17834 GefzDIFreconoiseHE41DF->SetLineColor(
17836 GefzDIFreconoiseHE41DF->Draw(
"Error");
17839 c1x1->Print(
"DIFreconoiseGeneralD1PhiSymmetryHE.png");
17842 if (GefzDIFreconoiseHE41D)
17843 delete GefzDIFreconoiseHE41D;
17844 if (GefzDIFreconoiseHE41D0)
17845 delete GefzDIFreconoiseHE41D0;
17846 if (GefzDIFreconoiseHE41DF)
17847 delete GefzDIFreconoiseHE41DF;
17855 c3x5->Divide(3, 5);
17857 int kcountHEpositivedirectionReconoiseDIF1 = 1;
17858 TH1F *h2CeffHEpositivedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
17861 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
17864 for (
int i = 0;
i < 1;
i++) {
17865 TH1F *HEpositivedirectionReconoiseDIF1 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF1->Clone(
"twod1");
17867 for (
int jphi = 0; jphi <
nphi; jphi++) {
17868 double ccc1 = breconoisehe[
i][
jeta][jphi];
17870 HEpositivedirectionReconoiseDIF1->Fill(jphi, ccc1);
17874 if (ccctest > 0.) {
17876 c3x5->cd(kcountHEpositivedirectionReconoiseDIF1);
17877 HEpositivedirectionReconoiseDIF1->SetMarkerStyle(20);
17878 HEpositivedirectionReconoiseDIF1->SetMarkerSize(0.4);
17879 HEpositivedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
17880 HEpositivedirectionReconoiseDIF1->SetXTitle(
"HEpositivedirectionReconoiseDIF1 \b");
17881 HEpositivedirectionReconoiseDIF1->SetMarkerColor(2);
17882 HEpositivedirectionReconoiseDIF1->SetLineColor(0);
17886 if (kcountHEpositivedirectionReconoiseDIF1 == 1)
17887 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 17; depth = 1 \b");
17888 if (kcountHEpositivedirectionReconoiseDIF1 == 2)
17889 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 18; depth = 1 \b");
17890 if (kcountHEpositivedirectionReconoiseDIF1 == 3)
17891 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 19; depth = 1 \b");
17892 if (kcountHEpositivedirectionReconoiseDIF1 == 4)
17893 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 20; depth = 1 \b");
17894 if (kcountHEpositivedirectionReconoiseDIF1 == 5)
17895 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 21; depth = 1 \b");
17896 if (kcountHEpositivedirectionReconoiseDIF1 == 6)
17897 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 22; depth = 1 \b");
17898 if (kcountHEpositivedirectionReconoiseDIF1 == 7)
17899 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 23; depth = 1 \b");
17900 if (kcountHEpositivedirectionReconoiseDIF1 == 8)
17901 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 24; depth = 1 \b");
17902 if (kcountHEpositivedirectionReconoiseDIF1 == 9)
17903 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 25; depth = 1 \b");
17904 if (kcountHEpositivedirectionReconoiseDIF1 == 10)
17905 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 26; depth = 1 \b");
17906 if (kcountHEpositivedirectionReconoiseDIF1 == 11)
17907 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 27; depth = 1 \b");
17908 if (kcountHEpositivedirectionReconoiseDIF1 == 12)
17909 HEpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HE+ jeta = 28; depth = 1 \b");
17910 HEpositivedirectionReconoiseDIF1->Draw(
"Error");
17911 kcountHEpositivedirectionReconoiseDIF1++;
17912 if (kcountHEpositivedirectionReconoiseDIF1 > 12)
17921 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png");
17924 if (h2CeffHEpositivedirectionReconoiseDIF1)
17925 delete h2CeffHEpositivedirectionReconoiseDIF1;
17933 c3x5->Divide(3, 5);
17935 int kcountHEpositivedirectionReconoiseDIF2 = 1;
17936 TH1F *h2CeffHEpositivedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
17939 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
17942 for (
int i = 1;
i < 2;
i++) {
17943 TH1F *HEpositivedirectionReconoiseDIF2 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF2->Clone(
"twod1");
17945 for (
int jphi = 0; jphi <
nphi; jphi++) {
17946 double ccc1 = breconoisehe[
i][
jeta][jphi];
17948 HEpositivedirectionReconoiseDIF2->Fill(jphi, ccc1);
17952 if (ccctest > 0.) {
17954 c3x5->cd(kcountHEpositivedirectionReconoiseDIF2);
17955 HEpositivedirectionReconoiseDIF2->SetMarkerStyle(20);
17956 HEpositivedirectionReconoiseDIF2->SetMarkerSize(0.4);
17957 HEpositivedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
17958 HEpositivedirectionReconoiseDIF2->SetXTitle(
"HEpositivedirectionReconoiseDIF2 \b");
17959 HEpositivedirectionReconoiseDIF2->SetMarkerColor(2);
17960 HEpositivedirectionReconoiseDIF2->SetLineColor(0);
17964 if (kcountHEpositivedirectionReconoiseDIF2 == 1)
17965 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 16; depth = 2 \b");
17966 if (kcountHEpositivedirectionReconoiseDIF2 == 2)
17967 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 17; depth = 2 \b");
17968 if (kcountHEpositivedirectionReconoiseDIF2 == 3)
17969 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 18; depth = 2 \b");
17970 if (kcountHEpositivedirectionReconoiseDIF2 == 4)
17971 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 19; depth = 2 \b");
17972 if (kcountHEpositivedirectionReconoiseDIF2 == 5)
17973 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 20; depth = 2 \b");
17974 if (kcountHEpositivedirectionReconoiseDIF2 == 6)
17975 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 21; depth = 2 \b");
17976 if (kcountHEpositivedirectionReconoiseDIF2 == 7)
17977 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 22; depth = 2 \b");
17978 if (kcountHEpositivedirectionReconoiseDIF2 == 8)
17979 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 23; depth = 2 \b");
17980 if (kcountHEpositivedirectionReconoiseDIF2 == 9)
17981 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 24; depth = 2 \b");
17982 if (kcountHEpositivedirectionReconoiseDIF2 == 10)
17983 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 25; depth = 2 \b");
17984 if (kcountHEpositivedirectionReconoiseDIF2 == 11)
17985 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 26; depth = 2 \b");
17986 if (kcountHEpositivedirectionReconoiseDIF2 == 12)
17987 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 27; depth = 2 \b");
17988 if (kcountHEpositivedirectionReconoiseDIF2 == 13)
17989 HEpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HE+ jeta = 28; depth = 2 \b");
17990 HEpositivedirectionReconoiseDIF2->Draw(
"Error");
17991 kcountHEpositivedirectionReconoiseDIF2++;
17992 if (kcountHEpositivedirectionReconoiseDIF2 > 13)
18001 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png");
18004 if (h2CeffHEpositivedirectionReconoiseDIF2)
18005 delete h2CeffHEpositivedirectionReconoiseDIF2;
18012 c3x5->Divide(3, 5);
18014 int kcountHEpositivedirectionReconoiseDIF3 = 1;
18015 TH1F *h2CeffHEpositivedirectionReconoiseDIF3 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF3",
"",
nphi, 0., 72.);
18018 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
18021 for (
int i = 2;
i < 3;
i++) {
18022 TH1F *HEpositivedirectionReconoiseDIF3 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF3->Clone(
"twod1");
18024 for (
int jphi = 0; jphi <
nphi; jphi++) {
18025 double ccc1 = breconoisehe[
i][
jeta][jphi];
18027 HEpositivedirectionReconoiseDIF3->Fill(jphi, ccc1);
18031 if (ccctest > 0.) {
18033 c3x5->cd(kcountHEpositivedirectionReconoiseDIF3);
18034 HEpositivedirectionReconoiseDIF3->SetMarkerStyle(20);
18035 HEpositivedirectionReconoiseDIF3->SetMarkerSize(0.4);
18036 HEpositivedirectionReconoiseDIF3->GetYaxis()->SetLabelSize(0.04);
18037 HEpositivedirectionReconoiseDIF3->SetXTitle(
"HEpositivedirectionReconoiseDIF3 \b");
18038 HEpositivedirectionReconoiseDIF3->SetMarkerColor(2);
18039 HEpositivedirectionReconoiseDIF3->SetLineColor(0);
18043 if (kcountHEpositivedirectionReconoiseDIF3 == 1)
18044 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 16; depth = 3 \b");
18045 if (kcountHEpositivedirectionReconoiseDIF3 == 2)
18046 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 17; depth = 3 \b");
18047 if (kcountHEpositivedirectionReconoiseDIF3 == 3)
18048 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 18; depth = 3 \b");
18049 if (kcountHEpositivedirectionReconoiseDIF3 == 4)
18050 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 19; depth = 3 \b");
18051 if (kcountHEpositivedirectionReconoiseDIF3 == 5)
18052 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 20; depth = 3 \b");
18053 if (kcountHEpositivedirectionReconoiseDIF3 == 6)
18054 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 21; depth = 3 \b");
18055 if (kcountHEpositivedirectionReconoiseDIF3 == 7)
18056 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 22; depth = 3 \b");
18057 if (kcountHEpositivedirectionReconoiseDIF3 == 8)
18058 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 23; depth = 3 \b");
18059 if (kcountHEpositivedirectionReconoiseDIF3 == 9)
18060 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 24; depth = 3 \b");
18061 if (kcountHEpositivedirectionReconoiseDIF3 == 10)
18062 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 25; depth = 3 \b");
18063 if (kcountHEpositivedirectionReconoiseDIF3 == 11)
18064 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 26; depth = 3 \b");
18065 if (kcountHEpositivedirectionReconoiseDIF3 == 12)
18066 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 27; depth = 3 \b");
18067 if (kcountHEpositivedirectionReconoiseDIF3 == 13)
18068 HEpositivedirectionReconoiseDIF3->SetXTitle(
"DIF for HE+ jeta = 28; depth = 3 \b");
18069 HEpositivedirectionReconoiseDIF3->Draw(
"Error");
18070 kcountHEpositivedirectionReconoiseDIF3++;
18071 if (kcountHEpositivedirectionReconoiseDIF3 > 13)
18080 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png");
18083 if (h2CeffHEpositivedirectionReconoiseDIF3)
18084 delete h2CeffHEpositivedirectionReconoiseDIF3;
18091 c3x5->Divide(3, 5);
18093 int kcountHEpositivedirectionReconoiseDIF4 = 1;
18094 TH1F *h2CeffHEpositivedirectionReconoiseDIF4 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF4",
"",
nphi, 0., 72.);
18098 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
18101 for (
int i = 3;
i < 4;
i++) {
18102 TH1F *HEpositivedirectionReconoiseDIF4 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF4->Clone(
"twod1");
18105 for (
int jphi = 0; jphi <
nphi; jphi++) {
18106 double ccc1 = breconoisehe[
i][
jeta][jphi];
18108 HEpositivedirectionReconoiseDIF4->Fill(jphi, ccc1);
18112 if (ccctest > 0.) {
18114 c3x5->cd(kcountHEpositivedirectionReconoiseDIF4);
18115 HEpositivedirectionReconoiseDIF4->SetMarkerStyle(20);
18116 HEpositivedirectionReconoiseDIF4->SetMarkerSize(0.4);
18117 HEpositivedirectionReconoiseDIF4->GetYaxis()->SetLabelSize(0.04);
18118 HEpositivedirectionReconoiseDIF4->SetXTitle(
"HEpositivedirectionReconoiseDIF4 \b");
18119 HEpositivedirectionReconoiseDIF4->SetMarkerColor(2);
18120 HEpositivedirectionReconoiseDIF4->SetLineColor(0);
18124 if (kcountHEpositivedirectionReconoiseDIF4 == 1)
18125 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 15; depth = 4 \b");
18126 if (kcountHEpositivedirectionReconoiseDIF4 == 2)
18127 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 17; depth = 4 \b");
18128 if (kcountHEpositivedirectionReconoiseDIF4 == 3)
18129 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 18; depth = 4 \b");
18130 if (kcountHEpositivedirectionReconoiseDIF4 == 4)
18131 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 19; depth = 4 \b");
18132 if (kcountHEpositivedirectionReconoiseDIF4 == 5)
18133 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 20; depth = 4 \b");
18134 if (kcountHEpositivedirectionReconoiseDIF4 == 6)
18135 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 21; depth = 4 \b");
18136 if (kcountHEpositivedirectionReconoiseDIF4 == 7)
18137 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 22; depth = 4 \b");
18138 if (kcountHEpositivedirectionReconoiseDIF4 == 8)
18139 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 23; depth = 4 \b");
18140 if (kcountHEpositivedirectionReconoiseDIF4 == 9)
18141 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 24; depth = 4 \b");
18142 if (kcountHEpositivedirectionReconoiseDIF4 == 10)
18143 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 25; depth = 4 \b");
18144 if (kcountHEpositivedirectionReconoiseDIF4 == 11)
18145 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 26; depth = 4 \b");
18146 if (kcountHEpositivedirectionReconoiseDIF4 == 12)
18147 HEpositivedirectionReconoiseDIF4->SetXTitle(
"DIF for HE+ jeta = 27; depth = 4 \b");
18148 HEpositivedirectionReconoiseDIF4->Draw(
"Error");
18149 kcountHEpositivedirectionReconoiseDIF4++;
18150 if (kcountHEpositivedirectionReconoiseDIF4 > 12)
18159 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png");
18162 if (h2CeffHEpositivedirectionReconoiseDIF4)
18163 delete h2CeffHEpositivedirectionReconoiseDIF4;
18170 c3x5->Divide(3, 5);
18172 int kcountHEpositivedirectionReconoiseDIF5 = 1;
18173 TH1F *h2CeffHEpositivedirectionReconoiseDIF5 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF5",
"",
nphi, 0., 72.);
18177 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
18180 for (
int i = 4;
i < 5;
i++) {
18181 TH1F *HEpositivedirectionReconoiseDIF5 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF5->Clone(
"twod1");
18184 for (
int jphi = 0; jphi <
nphi; jphi++) {
18187 double ccc1 = breconoisehe[
i][
jeta][jphi];
18189 HEpositivedirectionReconoiseDIF5->Fill(jphi, ccc1);
18193 if (ccctest > 0.) {
18195 c3x5->cd(kcountHEpositivedirectionReconoiseDIF5);
18196 HEpositivedirectionReconoiseDIF5->SetMarkerStyle(20);
18197 HEpositivedirectionReconoiseDIF5->SetMarkerSize(0.4);
18198 HEpositivedirectionReconoiseDIF5->GetYaxis()->SetLabelSize(0.04);
18199 HEpositivedirectionReconoiseDIF5->SetXTitle(
"HEpositivedirectionReconoiseDIF5 \b");
18200 HEpositivedirectionReconoiseDIF5->SetMarkerColor(2);
18201 HEpositivedirectionReconoiseDIF5->SetLineColor(0);
18205 if (kcountHEpositivedirectionReconoiseDIF5 == 1)
18206 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 17; depth = 5 \b");
18207 if (kcountHEpositivedirectionReconoiseDIF5 == 2)
18208 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 18; depth = 5 \b");
18209 if (kcountHEpositivedirectionReconoiseDIF5 == 3)
18210 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 19; depth = 5 \b");
18211 if (kcountHEpositivedirectionReconoiseDIF5 == 4)
18212 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 20; depth = 5 \b");
18213 if (kcountHEpositivedirectionReconoiseDIF5 == 5)
18214 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 21; depth = 5 \b");
18215 if (kcountHEpositivedirectionReconoiseDIF5 == 6)
18216 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 22; depth = 5 \b");
18217 if (kcountHEpositivedirectionReconoiseDIF5 == 7)
18218 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 23; depth = 5 \b");
18219 if (kcountHEpositivedirectionReconoiseDIF5 == 8)
18220 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 24; depth = 5 \b");
18221 if (kcountHEpositivedirectionReconoiseDIF5 == 9)
18222 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 25; depth = 5 \b");
18223 if (kcountHEpositivedirectionReconoiseDIF5 == 10)
18224 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 26; depth = 5 \b");
18225 if (kcountHEpositivedirectionReconoiseDIF5 == 11)
18226 HEpositivedirectionReconoiseDIF5->SetXTitle(
"DIF for HE+ jeta = 27; depth = 5 \b");
18227 HEpositivedirectionReconoiseDIF5->Draw(
"Error");
18228 kcountHEpositivedirectionReconoiseDIF5++;
18229 if (kcountHEpositivedirectionReconoiseDIF5 > 11)
18238 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png");
18241 if (h2CeffHEpositivedirectionReconoiseDIF5)
18242 delete h2CeffHEpositivedirectionReconoiseDIF5;
18249 c3x5->Divide(3, 5);
18251 int kcountHEpositivedirectionReconoiseDIF6 = 1;
18252 TH1F *h2CeffHEpositivedirectionReconoiseDIF6 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF6",
"",
nphi, 0., 72.);
18256 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
18259 for (
int i = 5;
i < 6;
i++) {
18260 TH1F *HEpositivedirectionReconoiseDIF6 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF6->Clone(
"twod1");
18263 for (
int jphi = 0; jphi <
nphi; jphi++) {
18264 double ccc1 = breconoisehe[
i][
jeta][jphi];
18266 HEpositivedirectionReconoiseDIF6->Fill(jphi, ccc1);
18270 if (ccctest > 0.) {
18272 c3x5->cd(kcountHEpositivedirectionReconoiseDIF6);
18273 HEpositivedirectionReconoiseDIF6->SetMarkerStyle(20);
18274 HEpositivedirectionReconoiseDIF6->SetMarkerSize(0.4);
18275 HEpositivedirectionReconoiseDIF6->GetYaxis()->SetLabelSize(0.04);
18276 HEpositivedirectionReconoiseDIF6->SetXTitle(
"HEpositivedirectionReconoiseDIF6 \b");
18277 HEpositivedirectionReconoiseDIF6->SetMarkerColor(2);
18278 HEpositivedirectionReconoiseDIF6->SetLineColor(0);
18282 if (kcountHEpositivedirectionReconoiseDIF6 == 1)
18283 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 18; depth = 6 \b");
18284 if (kcountHEpositivedirectionReconoiseDIF6 == 2)
18285 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 19; depth = 6 \b");
18286 if (kcountHEpositivedirectionReconoiseDIF6 == 3)
18287 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 20; depth = 6 \b");
18288 if (kcountHEpositivedirectionReconoiseDIF6 == 4)
18289 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 21; depth = 6 \b");
18290 if (kcountHEpositivedirectionReconoiseDIF6 == 5)
18291 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 22; depth = 6 \b");
18292 if (kcountHEpositivedirectionReconoiseDIF6 == 6)
18293 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 23; depth = 6 \b");
18294 if (kcountHEpositivedirectionReconoiseDIF6 == 7)
18295 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 24; depth = 6 \b");
18296 if (kcountHEpositivedirectionReconoiseDIF6 == 8)
18297 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 25; depth = 6 \b");
18298 if (kcountHEpositivedirectionReconoiseDIF6 == 9)
18299 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 26; depth = 6 \b");
18300 if (kcountHEpositivedirectionReconoiseDIF6 == 10)
18301 HEpositivedirectionReconoiseDIF6->SetXTitle(
"DIF for HE+ jeta = 27; depth = 6 \b");
18302 HEpositivedirectionReconoiseDIF6->Draw(
"Error");
18303 kcountHEpositivedirectionReconoiseDIF6++;
18304 if (kcountHEpositivedirectionReconoiseDIF6 > 10)
18313 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png");
18316 if (h2CeffHEpositivedirectionReconoiseDIF6)
18317 delete h2CeffHEpositivedirectionReconoiseDIF6;
18324 c3x5->Divide(3, 5);
18326 int kcountHEpositivedirectionReconoiseDIF7 = 1;
18327 TH1F *h2CeffHEpositivedirectionReconoiseDIF7 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseDIF7",
"",
nphi, 0., 72.);
18331 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
18334 for (
int i = 6;
i < 7;
i++) {
18335 TH1F *HEpositivedirectionReconoiseDIF7 = (TH1F *)h2CeffHEpositivedirectionReconoiseDIF7->Clone(
"twod1");
18338 for (
int jphi = 0; jphi <
nphi; jphi++) {
18339 double ccc1 = breconoisehe[
i][
jeta][jphi];
18341 HEpositivedirectionReconoiseDIF7->Fill(jphi, ccc1);
18345 if (ccctest > 0.) {
18347 c3x5->cd(kcountHEpositivedirectionReconoiseDIF7);
18348 HEpositivedirectionReconoiseDIF7->SetMarkerStyle(20);
18349 HEpositivedirectionReconoiseDIF7->SetMarkerSize(0.4);
18350 HEpositivedirectionReconoiseDIF7->GetYaxis()->SetLabelSize(0.04);
18351 HEpositivedirectionReconoiseDIF7->SetXTitle(
"HEpositivedirectionReconoiseDIF7 \b");
18352 HEpositivedirectionReconoiseDIF7->SetMarkerColor(2);
18353 HEpositivedirectionReconoiseDIF7->SetLineColor(0);
18357 if (kcountHEpositivedirectionReconoiseDIF7 == 1)
18358 HEpositivedirectionReconoiseDIF7->SetXTitle(
"DIF for HE+ jeta = 25; depth = 7 \b");
18359 if (kcountHEpositivedirectionReconoiseDIF7 == 2)
18360 HEpositivedirectionReconoiseDIF7->SetXTitle(
"DIF for HE+ jeta = 26; depth = 7 \b");
18361 if (kcountHEpositivedirectionReconoiseDIF7 == 3)
18362 HEpositivedirectionReconoiseDIF7->SetXTitle(
"DIF for HE+ jeta = 27; depth = 7 \b");
18363 HEpositivedirectionReconoiseDIF7->Draw(
"Error");
18364 kcountHEpositivedirectionReconoiseDIF7++;
18365 if (kcountHEpositivedirectionReconoiseDIF7 > 3)
18374 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png");
18377 if (h2CeffHEpositivedirectionReconoiseDIF7)
18378 delete h2CeffHEpositivedirectionReconoiseDIF7;
18387 c3x5->Divide(3, 5);
18389 int kcountHEnegativedirectionReconoiseDIF1 = 1;
18390 TH1F *h2CeffHEnegativedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
18393 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18396 for (
int i = 0;
i < 1;
i++) {
18397 TH1F *HEnegativedirectionReconoiseDIF1 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF1->Clone(
"twod1");
18399 for (
int jphi = 0; jphi <
nphi; jphi++) {
18400 double ccc1 = breconoisehe[
i][
jeta][jphi];
18402 HEnegativedirectionReconoiseDIF1->Fill(jphi, ccc1);
18406 if (ccctest > 0.) {
18408 c3x5->cd(kcountHEnegativedirectionReconoiseDIF1);
18409 HEnegativedirectionReconoiseDIF1->SetMarkerStyle(20);
18410 HEnegativedirectionReconoiseDIF1->SetMarkerSize(0.4);
18411 HEnegativedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
18412 HEnegativedirectionReconoiseDIF1->SetXTitle(
"HEnegativedirectionReconoiseDIF1 \b");
18413 HEnegativedirectionReconoiseDIF1->SetMarkerColor(2);
18414 HEnegativedirectionReconoiseDIF1->SetLineColor(0);
18418 if (kcountHEnegativedirectionReconoiseDIF1 == 1)
18419 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-29; depth = 1 \b");
18420 if (kcountHEnegativedirectionReconoiseDIF1 == 2)
18421 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-28; depth = 1 \b");
18422 if (kcountHEnegativedirectionReconoiseDIF1 == 3)
18423 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-27; depth = 1 \b");
18424 if (kcountHEnegativedirectionReconoiseDIF1 == 4)
18425 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-26; depth = 1 \b");
18426 if (kcountHEnegativedirectionReconoiseDIF1 == 5)
18427 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-25; depth = 1 \b");
18428 if (kcountHEnegativedirectionReconoiseDIF1 == 6)
18429 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-24; depth = 1 \b");
18430 if (kcountHEnegativedirectionReconoiseDIF1 == 7)
18431 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-23; depth = 1 \b");
18432 if (kcountHEnegativedirectionReconoiseDIF1 == 8)
18433 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-22; depth = 1 \b");
18434 if (kcountHEnegativedirectionReconoiseDIF1 == 9)
18435 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-21; depth = 1 \b");
18436 if (kcountHEnegativedirectionReconoiseDIF1 == 10)
18437 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-20; depth = 1 \b");
18438 if (kcountHEnegativedirectionReconoiseDIF1 == 11)
18439 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-19; depth = 1 \b");
18440 if (kcountHEnegativedirectionReconoiseDIF1 == 12)
18441 HEnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HE- jeta =-18; depth = 1 \b");
18442 HEnegativedirectionReconoiseDIF1->Draw(
"Error");
18443 kcountHEnegativedirectionReconoiseDIF1++;
18444 if (kcountHEnegativedirectionReconoiseDIF1 > 12)
18453 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
18456 if (h2CeffHEnegativedirectionReconoiseDIF1)
18457 delete h2CeffHEnegativedirectionReconoiseDIF1;
18465 c3x5->Divide(3, 5);
18467 int kcountHEnegativedirectionReconoiseDIF2 = 1;
18468 TH1F *h2CeffHEnegativedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
18471 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18474 for (
int i = 1;
i < 2;
i++) {
18475 TH1F *HEnegativedirectionReconoiseDIF2 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF2->Clone(
"twod1");
18477 for (
int jphi = 0; jphi <
nphi; jphi++) {
18478 double ccc1 = breconoisehe[
i][
jeta][jphi];
18480 HEnegativedirectionReconoiseDIF2->Fill(jphi, ccc1);
18484 if (ccctest > 0.) {
18486 c3x5->cd(kcountHEnegativedirectionReconoiseDIF2);
18487 HEnegativedirectionReconoiseDIF2->SetMarkerStyle(20);
18488 HEnegativedirectionReconoiseDIF2->SetMarkerSize(0.4);
18489 HEnegativedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
18490 HEnegativedirectionReconoiseDIF2->SetXTitle(
"HEnegativedirectionReconoiseDIF2 \b");
18491 HEnegativedirectionReconoiseDIF2->SetMarkerColor(2);
18492 HEnegativedirectionReconoiseDIF2->SetLineColor(0);
18496 if (kcountHEnegativedirectionReconoiseDIF2 == 1)
18497 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-29; depth = 2 \b");
18498 if (kcountHEnegativedirectionReconoiseDIF2 == 2)
18499 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-28; depth = 2 \b");
18500 if (kcountHEnegativedirectionReconoiseDIF2 == 3)
18501 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-27; depth = 2 \b");
18502 if (kcountHEnegativedirectionReconoiseDIF2 == 4)
18503 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-26; depth = 2 \b");
18504 if (kcountHEnegativedirectionReconoiseDIF2 == 5)
18505 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-25; depth = 2 \b");
18506 if (kcountHEnegativedirectionReconoiseDIF2 == 6)
18507 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-24; depth = 2 \b");
18508 if (kcountHEnegativedirectionReconoiseDIF2 == 7)
18509 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-23; depth = 2 \b");
18510 if (kcountHEnegativedirectionReconoiseDIF2 == 8)
18511 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-22; depth = 2 \b");
18512 if (kcountHEnegativedirectionReconoiseDIF2 == 9)
18513 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-21; depth = 2 \b");
18514 if (kcountHEnegativedirectionReconoiseDIF2 == 10)
18515 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-20; depth = 2 \b");
18516 if (kcountHEnegativedirectionReconoiseDIF2 == 11)
18517 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-19; depth = 2 \b");
18518 if (kcountHEnegativedirectionReconoiseDIF2 == 12)
18519 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-18; depth = 2 \b");
18520 if (kcountHEnegativedirectionReconoiseDIF2 == 13)
18521 HEnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HE- jeta =-17; depth = 2 \b");
18522 HEnegativedirectionReconoiseDIF2->Draw(
"Error");
18523 kcountHEnegativedirectionReconoiseDIF2++;
18524 if (kcountHEnegativedirectionReconoiseDIF2 > 13)
18533 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
18536 if (h2CeffHEnegativedirectionReconoiseDIF2)
18537 delete h2CeffHEnegativedirectionReconoiseDIF2;
18544 c3x5->Divide(3, 5);
18546 int kcountHEnegativedirectionReconoiseDIF3 = 1;
18547 TH1F *h2CeffHEnegativedirectionReconoiseDIF3 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF3",
"",
nphi, 0., 72.);
18550 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18553 for (
int i = 2;
i < 3;
i++) {
18554 TH1F *HEnegativedirectionReconoiseDIF3 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF3->Clone(
"twod1");
18556 for (
int jphi = 0; jphi <
nphi; jphi++) {
18557 double ccc1 = breconoisehe[
i][
jeta][jphi];
18559 HEnegativedirectionReconoiseDIF3->Fill(jphi, ccc1);
18563 if (ccctest > 0.) {
18565 c3x5->cd(kcountHEnegativedirectionReconoiseDIF3);
18566 HEnegativedirectionReconoiseDIF3->SetMarkerStyle(20);
18567 HEnegativedirectionReconoiseDIF3->SetMarkerSize(0.4);
18568 HEnegativedirectionReconoiseDIF3->GetYaxis()->SetLabelSize(0.04);
18569 HEnegativedirectionReconoiseDIF3->SetXTitle(
"HEnegativedirectionReconoiseDIF3 \b");
18570 HEnegativedirectionReconoiseDIF3->SetMarkerColor(2);
18571 HEnegativedirectionReconoiseDIF3->SetLineColor(0);
18575 if (kcountHEnegativedirectionReconoiseDIF3 == 1)
18576 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-29; depth = 3 \b");
18577 if (kcountHEnegativedirectionReconoiseDIF3 == 2)
18578 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-28; depth = 3 \b");
18579 if (kcountHEnegativedirectionReconoiseDIF3 == 3)
18580 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-27; depth = 3 \b");
18581 if (kcountHEnegativedirectionReconoiseDIF3 == 4)
18582 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-26; depth = 3 \b");
18583 if (kcountHEnegativedirectionReconoiseDIF3 == 5)
18584 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-25; depth = 3 \b");
18585 if (kcountHEnegativedirectionReconoiseDIF3 == 6)
18586 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-24; depth = 3 \b");
18587 if (kcountHEnegativedirectionReconoiseDIF3 == 7)
18588 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-23; depth = 3 \b");
18589 if (kcountHEnegativedirectionReconoiseDIF3 == 8)
18590 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-22; depth = 3 \b");
18591 if (kcountHEnegativedirectionReconoiseDIF3 == 9)
18592 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-21; depth = 3 \b");
18593 if (kcountHEnegativedirectionReconoiseDIF3 == 10)
18594 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-20; depth = 3 \b");
18595 if (kcountHEnegativedirectionReconoiseDIF3 == 11)
18596 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-19; depth = 3 \b");
18597 if (kcountHEnegativedirectionReconoiseDIF3 == 12)
18598 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-18; depth = 3 \b");
18599 if (kcountHEnegativedirectionReconoiseDIF3 == 13)
18600 HEnegativedirectionReconoiseDIF3->SetXTitle(
"DIF for HE- jeta =-17; depth = 3 \b");
18601 HEnegativedirectionReconoiseDIF3->Draw(
"Error");
18602 kcountHEnegativedirectionReconoiseDIF3++;
18603 if (kcountHEnegativedirectionReconoiseDIF3 > 13)
18612 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
18615 if (h2CeffHEnegativedirectionReconoiseDIF3)
18616 delete h2CeffHEnegativedirectionReconoiseDIF3;
18623 c3x5->Divide(3, 5);
18625 int kcountHEnegativedirectionReconoiseDIF4 = 1;
18626 TH1F *h2CeffHEnegativedirectionReconoiseDIF4 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF4",
"",
nphi, 0., 72.);
18630 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18633 for (
int i = 3;
i < 4;
i++) {
18634 TH1F *HEnegativedirectionReconoiseDIF4 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF4->Clone(
"twod1");
18637 for (
int jphi = 0; jphi <
nphi; jphi++) {
18638 double ccc1 = breconoisehe[
i][
jeta][jphi];
18640 HEnegativedirectionReconoiseDIF4->Fill(jphi, ccc1);
18644 if (ccctest > 0.) {
18646 c3x5->cd(kcountHEnegativedirectionReconoiseDIF4);
18647 HEnegativedirectionReconoiseDIF4->SetMarkerStyle(20);
18648 HEnegativedirectionReconoiseDIF4->SetMarkerSize(0.4);
18649 HEnegativedirectionReconoiseDIF4->GetYaxis()->SetLabelSize(0.04);
18650 HEnegativedirectionReconoiseDIF4->SetXTitle(
"HEnegativedirectionReconoiseDIF4 \b");
18651 HEnegativedirectionReconoiseDIF4->SetMarkerColor(2);
18652 HEnegativedirectionReconoiseDIF4->SetLineColor(0);
18656 if (kcountHEnegativedirectionReconoiseDIF4 == 1)
18657 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-28; depth = 4 \b");
18658 if (kcountHEnegativedirectionReconoiseDIF4 == 2)
18659 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-27; depth = 4 \b");
18660 if (kcountHEnegativedirectionReconoiseDIF4 == 3)
18661 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-26; depth = 4 \b");
18662 if (kcountHEnegativedirectionReconoiseDIF4 == 4)
18663 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-25; depth = 4 \b");
18664 if (kcountHEnegativedirectionReconoiseDIF4 == 5)
18665 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-24; depth = 4 \b");
18666 if (kcountHEnegativedirectionReconoiseDIF4 == 6)
18667 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-23; depth = 4 \b");
18668 if (kcountHEnegativedirectionReconoiseDIF4 == 7)
18669 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-22; depth = 4 \b");
18670 if (kcountHEnegativedirectionReconoiseDIF4 == 8)
18671 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-21; depth = 4 \b");
18672 if (kcountHEnegativedirectionReconoiseDIF4 == 9)
18673 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-20; depth = 4 \b");
18674 if (kcountHEnegativedirectionReconoiseDIF4 == 10)
18675 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-19; depth = 4 \b");
18676 if (kcountHEnegativedirectionReconoiseDIF4 == 11)
18677 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-18; depth = 4 \b");
18678 if (kcountHEnegativedirectionReconoiseDIF4 == 12)
18679 HEnegativedirectionReconoiseDIF4->SetXTitle(
"DIF for HE- jeta =-16; depth = 4 \b");
18680 HEnegativedirectionReconoiseDIF4->Draw(
"Error");
18681 kcountHEnegativedirectionReconoiseDIF4++;
18682 if (kcountHEnegativedirectionReconoiseDIF4 > 12)
18691 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
18694 if (h2CeffHEnegativedirectionReconoiseDIF4)
18695 delete h2CeffHEnegativedirectionReconoiseDIF4;
18702 c3x5->Divide(3, 5);
18704 int kcountHEnegativedirectionReconoiseDIF5 = 1;
18705 TH1F *h2CeffHEnegativedirectionReconoiseDIF5 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF5",
"",
nphi, 0., 72.);
18709 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18712 for (
int i = 4;
i < 5;
i++) {
18713 TH1F *HEnegativedirectionReconoiseDIF5 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF5->Clone(
"twod1");
18716 for (
int jphi = 0; jphi <
nphi; jphi++) {
18719 double ccc1 = breconoisehe[
i][
jeta][jphi];
18721 HEnegativedirectionReconoiseDIF5->Fill(jphi, ccc1);
18725 if (ccctest > 0.) {
18727 c3x5->cd(kcountHEnegativedirectionReconoiseDIF5);
18728 HEnegativedirectionReconoiseDIF5->SetMarkerStyle(20);
18729 HEnegativedirectionReconoiseDIF5->SetMarkerSize(0.4);
18730 HEnegativedirectionReconoiseDIF5->GetYaxis()->SetLabelSize(0.04);
18731 HEnegativedirectionReconoiseDIF5->SetXTitle(
"HEnegativedirectionReconoiseDIF5 \b");
18732 HEnegativedirectionReconoiseDIF5->SetMarkerColor(2);
18733 HEnegativedirectionReconoiseDIF5->SetLineColor(0);
18737 if (kcountHEnegativedirectionReconoiseDIF5 == 1)
18738 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-28; depth = 5 \b");
18739 if (kcountHEnegativedirectionReconoiseDIF5 == 2)
18740 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-27; depth = 5 \b");
18741 if (kcountHEnegativedirectionReconoiseDIF5 == 3)
18742 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-26; depth = 5 \b");
18743 if (kcountHEnegativedirectionReconoiseDIF5 == 4)
18744 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-25; depth = 5 \b");
18745 if (kcountHEnegativedirectionReconoiseDIF5 == 5)
18746 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-24; depth = 5 \b");
18747 if (kcountHEnegativedirectionReconoiseDIF5 == 6)
18748 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-23; depth = 5 \b");
18749 if (kcountHEnegativedirectionReconoiseDIF5 == 7)
18750 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-22; depth = 5 \b");
18751 if (kcountHEnegativedirectionReconoiseDIF5 == 8)
18752 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-21; depth = 5 \b");
18753 if (kcountHEnegativedirectionReconoiseDIF5 == 9)
18754 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-20; depth = 5 \b");
18755 if (kcountHEnegativedirectionReconoiseDIF5 == 10)
18756 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-19; depth = 5 \b");
18757 if (kcountHEnegativedirectionReconoiseDIF5 == 11)
18758 HEnegativedirectionReconoiseDIF5->SetXTitle(
"DIF for HE- jeta =-18; depth = 5 \b");
18759 HEnegativedirectionReconoiseDIF5->Draw(
"Error");
18760 kcountHEnegativedirectionReconoiseDIF5++;
18761 if (kcountHEnegativedirectionReconoiseDIF5 > 11)
18770 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
18773 if (h2CeffHEnegativedirectionReconoiseDIF5)
18774 delete h2CeffHEnegativedirectionReconoiseDIF5;
18781 c3x5->Divide(3, 5);
18783 int kcountHEnegativedirectionReconoiseDIF6 = 1;
18784 TH1F *h2CeffHEnegativedirectionReconoiseDIF6 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF6",
"",
nphi, 0., 72.);
18788 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18791 for (
int i = 5;
i < 6;
i++) {
18792 TH1F *HEnegativedirectionReconoiseDIF6 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF6->Clone(
"twod1");
18795 for (
int jphi = 0; jphi <
nphi; jphi++) {
18796 double ccc1 = breconoisehe[
i][
jeta][jphi];
18798 HEnegativedirectionReconoiseDIF6->Fill(jphi, ccc1);
18802 if (ccctest > 0.) {
18804 c3x5->cd(kcountHEnegativedirectionReconoiseDIF6);
18805 HEnegativedirectionReconoiseDIF6->SetMarkerStyle(20);
18806 HEnegativedirectionReconoiseDIF6->SetMarkerSize(0.4);
18807 HEnegativedirectionReconoiseDIF6->GetYaxis()->SetLabelSize(0.04);
18808 HEnegativedirectionReconoiseDIF6->SetXTitle(
"HEnegativedirectionReconoiseDIF6 \b");
18809 HEnegativedirectionReconoiseDIF6->SetMarkerColor(2);
18810 HEnegativedirectionReconoiseDIF6->SetLineColor(0);
18814 if (kcountHEnegativedirectionReconoiseDIF6 == 1)
18815 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-28; depth = 6 \b");
18816 if (kcountHEnegativedirectionReconoiseDIF6 == 2)
18817 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-27; depth = 6 \b");
18818 if (kcountHEnegativedirectionReconoiseDIF6 == 3)
18819 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-26; depth = 6 \b");
18820 if (kcountHEnegativedirectionReconoiseDIF6 == 4)
18821 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-25; depth = 6 \b");
18822 if (kcountHEnegativedirectionReconoiseDIF6 == 5)
18823 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-24; depth = 6 \b");
18824 if (kcountHEnegativedirectionReconoiseDIF6 == 6)
18825 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-23; depth = 6 \b");
18826 if (kcountHEnegativedirectionReconoiseDIF6 == 7)
18827 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-22; depth = 6 \b");
18828 if (kcountHEnegativedirectionReconoiseDIF6 == 8)
18829 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-21; depth = 6 \b");
18830 if (kcountHEnegativedirectionReconoiseDIF6 == 9)
18831 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-20; depth = 6 \b");
18832 if (kcountHEnegativedirectionReconoiseDIF6 == 10)
18833 HEnegativedirectionReconoiseDIF6->SetXTitle(
"DIF for HE- jeta =-19; depth = 6 \b");
18834 HEnegativedirectionReconoiseDIF6->Draw(
"Error");
18835 kcountHEnegativedirectionReconoiseDIF6++;
18836 if (kcountHEnegativedirectionReconoiseDIF6 > 10)
18845 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
18848 if (h2CeffHEnegativedirectionReconoiseDIF6)
18849 delete h2CeffHEnegativedirectionReconoiseDIF6;
18856 c3x5->Divide(3, 5);
18858 int kcountHEnegativedirectionReconoiseDIF7 = 1;
18859 TH1F *h2CeffHEnegativedirectionReconoiseDIF7 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseDIF7",
"",
nphi, 0., 72.);
18863 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
18866 for (
int i = 6;
i < 7;
i++) {
18867 TH1F *HEnegativedirectionReconoiseDIF7 = (TH1F *)h2CeffHEnegativedirectionReconoiseDIF7->Clone(
"twod1");
18870 for (
int jphi = 0; jphi <
nphi; jphi++) {
18871 double ccc1 = breconoisehe[
i][
jeta][jphi];
18873 HEnegativedirectionReconoiseDIF7->Fill(jphi, ccc1);
18877 if (ccctest > 0.) {
18879 c3x5->cd(kcountHEnegativedirectionReconoiseDIF7);
18880 HEnegativedirectionReconoiseDIF7->SetMarkerStyle(20);
18881 HEnegativedirectionReconoiseDIF7->SetMarkerSize(0.4);
18882 HEnegativedirectionReconoiseDIF7->GetYaxis()->SetLabelSize(0.04);
18883 HEnegativedirectionReconoiseDIF7->SetXTitle(
"HEnegativedirectionReconoiseDIF7 \b");
18884 HEnegativedirectionReconoiseDIF7->SetMarkerColor(2);
18885 HEnegativedirectionReconoiseDIF7->SetLineColor(0);
18889 if (kcountHEnegativedirectionReconoiseDIF7 == 1)
18890 HEnegativedirectionReconoiseDIF7->SetXTitle(
"DIF for HE- jeta =-28; depth = 7 \b");
18891 if (kcountHEnegativedirectionReconoiseDIF7 == 2)
18892 HEnegativedirectionReconoiseDIF7->SetXTitle(
"DIF for HE- jeta =-27; depth = 7 \b");
18893 if (kcountHEnegativedirectionReconoiseDIF7 == 3)
18894 HEnegativedirectionReconoiseDIF7->SetXTitle(
"DIF for HE- jeta =-26; depth = 7 \b");
18895 HEnegativedirectionReconoiseDIF7->Draw(
"Error");
18896 kcountHEnegativedirectionReconoiseDIF7++;
18897 if (kcountHEnegativedirectionReconoiseDIF7 > 3)
18906 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
18909 if (h2CeffHEnegativedirectionReconoiseDIF7)
18910 delete h2CeffHEnegativedirectionReconoiseDIF7;
18922 TH2F *reconoiseVariance1HE1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE1");
18923 TH2F *reconoiseVariance0HE1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE1");
18924 TH2F *reconoiseVarianceHE1 = (TH2F *)reconoiseVariance1HE1->Clone(
"reconoiseVarianceHE1");
18925 reconoiseVarianceHE1->Divide(reconoiseVariance1HE1, reconoiseVariance0HE1, 1, 1,
"B");
18926 TH2F *reconoiseVariance1HE2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE2");
18927 TH2F *reconoiseVariance0HE2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE2");
18928 TH2F *reconoiseVarianceHE2 = (TH2F *)reconoiseVariance1HE2->Clone(
"reconoiseVarianceHE2");
18929 reconoiseVarianceHE2->Divide(reconoiseVariance1HE2, reconoiseVariance0HE2, 1, 1,
"B");
18930 TH2F *reconoiseVariance1HE3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE3");
18931 TH2F *reconoiseVariance0HE3 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE3");
18932 TH2F *reconoiseVarianceHE3 = (TH2F *)reconoiseVariance1HE3->Clone(
"reconoiseVarianceHE3");
18933 reconoiseVarianceHE3->Divide(reconoiseVariance1HE3, reconoiseVariance0HE3, 1, 1,
"B");
18934 TH2F *reconoiseVariance1HE4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE4");
18935 TH2F *reconoiseVariance0HE4 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE4");
18936 TH2F *reconoiseVarianceHE4 = (TH2F *)reconoiseVariance1HE4->Clone(
"reconoiseVarianceHE4");
18937 reconoiseVarianceHE4->Divide(reconoiseVariance1HE4, reconoiseVariance0HE4, 1, 1,
"B");
18938 TH2F *reconoiseVariance1HE5 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE5");
18939 TH2F *reconoiseVariance0HE5 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE5");
18940 TH2F *reconoiseVarianceHE5 = (TH2F *)reconoiseVariance1HE5->Clone(
"reconoiseVarianceHE5");
18941 reconoiseVarianceHE5->Divide(reconoiseVariance1HE5, reconoiseVariance0HE5, 1, 1,
"B");
18942 TH2F *reconoiseVariance1HE6 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE6");
18943 TH2F *reconoiseVariance0HE6 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE6");
18944 TH2F *reconoiseVarianceHE6 = (TH2F *)reconoiseVariance1HE6->Clone(
"reconoiseVarianceHE6");
18945 reconoiseVarianceHE6->Divide(reconoiseVariance1HE6, reconoiseVariance0HE6, 1, 1,
"B");
18946 TH2F *reconoiseVariance1HE7 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HE7");
18947 TH2F *reconoiseVariance0HE7 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HE7");
18948 TH2F *reconoiseVarianceHE7 = (TH2F *)reconoiseVariance1HE7->Clone(
"reconoiseVarianceHE7");
18949 reconoiseVarianceHE7->Divide(reconoiseVariance1HE7, reconoiseVariance0HE7, 1, 1,
"B");
18954 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
18956 double sumreconoiseHE0 = 0;
18957 int nsumreconoiseHE0 = 0;
18958 double sumreconoiseHE1 = 0;
18959 int nsumreconoiseHE1 = 0;
18960 double sumreconoiseHE2 = 0;
18961 int nsumreconoiseHE2 = 0;
18962 double sumreconoiseHE3 = 0;
18963 int nsumreconoiseHE3 = 0;
18964 double sumreconoiseHE4 = 0;
18965 int nsumreconoiseHE4 = 0;
18966 double sumreconoiseHE5 = 0;
18967 int nsumreconoiseHE5 = 0;
18968 double sumreconoiseHE6 = 0;
18969 int nsumreconoiseHE6 = 0;
18970 for (
int jphi = 0; jphi < njphi; jphi++) {
18971 reconoisevariancehe[0][
jeta][jphi] = reconoiseVarianceHE1->GetBinContent(
jeta + 1, jphi + 1);
18972 reconoisevariancehe[1][
jeta][jphi] = reconoiseVarianceHE2->GetBinContent(
jeta + 1, jphi + 1);
18973 reconoisevariancehe[2][
jeta][jphi] = reconoiseVarianceHE3->GetBinContent(
jeta + 1, jphi + 1);
18974 reconoisevariancehe[3][
jeta][jphi] = reconoiseVarianceHE4->GetBinContent(
jeta + 1, jphi + 1);
18975 reconoisevariancehe[4][
jeta][jphi] = reconoiseVarianceHE5->GetBinContent(
jeta + 1, jphi + 1);
18976 reconoisevariancehe[5][
jeta][jphi] = reconoiseVarianceHE6->GetBinContent(
jeta + 1, jphi + 1);
18977 reconoisevariancehe[6][
jeta][jphi] = reconoiseVarianceHE7->GetBinContent(
jeta + 1, jphi + 1);
18978 if (reconoisevariancehe[0][
jeta][jphi] != 0.) {
18979 sumreconoiseHE0 += reconoisevariancehe[0][
jeta][jphi];
18980 ++nsumreconoiseHE0;
18982 if (reconoisevariancehe[1][
jeta][jphi] != 0.) {
18983 sumreconoiseHE1 += reconoisevariancehe[1][
jeta][jphi];
18984 ++nsumreconoiseHE1;
18986 if (reconoisevariancehe[2][
jeta][jphi] != 0.) {
18987 sumreconoiseHE2 += reconoisevariancehe[2][
jeta][jphi];
18988 ++nsumreconoiseHE2;
18990 if (reconoisevariancehe[3][
jeta][jphi] != 0.) {
18991 sumreconoiseHE3 += reconoisevariancehe[3][
jeta][jphi];
18992 ++nsumreconoiseHE3;
18994 if (reconoisevariancehe[4][
jeta][jphi] != 0.) {
18995 sumreconoiseHE4 += reconoisevariancehe[4][
jeta][jphi];
18996 ++nsumreconoiseHE4;
18998 if (reconoisevariancehe[5][
jeta][jphi] != 0.) {
18999 sumreconoiseHE5 += reconoisevariancehe[5][
jeta][jphi];
19000 ++nsumreconoiseHE5;
19002 if (reconoisevariancehe[6][
jeta][jphi] != 0.) {
19003 sumreconoiseHE6 += reconoisevariancehe[6][
jeta][jphi];
19004 ++nsumreconoiseHE6;
19008 for (
int jphi = 0; jphi < njphi; jphi++) {
19009 if (sumreconoiseHE0 != 0.)
19010 reconoisevariancehe[0][
jeta][jphi] /= (sumreconoiseHE0 / nsumreconoiseHE0);
19011 if (sumreconoiseHE1 != 0.)
19012 reconoisevariancehe[1][
jeta][jphi] /= (sumreconoiseHE1 / nsumreconoiseHE1);
19013 if (sumreconoiseHE2 != 0.)
19014 reconoisevariancehe[2][
jeta][jphi] /= (sumreconoiseHE2 / nsumreconoiseHE2);
19015 if (sumreconoiseHE3 != 0.)
19016 reconoisevariancehe[3][
jeta][jphi] /= (sumreconoiseHE3 / nsumreconoiseHE3);
19017 if (sumreconoiseHE4 != 0.)
19018 reconoisevariancehe[4][
jeta][jphi] /= (sumreconoiseHE4 / nsumreconoiseHE4);
19019 if (sumreconoiseHE5 != 0.)
19020 reconoisevariancehe[5][
jeta][jphi] /= (sumreconoiseHE5 / nsumreconoiseHE5);
19021 if (sumreconoiseHE6 != 0.)
19022 reconoisevariancehe[6][
jeta][jphi] /= (sumreconoiseHE6 / nsumreconoiseHE6);
19025 for (
int jphi = 0; jphi < njphi; jphi++) {
19027 reconoisevariancehe[0][
jeta][jphi] -= areconoisehe[0][
jeta][jphi] * areconoisehe[0][
jeta][jphi];
19028 reconoisevariancehe[0][
jeta][jphi] = fabs(reconoisevariancehe[0][
jeta][jphi]);
19029 reconoisevariancehe[1][
jeta][jphi] -= areconoisehe[1][
jeta][jphi] * areconoisehe[1][
jeta][jphi];
19030 reconoisevariancehe[1][
jeta][jphi] = fabs(reconoisevariancehe[1][
jeta][jphi]);
19031 reconoisevariancehe[2][
jeta][jphi] -= areconoisehe[2][
jeta][jphi] * areconoisehe[2][
jeta][jphi];
19032 reconoisevariancehe[2][
jeta][jphi] = fabs(reconoisevariancehe[2][
jeta][jphi]);
19033 reconoisevariancehe[3][
jeta][jphi] -= areconoisehe[3][
jeta][jphi] * areconoisehe[3][
jeta][jphi];
19034 reconoisevariancehe[3][
jeta][jphi] = fabs(reconoisevariancehe[3][
jeta][jphi]);
19035 reconoisevariancehe[4][
jeta][jphi] -= areconoisehe[4][
jeta][jphi] * areconoisehe[4][
jeta][jphi];
19036 reconoisevariancehe[4][
jeta][jphi] = fabs(reconoisevariancehe[4][
jeta][jphi]);
19037 reconoisevariancehe[5][
jeta][jphi] -= areconoisehe[5][
jeta][jphi] * areconoisehe[5][
jeta][jphi];
19038 reconoisevariancehe[5][
jeta][jphi] = fabs(reconoisevariancehe[5][
jeta][jphi]);
19039 reconoisevariancehe[6][
jeta][jphi] -= areconoisehe[6][
jeta][jphi] * areconoisehe[6][
jeta][jphi];
19040 reconoisevariancehe[6][
jeta][jphi] = fabs(reconoisevariancehe[6][
jeta][jphi]);
19051 c1x0->Divide(1, 1);
19053 TH2F *DefzDreconoiseHE42D =
new TH2F(
"DefzDreconoiseHE42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
19054 TH2F *DefzDreconoiseHE42D0 =
new TH2F(
"DefzDreconoiseHE42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
19055 TH2F *DefzDreconoiseHE42DF = (TH2F *)DefzDreconoiseHE42D0->Clone(
"DefzDreconoiseHE42DF");
19058 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
19059 for (
int jphi = 0; jphi <
nphi; jphi++) {
19060 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19061 int k2plot =
jeta - 41;
19063 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19064 DefzDreconoiseHE42D->Fill(kkk, jphi, ccc1);
19065 DefzDreconoiseHE42D0->Fill(kkk, jphi, 1.);
19071 DefzDreconoiseHE42DF->Divide(DefzDreconoiseHE42D, DefzDreconoiseHE42D0, 1, 1,
"B");
19075 DefzDreconoiseHE42DF->SetMarkerStyle(20);
19076 DefzDreconoiseHE42DF->SetMarkerSize(0.4);
19077 DefzDreconoiseHE42DF->GetZaxis()->SetLabelSize(0.08);
19078 DefzDreconoiseHE42DF->SetXTitle(
"<D>_depth #eta \b");
19079 DefzDreconoiseHE42DF->SetYTitle(
" #phi \b");
19080 DefzDreconoiseHE42DF->SetZTitle(
"<D>_depth \b");
19081 DefzDreconoiseHE42DF->SetMarkerColor(2);
19082 DefzDreconoiseHE42DF->SetLineColor(
19084 DefzDreconoiseHE42DF->Draw(
"COLZ");
19087 c1x0->Print(
"DreconoiseGeneralD2PhiSymmetryHE.png");
19090 if (DefzDreconoiseHE42D)
19091 delete DefzDreconoiseHE42D;
19092 if (DefzDreconoiseHE42D0)
19093 delete DefzDreconoiseHE42D0;
19094 if (DefzDreconoiseHE42DF)
19095 delete DefzDreconoiseHE42DF;
19101 c1x1->Divide(1, 1);
19103 TH1F *DefzDreconoiseHE41D =
new TH1F(
"DefzDreconoiseHE41D",
"",
nphi, 0., 72.);
19104 TH1F *DefzDreconoiseHE41D0 =
new TH1F(
"DefzDreconoiseHE41D0",
"",
nphi, 0., 72.);
19105 TH1F *DefzDreconoiseHE41DF = (TH1F *)DefzDreconoiseHE41D0->Clone(
"DefzDreconoiseHE41DF");
19107 for (
int jphi = 0; jphi <
nphi; jphi++) {
19109 if ((
jeta - 41 >= -29 &&
jeta - 41 <= -16) || (
jeta - 41 >= 15 &&
jeta - 41 <= 28)) {
19111 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19112 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19113 DefzDreconoiseHE41D->Fill(jphi, ccc1);
19114 DefzDreconoiseHE41D0->Fill(jphi, 1.);
19122 DefzDreconoiseHE41DF->Divide(DefzDreconoiseHE41D, DefzDreconoiseHE41D0, 1, 1,
"B");
19123 DefzDreconoiseHE41D0->Sumw2();
19127 DefzDreconoiseHE41DF->SetMarkerStyle(20);
19128 DefzDreconoiseHE41DF->SetMarkerSize(1.4);
19129 DefzDreconoiseHE41DF->GetZaxis()->SetLabelSize(0.08);
19130 DefzDreconoiseHE41DF->SetXTitle(
"#phi \b");
19131 DefzDreconoiseHE41DF->SetYTitle(
" <D> \b");
19132 DefzDreconoiseHE41DF->SetZTitle(
"<D>_PHI - AllDepthes \b");
19133 DefzDreconoiseHE41DF->SetMarkerColor(4);
19134 DefzDreconoiseHE41DF->SetLineColor(
19136 DefzDreconoiseHE41DF->Draw(
"Error");
19139 c1x1->Print(
"DreconoiseGeneralD1PhiSymmetryHE.png");
19142 if (DefzDreconoiseHE41D)
19143 delete DefzDreconoiseHE41D;
19144 if (DefzDreconoiseHE41D0)
19145 delete DefzDreconoiseHE41D0;
19146 if (DefzDreconoiseHE41DF)
19147 delete DefzDreconoiseHE41DF;
19154 c3x5->Divide(3, 5);
19156 int kcountHEpositivedirectionReconoiseD1 = 1;
19157 TH1F *h2CeffHEpositivedirectionReconoiseD1 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD1",
"",
nphi, 0., 72.);
19161 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19164 for (
int i = 0;
i < 1;
i++) {
19165 TH1F *HEpositivedirectionReconoiseD1 = (TH1F *)h2CeffHEpositivedirectionReconoiseD1->Clone(
"twod1");
19168 for (
int jphi = 0; jphi <
nphi; jphi++) {
19169 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19170 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19171 HEpositivedirectionReconoiseD1->Fill(jphi, ccc1);
19175 if (ccctest > 0.) {
19177 c3x5->cd(kcountHEpositivedirectionReconoiseD1);
19178 HEpositivedirectionReconoiseD1->SetMarkerStyle(20);
19179 HEpositivedirectionReconoiseD1->SetMarkerSize(0.4);
19180 HEpositivedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
19181 HEpositivedirectionReconoiseD1->SetXTitle(
"HEpositivedirectionReconoiseD1 \b");
19182 HEpositivedirectionReconoiseD1->SetMarkerColor(2);
19183 HEpositivedirectionReconoiseD1->SetLineColor(0);
19187 if (kcountHEpositivedirectionReconoiseD1 == 1)
19188 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 17; depth = 1 \b");
19189 if (kcountHEpositivedirectionReconoiseD1 == 2)
19190 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 18; depth = 1 \b");
19191 if (kcountHEpositivedirectionReconoiseD1 == 3)
19192 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 19; depth = 1 \b");
19193 if (kcountHEpositivedirectionReconoiseD1 == 4)
19194 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 20; depth = 1 \b");
19195 if (kcountHEpositivedirectionReconoiseD1 == 5)
19196 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 21; depth = 1 \b");
19197 if (kcountHEpositivedirectionReconoiseD1 == 6)
19198 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 22; depth = 1 \b");
19199 if (kcountHEpositivedirectionReconoiseD1 == 7)
19200 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 23; depth = 1 \b");
19201 if (kcountHEpositivedirectionReconoiseD1 == 8)
19202 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 24; depth = 1 \b");
19203 if (kcountHEpositivedirectionReconoiseD1 == 9)
19204 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 25; depth = 1 \b");
19205 if (kcountHEpositivedirectionReconoiseD1 == 10)
19206 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 26; depth = 1 \b");
19207 if (kcountHEpositivedirectionReconoiseD1 == 11)
19208 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 27; depth = 1 \b");
19209 if (kcountHEpositivedirectionReconoiseD1 == 12)
19210 HEpositivedirectionReconoiseD1->SetXTitle(
"D for HE+ jeta = 28; depth = 1 \b");
19211 HEpositivedirectionReconoiseD1->Draw(
"Error");
19212 kcountHEpositivedirectionReconoiseD1++;
19213 if (kcountHEpositivedirectionReconoiseD1 > 12)
19222 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png");
19225 if (h2CeffHEpositivedirectionReconoiseD1)
19226 delete h2CeffHEpositivedirectionReconoiseD1;
19232 c3x5->Divide(3, 5);
19234 int kcountHEpositivedirectionReconoiseD2 = 1;
19235 TH1F *h2CeffHEpositivedirectionReconoiseD2 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD2",
"",
nphi, 0., 72.);
19239 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19242 for (
int i = 1;
i < 2;
i++) {
19243 TH1F *HEpositivedirectionReconoiseD2 = (TH1F *)h2CeffHEpositivedirectionReconoiseD2->Clone(
"twod1");
19246 for (
int jphi = 0; jphi <
nphi; jphi++) {
19247 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19248 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19249 HEpositivedirectionReconoiseD2->Fill(jphi, ccc1);
19253 if (ccctest > 0.) {
19255 c3x5->cd(kcountHEpositivedirectionReconoiseD2);
19256 HEpositivedirectionReconoiseD2->SetMarkerStyle(20);
19257 HEpositivedirectionReconoiseD2->SetMarkerSize(0.4);
19258 HEpositivedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
19259 HEpositivedirectionReconoiseD2->SetXTitle(
"HEpositivedirectionReconoiseD2 \b");
19260 HEpositivedirectionReconoiseD2->SetMarkerColor(2);
19261 HEpositivedirectionReconoiseD2->SetLineColor(0);
19265 if (kcountHEpositivedirectionReconoiseD2 == 1)
19266 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 16; depth = 2 \b");
19267 if (kcountHEpositivedirectionReconoiseD2 == 2)
19268 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 17; depth = 2 \b");
19269 if (kcountHEpositivedirectionReconoiseD2 == 3)
19270 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 18; depth = 2 \b");
19271 if (kcountHEpositivedirectionReconoiseD2 == 4)
19272 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 19; depth = 2 \b");
19273 if (kcountHEpositivedirectionReconoiseD2 == 5)
19274 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 20; depth = 2 \b");
19275 if (kcountHEpositivedirectionReconoiseD2 == 6)
19276 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 21; depth = 2 \b");
19277 if (kcountHEpositivedirectionReconoiseD2 == 7)
19278 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 22; depth = 2 \b");
19279 if (kcountHEpositivedirectionReconoiseD2 == 8)
19280 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 23; depth = 2 \b");
19281 if (kcountHEpositivedirectionReconoiseD2 == 9)
19282 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 24; depth = 2 \b");
19283 if (kcountHEpositivedirectionReconoiseD2 == 10)
19284 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 25; depth = 2 \b");
19285 if (kcountHEpositivedirectionReconoiseD2 == 11)
19286 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 26; depth = 2 \b");
19287 if (kcountHEpositivedirectionReconoiseD2 == 12)
19288 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 27; depth = 2 \b");
19289 if (kcountHEpositivedirectionReconoiseD2 == 13)
19290 HEpositivedirectionReconoiseD2->SetXTitle(
"D for HE+ jeta = 28; depth = 2 \b");
19291 HEpositivedirectionReconoiseD2->Draw(
"Error");
19292 kcountHEpositivedirectionReconoiseD2++;
19293 if (kcountHEpositivedirectionReconoiseD2 > 13)
19302 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png");
19305 if (h2CeffHEpositivedirectionReconoiseD2)
19306 delete h2CeffHEpositivedirectionReconoiseD2;
19312 c3x5->Divide(3, 5);
19314 int kcountHEpositivedirectionReconoiseD3 = 1;
19315 TH1F *h2CeffHEpositivedirectionReconoiseD3 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD3",
"",
nphi, 0., 72.);
19319 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19322 for (
int i = 2;
i < 3;
i++) {
19323 TH1F *HEpositivedirectionReconoiseD3 = (TH1F *)h2CeffHEpositivedirectionReconoiseD3->Clone(
"twod1");
19326 for (
int jphi = 0; jphi <
nphi; jphi++) {
19327 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19328 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19329 HEpositivedirectionReconoiseD3->Fill(jphi, ccc1);
19333 if (ccctest > 0.) {
19335 c3x5->cd(kcountHEpositivedirectionReconoiseD3);
19336 HEpositivedirectionReconoiseD3->SetMarkerStyle(20);
19337 HEpositivedirectionReconoiseD3->SetMarkerSize(0.4);
19338 HEpositivedirectionReconoiseD3->GetYaxis()->SetLabelSize(0.04);
19339 HEpositivedirectionReconoiseD3->SetXTitle(
"HEpositivedirectionReconoiseD3 \b");
19340 HEpositivedirectionReconoiseD3->SetMarkerColor(2);
19341 HEpositivedirectionReconoiseD3->SetLineColor(0);
19345 if (kcountHEpositivedirectionReconoiseD3 == 1)
19346 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 16; depth = 3 \b");
19347 if (kcountHEpositivedirectionReconoiseD3 == 2)
19348 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 17; depth = 3 \b");
19349 if (kcountHEpositivedirectionReconoiseD3 == 3)
19350 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 18; depth = 3 \b");
19351 if (kcountHEpositivedirectionReconoiseD3 == 4)
19352 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 19; depth = 3 \b");
19353 if (kcountHEpositivedirectionReconoiseD3 == 5)
19354 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 20; depth = 3 \b");
19355 if (kcountHEpositivedirectionReconoiseD3 == 6)
19356 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 21; depth = 3 \b");
19357 if (kcountHEpositivedirectionReconoiseD3 == 7)
19358 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 22; depth = 3 \b");
19359 if (kcountHEpositivedirectionReconoiseD3 == 8)
19360 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 23; depth = 3 \b");
19361 if (kcountHEpositivedirectionReconoiseD3 == 9)
19362 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 24; depth = 3 \b");
19363 if (kcountHEpositivedirectionReconoiseD3 == 10)
19364 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 25; depth = 3 \b");
19365 if (kcountHEpositivedirectionReconoiseD3 == 11)
19366 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 26; depth = 3 \b");
19367 if (kcountHEpositivedirectionReconoiseD3 == 12)
19368 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 27; depth = 3 \b");
19369 if (kcountHEpositivedirectionReconoiseD3 == 13)
19370 HEpositivedirectionReconoiseD3->SetXTitle(
"D for HE+ jeta = 28; depth = 3 \b");
19371 HEpositivedirectionReconoiseD3->Draw(
"Error");
19372 kcountHEpositivedirectionReconoiseD3++;
19373 if (kcountHEpositivedirectionReconoiseD3 > 13)
19382 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png");
19385 if (h2CeffHEpositivedirectionReconoiseD3)
19386 delete h2CeffHEpositivedirectionReconoiseD3;
19392 c3x5->Divide(3, 5);
19394 int kcountHEpositivedirectionReconoiseD4 = 1;
19395 TH1F *h2CeffHEpositivedirectionReconoiseD4 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD4",
"",
nphi, 0., 72.);
19399 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19402 for (
int i = 3;
i < 4;
i++) {
19403 TH1F *HEpositivedirectionReconoiseD4 = (TH1F *)h2CeffHEpositivedirectionReconoiseD4->Clone(
"twod1");
19406 for (
int jphi = 0; jphi <
nphi; jphi++) {
19407 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19408 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19409 HEpositivedirectionReconoiseD4->Fill(jphi, ccc1);
19413 if (ccctest > 0.) {
19415 c3x5->cd(kcountHEpositivedirectionReconoiseD4);
19416 HEpositivedirectionReconoiseD4->SetMarkerStyle(20);
19417 HEpositivedirectionReconoiseD4->SetMarkerSize(0.4);
19418 HEpositivedirectionReconoiseD4->GetYaxis()->SetLabelSize(0.04);
19419 HEpositivedirectionReconoiseD4->SetXTitle(
"HEpositivedirectionReconoiseD4 \b");
19420 HEpositivedirectionReconoiseD4->SetMarkerColor(2);
19421 HEpositivedirectionReconoiseD4->SetLineColor(0);
19425 if (kcountHEpositivedirectionReconoiseD4 == 1)
19426 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 15; depth = 4 \b");
19427 if (kcountHEpositivedirectionReconoiseD4 == 2)
19428 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 17; depth = 4 \b");
19429 if (kcountHEpositivedirectionReconoiseD4 == 3)
19430 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 18; depth = 4 \b");
19431 if (kcountHEpositivedirectionReconoiseD4 == 4)
19432 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 19; depth = 4 \b");
19433 if (kcountHEpositivedirectionReconoiseD4 == 5)
19434 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 20; depth = 4 \b");
19435 if (kcountHEpositivedirectionReconoiseD4 == 6)
19436 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 21; depth = 4 \b");
19437 if (kcountHEpositivedirectionReconoiseD4 == 7)
19438 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 22; depth = 4 \b");
19439 if (kcountHEpositivedirectionReconoiseD4 == 8)
19440 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 23; depth = 4 \b");
19441 if (kcountHEpositivedirectionReconoiseD4 == 9)
19442 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 24; depth = 4 \b");
19443 if (kcountHEpositivedirectionReconoiseD4 == 10)
19444 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 25; depth = 4 \b");
19445 if (kcountHEpositivedirectionReconoiseD4 == 11)
19446 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 26; depth = 4 \b");
19447 if (kcountHEpositivedirectionReconoiseD4 == 12)
19448 HEpositivedirectionReconoiseD4->SetXTitle(
"D for HE+ jeta = 27; depth = 4 \b");
19449 HEpositivedirectionReconoiseD4->Draw(
"Error");
19450 kcountHEpositivedirectionReconoiseD4++;
19451 if (kcountHEpositivedirectionReconoiseD4 > 12)
19460 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png");
19463 if (h2CeffHEpositivedirectionReconoiseD4)
19464 delete h2CeffHEpositivedirectionReconoiseD4;
19470 c3x5->Divide(3, 5);
19472 int kcountHEpositivedirectionReconoiseD5 = 1;
19473 TH1F *h2CeffHEpositivedirectionReconoiseD5 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD5",
"",
nphi, 0., 72.);
19477 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19480 for (
int i = 4;
i < 5;
i++) {
19481 TH1F *HEpositivedirectionReconoiseD5 = (TH1F *)h2CeffHEpositivedirectionReconoiseD5->Clone(
"twod1");
19484 for (
int jphi = 0; jphi <
nphi; jphi++) {
19485 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19486 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19487 HEpositivedirectionReconoiseD5->Fill(jphi, ccc1);
19491 if (ccctest > 0.) {
19493 c3x5->cd(kcountHEpositivedirectionReconoiseD5);
19494 HEpositivedirectionReconoiseD5->SetMarkerStyle(20);
19495 HEpositivedirectionReconoiseD5->SetMarkerSize(0.4);
19496 HEpositivedirectionReconoiseD5->GetYaxis()->SetLabelSize(0.04);
19497 HEpositivedirectionReconoiseD5->SetXTitle(
"HEpositivedirectionReconoiseD5 \b");
19498 HEpositivedirectionReconoiseD5->SetMarkerColor(2);
19499 HEpositivedirectionReconoiseD5->SetLineColor(0);
19503 if (kcountHEpositivedirectionReconoiseD5 == 1)
19504 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 17; depth = 5 \b");
19505 if (kcountHEpositivedirectionReconoiseD5 == 2)
19506 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 18; depth = 5 \b");
19507 if (kcountHEpositivedirectionReconoiseD5 == 3)
19508 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 19; depth = 5 \b");
19509 if (kcountHEpositivedirectionReconoiseD5 == 4)
19510 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 20; depth = 5 \b");
19511 if (kcountHEpositivedirectionReconoiseD5 == 5)
19512 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 21; depth = 5 \b");
19513 if (kcountHEpositivedirectionReconoiseD5 == 6)
19514 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 22; depth = 5 \b");
19515 if (kcountHEpositivedirectionReconoiseD5 == 7)
19516 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 23; depth = 5 \b");
19517 if (kcountHEpositivedirectionReconoiseD5 == 8)
19518 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 24; depth = 5 \b");
19519 if (kcountHEpositivedirectionReconoiseD5 == 9)
19520 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 25; depth = 5 \b");
19521 if (kcountHEpositivedirectionReconoiseD5 == 10)
19522 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 26; depth = 5 \b");
19523 if (kcountHEpositivedirectionReconoiseD5 == 11)
19524 HEpositivedirectionReconoiseD5->SetXTitle(
"D for HE+ jeta = 27; depth = 5 \b");
19525 HEpositivedirectionReconoiseD5->Draw(
"Error");
19526 kcountHEpositivedirectionReconoiseD5++;
19527 if (kcountHEpositivedirectionReconoiseD5 > 11)
19536 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png");
19539 if (h2CeffHEpositivedirectionReconoiseD5)
19540 delete h2CeffHEpositivedirectionReconoiseD5;
19546 c3x5->Divide(3, 5);
19548 int kcountHEpositivedirectionReconoiseD6 = 1;
19549 TH1F *h2CeffHEpositivedirectionReconoiseD6 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD6",
"",
nphi, 0., 72.);
19553 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19556 for (
int i = 5;
i < 6;
i++) {
19557 TH1F *HEpositivedirectionReconoiseD6 = (TH1F *)h2CeffHEpositivedirectionReconoiseD6->Clone(
"twod1");
19560 for (
int jphi = 0; jphi <
nphi; jphi++) {
19561 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19562 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19563 HEpositivedirectionReconoiseD6->Fill(jphi, ccc1);
19567 if (ccctest > 0.) {
19569 c3x5->cd(kcountHEpositivedirectionReconoiseD6);
19570 HEpositivedirectionReconoiseD6->SetMarkerStyle(20);
19571 HEpositivedirectionReconoiseD6->SetMarkerSize(0.4);
19572 HEpositivedirectionReconoiseD6->GetYaxis()->SetLabelSize(0.04);
19573 HEpositivedirectionReconoiseD6->SetXTitle(
"HEpositivedirectionReconoiseD6 \b");
19574 HEpositivedirectionReconoiseD6->SetMarkerColor(2);
19575 HEpositivedirectionReconoiseD6->SetLineColor(0);
19579 if (kcountHEpositivedirectionReconoiseD6 == 1)
19580 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 18; depth = 6 \b");
19581 if (kcountHEpositivedirectionReconoiseD6 == 2)
19582 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 19; depth = 6 \b");
19583 if (kcountHEpositivedirectionReconoiseD6 == 3)
19584 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 20; depth = 6 \b");
19585 if (kcountHEpositivedirectionReconoiseD6 == 4)
19586 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 21; depth = 6 \b");
19587 if (kcountHEpositivedirectionReconoiseD6 == 5)
19588 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 22; depth = 6 \b");
19589 if (kcountHEpositivedirectionReconoiseD6 == 6)
19590 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 23; depth = 6 \b");
19591 if (kcountHEpositivedirectionReconoiseD6 == 7)
19592 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 24; depth = 6 \b");
19593 if (kcountHEpositivedirectionReconoiseD6 == 8)
19594 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 25; depth = 6 \b");
19595 if (kcountHEpositivedirectionReconoiseD6 == 9)
19596 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 26; depth = 6 \b");
19597 if (kcountHEpositivedirectionReconoiseD6 == 10)
19598 HEpositivedirectionReconoiseD6->SetXTitle(
"D for HE+ jeta = 27; depth = 6 \b");
19599 HEpositivedirectionReconoiseD6->Draw(
"Error");
19600 kcountHEpositivedirectionReconoiseD6++;
19601 if (kcountHEpositivedirectionReconoiseD6 > 10)
19610 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png");
19613 if (h2CeffHEpositivedirectionReconoiseD6)
19614 delete h2CeffHEpositivedirectionReconoiseD6;
19620 c3x5->Divide(3, 5);
19622 int kcountHEpositivedirectionReconoiseD7 = 1;
19623 TH1F *h2CeffHEpositivedirectionReconoiseD7 =
new TH1F(
"h2CeffHEpositivedirectionReconoiseD7",
"",
nphi, 0., 72.);
19627 if (
jeta - 41 >= 15 &&
jeta - 41 <= 28) {
19630 for (
int i = 6;
i < 7;
i++) {
19631 TH1F *HEpositivedirectionReconoiseD7 = (TH1F *)h2CeffHEpositivedirectionReconoiseD7->Clone(
"twod1");
19634 for (
int jphi = 0; jphi <
nphi; jphi++) {
19635 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19636 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19637 HEpositivedirectionReconoiseD7->Fill(jphi, ccc1);
19641 if (ccctest != 0.) {
19643 c3x5->cd(kcountHEpositivedirectionReconoiseD7);
19644 HEpositivedirectionReconoiseD7->SetMarkerStyle(20);
19645 HEpositivedirectionReconoiseD7->SetMarkerSize(0.4);
19646 HEpositivedirectionReconoiseD7->GetYaxis()->SetLabelSize(0.04);
19647 HEpositivedirectionReconoiseD7->SetXTitle(
"HEpositivedirectionReconoiseD7 \b");
19648 HEpositivedirectionReconoiseD7->SetMarkerColor(2);
19649 HEpositivedirectionReconoiseD7->SetLineColor(0);
19653 if (kcountHEpositivedirectionReconoiseD7 == 1)
19654 HEpositivedirectionReconoiseD7->SetXTitle(
"D for HE+ jeta = 25; depth = 7 \b");
19655 if (kcountHEpositivedirectionReconoiseD7 == 2)
19656 HEpositivedirectionReconoiseD7->SetXTitle(
"D for HE+ jeta = 26; depth = 7 \b");
19657 if (kcountHEpositivedirectionReconoiseD7 == 3)
19658 HEpositivedirectionReconoiseD7->SetXTitle(
"D for HE+ jeta = 27; depth = 7 \b");
19659 HEpositivedirectionReconoiseD7->Draw(
"Error");
19660 kcountHEpositivedirectionReconoiseD7++;
19661 if (kcountHEpositivedirectionReconoiseD7 > 3)
19670 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png");
19673 if (h2CeffHEpositivedirectionReconoiseD7)
19674 delete h2CeffHEpositivedirectionReconoiseD7;
19682 c3x5->Divide(3, 5);
19684 int kcountHEnegativedirectionReconoiseD1 = 1;
19685 TH1F *h2CeffHEnegativedirectionReconoiseD1 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD1",
"",
nphi, 0., 72.);
19689 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
19692 for (
int i = 0;
i < 1;
i++) {
19693 TH1F *HEnegativedirectionReconoiseD1 = (TH1F *)h2CeffHEnegativedirectionReconoiseD1->Clone(
"twod1");
19696 for (
int jphi = 0; jphi <
nphi; jphi++) {
19697 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19698 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19699 HEnegativedirectionReconoiseD1->Fill(jphi, ccc1);
19703 if (ccctest > 0.) {
19705 c3x5->cd(kcountHEnegativedirectionReconoiseD1);
19706 HEnegativedirectionReconoiseD1->SetMarkerStyle(20);
19707 HEnegativedirectionReconoiseD1->SetMarkerSize(0.4);
19708 HEnegativedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
19709 HEnegativedirectionReconoiseD1->SetXTitle(
"HEnegativedirectionReconoiseD1 \b");
19710 HEnegativedirectionReconoiseD1->SetMarkerColor(2);
19711 HEnegativedirectionReconoiseD1->SetLineColor(0);
19715 if (kcountHEnegativedirectionReconoiseD1 == 1)
19716 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-29; depth = 1 \b");
19717 if (kcountHEnegativedirectionReconoiseD1 == 2)
19718 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-28; depth = 1 \b");
19719 if (kcountHEnegativedirectionReconoiseD1 == 3)
19720 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-27; depth = 1 \b");
19721 if (kcountHEnegativedirectionReconoiseD1 == 4)
19722 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-26; depth = 1 \b");
19723 if (kcountHEnegativedirectionReconoiseD1 == 5)
19724 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-25; depth = 1 \b");
19725 if (kcountHEnegativedirectionReconoiseD1 == 6)
19726 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-24; depth = 1 \b");
19727 if (kcountHEnegativedirectionReconoiseD1 == 7)
19728 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-23; depth = 1 \b");
19729 if (kcountHEnegativedirectionReconoiseD1 == 8)
19730 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-22; depth = 1 \b");
19731 if (kcountHEnegativedirectionReconoiseD1 == 9)
19732 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-21; depth = 1 \b");
19733 if (kcountHEnegativedirectionReconoiseD1 == 10)
19734 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-20; depth = 1 \b");
19735 if (kcountHEnegativedirectionReconoiseD1 == 11)
19736 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-19; depth = 1 \b");
19737 if (kcountHEnegativedirectionReconoiseD1 == 12)
19738 HEnegativedirectionReconoiseD1->SetXTitle(
"D for HE- jeta =-18; depth = 1 \b");
19739 HEnegativedirectionReconoiseD1->Draw(
"Error");
19740 kcountHEnegativedirectionReconoiseD1++;
19741 if (kcountHEnegativedirectionReconoiseD1 > 12)
19750 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png");
19753 if (h2CeffHEnegativedirectionReconoiseD1)
19754 delete h2CeffHEnegativedirectionReconoiseD1;
19760 c3x5->Divide(3, 5);
19762 int kcountHEnegativedirectionReconoiseD2 = 1;
19763 TH1F *h2CeffHEnegativedirectionReconoiseD2 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD2",
"",
nphi, 0., 72.);
19767 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
19770 for (
int i = 1;
i < 2;
i++) {
19771 TH1F *HEnegativedirectionReconoiseD2 = (TH1F *)h2CeffHEnegativedirectionReconoiseD2->Clone(
"twod1");
19774 for (
int jphi = 0; jphi <
nphi; jphi++) {
19775 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19776 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19777 HEnegativedirectionReconoiseD2->Fill(jphi, ccc1);
19781 if (ccctest > 0.) {
19783 c3x5->cd(kcountHEnegativedirectionReconoiseD2);
19784 HEnegativedirectionReconoiseD2->SetMarkerStyle(20);
19785 HEnegativedirectionReconoiseD2->SetMarkerSize(0.4);
19786 HEnegativedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
19787 HEnegativedirectionReconoiseD2->SetXTitle(
"HEnegativedirectionReconoiseD2 \b");
19788 HEnegativedirectionReconoiseD2->SetMarkerColor(2);
19789 HEnegativedirectionReconoiseD2->SetLineColor(0);
19793 if (kcountHEnegativedirectionReconoiseD2 == 1)
19794 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-29; depth = 2 \b");
19795 if (kcountHEnegativedirectionReconoiseD2 == 2)
19796 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-28; depth = 2 \b");
19797 if (kcountHEnegativedirectionReconoiseD2 == 3)
19798 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-27; depth = 2 \b");
19799 if (kcountHEnegativedirectionReconoiseD2 == 4)
19800 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-26; depth = 2 \b");
19801 if (kcountHEnegativedirectionReconoiseD2 == 5)
19802 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-25; depth = 2 \b");
19803 if (kcountHEnegativedirectionReconoiseD2 == 6)
19804 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-24; depth = 2 \b");
19805 if (kcountHEnegativedirectionReconoiseD2 == 7)
19806 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-23; depth = 2 \b");
19807 if (kcountHEnegativedirectionReconoiseD2 == 8)
19808 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-22; depth = 2 \b");
19809 if (kcountHEnegativedirectionReconoiseD2 == 9)
19810 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-21; depth = 2 \b");
19811 if (kcountHEnegativedirectionReconoiseD2 == 10)
19812 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-20; depth = 2 \b");
19813 if (kcountHEnegativedirectionReconoiseD2 == 11)
19814 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-19; depth = 2 \b");
19815 if (kcountHEnegativedirectionReconoiseD2 == 12)
19816 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-18; depth = 2 \b");
19817 if (kcountHEnegativedirectionReconoiseD2 == 13)
19818 HEnegativedirectionReconoiseD2->SetXTitle(
"D for HE- jeta =-17; depth = 2 \b");
19819 HEnegativedirectionReconoiseD2->Draw(
"Error");
19820 kcountHEnegativedirectionReconoiseD2++;
19821 if (kcountHEnegativedirectionReconoiseD2 > 13)
19830 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png");
19833 if (h2CeffHEnegativedirectionReconoiseD2)
19834 delete h2CeffHEnegativedirectionReconoiseD2;
19840 c3x5->Divide(3, 5);
19842 int kcountHEnegativedirectionReconoiseD3 = 1;
19843 TH1F *h2CeffHEnegativedirectionReconoiseD3 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD3",
"",
nphi, 0., 72.);
19847 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
19850 for (
int i = 2;
i < 3;
i++) {
19851 TH1F *HEnegativedirectionReconoiseD3 = (TH1F *)h2CeffHEnegativedirectionReconoiseD3->Clone(
"twod1");
19854 for (
int jphi = 0; jphi <
nphi; jphi++) {
19855 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19856 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19857 HEnegativedirectionReconoiseD3->Fill(jphi, ccc1);
19861 if (ccctest > 0.) {
19863 c3x5->cd(kcountHEnegativedirectionReconoiseD3);
19864 HEnegativedirectionReconoiseD3->SetMarkerStyle(20);
19865 HEnegativedirectionReconoiseD3->SetMarkerSize(0.4);
19866 HEnegativedirectionReconoiseD3->GetYaxis()->SetLabelSize(0.04);
19867 HEnegativedirectionReconoiseD3->SetXTitle(
"HEnegativedirectionReconoiseD3 \b");
19868 HEnegativedirectionReconoiseD3->SetMarkerColor(2);
19869 HEnegativedirectionReconoiseD3->SetLineColor(0);
19873 if (kcountHEnegativedirectionReconoiseD3 == 1)
19874 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-29; depth = 3 \b");
19875 if (kcountHEnegativedirectionReconoiseD3 == 2)
19876 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-28; depth = 3 \b");
19877 if (kcountHEnegativedirectionReconoiseD3 == 3)
19878 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-27; depth = 3 \b");
19879 if (kcountHEnegativedirectionReconoiseD3 == 4)
19880 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-26; depth = 3 \b");
19881 if (kcountHEnegativedirectionReconoiseD3 == 5)
19882 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-25; depth = 3 \b");
19883 if (kcountHEnegativedirectionReconoiseD3 == 6)
19884 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-24; depth = 3 \b");
19885 if (kcountHEnegativedirectionReconoiseD3 == 7)
19886 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-23; depth = 3 \b");
19887 if (kcountHEnegativedirectionReconoiseD3 == 8)
19888 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-22; depth = 3 \b");
19889 if (kcountHEnegativedirectionReconoiseD3 == 9)
19890 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-21; depth = 3 \b");
19891 if (kcountHEnegativedirectionReconoiseD3 == 10)
19892 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-20; depth = 3 \b");
19893 if (kcountHEnegativedirectionReconoiseD3 == 11)
19894 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-19; depth = 3 \b");
19895 if (kcountHEnegativedirectionReconoiseD3 == 12)
19896 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-18; depth = 3 \b");
19897 if (kcountHEnegativedirectionReconoiseD3 == 13)
19898 HEnegativedirectionReconoiseD3->SetXTitle(
"D for HE- jeta =-17; depth = 3 \b");
19899 HEnegativedirectionReconoiseD3->Draw(
"Error");
19900 kcountHEnegativedirectionReconoiseD3++;
19901 if (kcountHEnegativedirectionReconoiseD3 > 13)
19910 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png");
19913 if (h2CeffHEnegativedirectionReconoiseD3)
19914 delete h2CeffHEnegativedirectionReconoiseD3;
19920 c3x5->Divide(3, 5);
19922 int kcountHEnegativedirectionReconoiseD4 = 1;
19923 TH1F *h2CeffHEnegativedirectionReconoiseD4 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD4",
"",
nphi, 0., 72.);
19927 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
19930 for (
int i = 3;
i < 4;
i++) {
19931 TH1F *HEnegativedirectionReconoiseD4 = (TH1F *)h2CeffHEnegativedirectionReconoiseD4->Clone(
"twod1");
19934 for (
int jphi = 0; jphi <
nphi; jphi++) {
19935 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
19936 if (areconoisehe[
i][
jeta][jphi] > 0.) {
19937 HEnegativedirectionReconoiseD4->Fill(jphi, ccc1);
19941 if (ccctest > 0.) {
19943 c3x5->cd(kcountHEnegativedirectionReconoiseD4);
19944 HEnegativedirectionReconoiseD4->SetMarkerStyle(20);
19945 HEnegativedirectionReconoiseD4->SetMarkerSize(0.4);
19946 HEnegativedirectionReconoiseD4->GetYaxis()->SetLabelSize(0.04);
19947 HEnegativedirectionReconoiseD4->SetXTitle(
"HEnegativedirectionReconoiseD4 \b");
19948 HEnegativedirectionReconoiseD4->SetMarkerColor(2);
19949 HEnegativedirectionReconoiseD4->SetLineColor(0);
19953 if (kcountHEnegativedirectionReconoiseD4 == 1)
19954 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-28; depth = 4 \b");
19955 if (kcountHEnegativedirectionReconoiseD4 == 2)
19956 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-27; depth = 4 \b");
19957 if (kcountHEnegativedirectionReconoiseD4 == 3)
19958 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-26; depth = 4 \b");
19959 if (kcountHEnegativedirectionReconoiseD4 == 4)
19960 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-25; depth = 4 \b");
19961 if (kcountHEnegativedirectionReconoiseD4 == 5)
19962 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-24; depth = 4 \b");
19963 if (kcountHEnegativedirectionReconoiseD4 == 6)
19964 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-23; depth = 4 \b");
19965 if (kcountHEnegativedirectionReconoiseD4 == 7)
19966 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-22; depth = 4 \b");
19967 if (kcountHEnegativedirectionReconoiseD4 == 8)
19968 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-21; depth = 4 \b");
19969 if (kcountHEnegativedirectionReconoiseD4 == 9)
19970 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-20; depth = 4 \b");
19971 if (kcountHEnegativedirectionReconoiseD4 == 10)
19972 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-19; depth = 4 \b");
19973 if (kcountHEnegativedirectionReconoiseD4 == 11)
19974 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-18; depth = 4 \b");
19975 if (kcountHEnegativedirectionReconoiseD4 == 12)
19976 HEnegativedirectionReconoiseD4->SetXTitle(
"D for HE- jeta =-16; depth = 4 \b");
19977 HEnegativedirectionReconoiseD4->Draw(
"Error");
19978 kcountHEnegativedirectionReconoiseD4++;
19979 if (kcountHEnegativedirectionReconoiseD4 > 12)
19988 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png");
19991 if (h2CeffHEnegativedirectionReconoiseD4)
19992 delete h2CeffHEnegativedirectionReconoiseD4;
19998 c3x5->Divide(3, 5);
20000 int kcountHEnegativedirectionReconoiseD5 = 1;
20001 TH1F *h2CeffHEnegativedirectionReconoiseD5 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD5",
"",
nphi, 0., 72.);
20005 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
20008 for (
int i = 4;
i < 5;
i++) {
20009 TH1F *HEnegativedirectionReconoiseD5 = (TH1F *)h2CeffHEnegativedirectionReconoiseD5->Clone(
"twod1");
20012 for (
int jphi = 0; jphi <
nphi; jphi++) {
20013 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
20014 if (areconoisehe[
i][
jeta][jphi] > 0.) {
20015 HEnegativedirectionReconoiseD5->Fill(jphi, ccc1);
20019 if (ccctest > 0.) {
20021 c3x5->cd(kcountHEnegativedirectionReconoiseD5);
20022 HEnegativedirectionReconoiseD5->SetMarkerStyle(20);
20023 HEnegativedirectionReconoiseD5->SetMarkerSize(0.4);
20024 HEnegativedirectionReconoiseD5->GetYaxis()->SetLabelSize(0.04);
20025 HEnegativedirectionReconoiseD5->SetXTitle(
"HEnegativedirectionReconoiseD5 \b");
20026 HEnegativedirectionReconoiseD5->SetMarkerColor(2);
20027 HEnegativedirectionReconoiseD5->SetLineColor(0);
20031 if (kcountHEnegativedirectionReconoiseD5 == 1)
20032 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-28; depth = 5 \b");
20033 if (kcountHEnegativedirectionReconoiseD5 == 2)
20034 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-27; depth = 5 \b");
20035 if (kcountHEnegativedirectionReconoiseD5 == 3)
20036 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-26; depth = 5 \b");
20037 if (kcountHEnegativedirectionReconoiseD5 == 4)
20038 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-25; depth = 5 \b");
20039 if (kcountHEnegativedirectionReconoiseD5 == 5)
20040 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-24; depth = 5 \b");
20041 if (kcountHEnegativedirectionReconoiseD5 == 6)
20042 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-23; depth = 5 \b");
20043 if (kcountHEnegativedirectionReconoiseD5 == 7)
20044 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-22; depth = 5 \b");
20045 if (kcountHEnegativedirectionReconoiseD5 == 8)
20046 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-21; depth = 5 \b");
20047 if (kcountHEnegativedirectionReconoiseD5 == 9)
20048 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-20; depth = 5 \b");
20049 if (kcountHEnegativedirectionReconoiseD5 == 10)
20050 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-19; depth = 5 \b");
20051 if (kcountHEnegativedirectionReconoiseD5 == 11)
20052 HEnegativedirectionReconoiseD5->SetXTitle(
"D for HE- jeta =-18; depth = 5 \b");
20053 HEnegativedirectionReconoiseD5->Draw(
"Error");
20054 kcountHEnegativedirectionReconoiseD5++;
20055 if (kcountHEnegativedirectionReconoiseD5 > 11)
20064 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png");
20067 if (h2CeffHEnegativedirectionReconoiseD5)
20068 delete h2CeffHEnegativedirectionReconoiseD5;
20074 c3x5->Divide(3, 5);
20076 int kcountHEnegativedirectionReconoiseD6 = 1;
20077 TH1F *h2CeffHEnegativedirectionReconoiseD6 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD6",
"",
nphi, 0., 72.);
20081 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
20084 for (
int i = 5;
i < 6;
i++) {
20085 TH1F *HEnegativedirectionReconoiseD6 = (TH1F *)h2CeffHEnegativedirectionReconoiseD6->Clone(
"twod1");
20088 for (
int jphi = 0; jphi <
nphi; jphi++) {
20089 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
20090 if (areconoisehe[
i][
jeta][jphi] > 0.) {
20091 HEnegativedirectionReconoiseD6->Fill(jphi, ccc1);
20095 if (ccctest > 0.) {
20097 c3x5->cd(kcountHEnegativedirectionReconoiseD6);
20098 HEnegativedirectionReconoiseD6->SetMarkerStyle(20);
20099 HEnegativedirectionReconoiseD6->SetMarkerSize(0.4);
20100 HEnegativedirectionReconoiseD6->GetYaxis()->SetLabelSize(0.04);
20101 HEnegativedirectionReconoiseD6->SetXTitle(
"HEnegativedirectionReconoiseD6 \b");
20102 HEnegativedirectionReconoiseD6->SetMarkerColor(2);
20103 HEnegativedirectionReconoiseD6->SetLineColor(0);
20107 if (kcountHEnegativedirectionReconoiseD6 == 1)
20108 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-28; depth = 6 \b");
20109 if (kcountHEnegativedirectionReconoiseD6 == 2)
20110 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-27; depth = 6 \b");
20111 if (kcountHEnegativedirectionReconoiseD6 == 3)
20112 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-26; depth = 6 \b");
20113 if (kcountHEnegativedirectionReconoiseD6 == 4)
20114 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-25; depth = 6 \b");
20115 if (kcountHEnegativedirectionReconoiseD6 == 5)
20116 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-24; depth = 6 \b");
20117 if (kcountHEnegativedirectionReconoiseD6 == 6)
20118 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-23; depth = 6 \b");
20119 if (kcountHEnegativedirectionReconoiseD6 == 7)
20120 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-22; depth = 6 \b");
20121 if (kcountHEnegativedirectionReconoiseD6 == 8)
20122 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-21; depth = 6 \b");
20123 if (kcountHEnegativedirectionReconoiseD6 == 9)
20124 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-20; depth = 6 \b");
20125 if (kcountHEnegativedirectionReconoiseD6 == 10)
20126 HEnegativedirectionReconoiseD6->SetXTitle(
"D for HE- jeta =-19; depth = 6 \b");
20127 HEnegativedirectionReconoiseD6->Draw(
"Error");
20128 kcountHEnegativedirectionReconoiseD6++;
20129 if (kcountHEnegativedirectionReconoiseD6 > 10)
20138 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png");
20141 if (h2CeffHEnegativedirectionReconoiseD6)
20142 delete h2CeffHEnegativedirectionReconoiseD6;
20148 c3x5->Divide(3, 5);
20150 int kcountHEnegativedirectionReconoiseD7 = 1;
20151 TH1F *h2CeffHEnegativedirectionReconoiseD7 =
new TH1F(
"h2CeffHEnegativedirectionReconoiseD7",
"",
nphi, 0., 72.);
20155 if (
jeta - 41 >= -29 &&
jeta - 41 <= -16) {
20158 for (
int i = 6;
i < 7;
i++) {
20159 TH1F *HEnegativedirectionReconoiseD7 = (TH1F *)h2CeffHEnegativedirectionReconoiseD7->Clone(
"twod1");
20162 for (
int jphi = 0; jphi <
nphi; jphi++) {
20163 double ccc1 = reconoisevariancehe[
i][
jeta][jphi];
20164 if (areconoisehe[
i][
jeta][jphi] > 0.) {
20165 HEnegativedirectionReconoiseD7->Fill(jphi, ccc1);
20169 if (ccctest != 0.) {
20171 c3x5->cd(kcountHEnegativedirectionReconoiseD7);
20172 HEnegativedirectionReconoiseD7->SetMarkerStyle(20);
20173 HEnegativedirectionReconoiseD7->SetMarkerSize(0.4);
20174 HEnegativedirectionReconoiseD7->GetYaxis()->SetLabelSize(0.04);
20175 HEnegativedirectionReconoiseD7->SetXTitle(
"HEnegativedirectionReconoiseD7 \b");
20176 HEnegativedirectionReconoiseD7->SetMarkerColor(2);
20177 HEnegativedirectionReconoiseD7->SetLineColor(0);
20181 if (kcountHEnegativedirectionReconoiseD7 == 1)
20182 HEnegativedirectionReconoiseD7->SetXTitle(
"D for HE- jeta =-28; depth = 7 \b");
20183 if (kcountHEnegativedirectionReconoiseD7 == 2)
20184 HEnegativedirectionReconoiseD7->SetXTitle(
"D for HE- jeta =-27; depth = 7 \b");
20185 if (kcountHEnegativedirectionReconoiseD7 == 3)
20186 HEnegativedirectionReconoiseD7->SetXTitle(
"D for HE- jeta =-26; depth = 7 \b");
20187 HEnegativedirectionReconoiseD7->Draw(
"Error");
20188 kcountHEnegativedirectionReconoiseD7++;
20189 if (kcountHEnegativedirectionReconoiseD7 > 3)
20198 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png");
20201 if (h2CeffHEnegativedirectionReconoiseD7)
20202 delete h2CeffHEnegativedirectionReconoiseD7;
20212 double areconoiseHF[
ndepth][njeta][njphi];
20213 double breconoiseHF[
ndepth][njeta][njphi];
20214 double reconoisevarianceHF[
ndepth][njeta][njphi];
20216 TH2F *recNoiseEnergy1HF1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HF1");
20217 TH2F *recNoiseEnergy0HF1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HF1");
20218 TH2F *recNoiseEnergyHF1 = (TH2F *)recNoiseEnergy1HF1->Clone(
"recNoiseEnergyHF1");
20219 recNoiseEnergyHF1->Divide(recNoiseEnergy1HF1, recNoiseEnergy0HF1, 1, 1,
"B");
20220 TH2F *recNoiseEnergy1HF2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy1_HF2");
20221 TH2F *recNoiseEnergy0HF2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HF2");
20222 TH2F *recNoiseEnergyHF2 = (TH2F *)recNoiseEnergy1HF2->Clone(
"recNoiseEnergyHF2");
20223 recNoiseEnergyHF2->Divide(recNoiseEnergy1HF2, recNoiseEnergy0HF2, 1, 1,
"B");
20226 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
20228 double sumreconoiseHF0 = 0;
20229 int nsumreconoiseHF0 = 0;
20230 double sumreconoiseHF1 = 0;
20231 int nsumreconoiseHF1 = 0;
20232 for (
int jphi = 0; jphi < njphi; jphi++) {
20233 areconoiseHF[0][
jeta][jphi] = recNoiseEnergyHF1->GetBinContent(
jeta + 1, jphi + 1);
20234 areconoiseHF[1][
jeta][jphi] = recNoiseEnergyHF2->GetBinContent(
jeta + 1, jphi + 1);
20235 breconoiseHF[0][
jeta][jphi] = recNoiseEnergyHF1->GetBinContent(
jeta + 1, jphi + 1);
20236 breconoiseHF[1][
jeta][jphi] = recNoiseEnergyHF2->GetBinContent(
jeta + 1, jphi + 1);
20237 sumreconoiseHF0 += areconoiseHF[0][
jeta][jphi];
20238 ++nsumreconoiseHF0;
20239 sumreconoiseHF1 += areconoiseHF[1][
jeta][jphi];
20240 ++nsumreconoiseHF1;
20244 for (
int jphi = 0; jphi < njphi; jphi++) {
20245 if (sumreconoiseHF0 != 0.)
20246 breconoiseHF[0][
jeta][jphi] -= (sumreconoiseHF0 / nsumreconoiseHF0);
20247 if (sumreconoiseHF1 != 0.)
20248 breconoiseHF[1][
jeta][jphi] -= (sumreconoiseHF1 / nsumreconoiseHF1);
20252 for (
int jphi = 0; jphi < njphi; jphi++) {
20253 if (sumreconoiseHF0 != 0.)
20254 areconoiseHF[0][
jeta][jphi] /= (sumreconoiseHF0 / nsumreconoiseHF0);
20255 if (sumreconoiseHF1 != 0.)
20256 areconoiseHF[1][
jeta][jphi] /= (sumreconoiseHF1 / nsumreconoiseHF1);
20270 c2x1->Divide(2, 1);
20272 TH2F *GefzRreconoiseHF42D =
new TH2F(
"GefzRreconoiseHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
20273 TH2F *GefzRreconoiseHF42D0 =
new TH2F(
"GefzRreconoiseHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
20274 TH2F *GefzRreconoiseHF42DF = (TH2F *)GefzRreconoiseHF42D0->Clone(
"GefzRreconoiseHF42DF");
20277 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
20278 for (
int jphi = 0; jphi <
nphi; jphi++) {
20279 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20280 int k2plot =
jeta - 41;
20283 GefzRreconoiseHF42D->Fill(kkk, jphi, ccc1);
20284 GefzRreconoiseHF42D0->Fill(kkk, jphi, 1.);
20290 GefzRreconoiseHF42DF->Divide(GefzRreconoiseHF42D, GefzRreconoiseHF42D0, 1, 1,
"B");
20293 GefzRreconoiseHF42DF->SetXTitle(
"<R>_depth #eta \b");
20294 GefzRreconoiseHF42DF->SetYTitle(
" #phi \b");
20295 GefzRreconoiseHF42DF->Draw(
"COLZ");
20298 TH1F *energyhitNoise_HF = (TH1F *)
dir->FindObjectAny(
"h_energyhitNoise_HF");
20299 energyhitNoise_HF->SetMarkerStyle(20);
20300 energyhitNoise_HF->SetMarkerSize(0.4);
20301 energyhitNoise_HF->GetYaxis()->SetLabelSize(0.04);
20302 energyhitNoise_HF->SetXTitle(
"energyhitNoise_HF \b");
20303 energyhitNoise_HF->SetMarkerColor(2);
20304 energyhitNoise_HF->SetLineColor(0);
20307 energyhitNoise_HF->Draw(
"Error");
20311 c2x1->Print(
"RreconoiseGeneralD2PhiSymmetryHF.png");
20314 if (GefzRreconoiseHF42D)
20315 delete GefzRreconoiseHF42D;
20316 if (GefzRreconoiseHF42D0)
20317 delete GefzRreconoiseHF42D0;
20318 if (GefzRreconoiseHF42DF)
20319 delete GefzRreconoiseHF42DF;
20325 c1x1->Divide(1, 1);
20327 TH1F *GefzRreconoiseHF41D =
new TH1F(
"GefzRreconoiseHF41D",
"",
nphi, 0., 72.);
20328 TH1F *GefzRreconoiseHF41D0 =
new TH1F(
"GefzRreconoiseHF41D0",
"",
nphi, 0., 72.);
20329 TH1F *GefzRreconoiseHF41DF = (TH1F *)GefzRreconoiseHF41D0->Clone(
"GefzRreconoiseHF41DF");
20330 for (
int jphi = 0; jphi <
nphi; jphi++) {
20332 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
20334 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20336 GefzRreconoiseHF41D->Fill(jphi, ccc1);
20337 GefzRreconoiseHF41D0->Fill(jphi, 1.);
20343 GefzRreconoiseHF41DF->Divide(GefzRreconoiseHF41D, GefzRreconoiseHF41D0, 1, 1,
"B");
20344 GefzRreconoiseHF41D0->Sumw2();
20348 GefzRreconoiseHF41DF->SetMarkerStyle(20);
20349 GefzRreconoiseHF41DF->SetMarkerSize(1.4);
20350 GefzRreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08);
20351 GefzRreconoiseHF41DF->SetXTitle(
"#phi \b");
20352 GefzRreconoiseHF41DF->SetYTitle(
" <R> \b");
20353 GefzRreconoiseHF41DF->SetZTitle(
"<R>_PHI - AllDepthfs \b");
20354 GefzRreconoiseHF41DF->SetMarkerColor(4);
20355 GefzRreconoiseHF41DF->SetLineColor(
20357 GefzRreconoiseHF41DF->Draw(
"Error");
20360 c1x1->Print(
"RreconoiseGeneralD1PhiSymmetryHF.png");
20363 if (GefzRreconoiseHF41D)
20364 delete GefzRreconoiseHF41D;
20365 if (GefzRreconoiseHF41D0)
20366 delete GefzRreconoiseHF41D0;
20367 if (GefzRreconoiseHF41DF)
20368 delete GefzRreconoiseHF41DF;
20375 c3x5->Divide(3, 5);
20377 int kcountHFpositivedirectionReconoise1 = 1;
20378 TH1F *h2CeffHFpositivedirectionReconoise1 =
new TH1F(
"h2CeffHFpositivedirectionReconoise1",
"",
nphi, 0., 72.);
20381 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
20384 for (
int i = 0;
i < 1;
i++) {
20385 TH1F *HFpositivedirectionReconoise1 = (TH1F *)h2CeffHFpositivedirectionReconoise1->Clone(
"twod1");
20387 for (
int jphi = 0; jphi <
nphi; jphi++) {
20388 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20390 HFpositivedirectionReconoise1->Fill(jphi, ccc1);
20394 if (ccctest > 0.) {
20396 c3x5->cd(kcountHFpositivedirectionReconoise1);
20397 HFpositivedirectionReconoise1->SetMarkerStyle(20);
20398 HFpositivedirectionReconoise1->SetMarkerSize(0.4);
20399 HFpositivedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
20400 HFpositivedirectionReconoise1->SetXTitle(
"HFpositivedirectionReconoise1 \b");
20401 HFpositivedirectionReconoise1->SetMarkerColor(2);
20402 HFpositivedirectionReconoise1->SetLineColor(0);
20406 if (kcountHFpositivedirectionReconoise1 == 1)
20407 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 28; depth = 1 \b");
20408 if (kcountHFpositivedirectionReconoise1 == 2)
20409 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 29; depth = 1 \b");
20410 if (kcountHFpositivedirectionReconoise1 == 3)
20411 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 30; depth = 1 \b");
20412 if (kcountHFpositivedirectionReconoise1 == 4)
20413 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 31; depth = 1 \b");
20414 if (kcountHFpositivedirectionReconoise1 == 5)
20415 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 32; depth = 1 \b");
20416 if (kcountHFpositivedirectionReconoise1 == 6)
20417 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 33; depth = 1 \b");
20418 if (kcountHFpositivedirectionReconoise1 == 7)
20419 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 34; depth = 1 \b");
20420 if (kcountHFpositivedirectionReconoise1 == 8)
20421 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 35; depth = 1 \b");
20422 if (kcountHFpositivedirectionReconoise1 == 9)
20423 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 36; depth = 1 \b");
20424 if (kcountHFpositivedirectionReconoise1 == 10)
20425 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 37; depth = 1 \b");
20426 if (kcountHFpositivedirectionReconoise1 == 11)
20427 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 38; depth = 1 \b");
20428 if (kcountHFpositivedirectionReconoise1 == 12)
20429 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 39; depth = 1 \b");
20430 if (kcountHFpositivedirectionReconoise1 == 13)
20431 HFpositivedirectionReconoise1->SetXTitle(
"R for HF+ jeta = 40; depth = 1 \b");
20432 HFpositivedirectionReconoise1->Draw(
"Error");
20433 kcountHFpositivedirectionReconoise1++;
20434 if (kcountHFpositivedirectionReconoise1 > 13)
20443 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png");
20446 if (h2CeffHFpositivedirectionReconoise1)
20447 delete h2CeffHFpositivedirectionReconoise1;
20455 c3x5->Divide(3, 5);
20457 int kcountHFpositivedirectionReconoise2 = 1;
20458 TH1F *h2CeffHFpositivedirectionReconoise2 =
new TH1F(
"h2CeffHFpositivedirectionReconoise2",
"",
nphi, 0., 72.);
20461 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
20464 for (
int i = 1;
i < 2;
i++) {
20465 TH1F *HFpositivedirectionReconoise2 = (TH1F *)h2CeffHFpositivedirectionReconoise2->Clone(
"twod1");
20467 for (
int jphi = 0; jphi <
nphi; jphi++) {
20468 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20470 HFpositivedirectionReconoise2->Fill(jphi, ccc1);
20474 if (ccctest > 0.) {
20476 c3x5->cd(kcountHFpositivedirectionReconoise2);
20477 HFpositivedirectionReconoise2->SetMarkerStyle(20);
20478 HFpositivedirectionReconoise2->SetMarkerSize(0.4);
20479 HFpositivedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
20480 HFpositivedirectionReconoise2->SetXTitle(
"HFpositivedirectionReconoise2 \b");
20481 HFpositivedirectionReconoise2->SetMarkerColor(2);
20482 HFpositivedirectionReconoise2->SetLineColor(0);
20486 if (kcountHFpositivedirectionReconoise2 == 1)
20487 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 28; depth = 2 \b");
20488 if (kcountHFpositivedirectionReconoise2 == 2)
20489 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 29; depth = 2 \b");
20490 if (kcountHFpositivedirectionReconoise2 == 3)
20491 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 30; depth = 2 \b");
20492 if (kcountHFpositivedirectionReconoise2 == 4)
20493 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 31; depth = 2 \b");
20494 if (kcountHFpositivedirectionReconoise2 == 5)
20495 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 32; depth = 2 \b");
20496 if (kcountHFpositivedirectionReconoise2 == 6)
20497 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 33; depth = 2 \b");
20498 if (kcountHFpositivedirectionReconoise2 == 7)
20499 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 34; depth = 2 \b");
20500 if (kcountHFpositivedirectionReconoise2 == 8)
20501 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 35; depth = 2 \b");
20502 if (kcountHFpositivedirectionReconoise2 == 9)
20503 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 36; depth = 2 \b");
20504 if (kcountHFpositivedirectionReconoise2 == 10)
20505 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 37; depth = 2 \b");
20506 if (kcountHFpositivedirectionReconoise2 == 11)
20507 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 38; depth = 2 \b");
20508 if (kcountHFpositivedirectionReconoise2 == 12)
20509 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 39; depth = 2 \b");
20510 if (kcountHFpositivedirectionReconoise2 == 13)
20511 HFpositivedirectionReconoise2->SetXTitle(
"R for HF+ jeta = 40; depth = 2 \b");
20512 HFpositivedirectionReconoise2->Draw(
"Error");
20513 kcountHFpositivedirectionReconoise2++;
20514 if (kcountHFpositivedirectionReconoise2 > 13)
20523 c3x5->Print(
"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png");
20526 if (h2CeffHFpositivedirectionReconoise2)
20527 delete h2CeffHFpositivedirectionReconoise2;
20535 c3x5->Divide(3, 5);
20537 int kcountHFnegativedirectionReconoise1 = 1;
20538 TH1F *h2CeffHFnegativedirectionReconoise1 =
new TH1F(
"h2CeffHFnegativedirectionReconoise1",
"",
nphi, 0., 72.);
20541 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
20544 for (
int i = 0;
i < 1;
i++) {
20545 TH1F *HFnegativedirectionReconoise1 = (TH1F *)h2CeffHFnegativedirectionReconoise1->Clone(
"twod1");
20547 for (
int jphi = 0; jphi <
nphi; jphi++) {
20548 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20550 HFnegativedirectionReconoise1->Fill(jphi, ccc1);
20554 if (ccctest > 0.) {
20556 c3x5->cd(kcountHFnegativedirectionReconoise1);
20557 HFnegativedirectionReconoise1->SetMarkerStyle(20);
20558 HFnegativedirectionReconoise1->SetMarkerSize(0.4);
20559 HFnegativedirectionReconoise1->GetYaxis()->SetLabelSize(0.04);
20560 HFnegativedirectionReconoise1->SetXTitle(
"HFnegativedirectionReconoise1 \b");
20561 HFnegativedirectionReconoise1->SetMarkerColor(2);
20562 HFnegativedirectionReconoise1->SetLineColor(0);
20566 if (kcountHFnegativedirectionReconoise1 == 1)
20567 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-41; depth = 1 \b");
20568 if (kcountHFnegativedirectionReconoise1 == 2)
20569 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-40; depth = 1 \b");
20570 if (kcountHFnegativedirectionReconoise1 == 3)
20571 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-39; depth = 1 \b");
20572 if (kcountHFnegativedirectionReconoise1 == 4)
20573 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-38; depth = 1 \b");
20574 if (kcountHFnegativedirectionReconoise1 == 5)
20575 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-37; depth = 1 \b");
20576 if (kcountHFnegativedirectionReconoise1 == 6)
20577 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-36; depth = 1 \b");
20578 if (kcountHFnegativedirectionReconoise1 == 7)
20579 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-35; depth = 1 \b");
20580 if (kcountHFnegativedirectionReconoise1 == 8)
20581 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-34; depth = 1 \b");
20582 if (kcountHFnegativedirectionReconoise1 == 9)
20583 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-33; depth = 1 \b");
20584 if (kcountHFnegativedirectionReconoise1 == 10)
20585 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-32; depth = 1 \b");
20586 if (kcountHFnegativedirectionReconoise1 == 11)
20587 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-31; depth = 1 \b");
20588 if (kcountHFnegativedirectionReconoise1 == 12)
20589 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-30; depth = 1 \b");
20590 if (kcountHFnegativedirectionReconoise1 == 13)
20591 HFnegativedirectionReconoise1->SetXTitle(
"R for HF- jeta =-29; depth = 1 \b");
20592 HFnegativedirectionReconoise1->Draw(
"Error");
20593 kcountHFnegativedirectionReconoise1++;
20594 if (kcountHFnegativedirectionReconoise1 > 13)
20603 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
20606 if (h2CeffHFnegativedirectionReconoise1)
20607 delete h2CeffHFnegativedirectionReconoise1;
20615 c3x5->Divide(3, 5);
20617 int kcountHFnegativedirectionReconoise2 = 1;
20618 TH1F *h2CeffHFnegativedirectionReconoise2 =
new TH1F(
"h2CeffHFnegativedirectionReconoise2",
"",
nphi, 0., 72.);
20621 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
20624 for (
int i = 1;
i < 2;
i++) {
20625 TH1F *HFnegativedirectionReconoise2 = (TH1F *)h2CeffHFnegativedirectionReconoise2->Clone(
"twod1");
20627 for (
int jphi = 0; jphi <
nphi; jphi++) {
20628 double ccc1 = areconoiseHF[
i][
jeta][jphi];
20630 HFnegativedirectionReconoise2->Fill(jphi, ccc1);
20634 if (ccctest > 0.) {
20636 c3x5->cd(kcountHFnegativedirectionReconoise2);
20637 HFnegativedirectionReconoise2->SetMarkerStyle(20);
20638 HFnegativedirectionReconoise2->SetMarkerSize(0.4);
20639 HFnegativedirectionReconoise2->GetYaxis()->SetLabelSize(0.04);
20640 HFnegativedirectionReconoise2->SetXTitle(
"HFnegativedirectionReconoise2 \b");
20641 HFnegativedirectionReconoise2->SetMarkerColor(2);
20642 HFnegativedirectionReconoise2->SetLineColor(0);
20646 if (kcountHFnegativedirectionReconoise2 == 1)
20647 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-41; depth = 2 \b");
20648 if (kcountHFnegativedirectionReconoise2 == 2)
20649 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-40; depth = 2 \b");
20650 if (kcountHFnegativedirectionReconoise2 == 3)
20651 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-39; depth = 2 \b");
20652 if (kcountHFnegativedirectionReconoise2 == 4)
20653 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-38; depth = 2 \b");
20654 if (kcountHFnegativedirectionReconoise2 == 5)
20655 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-37; depth = 2 \b");
20656 if (kcountHFnegativedirectionReconoise2 == 6)
20657 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-36; depth = 2 \b");
20658 if (kcountHFnegativedirectionReconoise2 == 7)
20659 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-35; depth = 2 \b");
20660 if (kcountHFnegativedirectionReconoise2 == 8)
20661 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-34; depth = 2 \b");
20662 if (kcountHFnegativedirectionReconoise2 == 9)
20663 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-33; depth = 2 \b");
20664 if (kcountHFnegativedirectionReconoise2 == 10)
20665 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-32; depth = 2 \b");
20666 if (kcountHFnegativedirectionReconoise2 == 11)
20667 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-31; depth = 2 \b");
20668 if (kcountHFnegativedirectionReconoise2 == 12)
20669 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-30; depth = 2 \b");
20670 if (kcountHFnegativedirectionReconoise2 == 13)
20671 HFnegativedirectionReconoise2->SetXTitle(
"R for HF- jeta =-20; depth = 2 \b");
20672 HFnegativedirectionReconoise2->Draw(
"Error");
20673 kcountHFnegativedirectionReconoise2++;
20674 if (kcountHFnegativedirectionReconoise2 > 13)
20683 c3x5->Print(
"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
20686 if (h2CeffHFnegativedirectionReconoise2)
20687 delete h2CeffHFnegativedirectionReconoise2;
20697 c2x1->Divide(2, 1);
20699 TH2F *GefzDIFreconoiseHF42D =
new TH2F(
"GefzDIFreconoiseHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
20700 TH2F *GefzDIFreconoiseHF42D0 =
new TH2F(
"GefzDIFreconoiseHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
20701 TH2F *GefzDIFreconoiseHF42DF = (TH2F *)GefzDIFreconoiseHF42D0->Clone(
"GefzDIFreconoiseHF42DF");
20704 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
20705 for (
int jphi = 0; jphi <
nphi; jphi++) {
20706 double ccc1 = breconoiseHF[
i][
jeta][jphi];
20707 int k2plot =
jeta - 41;
20710 GefzDIFreconoiseHF42D->Fill(kkk, jphi, ccc1);
20711 GefzDIFreconoiseHF42D0->Fill(kkk, jphi, 1.);
20717 GefzDIFreconoiseHF42DF->Divide(GefzDIFreconoiseHF42D, GefzDIFreconoiseHF42D0, 1, 1,
"B");
20720 GefzDIFreconoiseHF42DF->SetXTitle(
"<DIF>_depth #eta \b");
20721 GefzDIFreconoiseHF42DF->SetYTitle(
" #phi \b");
20722 GefzDIFreconoiseHF42DF->Draw(
"COLZ");
20730 c2x1->Print(
"DIFreconoiseGeneralD2PhiSymmetryHF.png");
20733 if (GefzDIFreconoiseHF42D)
20734 delete GefzDIFreconoiseHF42D;
20735 if (GefzDIFreconoiseHF42D0)
20736 delete GefzDIFreconoiseHF42D0;
20737 if (GefzDIFreconoiseHF42DF)
20738 delete GefzDIFreconoiseHF42DF;
20744 c1x1->Divide(1, 1);
20746 TH1F *GefzDIFreconoiseHF41D =
new TH1F(
"GefzDIFreconoiseHF41D",
"",
nphi, 0., 72.);
20747 TH1F *GefzDIFreconoiseHF41D0 =
new TH1F(
"GefzDIFreconoiseHF41D0",
"",
nphi, 0., 72.);
20748 TH1F *GefzDIFreconoiseHF41DF = (TH1F *)GefzDIFreconoiseHF41D0->Clone(
"GefzDIFreconoiseHF41DF");
20749 for (
int jphi = 0; jphi <
nphi; jphi++) {
20751 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
20753 double ccc1 = breconoiseHF[
i][
jeta][jphi];
20755 GefzDIFreconoiseHF41D->Fill(jphi, ccc1);
20756 GefzDIFreconoiseHF41D0->Fill(jphi, 1.);
20762 GefzDIFreconoiseHF41DF->Divide(
20763 GefzDIFreconoiseHF41D, GefzDIFreconoiseHF41D0, 1, 1,
"B");
20764 GefzDIFreconoiseHF41D0->Sumw2();
20768 GefzDIFreconoiseHF41DF->SetMarkerStyle(20);
20769 GefzDIFreconoiseHF41DF->SetMarkerSize(1.4);
20770 GefzDIFreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08);
20771 GefzDIFreconoiseHF41DF->SetXTitle(
"#phi \b");
20772 GefzDIFreconoiseHF41DF->SetYTitle(
" <DIF> \b");
20773 GefzDIFreconoiseHF41DF->SetZTitle(
"<DIF>_PHI - AllDepthfs \b");
20774 GefzDIFreconoiseHF41DF->SetMarkerColor(4);
20775 GefzDIFreconoiseHF41DF->SetLineColor(
20777 GefzDIFreconoiseHF41DF->Draw(
"Error");
20780 c1x1->Print(
"DIFreconoiseGeneralD1PhiSymmetryHF.png");
20783 if (GefzDIFreconoiseHF41D)
20784 delete GefzDIFreconoiseHF41D;
20785 if (GefzDIFreconoiseHF41D0)
20786 delete GefzDIFreconoiseHF41D0;
20787 if (GefzDIFreconoiseHF41DF)
20788 delete GefzDIFreconoiseHF41DF;
20795 c3x5->Divide(3, 5);
20797 int kcountHFpositivedirectionReconoiseDIF1 = 1;
20798 TH1F *h2CeffHFpositivedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHFpositivedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
20801 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
20804 for (
int i = 0;
i < 1;
i++) {
20805 TH1F *HFpositivedirectionReconoiseDIF1 = (TH1F *)h2CeffHFpositivedirectionReconoiseDIF1->Clone(
"twod1");
20807 for (
int jphi = 0; jphi <
nphi; jphi++) {
20808 double ccc1 = breconoiseHF[
i][
jeta][jphi];
20810 HFpositivedirectionReconoiseDIF1->Fill(jphi, ccc1);
20814 if (ccctest > 0.) {
20816 c3x5->cd(kcountHFpositivedirectionReconoiseDIF1);
20817 HFpositivedirectionReconoiseDIF1->SetMarkerStyle(20);
20818 HFpositivedirectionReconoiseDIF1->SetMarkerSize(0.4);
20819 HFpositivedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
20820 HFpositivedirectionReconoiseDIF1->SetXTitle(
"HFpositivedirectionReconoiseDIF1 \b");
20821 HFpositivedirectionReconoiseDIF1->SetMarkerColor(2);
20822 HFpositivedirectionReconoiseDIF1->SetLineColor(0);
20826 if (kcountHFpositivedirectionReconoiseDIF1 == 1)
20827 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 28; depth = 1 \b");
20828 if (kcountHFpositivedirectionReconoiseDIF1 == 2)
20829 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 29; depth = 1 \b");
20830 if (kcountHFpositivedirectionReconoiseDIF1 == 3)
20831 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 30; depth = 1 \b");
20832 if (kcountHFpositivedirectionReconoiseDIF1 == 4)
20833 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 31; depth = 1 \b");
20834 if (kcountHFpositivedirectionReconoiseDIF1 == 5)
20835 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 32; depth = 1 \b");
20836 if (kcountHFpositivedirectionReconoiseDIF1 == 6)
20837 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 33; depth = 1 \b");
20838 if (kcountHFpositivedirectionReconoiseDIF1 == 7)
20839 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 34; depth = 1 \b");
20840 if (kcountHFpositivedirectionReconoiseDIF1 == 8)
20841 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 35; depth = 1 \b");
20842 if (kcountHFpositivedirectionReconoiseDIF1 == 9)
20843 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 36; depth = 1 \b");
20844 if (kcountHFpositivedirectionReconoiseDIF1 == 10)
20845 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 37; depth = 1 \b");
20846 if (kcountHFpositivedirectionReconoiseDIF1 == 11)
20847 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 38; depth = 1 \b");
20848 if (kcountHFpositivedirectionReconoiseDIF1 == 12)
20849 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 39; depth = 1 \b");
20850 if (kcountHFpositivedirectionReconoiseDIF1 == 13)
20851 HFpositivedirectionReconoiseDIF1->SetXTitle(
"DIF for HF+ jeta = 40; depth = 1 \b");
20852 HFpositivedirectionReconoiseDIF1->Draw(
"Error");
20853 kcountHFpositivedirectionReconoiseDIF1++;
20854 if (kcountHFpositivedirectionReconoiseDIF1 > 13)
20863 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png");
20866 if (h2CeffHFpositivedirectionReconoiseDIF1)
20867 delete h2CeffHFpositivedirectionReconoiseDIF1;
20875 c3x5->Divide(3, 5);
20877 int kcountHFpositivedirectionReconoiseDIF2 = 1;
20878 TH1F *h2CeffHFpositivedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHFpositivedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
20881 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
20884 for (
int i = 1;
i < 2;
i++) {
20885 TH1F *HFpositivedirectionReconoiseDIF2 = (TH1F *)h2CeffHFpositivedirectionReconoiseDIF2->Clone(
"twod1");
20887 for (
int jphi = 0; jphi <
nphi; jphi++) {
20888 double ccc1 = breconoiseHF[
i][
jeta][jphi];
20890 HFpositivedirectionReconoiseDIF2->Fill(jphi, ccc1);
20894 if (ccctest > 0.) {
20896 c3x5->cd(kcountHFpositivedirectionReconoiseDIF2);
20897 HFpositivedirectionReconoiseDIF2->SetMarkerStyle(20);
20898 HFpositivedirectionReconoiseDIF2->SetMarkerSize(0.4);
20899 HFpositivedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
20900 HFpositivedirectionReconoiseDIF2->SetXTitle(
"HFpositivedirectionReconoiseDIF2 \b");
20901 HFpositivedirectionReconoiseDIF2->SetMarkerColor(2);
20902 HFpositivedirectionReconoiseDIF2->SetLineColor(0);
20906 if (kcountHFpositivedirectionReconoiseDIF2 == 1)
20907 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 28; depth = 2 \b");
20908 if (kcountHFpositivedirectionReconoiseDIF2 == 2)
20909 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 29; depth = 2 \b");
20910 if (kcountHFpositivedirectionReconoiseDIF2 == 3)
20911 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 30; depth = 2 \b");
20912 if (kcountHFpositivedirectionReconoiseDIF2 == 4)
20913 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 31; depth = 2 \b");
20914 if (kcountHFpositivedirectionReconoiseDIF2 == 5)
20915 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 32; depth = 2 \b");
20916 if (kcountHFpositivedirectionReconoiseDIF2 == 6)
20917 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 33; depth = 2 \b");
20918 if (kcountHFpositivedirectionReconoiseDIF2 == 7)
20919 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 34; depth = 2 \b");
20920 if (kcountHFpositivedirectionReconoiseDIF2 == 8)
20921 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 35; depth = 2 \b");
20922 if (kcountHFpositivedirectionReconoiseDIF2 == 9)
20923 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 36; depth = 2 \b");
20924 if (kcountHFpositivedirectionReconoiseDIF2 == 10)
20925 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 37; depth = 2 \b");
20926 if (kcountHFpositivedirectionReconoiseDIF2 == 11)
20927 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 38; depth = 2 \b");
20928 if (kcountHFpositivedirectionReconoiseDIF2 == 12)
20929 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 39; depth = 2 \b");
20930 if (kcountHFpositivedirectionReconoiseDIF2 == 13)
20931 HFpositivedirectionReconoiseDIF2->SetXTitle(
"DIF for HF+ jeta = 40; depth = 2 \b");
20932 HFpositivedirectionReconoiseDIF2->Draw(
"Error");
20933 kcountHFpositivedirectionReconoiseDIF2++;
20934 if (kcountHFpositivedirectionReconoiseDIF2 > 13)
20943 c3x5->Print(
"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png");
20946 if (h2CeffHFpositivedirectionReconoiseDIF2)
20947 delete h2CeffHFpositivedirectionReconoiseDIF2;
20955 c3x5->Divide(3, 5);
20957 int kcountHFnegativedirectionReconoiseDIF1 = 1;
20958 TH1F *h2CeffHFnegativedirectionReconoiseDIF1 =
new TH1F(
"h2CeffHFnegativedirectionReconoiseDIF1",
"",
nphi, 0., 72.);
20961 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
20964 for (
int i = 0;
i < 1;
i++) {
20965 TH1F *HFnegativedirectionReconoiseDIF1 = (TH1F *)h2CeffHFnegativedirectionReconoiseDIF1->Clone(
"twod1");
20967 for (
int jphi = 0; jphi <
nphi; jphi++) {
20968 double ccc1 = breconoiseHF[
i][
jeta][jphi];
20970 HFnegativedirectionReconoiseDIF1->Fill(jphi, ccc1);
20974 if (ccctest > 0.) {
20976 c3x5->cd(kcountHFnegativedirectionReconoiseDIF1);
20977 HFnegativedirectionReconoiseDIF1->SetMarkerStyle(20);
20978 HFnegativedirectionReconoiseDIF1->SetMarkerSize(0.4);
20979 HFnegativedirectionReconoiseDIF1->GetYaxis()->SetLabelSize(0.04);
20980 HFnegativedirectionReconoiseDIF1->SetXTitle(
"HFnegativedirectionReconoiseDIF1 \b");
20981 HFnegativedirectionReconoiseDIF1->SetMarkerColor(2);
20982 HFnegativedirectionReconoiseDIF1->SetLineColor(0);
20986 if (kcountHFnegativedirectionReconoiseDIF1 == 1)
20987 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-41; depth = 1 \b");
20988 if (kcountHFnegativedirectionReconoiseDIF1 == 2)
20989 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-40; depth = 1 \b");
20990 if (kcountHFnegativedirectionReconoiseDIF1 == 3)
20991 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-39; depth = 1 \b");
20992 if (kcountHFnegativedirectionReconoiseDIF1 == 4)
20993 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-38; depth = 1 \b");
20994 if (kcountHFnegativedirectionReconoiseDIF1 == 5)
20995 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-37; depth = 1 \b");
20996 if (kcountHFnegativedirectionReconoiseDIF1 == 6)
20997 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-36; depth = 1 \b");
20998 if (kcountHFnegativedirectionReconoiseDIF1 == 7)
20999 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-35; depth = 1 \b");
21000 if (kcountHFnegativedirectionReconoiseDIF1 == 8)
21001 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-34; depth = 1 \b");
21002 if (kcountHFnegativedirectionReconoiseDIF1 == 9)
21003 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-33; depth = 1 \b");
21004 if (kcountHFnegativedirectionReconoiseDIF1 == 10)
21005 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-32; depth = 1 \b");
21006 if (kcountHFnegativedirectionReconoiseDIF1 == 11)
21007 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-31; depth = 1 \b");
21008 if (kcountHFnegativedirectionReconoiseDIF1 == 12)
21009 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-30; depth = 1 \b");
21010 if (kcountHFnegativedirectionReconoiseDIF1 == 13)
21011 HFnegativedirectionReconoiseDIF1->SetXTitle(
"DIF for HF- jeta =-29; depth = 1 \b");
21012 HFnegativedirectionReconoiseDIF1->Draw(
"Error");
21013 kcountHFnegativedirectionReconoiseDIF1++;
21014 if (kcountHFnegativedirectionReconoiseDIF1 > 13)
21023 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
21026 if (h2CeffHFnegativedirectionReconoiseDIF1)
21027 delete h2CeffHFnegativedirectionReconoiseDIF1;
21035 c3x5->Divide(3, 5);
21037 int kcountHFnegativedirectionReconoiseDIF2 = 1;
21038 TH1F *h2CeffHFnegativedirectionReconoiseDIF2 =
new TH1F(
"h2CeffHFnegativedirectionReconoiseDIF2",
"",
nphi, 0., 72.);
21041 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
21044 for (
int i = 1;
i < 2;
i++) {
21045 TH1F *HFnegativedirectionReconoiseDIF2 = (TH1F *)h2CeffHFnegativedirectionReconoiseDIF2->Clone(
"twod1");
21047 for (
int jphi = 0; jphi <
nphi; jphi++) {
21048 double ccc1 = breconoiseHF[
i][
jeta][jphi];
21050 HFnegativedirectionReconoiseDIF2->Fill(jphi, ccc1);
21054 if (ccctest > 0.) {
21056 c3x5->cd(kcountHFnegativedirectionReconoiseDIF2);
21057 HFnegativedirectionReconoiseDIF2->SetMarkerStyle(20);
21058 HFnegativedirectionReconoiseDIF2->SetMarkerSize(0.4);
21059 HFnegativedirectionReconoiseDIF2->GetYaxis()->SetLabelSize(0.04);
21060 HFnegativedirectionReconoiseDIF2->SetXTitle(
"HFnegativedirectionReconoiseDIF2 \b");
21061 HFnegativedirectionReconoiseDIF2->SetMarkerColor(2);
21062 HFnegativedirectionReconoiseDIF2->SetLineColor(0);
21066 if (kcountHFnegativedirectionReconoiseDIF2 == 1)
21067 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-41; depth = 2 \b");
21068 if (kcountHFnegativedirectionReconoiseDIF2 == 2)
21069 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-40; depth = 2 \b");
21070 if (kcountHFnegativedirectionReconoiseDIF2 == 3)
21071 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-39; depth = 2 \b");
21072 if (kcountHFnegativedirectionReconoiseDIF2 == 4)
21073 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-38; depth = 2 \b");
21074 if (kcountHFnegativedirectionReconoiseDIF2 == 5)
21075 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-37; depth = 2 \b");
21076 if (kcountHFnegativedirectionReconoiseDIF2 == 6)
21077 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-36; depth = 2 \b");
21078 if (kcountHFnegativedirectionReconoiseDIF2 == 7)
21079 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-35; depth = 2 \b");
21080 if (kcountHFnegativedirectionReconoiseDIF2 == 8)
21081 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-34; depth = 2 \b");
21082 if (kcountHFnegativedirectionReconoiseDIF2 == 9)
21083 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-33; depth = 2 \b");
21084 if (kcountHFnegativedirectionReconoiseDIF2 == 10)
21085 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-32; depth = 2 \b");
21086 if (kcountHFnegativedirectionReconoiseDIF2 == 11)
21087 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-31; depth = 2 \b");
21088 if (kcountHFnegativedirectionReconoiseDIF2 == 12)
21089 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-30; depth = 2 \b");
21090 if (kcountHFnegativedirectionReconoiseDIF2 == 13)
21091 HFnegativedirectionReconoiseDIF2->SetXTitle(
"DIF for HF- jeta =-20; depth = 2 \b");
21092 HFnegativedirectionReconoiseDIF2->Draw(
"Error");
21093 kcountHFnegativedirectionReconoiseDIF2++;
21094 if (kcountHFnegativedirectionReconoiseDIF2 > 13)
21103 c3x5->Print(
"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
21106 if (h2CeffHFnegativedirectionReconoiseDIF2)
21107 delete h2CeffHFnegativedirectionReconoiseDIF2;
21119 TH2F *reconoiseVariance1HF1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HF1");
21120 TH2F *reconoiseVariance0HF1 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HF1");
21121 TH2F *reconoiseVarianceHF1 = (TH2F *)reconoiseVariance1HF1->Clone(
"reconoiseVarianceHF1");
21122 reconoiseVarianceHF1->Divide(reconoiseVariance1HF1, reconoiseVariance0HF1, 1, 1,
"B");
21123 TH2F *reconoiseVariance1HF2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy2_HF2");
21124 TH2F *reconoiseVariance0HF2 = (TH2F *)
dir->FindObjectAny(
"h_recNoiseEnergy0_HF2");
21125 TH2F *reconoiseVarianceHF2 = (TH2F *)reconoiseVariance1HF2->Clone(
"reconoiseVarianceHF2");
21126 reconoiseVarianceHF2->Divide(reconoiseVariance1HF2, reconoiseVariance0HF2, 1, 1,
"B");
21131 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
21133 double sumreconoiseHF0 = 0;
21134 int nsumreconoiseHF0 = 0;
21135 double sumreconoiseHF1 = 0;
21136 int nsumreconoiseHF1 = 0;
21137 for (
int jphi = 0; jphi < njphi; jphi++) {
21138 reconoisevarianceHF[0][
jeta][jphi] = reconoiseVarianceHF1->GetBinContent(
jeta + 1, jphi + 1);
21139 reconoisevarianceHF[1][
jeta][jphi] = reconoiseVarianceHF2->GetBinContent(
jeta + 1, jphi + 1);
21140 sumreconoiseHF0 += reconoisevarianceHF[0][
jeta][jphi];
21141 ++nsumreconoiseHF0;
21142 sumreconoiseHF1 += reconoisevarianceHF[1][
jeta][jphi];
21143 ++nsumreconoiseHF1;
21146 for (
int jphi = 0; jphi < njphi; jphi++) {
21147 if (reconoisevarianceHF[0][
jeta][jphi] != 0.)
21148 reconoisevarianceHF[0][
jeta][jphi] /= (sumreconoiseHF0 / nsumreconoiseHF0);
21149 if (reconoisevarianceHF[1][
jeta][jphi] != 0.)
21150 reconoisevarianceHF[1][
jeta][jphi] /= (sumreconoiseHF1 / nsumreconoiseHF1);
21153 for (
int jphi = 0; jphi < njphi; jphi++) {
21155 reconoisevarianceHF[0][
jeta][jphi] -= areconoiseHF[0][
jeta][jphi] * areconoiseHF[0][
jeta][jphi];
21156 reconoisevarianceHF[0][
jeta][jphi] = fabs(reconoisevarianceHF[0][
jeta][jphi]);
21157 reconoisevarianceHF[1][
jeta][jphi] -= areconoiseHF[1][
jeta][jphi] * areconoiseHF[1][
jeta][jphi];
21158 reconoisevarianceHF[1][
jeta][jphi] = fabs(reconoisevarianceHF[1][
jeta][jphi]);
21169 c1x0->Divide(1, 1);
21171 TH2F *DefzDreconoiseHF42D =
new TH2F(
"DefzDreconoiseHF42D",
"",
neta, -41., 41.,
nphi, 0., 72.);
21172 TH2F *DefzDreconoiseHF42D0 =
new TH2F(
"DefzDreconoiseHF42D0",
"",
neta, -41., 41.,
nphi, 0., 72.);
21173 TH2F *DefzDreconoiseHF42DF = (TH2F *)DefzDreconoiseHF42D0->Clone(
"DefzDreconoiseHF42DF");
21176 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
21177 for (
int jphi = 0; jphi <
nphi; jphi++) {
21178 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21179 int k2plot =
jeta - 41;
21181 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21182 DefzDreconoiseHF42D->Fill(kkk, jphi, ccc1);
21183 DefzDreconoiseHF42D0->Fill(kkk, jphi, 1.);
21189 DefzDreconoiseHF42DF->Divide(DefzDreconoiseHF42D, DefzDreconoiseHF42D0, 1, 1,
"B");
21193 DefzDreconoiseHF42DF->SetMarkerStyle(20);
21194 DefzDreconoiseHF42DF->SetMarkerSize(0.4);
21195 DefzDreconoiseHF42DF->GetZaxis()->SetLabelSize(0.08);
21196 DefzDreconoiseHF42DF->SetXTitle(
"<D>_depth #eta \b");
21197 DefzDreconoiseHF42DF->SetYTitle(
" #phi \b");
21198 DefzDreconoiseHF42DF->SetZTitle(
"<D>_depth \b");
21199 DefzDreconoiseHF42DF->SetMarkerColor(2);
21200 DefzDreconoiseHF42DF->SetLineColor(
21202 DefzDreconoiseHF42DF->Draw(
"COLZ");
21205 c1x0->Print(
"DreconoiseGeneralD2PhiSymmetryHF.png");
21208 if (DefzDreconoiseHF42D)
21209 delete DefzDreconoiseHF42D;
21210 if (DefzDreconoiseHF42D0)
21211 delete DefzDreconoiseHF42D0;
21212 if (DefzDreconoiseHF42DF)
21213 delete DefzDreconoiseHF42DF;
21219 c1x1->Divide(1, 1);
21221 TH1F *DefzDreconoiseHF41D =
new TH1F(
"DefzDreconoiseHF41D",
"",
nphi, 0., 72.);
21222 TH1F *DefzDreconoiseHF41D0 =
new TH1F(
"DefzDreconoiseHF41D0",
"",
nphi, 0., 72.);
21223 TH1F *DefzDreconoiseHF41DF = (TH1F *)DefzDreconoiseHF41D0->Clone(
"DefzDreconoiseHF41DF");
21225 for (
int jphi = 0; jphi <
nphi; jphi++) {
21227 if ((
jeta - 41 >= -41 &&
jeta - 41 <= -29) || (
jeta - 41 >= 28 &&
jeta - 41 <= 40)) {
21229 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21230 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21231 DefzDreconoiseHF41D->Fill(jphi, ccc1);
21232 DefzDreconoiseHF41D0->Fill(jphi, 1.);
21240 DefzDreconoiseHF41DF->Divide(DefzDreconoiseHF41D, DefzDreconoiseHF41D0, 1, 1,
"B");
21241 DefzDreconoiseHF41D0->Sumw2();
21245 DefzDreconoiseHF41DF->SetMarkerStyle(20);
21246 DefzDreconoiseHF41DF->SetMarkerSize(1.4);
21247 DefzDreconoiseHF41DF->GetZaxis()->SetLabelSize(0.08);
21248 DefzDreconoiseHF41DF->SetXTitle(
"#phi \b");
21249 DefzDreconoiseHF41DF->SetYTitle(
" <D> \b");
21250 DefzDreconoiseHF41DF->SetZTitle(
"<D>_PHI - AllDepthfs \b");
21251 DefzDreconoiseHF41DF->SetMarkerColor(4);
21252 DefzDreconoiseHF41DF->SetLineColor(
21254 DefzDreconoiseHF41DF->Draw(
"Error");
21257 c1x1->Print(
"DreconoiseGeneralD1PhiSymmetryHF.png");
21260 if (DefzDreconoiseHF41D)
21261 delete DefzDreconoiseHF41D;
21262 if (DefzDreconoiseHF41D0)
21263 delete DefzDreconoiseHF41D0;
21264 if (DefzDreconoiseHF41DF)
21265 delete DefzDreconoiseHF41DF;
21272 c3x5->Divide(3, 5);
21274 int kcountHFpositivedirectionReconoiseD1 = 1;
21275 TH1F *h2CeffHFpositivedirectionReconoiseD1 =
new TH1F(
"h2CeffHFpositivedirectionReconoiseD1",
"",
nphi, 0., 72.);
21279 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
21282 for (
int i = 0;
i < 1;
i++) {
21283 TH1F *HFpositivedirectionReconoiseD1 = (TH1F *)h2CeffHFpositivedirectionReconoiseD1->Clone(
"twod1");
21286 for (
int jphi = 0; jphi <
nphi; jphi++) {
21287 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21288 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21289 HFpositivedirectionReconoiseD1->Fill(jphi, ccc1);
21293 if (ccctest > 0.) {
21295 c3x5->cd(kcountHFpositivedirectionReconoiseD1);
21296 HFpositivedirectionReconoiseD1->SetMarkerStyle(20);
21297 HFpositivedirectionReconoiseD1->SetMarkerSize(0.4);
21298 HFpositivedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
21299 HFpositivedirectionReconoiseD1->SetXTitle(
"HFpositivedirectionReconoiseD1 \b");
21300 HFpositivedirectionReconoiseD1->SetMarkerColor(2);
21301 HFpositivedirectionReconoiseD1->SetLineColor(0);
21305 if (kcountHFpositivedirectionReconoiseD1 == 1)
21306 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 28; depth = 1 \b");
21307 if (kcountHFpositivedirectionReconoiseD1 == 2)
21308 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 29; depth = 1 \b");
21309 if (kcountHFpositivedirectionReconoiseD1 == 3)
21310 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 30; depth = 1 \b");
21311 if (kcountHFpositivedirectionReconoiseD1 == 4)
21312 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 31; depth = 1 \b");
21313 if (kcountHFpositivedirectionReconoiseD1 == 5)
21314 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 32; depth = 1 \b");
21315 if (kcountHFpositivedirectionReconoiseD1 == 6)
21316 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 33; depth = 1 \b");
21317 if (kcountHFpositivedirectionReconoiseD1 == 7)
21318 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 34; depth = 1 \b");
21319 if (kcountHFpositivedirectionReconoiseD1 == 8)
21320 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 35; depth = 1 \b");
21321 if (kcountHFpositivedirectionReconoiseD1 == 9)
21322 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 36; depth = 1 \b");
21323 if (kcountHFpositivedirectionReconoiseD1 == 10)
21324 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 37; depth = 1 \b");
21325 if (kcountHFpositivedirectionReconoiseD1 == 11)
21326 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 38; depth = 1 \b");
21327 if (kcountHFpositivedirectionReconoiseD1 == 12)
21328 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 39; depth = 1 \b");
21329 if (kcountHFpositivedirectionReconoiseD1 == 13)
21330 HFpositivedirectionReconoiseD1->SetXTitle(
"D for HF+ jeta = 40; depth = 1 \b");
21331 HFpositivedirectionReconoiseD1->Draw(
"Error");
21332 kcountHFpositivedirectionReconoiseD1++;
21333 if (kcountHFpositivedirectionReconoiseD1 > 13)
21342 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png");
21345 if (h2CeffHFpositivedirectionReconoiseD1)
21346 delete h2CeffHFpositivedirectionReconoiseD1;
21352 c3x5->Divide(3, 5);
21354 int kcountHFpositivedirectionReconoiseD2 = 1;
21355 TH1F *h2CeffHFpositivedirectionReconoiseD2 =
new TH1F(
"h2CeffHFpositivedirectionReconoiseD2",
"",
nphi, 0., 72.);
21359 if (
jeta - 41 >= 28 &&
jeta - 41 <= 40) {
21362 for (
int i = 1;
i < 2;
i++) {
21363 TH1F *HFpositivedirectionReconoiseD2 = (TH1F *)h2CeffHFpositivedirectionReconoiseD2->Clone(
"twod1");
21366 for (
int jphi = 0; jphi <
nphi; jphi++) {
21367 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21368 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21369 HFpositivedirectionReconoiseD2->Fill(jphi, ccc1);
21373 if (ccctest > 0.) {
21375 c3x5->cd(kcountHFpositivedirectionReconoiseD2);
21376 HFpositivedirectionReconoiseD2->SetMarkerStyle(20);
21377 HFpositivedirectionReconoiseD2->SetMarkerSize(0.4);
21378 HFpositivedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
21379 HFpositivedirectionReconoiseD2->SetXTitle(
"HFpositivedirectionReconoiseD2 \b");
21380 HFpositivedirectionReconoiseD2->SetMarkerColor(2);
21381 HFpositivedirectionReconoiseD2->SetLineColor(0);
21385 if (kcountHFpositivedirectionReconoiseD2 == 1)
21386 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 28; depth = 2 \b");
21387 if (kcountHFpositivedirectionReconoiseD2 == 2)
21388 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 29; depth = 2 \b");
21389 if (kcountHFpositivedirectionReconoiseD2 == 3)
21390 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 30; depth = 2 \b");
21391 if (kcountHFpositivedirectionReconoiseD2 == 4)
21392 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 31; depth = 2 \b");
21393 if (kcountHFpositivedirectionReconoiseD2 == 5)
21394 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 32; depth = 2 \b");
21395 if (kcountHFpositivedirectionReconoiseD2 == 6)
21396 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 33; depth = 2 \b");
21397 if (kcountHFpositivedirectionReconoiseD2 == 7)
21398 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 34; depth = 2 \b");
21399 if (kcountHFpositivedirectionReconoiseD2 == 8)
21400 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 35; depth = 2 \b");
21401 if (kcountHFpositivedirectionReconoiseD2 == 9)
21402 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 36; depth = 2 \b");
21403 if (kcountHFpositivedirectionReconoiseD2 == 10)
21404 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 37; depth = 2 \b");
21405 if (kcountHFpositivedirectionReconoiseD2 == 11)
21406 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 38; depth = 2 \b");
21407 if (kcountHFpositivedirectionReconoiseD2 == 12)
21408 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 39; depth = 2 \b");
21409 if (kcountHFpositivedirectionReconoiseD2 == 13)
21410 HFpositivedirectionReconoiseD2->SetXTitle(
"D for HF+ jeta = 40; depth = 2 \b");
21411 HFpositivedirectionReconoiseD2->Draw(
"Error");
21412 kcountHFpositivedirectionReconoiseD2++;
21413 if (kcountHFpositivedirectionReconoiseD2 > 13)
21422 c3x5->Print(
"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png");
21425 if (h2CeffHFpositivedirectionReconoiseD2)
21426 delete h2CeffHFpositivedirectionReconoiseD2;
21433 c3x5->Divide(3, 5);
21435 int kcountHFnegativedirectionReconoiseD1 = 1;
21436 TH1F *h2CeffHFnegativedirectionReconoiseD1 =
new TH1F(
"h2CeffHFnegativedirectionReconoiseD1",
"",
nphi, 0., 72.);
21440 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
21443 for (
int i = 0;
i < 1;
i++) {
21444 TH1F *HFnegativedirectionReconoiseD1 = (TH1F *)h2CeffHFnegativedirectionReconoiseD1->Clone(
"twod1");
21447 for (
int jphi = 0; jphi <
nphi; jphi++) {
21448 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21449 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21450 HFnegativedirectionReconoiseD1->Fill(jphi, ccc1);
21454 if (ccctest > 0.) {
21456 c3x5->cd(kcountHFnegativedirectionReconoiseD1);
21457 HFnegativedirectionReconoiseD1->SetMarkerStyle(20);
21458 HFnegativedirectionReconoiseD1->SetMarkerSize(0.4);
21459 HFnegativedirectionReconoiseD1->GetYaxis()->SetLabelSize(0.04);
21460 HFnegativedirectionReconoiseD1->SetXTitle(
"HFnegativedirectionReconoiseD1 \b");
21461 HFnegativedirectionReconoiseD1->SetMarkerColor(2);
21462 HFnegativedirectionReconoiseD1->SetLineColor(0);
21466 if (kcountHFnegativedirectionReconoiseD1 == 1)
21467 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-41; depth = 1 \b");
21468 if (kcountHFnegativedirectionReconoiseD1 == 2)
21469 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-40; depth = 1 \b");
21470 if (kcountHFnegativedirectionReconoiseD1 == 3)
21471 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-39; depth = 1 \b");
21472 if (kcountHFnegativedirectionReconoiseD1 == 4)
21473 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-38; depth = 1 \b");
21474 if (kcountHFnegativedirectionReconoiseD1 == 5)
21475 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-37; depth = 1 \b");
21476 if (kcountHFnegativedirectionReconoiseD1 == 6)
21477 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-36; depth = 1 \b");
21478 if (kcountHFnegativedirectionReconoiseD1 == 7)
21479 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-35; depth = 1 \b");
21480 if (kcountHFnegativedirectionReconoiseD1 == 8)
21481 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-34; depth = 1 \b");
21482 if (kcountHFnegativedirectionReconoiseD1 == 9)
21483 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-33; depth = 1 \b");
21484 if (kcountHFnegativedirectionReconoiseD1 == 10)
21485 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-32; depth = 1 \b");
21486 if (kcountHFnegativedirectionReconoiseD1 == 11)
21487 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-31; depth = 1 \b");
21488 if (kcountHFnegativedirectionReconoiseD1 == 12)
21489 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-30; depth = 1 \b");
21490 if (kcountHFnegativedirectionReconoiseD1 == 13)
21491 HFnegativedirectionReconoiseD1->SetXTitle(
"D for HF- jeta =-29; depth = 1 \b");
21492 HFnegativedirectionReconoiseD1->Draw(
"Error");
21493 kcountHFnegativedirectionReconoiseD1++;
21494 if (kcountHFnegativedirectionReconoiseD1 > 13)
21503 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png");
21506 if (h2CeffHFnegativedirectionReconoiseD1)
21507 delete h2CeffHFnegativedirectionReconoiseD1;
21513 c3x5->Divide(3, 5);
21515 int kcountHFnegativedirectionReconoiseD2 = 1;
21516 TH1F *h2CeffHFnegativedirectionReconoiseD2 =
new TH1F(
"h2CeffHFnegativedirectionReconoiseD2",
"",
nphi, 0., 72.);
21520 if (
jeta - 41 >= -41 &&
jeta - 41 <= -29) {
21523 for (
int i = 1;
i < 2;
i++) {
21524 TH1F *HFnegativedirectionReconoiseD2 = (TH1F *)h2CeffHFnegativedirectionReconoiseD2->Clone(
"twod1");
21527 for (
int jphi = 0; jphi <
nphi; jphi++) {
21528 double ccc1 = reconoisevarianceHF[
i][
jeta][jphi];
21529 if (areconoiseHF[
i][
jeta][jphi] > 0.) {
21530 HFnegativedirectionReconoiseD2->Fill(jphi, ccc1);
21534 if (ccctest > 0.) {
21536 c3x5->cd(kcountHFnegativedirectionReconoiseD2);
21537 HFnegativedirectionReconoiseD2->SetMarkerStyle(20);
21538 HFnegativedirectionReconoiseD2->SetMarkerSize(0.4);
21539 HFnegativedirectionReconoiseD2->GetYaxis()->SetLabelSize(0.04);
21540 HFnegativedirectionReconoiseD2->SetXTitle(
"HFnegativedirectionReconoiseD2 \b");
21541 HFnegativedirectionReconoiseD2->SetMarkerColor(2);
21542 HFnegativedirectionReconoiseD2->SetLineColor(0);
21546 if (kcountHFnegativedirectionReconoiseD2 == 1)
21547 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-41; depth = 2 \b");
21548 if (kcountHFnegativedirectionReconoiseD2 == 2)
21549 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-40; depth = 2 \b");
21550 if (kcountHFnegativedirectionReconoiseD2 == 3)
21551 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-39; depth = 2 \b");
21552 if (kcountHFnegativedirectionReconoiseD2 == 4)
21553 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-38; depth = 2 \b");
21554 if (kcountHFnegativedirectionReconoiseD2 == 5)
21555 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-37; depth = 2 \b");
21556 if (kcountHFnegativedirectionReconoiseD2 == 6)
21557 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-36; depth = 2 \b");
21558 if (kcountHFnegativedirectionReconoiseD2 == 7)
21559 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-35; depth = 2 \b");
21560 if (kcountHFnegativedirectionReconoiseD2 == 8)
21561 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-34; depth = 2 \b");
21562 if (kcountHFnegativedirectionReconoiseD2 == 9)
21563 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-33; depth = 2 \b");
21564 if (kcountHFnegativedirectionReconoiseD2 == 10)
21565 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-32; depth = 2 \b");
21566 if (kcountHFnegativedirectionReconoiseD2 == 11)
21567 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-31; depth = 2 \b");
21568 if (kcountHFnegativedirectionReconoiseD2 == 12)
21569 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-30; depth = 2 \b");
21570 if (kcountHFnegativedirectionReconoiseD2 == 13)
21571 HFnegativedirectionReconoiseD2->SetXTitle(
"D for HF- jeta =-29; depth = 2 \b");
21572 HFnegativedirectionReconoiseD2->Draw(
"Error");
21573 kcountHFnegativedirectionReconoiseD2++;
21574 if (kcountHFnegativedirectionReconoiseD2 > 13)
21583 c3x5->Print(
"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png");
21586 if (h2CeffHFnegativedirectionReconoiseD2)
21587 delete h2CeffHFnegativedirectionReconoiseD2;
21601 std::cout <<
" We are here to print 2017 MAPs " << std::endl;
21607 TH2F *Map_ALL =
new TH2F(
"Map_All",
"Map_all", 82, -41, 40, 72, 0, 71);
21608 int nx = Map_ALL->GetXaxis()->GetNbins();
21609 int ny = Map_ALL->GetYaxis()->GetNbins();
21615 int Eta[4][10000] = {0};
21616 int Phi[4][10000] = {0};
21617 int Sub[4][10000] = {0};
21618 int Depth[4][10000] = {0};
21619 string Comment[4][10000] = {
""};
21620 string Text[33] = {
"",
"Cm",
"Am",
"Wm",
"Rm",
"TNm",
"TXm",
"",
"",
"",
"",
"Cc",
"Ac",
"Wc",
"Rc",
"TNc",
"TXc",
21621 "",
"",
"",
"",
"GS",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"Pm",
"pWm"};
21626 for (
int i = 1;
i <= nx;
i++) {
21627 for (
int j = 1;
j <= ny;
j++) {
21628 for (
int sub = 1; sub <= 4; sub++) {
21632 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
21633 if (Map_SUB[sub][
k]->GetBinContent(
i,
j) != 0) {
21634 Map_SUB[sub][
k]->SetBinContent(
i,
j, 0.5);
21635 Map_ALL->SetBinContent(
i,
j, 0.5);
21642 for (
int i = 1;
i <= nx;
i++) {
21643 for (
int j = 1;
j <= ny;
j++) {
21644 for (
int sub = 1; sub <= 4; sub++) {
21648 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
21654 if (Map_Ampl[
test][sub][
k]->GetBinContent(
i,
j) >
21656 Map_ALL->SetBinContent(
i,
j, 1.);
21657 Map_SUB[sub][
k]->SetBinContent(
i,
j, 1.);
21660 Eta[2][NBad] =
i - 41;
21661 Phi[2][NBad] =
j - 1;
21662 Sub[2][NBad] = sub;
21664 Comment[2][NBad] = Text[
test];
21666 Comment[2][NBad] +=
", " + Text[
test];
21713 if (
abs(Map_Ampl[
test][sub][
k]->GetBinContent(
i,
j)) > porog[sub]) {
21714 if (Map_SUB[sub][
k]->GetBinContent(
i,
j) != 1.0)
21715 Map_SUB[sub][
k]->SetBinContent(
i,
j, 0.75);
21716 if (Map_ALL->GetBinContent(
i,
j) != 1.) {
21717 Map_ALL->SetBinContent(
i,
j, 0.75);
21720 Eta[1][NWarn] =
i - 41;
21721 Phi[1][NWarn] =
j - 1;
21722 Sub[1][NWarn] = sub;
21724 Comment[1][NWarn] = Text[
test];
21726 Comment[1][NWarn] +=
", " + Text[
test];
21729 cout <<
"Map_Ampl[" <<
test <<
"][" << sub <<
"][" <<
k <<
"]->GetBinContent(" <<
i <<
"," <<
j 21730 <<
")= " << Map_Ampl[
test][sub][
k]->GetBinContent(
i,
j) << endl;
21737 if (Map_Ampl[
test][sub][
k]->GetBinContent(
i,
j) > 0.1) {
21742 Eta[3][NPed] =
i - 41;
21743 Phi[3][NPed] =
j - 1;
21744 Sub[3][NPed] = sub;
21746 Comment[3][NPed] = Text[
test];
21748 Comment[3][NPed] +=
", " + Text[
test];
21760 for (
int sub = 1; sub <= 4; sub++) {
21762 std::cout <<
" 2017 MAPS_SUB " << sub << std::endl;
21770 cONE->Divide(1, 1);
21777 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
21791 sprintf(
str,
"HB, Depth%d \b",
k);
21793 sprintf(
str,
"HE, Depth%d \b",
k);
21795 sprintf(
str,
"HO, Depth%d \b",
k);
21797 sprintf(
str,
"HF, Depth%d \b",
k);
21798 Map_SUB[sub][
k]->SetTitle(
str);
21799 Map_SUB[sub][
k]->SetXTitle(
"#eta \b");
21800 Map_SUB[sub][
k]->SetYTitle(
"#phi \b");
21801 Map_SUB[sub][
k]->Draw(
"COL");
21802 Map_SUB[sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
21803 Map_SUB[sub][
k]->GetZaxis()->SetRangeUser(0., 1.);
21822 cHB->Print(
"MAPHB.png");
21826 cHE->Print(
"MAPHE.png");
21830 cONE->Print(
"MAPHO.png");
21834 cHF->Print(
"MAPHF.png");
21841 TCanvas *cmain1 =
new TCanvas(
"cmain1",
"MAP", 250, 10, 1450, 1410);
21842 cmain1->Divide(2, 2);
21845 TH1F *JDBEYESJ0 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHBperEvent");
21846 JDBEYESJ0->SetStats(0);
21847 JDBEYESJ0->SetMarkerStyle(20);
21848 JDBEYESJ0->SetMarkerSize(0.8);
21849 JDBEYESJ0->GetYaxis()->SetLabelSize(0.04);
21850 JDBEYESJ0->SetXTitle(
"iEvent \b");
21851 JDBEYESJ0->SetYTitle(
"totalAmplitude perEvent \b");
21852 JDBEYESJ0->SetTitle(
"HB \b");
21853 JDBEYESJ0->SetMarkerColor(2);
21854 JDBEYESJ0->SetLineColor(1);
21855 JDBEYESJ0->SetMinimum(0.8);
21856 JDBEYESJ0->Draw(
"HIST same P0");
21859 TH1F *JDBEYESJ1 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHEperEvent");
21860 JDBEYESJ1->SetStats(0);
21861 JDBEYESJ1->SetMarkerStyle(20);
21862 JDBEYESJ1->SetMarkerSize(0.8);
21863 JDBEYESJ1->GetYaxis()->SetLabelSize(0.04);
21864 JDBEYESJ1->SetXTitle(
"iEvent \b");
21865 JDBEYESJ1->SetYTitle(
"totalAmplitude perEvent \b");
21866 JDBEYESJ1->SetTitle(
"HE \b");
21867 JDBEYESJ1->SetMarkerColor(2);
21868 JDBEYESJ1->SetLineColor(1);
21869 JDBEYESJ1->SetMinimum(0.8);
21870 JDBEYESJ1->Draw(
"HIST same P0");
21873 TH1F *JDBEYESJ2 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHFperEvent");
21874 JDBEYESJ2->SetStats(0);
21875 JDBEYESJ2->SetMarkerStyle(20);
21876 JDBEYESJ2->SetMarkerSize(0.8);
21877 JDBEYESJ2->GetYaxis()->SetLabelSize(0.04);
21878 JDBEYESJ2->SetXTitle(
"iEvent \b");
21879 JDBEYESJ2->SetYTitle(
"totalAmplitude perEvent \b");
21880 JDBEYESJ2->SetTitle(
"HF \b");
21881 JDBEYESJ2->SetMarkerColor(2);
21882 JDBEYESJ2->SetLineColor(1);
21883 JDBEYESJ2->SetMinimum(0.8);
21884 JDBEYESJ2->Draw(
"HIST same P0");
21887 TH1F *JDBEYESJ3 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHOperEvent");
21888 JDBEYESJ3->SetStats(0);
21889 JDBEYESJ3->SetMarkerStyle(20);
21890 JDBEYESJ3->SetMarkerSize(0.8);
21891 JDBEYESJ3->GetYaxis()->SetLabelSize(0.04);
21892 JDBEYESJ3->SetXTitle(
"iEvent \b");
21893 JDBEYESJ3->SetYTitle(
"totalAmplitude perEvent \b");
21894 JDBEYESJ3->SetTitle(
"HO \b");
21895 JDBEYESJ3->SetMarkerColor(2);
21896 JDBEYESJ3->SetLineColor(1);
21897 JDBEYESJ3->SetMinimum(0.8);
21898 JDBEYESJ3->Draw(
"HIST same P0");
21900 cmain1->Modified();
21902 cmain1->Print(
"EVENTDEPENDENCE.png");
21904 std::cout <<
" EVENTDEPENDENCE " << std::endl;
21908 gStyle->SetOptTitle(0);
21909 TCanvas *cmain =
new TCanvas(
"cmain",
"MAP", 1000, 1000);
21914 Map_ALL->SetTitleOffset(1.3,
"Y");
21915 Map_ALL->SetXTitle(
"#eta \b");
21916 Map_ALL->SetYTitle(
"#phi \b");
21917 Map_ALL->Draw(
"COL");
21918 Map_ALL->GetYaxis()->SetRangeUser(0, 72.);
21919 Map_ALL->GetZaxis()->SetRangeUser(0, 1.);
21922 cmain->Print(
"MAP.png");
21924 std::cout <<
"******** MAP_ALL done" << std::endl;
21928 std::cout <<
"************ Start creating each test kind for each subdet html pages:" << std::endl;
21934 std::string raw_class, raw_class1, raw_class2, raw_class3;
21937 for (
int sub = 1; sub <= 4; sub++) {
21938 ofstream htmlFileT, htmlFileC, htmlFileD, htmlFileP, htmlFileS, htmlFileM, htmlFileR, htmlFileN;
21940 htmlFileT.open(
"HB_Tile.html");
21941 htmlFileC.open(
"HB_Calib.html");
21942 htmlFileD.open(
"HB_Drift.html");
21943 htmlFileP.open(
"HB_Pedestals.html");
21944 htmlFileS.open(
"HB_Shapes.html");
21945 htmlFileM.open(
"HB_PhiSymmetryDigi.html");
21946 htmlFileR.open(
"HB_PhiSymmetryRecoSignal.html");
21947 htmlFileN.open(
"HB_PhiSymmetryRecoNoise.html");
21950 htmlFileT.open(
"HE_Tile.html");
21951 htmlFileC.open(
"HE_Calib.html");
21952 htmlFileD.open(
"HE_Drift.html");
21953 htmlFileP.open(
"HE_Pedestals.html");
21954 htmlFileS.open(
"HE_Shapes.html");
21955 htmlFileM.open(
"HE_PhiSymmetryDigi.html");
21956 htmlFileR.open(
"HE_PhiSymmetryRecoSignal.html");
21957 htmlFileN.open(
"HE_PhiSymmetryRecoNoise.html");
21960 htmlFileT.open(
"HO_Tile.html");
21961 htmlFileC.open(
"HO_Calib.html");
21962 htmlFileD.open(
"HO_Drift.html");
21963 htmlFileP.open(
"HO_Pedestals.html");
21964 htmlFileS.open(
"HO_Shapes.html");
21967 htmlFileT.open(
"HF_Tile.html");
21968 htmlFileC.open(
"HF_Calib.html");
21969 htmlFileD.open(
"HF_Drift.html");
21970 htmlFileP.open(
"HF_Pedestals.html");
21971 htmlFileS.open(
"HF_Shapes.html");
21972 htmlFileM.open(
"HF_PhiSymmetryDigi.html");
21973 htmlFileR.open(
"HF_PhiSymmetryRecoSignal.html");
21974 htmlFileN.open(
"HF_PhiSymmetryRecoNoise.html");
21978 htmlFileT <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
21979 htmlFileT <<
"<head>" << std::endl;
21980 htmlFileT <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
21981 htmlFileT <<
"<title> Remote Monitoring Tool </title>" << std::endl;
21982 htmlFileT <<
"<style type=\"text/css\">" << std::endl;
21983 htmlFileT <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 21985 htmlFileT <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
21986 htmlFileT <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 21987 "text-align: center;}" 21989 htmlFileT <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
21990 htmlFileT <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
21991 htmlFileT <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
21992 htmlFileT <<
"</style>" << std::endl;
21993 htmlFileT <<
"<body>" << std::endl;
21996 htmlFileT <<
"<h1> Criteria for megatile channels for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
21998 htmlFileT <<
"<h1> Criteria for megatile channels for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22000 htmlFileT <<
"<h1> Criteria for megatile channels for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22002 htmlFileT <<
"<h1> Criteria for megatile channels for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22003 htmlFileT <<
"<br>" << std::endl;
22007 htmlFileT <<
"<h2> 0. Entries for each channel.</h3>" << std::endl;
22008 htmlFileT <<
"<h3> 0.A. Entries in each channel for each depth.</h3>" << std::endl;
22009 htmlFileT <<
"<h4> Channel legend: color is rate of entries </h4>" << std::endl;
22011 htmlFileT <<
" <img src=\"MapRateEntryHB.png\" />" << std::endl;
22013 htmlFileT <<
" <img src=\"MapRateEntryHE.png\" />" << std::endl;
22015 htmlFileT <<
" <img src=\"MapRateEntryHO.png\" />" << std::endl;
22017 htmlFileT <<
" <img src=\"MapRateEntryHF.png\" />" << std::endl;
22018 htmlFileT <<
"<br>" << std::endl;
22021 htmlFileT <<
"<h2> 1. Cm criterion: CapID errors for each channel.</h3>" << std::endl;
22022 htmlFileT <<
"<h3> 1.A. Rate of CapId failures in each channel for each depth.</h3>" << std::endl;
22023 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22025 htmlFileT <<
" <img src=\"MapRateCapIDHB.png\" />" << std::endl;
22027 htmlFileT <<
" <img src=\"MapRateCapIDHE.png\" />" << std::endl;
22029 htmlFileT <<
" <img src=\"MapRateCapIDHO.png\" />" << std::endl;
22031 htmlFileT <<
" <img src=\"MapRateCapIDHF.png\" />" << std::endl;
22032 htmlFileT <<
"<br>" << std::endl;
22035 htmlFileT <<
"<h2> 2. Am criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel. </h3>" 22037 htmlFileT <<
"<h3> 2.A. Full ADC amplitude distribution over all events, channels and depths.</h3>" << std::endl;
22038 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[2][sub] <<
" correpond to bad ADC amplitude </h4>" << std::endl;
22040 htmlFileT <<
" <img src=\"HistAmplHB.png\" />" << std::endl;
22042 htmlFileT <<
" <img src=\"HistAmplHE.png\" />" << std::endl;
22044 htmlFileT <<
" <img src=\"HistAmplHO.png\" />" << std::endl;
22046 htmlFileT <<
" <img src=\"HistAmplHF.png\" />" << std::endl;
22047 htmlFileT <<
"<br>" << std::endl;
22048 htmlFileT <<
"<h3> 2.B. Rate of bad ADC amplitude (<" << MIN_M[2][sub] <<
") in each channel for each depth. </h3>" 22050 htmlFileT <<
"<h4> Channel legend: white - good, other colours - bad. </h4>" << std::endl;
22052 htmlFileT <<
" <img src=\"MapRateAmplHB.png\" />" << std::endl;
22054 htmlFileT <<
" <img src=\"MapRateAmplHE.png\" />" << std::endl;
22056 htmlFileT <<
" <img src=\"MapRateAmplHO.png\" />" << std::endl;
22058 htmlFileT <<
" <img src=\"MapRateAmplHF.png\" />" << std::endl;
22059 htmlFileT <<
"<br>" << std::endl;
22062 htmlFileT <<
"<h2> 3. Wm criterion: RMS (width) of ADC amplutude for each channel.</h3>" << std::endl;
22063 htmlFileT <<
"<h3> 3.A. RMS distribution over all events, channel and depth.</h3>" << std::endl;
22064 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[3][sub] <<
" and more " << MAX_M[3][sub]
22065 <<
" correpond to bad RMS </h4>" << std::endl;
22067 htmlFileT <<
" <img src=\"HistRMSHB.png\" />" << std::endl;
22069 htmlFileT <<
" <img src=\"HistRMSHE.png\" />" << std::endl;
22071 htmlFileT <<
" <img src=\"HistRMSHO.png\" />" << std::endl;
22073 htmlFileT <<
" <img src=\"HistRMSHF.png\" />" << std::endl;
22074 htmlFileT <<
"<br>" << std::endl;
22075 htmlFileT <<
"<h3> 3.B. Rate of bad RMS (<" << MIN_M[3][sub] <<
",>" << MAX_M[3][sub]
22076 <<
") in each channel for each depth.</h3>" << std::endl;
22077 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22079 htmlFileT <<
" <img src=\"MapRateRMSHB.png\" />" << std::endl;
22081 htmlFileT <<
" <img src=\"MapRateRMSHE.png\" />" << std::endl;
22083 htmlFileT <<
" <img src=\"MapRateRMSHO.png\" />" << std::endl;
22085 htmlFileT <<
" <img src=\"MapRateRMSHF.png\" />" << std::endl;
22086 htmlFileT <<
"<br>" << std::endl;
22089 htmlFileT <<
"<h2> 4. Rm criterion: Ratio ADC value sum over four near maximum (-2, -1, max, +1) TS to ADC value " 22090 "sum over all TS for each channel. </h3>" 22092 htmlFileT <<
"<h3> 4.A. Ratio distribution over all events, channels and depths.</h3>" << std::endl;
22093 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[4][sub] <<
" and more " << MAX_M[4][sub]
22094 <<
" correpond to bad ratio </h4>" << std::endl;
22096 htmlFileT <<
" <img src=\"Hist43TStoAllTSHB.png\" />" << std::endl;
22098 htmlFileT <<
" <img src=\"Hist43TStoAllTSHE.png\" />" << std::endl;
22100 htmlFileT <<
" <img src=\"Hist43TStoAllTSHO.png\" />" << std::endl;
22102 htmlFileT <<
" <img src=\"Hist43TStoAllTSHF.png\" />" << std::endl;
22103 htmlFileT <<
"<br>" << std::endl;
22104 htmlFileT <<
"<h3> 4.B. Rate of bad ratio (<" << MIN_M[4][sub] <<
", >" << MAX_M[4][sub]
22105 <<
") in each channel for each depth.</h3>" << std::endl;
22106 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22108 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHB.png\" />" << std::endl;
22110 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHE.png\" />" << std::endl;
22112 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHO.png\" />" << std::endl;
22114 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHF.png\" />" << std::endl;
22115 htmlFileT <<
"<br>" << std::endl;
22118 htmlFileT <<
"<h2> 5. TNm criterion: Mean TS position for each channel.</h3>" << std::endl;
22119 htmlFileT <<
"<h3> 5.A. TN position distribution over all events, channels and depths.</h3>" << std::endl;
22120 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[5][sub] <<
" and more " << MAX_M[5][sub]
22121 <<
" correpond to bad mean position </h4>" << std::endl;
22123 htmlFileT <<
" <img src=\"HistMeanPosHB.png\" />" << std::endl;
22125 htmlFileT <<
" <img src=\"HistMeanPosHE.png\" />" << std::endl;
22127 htmlFileT <<
" <img src=\"HistMeanPosHO.png\" />" << std::endl;
22129 htmlFileT <<
" <img src=\"HistMeanPosHF.png\" />" << std::endl;
22130 htmlFileT <<
"<br>" << std::endl;
22131 htmlFileT <<
"<h3> 5.B. Rate of bad TN position (<" << MIN_M[5][sub] <<
", >" << MAX_M[5][sub]
22132 <<
") in each channel for each depth. </h3>" << std::endl;
22133 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22135 htmlFileT <<
" <img src=\"MapRateMeanPosHB.png\" />" << std::endl;
22137 htmlFileT <<
" <img src=\"MapRateMeanPosHE.png\" />" << std::endl;
22139 htmlFileT <<
" <img src=\"MapRateMeanPosHO.png\" />" << std::endl;
22141 htmlFileT <<
" <img src=\"MapRateMeanPosHF.png\" />" << std::endl;
22142 htmlFileT <<
"<br>" << std::endl;
22145 htmlFileT <<
"<h2> 6.TXm criterion: Maximum TS position for each channel.</h3>" << std::endl;
22146 htmlFileT <<
"<h3> 6.A. TX position distribution over all events, channel and depth.</h3>" << std::endl;
22147 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[6][sub] <<
" and more " << MAX_M[6][sub]
22148 <<
" correpond to bad position </h4>" << std::endl;
22150 htmlFileT <<
" <img src=\"HistMaxPosHB.png\" />" << std::endl;
22152 htmlFileT <<
" <img src=\"HistMaxPosHE.png\" />" << std::endl;
22154 htmlFileT <<
" <img src=\"HistMaxPosHO.png\" />" << std::endl;
22156 htmlFileT <<
" <img src=\"HistMaxPosHF.png\" />" << std::endl;
22157 htmlFileT <<
"<br>" << std::endl;
22158 htmlFileT <<
"<h3> 6.B. Rate of bad TX position (<" << MIN_M[6][sub] <<
", >" << MAX_M[6][sub]
22159 <<
") in each channel for each depth. </h3>" << std::endl;
22160 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22162 htmlFileT <<
" <img src=\"MapRateMaxPosHB.png\" />" << std::endl;
22164 htmlFileT <<
" <img src=\"MapRateMaxPosHE.png\" />" << std::endl;
22166 htmlFileT <<
" <img src=\"MapRateMaxPosHO.png\" />" << std::endl;
22168 htmlFileT <<
" <img src=\"MapRateMaxPosHF.png\" />" << std::endl;
22169 htmlFileT <<
"<br>" << std::endl;
22171 htmlFileT <<
"</body> " << std::endl;
22172 htmlFileT <<
"</html> " << std::endl;
22176 htmlFileC <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
22177 htmlFileC <<
"<head>" << std::endl;
22178 htmlFileC <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
22179 htmlFileC <<
"<title> Raw Data Analyser </title>" << std::endl;
22180 htmlFileC <<
"<style type=\"text/css\">" << std::endl;
22181 htmlFileC <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 22183 htmlFileC <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
22184 htmlFileC <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 22185 "text-align: center;}" 22187 htmlFileC <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
22188 htmlFileC <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
22189 htmlFileC <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
22190 htmlFileC <<
"</style>" << std::endl;
22191 htmlFileC <<
"<body>" << std::endl;
22194 htmlFileC <<
"<h1> Criteria for calibration channels for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22196 htmlFileC <<
"<h1> Criteria for calibration channels for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22198 htmlFileC <<
"<h1> Criteria for calibration channels for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22200 htmlFileC <<
"<h1> Criteria for calibration channels for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22201 htmlFileC <<
"<br>" << std::endl;
22205 htmlFileC <<
"<h2> 0. Entries for each channel.</h3>" << std::endl;
22206 htmlFileC <<
"<h3> 0.A. Entries in each channel for each depth.</h3>" << std::endl;
22207 htmlFileC <<
"<h4> Channel legend: color is rate of entries </h4>" << std::endl;
22209 htmlFileC <<
" <img src=\"MapRateCalibEntryHB.png\" />" << std::endl;
22211 htmlFileC <<
" <img src=\"MapRateCalibEntryHE.png\" />" << std::endl;
22213 htmlFileC <<
" <img src=\"MapRateCalibEntryHO.png\" />" << std::endl;
22215 htmlFileC <<
" <img src=\"MapRateCalibEntryHF.png\" />" << std::endl;
22216 htmlFileC <<
"<br>" << std::endl;
22219 htmlFileC <<
"<h2> 1. Cc criterion: CapID errors for each channel.</h3>" << std::endl;
22220 htmlFileC <<
"<h3> 1.A. Rate of CapId failures in each channel for each depth.</h3>" << std::endl;
22221 htmlFileC <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22223 htmlFileC <<
" <img src=\"MapRateCapCalibHB.png\" />" << std::endl;
22225 htmlFileC <<
" <img src=\"MapRateCapCalibHE.png\" />" << std::endl;
22227 htmlFileC <<
" <img src=\"MapRateCapCalibHO.png\" />" << std::endl;
22229 htmlFileC <<
" <img src=\"MapRateCapCalibHF.png\" />" << std::endl;
22230 htmlFileC <<
"<br>" << std::endl;
22233 htmlFileC <<
"<h2> 2. Ac criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel. </h3>" 22235 htmlFileC <<
"<h3> 2.A. Full ADC amplitude distribution over all events, channels and depths.</h3>" << std::endl;
22236 htmlFileC <<
"<h4> Legend: Bins less " << MIN_C[2][sub] <<
" correpond to bad ADC amplitude </h4>" << std::endl;
22238 htmlFileC <<
" <img src=\"HistAmplCalibHB.png\" />" << std::endl;
22240 htmlFileC <<
" <img src=\"HistAmplCalibHE.png\" />" << std::endl;
22242 htmlFileC <<
" <img src=\"HistAmplCalibHO.png\" />" << std::endl;
22244 htmlFileC <<
" <img src=\"HistAmplCalibHF.png\" />" << std::endl;
22245 htmlFileC <<
"<br>" << std::endl;
22246 htmlFileC <<
"<h3> 2.B. Rate of bad ADC amplitude (<" << MIN_C[2][sub] <<
") in each channel for each depth. </h3>" 22248 htmlFileC <<
"<h4> Channel legend: white - good, other colours - bad. </h4>" << std::endl;
22250 htmlFileC <<
" <img src=\"MapRateAmplCalibHB.png\" />" << std::endl;
22252 htmlFileC <<
" <img src=\"MapRateAmplCalibHE.png\" />" << std::endl;
22254 htmlFileC <<
" <img src=\"MapRateAmplCalibHO.png\" />" << std::endl;
22256 htmlFileC <<
" <img src=\"MapRateAmplCalibHF.png\" />" << std::endl;
22257 htmlFileC <<
"<br>" << std::endl;
22260 htmlFileC <<
"<h2> 3. Wc criterion: RMS (width) of ADC amplutude for each channel.</h3>" << std::endl;
22261 htmlFileC <<
"<h3> 3.A. W distribution over all events, channel and depth.</h3>" << std::endl;
22262 htmlFileC <<
"<h4> Legend: Bins less " << MIN_C[3][sub] <<
" and more " << MAX_C[3][sub]
22263 <<
" correpond to bad RMS </h4>" << std::endl;
22265 htmlFileC <<
" <img src=\"HistRMSCalibHB.png\" />" << std::endl;
22267 htmlFileC <<
" <img src=\"HistRMSCalibHE.png\" />" << std::endl;
22269 htmlFileC <<
" <img src=\"HistRMSCalibHO.png\" />" << std::endl;
22271 htmlFileC <<
" <img src=\"HistRMSCalibHF.png\" />" << std::endl;
22272 htmlFileC <<
"<br>" << std::endl;
22273 htmlFileC <<
"<h3> 3.B. Rate of bad W (<" << MIN_C[3][sub] <<
",>" << MAX_C[3][sub]
22274 <<
") in each channel for each depth.</h3>" << std::endl;
22275 htmlFileC <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22277 htmlFileC <<
" <img src=\"MapRateRMSCalibHB.png\" />" << std::endl;
22279 htmlFileC <<
" <img src=\"MapRateRMSCalibHE.png\" />" << std::endl;
22281 htmlFileC <<
" <img src=\"MapRateRMSCalibHO.png\" />" << std::endl;
22283 htmlFileC <<
" <img src=\"MapRateRMSCalibHF.png\" />" << std::endl;
22284 htmlFileC <<
"<br>" << std::endl;
22287 htmlFileC <<
"<h2> 4. Rc criterion: Ratio ADC value sum over five near maximum (-2, -1, max, +1, +2) TS to ADC " 22288 "value sum over all TS for each channel. </h3>" 22290 htmlFileC <<
"<h3> 4.A. Ratio distribution over all events, channels and depths.</h3>" << std::endl;
22291 htmlFileC <<
"<h4> Legend: Bins less " << MIN_C[4][sub] <<
" and more " << MAX_C[4][sub]
22292 <<
" correpond to bad ratio </h4>" << std::endl;
22294 htmlFileC <<
" <img src=\"Hist43TStoAllTSCalibHB.png\" />" << std::endl;
22296 htmlFileC <<
" <img src=\"Hist43TStoAllTSCalibHE.png\" />" << std::endl;
22298 htmlFileC <<
" <img src=\"Hist43TStoAllTSCalibHO.png\" />" << std::endl;
22300 htmlFileC <<
" <img src=\"Hist43TStoAllTSCalibHF.png\" />" << std::endl;
22301 htmlFileC <<
"<br>" << std::endl;
22302 htmlFileC <<
"<h3> 4.B. Rate of bad Ratio (<" << MIN_C[4][sub] <<
", >" << MAX_C[4][sub]
22303 <<
") in each channel for each depth.</h3>" << std::endl;
22304 htmlFileC <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22306 htmlFileC <<
" <img src=\"MapRate43TStoAllTSCalibHB.png\" />" << std::endl;
22308 htmlFileC <<
" <img src=\"MapRate43TStoAllTSCalibHE.png\" />" << std::endl;
22310 htmlFileC <<
" <img src=\"MapRate43TStoAllTSCalibHO.png\" />" << std::endl;
22312 htmlFileC <<
" <img src=\"MapRate43TStoAllTSCalibHF.png\" />" << std::endl;
22313 htmlFileC <<
"<br>" << std::endl;
22316 htmlFileC <<
"<h2> 5. TNc criterion: Mean TS position for each channel.</h3>" << std::endl;
22317 htmlFileC <<
"<h3> 5.A. TN position distribution over all events, channels and depths.</h3>" << std::endl;
22318 htmlFileC <<
"<h4> Legend: Bins less " << MIN_C[5][sub] <<
" and more " << MAX_C[5][sub]
22319 <<
" correpond to bad position </h4>" << std::endl;
22321 htmlFileC <<
" <img src=\"HistMeanPosCalibHB.png\" />" << std::endl;
22323 htmlFileC <<
" <img src=\"HistMeanPosCalibHE.png\" />" << std::endl;
22325 htmlFileC <<
" <img src=\"HistMeanPosCalibHO.png\" />" << std::endl;
22327 htmlFileC <<
" <img src=\"HistMeanPosCalibHF.png\" />" << std::endl;
22328 htmlFileC <<
"<br>" << std::endl;
22329 htmlFileC <<
"<h3> 5.B. Rate of bad TN position (<" << MIN_C[5][sub] <<
", >" << MAX_C[5][sub]
22330 <<
") in each channel for each depth. </h3>" << std::endl;
22331 htmlFileC <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22333 htmlFileC <<
" <img src=\"MapRateMeanPosCalibHB.png\" />" << std::endl;
22335 htmlFileC <<
" <img src=\"MapRateMeanPosCalibHE.png\" />" << std::endl;
22337 htmlFileC <<
" <img src=\"MapRateMeanPosCalibHO.png\" />" << std::endl;
22339 htmlFileC <<
" <img src=\"MapRateMeanPosCalibHF.png\" />" << std::endl;
22340 htmlFileC <<
"<br>" << std::endl;
22343 htmlFileC <<
"<h2> 6.TXc criterion: Maximum TS position for each channel.</h3>" << std::endl;
22344 htmlFileC <<
"<h3> 6.A. TX position distribution over all events, channel and depth.</h3>" << std::endl;
22345 htmlFileC <<
"<h4> Legend: Bins less " << MIN_C[6][sub] <<
" and more " << MAX_C[6][sub]
22346 <<
" correpond to bad position </h4>" << std::endl;
22348 htmlFileC <<
" <img src=\"HistMaxPosCalibHB.png\" />" << std::endl;
22350 htmlFileC <<
" <img src=\"HistMaxPosCalibHE.png\" />" << std::endl;
22352 htmlFileC <<
" <img src=\"HistMaxPosCalibHO.png\" />" << std::endl;
22354 htmlFileC <<
" <img src=\"HistMaxPosCalibHF.png\" />" << std::endl;
22355 htmlFileC <<
"<br>" << std::endl;
22356 htmlFileC <<
"<h3> 6.B. Rate of bad TX position (<" << MIN_C[6][sub] <<
", >" << MAX_C[6][sub]
22357 <<
") in each channel for each depth. </h3>" << std::endl;
22358 htmlFileC <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22360 htmlFileC <<
" <img src=\"MapRateMaxPosCalibHB.png\" />" << std::endl;
22362 htmlFileC <<
" <img src=\"MapRateMaxPosCalibHE.png\" />" << std::endl;
22364 htmlFileC <<
" <img src=\"MapRateMaxPosCalibHO.png\" />" << std::endl;
22366 htmlFileC <<
" <img src=\"MapRateMaxPosCalibHF.png\" />" << std::endl;
22367 htmlFileC <<
"<br>" << std::endl;
22369 htmlFileC <<
"</body> " << std::endl;
22370 htmlFileC <<
"</html> " << std::endl;
22374 htmlFileD <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
22375 htmlFileD <<
"<head>" << std::endl;
22376 htmlFileD <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
22377 htmlFileD <<
"<title> Remore Monitoring Tool </title>" << std::endl;
22378 htmlFileD <<
"<style type=\"text/css\">" << std::endl;
22379 htmlFileD <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 22381 htmlFileD <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
22382 htmlFileD <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 22383 "text-align: center;}" 22385 htmlFileD <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
22386 htmlFileD <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
22387 htmlFileD <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
22388 htmlFileD <<
"</style>" << std::endl;
22389 htmlFileD <<
"<body>" << std::endl;
22392 htmlFileD <<
"<h1> Response drift for HB: Current RUN = " <<
runnumber <<
", Reference RUN = " << refrunnumber
22393 <<
" </h1>" << std::endl;
22395 htmlFileD <<
"<h1> Response drift for HE: Current RUN = " <<
runnumber <<
", Reference RUN = " << refrunnumber
22396 <<
" </h1>" << std::endl;
22398 htmlFileD <<
"<h1> Response drift for HO: Current RUN = " <<
runnumber <<
", Reference RUN = " << refrunnumber
22399 <<
" </h1>" << std::endl;
22401 htmlFileD <<
"<h1> Response drift for HF: Current RUN = " <<
runnumber <<
", Reference RUN = " << refrunnumber
22402 <<
" </h1>" << std::endl;
22403 htmlFileD <<
"<br>" << std::endl;
22406 htmlFileD <<
"<h2> 1. Gain Stability (GS) </h3>" << std::endl;
22407 htmlFileD <<
"<h3> 1.A. Averaged channel response, collected over all TS, for Current run in each channel for each " 22410 htmlFileD <<
"<h4> Channel legend: colour means cooresponding value of mean response. </h4>" << std::endl;
22412 htmlFileD <<
" <img src=\"MapRateAmpl1HB.png\" />" << std::endl;
22414 htmlFileD <<
" <img src=\"MapRateAmpl1HE.png\" />" << std::endl;
22416 htmlFileD <<
" <img src=\"MapRateAmpl1HO.png\" />" << std::endl;
22418 htmlFileD <<
" <img src=\"MapRateAmpl1HF.png\" />" << std::endl;
22419 htmlFileD <<
"<br>" << std::endl;
22420 htmlFileD <<
"<h3> 1.B. Averaged channel response, collected over all TS, for Reference run in each channel for " 22423 htmlFileD <<
"<h4> Channel legend: colour means cooresponding value of mean response. </h4>" << std::endl;
22425 htmlFileD <<
" <img src=\"MapRateAmpl2HB.png\" />" << std::endl;
22427 htmlFileD <<
" <img src=\"MapRateAmpl2HE.png\" />" << std::endl;
22429 htmlFileD <<
" <img src=\"MapRateAmpl2HO.png\" />" << std::endl;
22431 htmlFileD <<
" <img src=\"MapRateAmpl2HF.png\" />" << std::endl;
22432 htmlFileD <<
"<br>" << std::endl;
22433 htmlFileD <<
"<h3> 1.C. Relative difference between Current and Reference run distribution over all events, " 22434 "channels for each depth.</h3>" 22436 htmlFileD <<
"<h4> Legend: Bins less -" << porog[sub] <<
"% and more +" << porog[sub]
22437 <<
"% correpond to bad relative difference position </h4>" << std::endl;
22439 htmlFileD <<
" <img src=\"HistAmplDriftDepthHB.png\" />" << std::endl;
22441 htmlFileD <<
" <img src=\"HistAmplDriftDepthHE.png\" />" << std::endl;
22443 htmlFileD <<
" <img src=\"HistAmplDriftDepthHO.png\" />" << std::endl;
22445 htmlFileD <<
" <img src=\"HistAmplDriftDepthHF.png\" />" << std::endl;
22446 htmlFileD <<
"<br>" << std::endl;
22447 htmlFileD <<
"<h3> 1.D. Rate of bad relative difference (<-" << porog[sub] <<
", >+" << porog[sub]
22448 <<
") in each channel for each depth.</h3>" << std::endl;
22449 htmlFileD <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22451 htmlFileD <<
" <img src=\"MapRateAmplDriftHB.png\" />" << std::endl;
22453 htmlFileD <<
" <img src=\"MapRateAmplDriftHE.png\" />" << std::endl;
22455 htmlFileD <<
" <img src=\"MapRateAmplDriftHO.png\" />" << std::endl;
22457 htmlFileD <<
" <img src=\"MapRateAmplDriftHF.png\" />" << std::endl;
22458 htmlFileD <<
"<br>" << std::endl;
22460 htmlFileD <<
"</body> " << std::endl;
22461 htmlFileD <<
"</html> " << std::endl;
22465 htmlFileP <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
22466 htmlFileP <<
"<head>" << std::endl;
22467 htmlFileP <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
22468 htmlFileP <<
"<title> Remote Monitoring Tool </title>" << std::endl;
22469 htmlFileP <<
"<style type=\"text/css\">" << std::endl;
22470 htmlFileP <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 22472 htmlFileP <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
22473 htmlFileP <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 22474 "text-align: center;}" 22476 htmlFileP <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
22477 htmlFileP <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
22478 htmlFileP <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
22479 htmlFileP <<
"</style>" << std::endl;
22480 htmlFileP <<
"<body>" << std::endl;
22483 htmlFileP <<
"<h1> Pedestals for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22485 htmlFileP <<
"<h1> Pedestals for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22487 htmlFileP <<
"<h1> Pedestals for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22489 htmlFileP <<
"<h1> Pedestals for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22490 htmlFileP <<
"<br>" << std::endl;
22493 htmlFileP <<
"<h2> 1.Pm criterion: Pedestals for each CapID .</h3>" << std::endl;
22494 htmlFileP <<
"<h3> 1.A. Pedestal distribution over all events, channels for each CapID and all depths.</h3>" 22496 htmlFileP <<
"<h4> Legend: Bins less " << Pedest[0][sub] <<
" correpond to bad Pedestals </h4>" << std::endl;
22498 htmlFileP <<
" <img src=\"HistPedestalsHB.png\" />" << std::endl;
22500 htmlFileP <<
" <img src=\"HistPedestalsHE.png\" />" << std::endl;
22502 htmlFileP <<
" <img src=\"HistPedestalsHO.png\" />" << std::endl;
22504 htmlFileP <<
" <img src=\"HistPedestalsHF.png\" />" << std::endl;
22505 htmlFileP <<
"<br>" << std::endl;
22506 htmlFileP <<
"<h3> 1.B. Rate of channels at very low Pedestals at least in one CapID for each depth.</h3>" 22508 htmlFileP <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22510 htmlFileP <<
" <img src=\"MapRatePedHB.png\" />" << std::endl;
22512 htmlFileP <<
" <img src=\"MapRatePedHE.png\" />" << std::endl;
22514 htmlFileP <<
" <img src=\"MapRatePedHO.png\" />" << std::endl;
22516 htmlFileP <<
" <img src=\"MapRatePedHF.png\" />" << std::endl;
22519 htmlFileP <<
"<h2> 2.pWm criterion: Pedestal Widths for each CapID .</h3>" << std::endl;
22520 htmlFileP <<
"<h3> 2.A. Pedestal Widths distribution over all events, channels for each CapID and all depths.</h3>" 22522 htmlFileP <<
"<h4> Legend: Bins less " << Pedest[1][sub] <<
" correpond to bad Pedestal Widths </h4>" << std::endl;
22524 htmlFileP <<
" <img src=\"HistPedestalWidthsHB.png\" />" << std::endl;
22526 htmlFileP <<
" <img src=\"HistPedestalWidthsHE.png\" />" << std::endl;
22528 htmlFileP <<
" <img src=\"HistPedestalWidthsHO.png\" />" << std::endl;
22530 htmlFileP <<
" <img src=\"HistPedestalWidthsHF.png\" />" << std::endl;
22531 htmlFileP <<
"<br>" << std::endl;
22532 htmlFileP <<
"<h3> 2.B. Rate of channels at very low Pedestal Widths at least in one CapID for each depth.</h3>" 22534 htmlFileP <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
22536 htmlFileP <<
" <img src=\"MapRatePedWidthsHB.png\" />" << std::endl;
22538 htmlFileP <<
" <img src=\"MapRatePedWidthsHE.png\" />" << std::endl;
22540 htmlFileP <<
" <img src=\"MapRatePedWidthsHO.png\" />" << std::endl;
22542 htmlFileP <<
" <img src=\"MapRatePedWidthsHF.png\" />" << std::endl;
22545 htmlFileP <<
"<h2> 3.Pedestal and pedestalWidths vs Amplitude .</h3>" << std::endl;
22546 htmlFileP <<
"<h3> 3.A. Correlation of Pedestal(pedestalWidths) and Amplitude over all channels and events .</h3>" 22548 htmlFileP <<
"<h4> Legend: colour - entries </h4>" << std::endl;
22550 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHB.png\" />" << std::endl;
22552 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHE.png\" />" << std::endl;
22554 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHO.png\" />" << std::endl;
22556 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHF.png\" />" << std::endl;
22557 htmlFileP <<
"<br>" << std::endl;
22562 htmlFileS <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
22563 htmlFileS <<
"<head>" << std::endl;
22564 htmlFileS <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
22565 htmlFileS <<
"<title> Remote Monitoring Tool </title>" << std::endl;
22566 htmlFileS <<
"<style type=\"text/css\">" << std::endl;
22567 htmlFileS <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 22569 htmlFileS <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
22570 htmlFileS <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 22571 "text-align: center;}" 22573 htmlFileS <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
22574 htmlFileS <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
22575 htmlFileS <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
22576 htmlFileS <<
"</style>" << std::endl;
22577 htmlFileS <<
"<body>" << std::endl;
22580 htmlFileS <<
"<h1> ADC Shape for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22582 htmlFileS <<
"<h1> ADC Shape for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22584 htmlFileS <<
"<h1> ADC Shape for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22586 htmlFileS <<
"<h1> ADC Shape for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22587 htmlFileS <<
"<br>" << std::endl;
22589 htmlFileS <<
"<h2> 1.Mean ADC Shape.</h3>" << std::endl;
22590 htmlFileS <<
"<h3> 1.A. ADC shape averaged over all good channels, depth and events.</h3>" << std::endl;
22593 htmlFileS <<
" <img src=\"HistGoodTSshapesHB.png\" />" << std::endl;
22595 htmlFileS <<
" <img src=\"HistGoodTSshapesHE.png\" />" << std::endl;
22597 htmlFileS <<
" <img src=\"HistGoodTSshapesHO.png\" />" << std::endl;
22599 htmlFileS <<
" <img src=\"HistGoodTSshapesHF.png\" />" << std::endl;
22600 htmlFileS <<
"<br>" << std::endl;
22601 htmlFileS <<
"<h3> 1.B. ADC shape averaged over all bad channels, depth and events. Bad channels are selected by 5 " 22602 "criteria: CapId, A, W, P, Pw </h3>" 22606 htmlFileS <<
" <img src=\"HistBadTSshapesHB.png\" />" << std::endl;
22608 htmlFileS <<
" <img src=\"HistBadTSshapesHE.png\" />" << std::endl;
22610 htmlFileS <<
" <img src=\"HistBadTSshapesHO.png\" />" << std::endl;
22612 htmlFileS <<
" <img src=\"HistBadTSshapesHF.png\" />" << std::endl;
22614 htmlFileS <<
"<h2> 2. Occupancy and rates of non-zero amplitudes for separate TSs in Sub-Detector over " 22615 "depth,eta.phi </h3>" 22617 htmlFileS <<
"<h3> 2.A. reminder:.......................... for HBHE, TS=2;...................................... " 22618 "for HF, TS=1;..................................... for HO, TS=0,1,2 </h3>" 22621 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS2_HB.png\" />" << std::endl;
22623 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS2_HE.png\" />" << std::endl;
22625 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS012_HO.png\" />" << std::endl;
22627 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS1_HF.png\" />" << std::endl;
22628 htmlFileS <<
"<br>" << std::endl;
22676 htmlFileM <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
22677 htmlFileM <<
"<head>" << std::endl;
22678 htmlFileM <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
22679 htmlFileM <<
"<title> Remote Monitoring Tool </title>" << std::endl;
22680 htmlFileM <<
"<style type=\"text/css\">" << std::endl;
22681 htmlFileM <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 22683 htmlFileM <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
22684 htmlFileM <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 22685 "text-align: center;}" 22687 htmlFileM <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
22688 htmlFileM <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
22689 htmlFileM <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
22690 htmlFileM <<
"</style>" << std::endl;
22691 htmlFileM <<
"<body>" << std::endl;
22696 htmlFileM <<
"<h1> Digis Phi-symmetry for Calibration Group, HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22698 htmlFileM <<
"<h1> Digis Phi-symmetry for Calibration Group, HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22700 htmlFileM <<
"<h1> Digis Phi-symmetry for Calibration Group, HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
22701 htmlFileM <<
"<br>" << std::endl;
22703 htmlFileM <<
"<h2> 1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
22704 htmlFileM <<
"<h3> 1A: eta/phi-plot: R, averaged over depthes </h3>" << std::endl;
22707 htmlFileM <<
" <img src=\"RdigiGeneralD2PhiSymmetryHB.png\" />" << std::endl;
22709 htmlFileM <<
" <img src=\"RdigiGeneralD2PhiSymmetryHE.png\" />" << std::endl;
22711 htmlFileM <<
" <img src=\"RdigiGeneralD2PhiSymmetryHF.png\" />" << std::endl;
22712 htmlFileM <<
"<br>" << std::endl;
22714 htmlFileM <<
"<h3> 1B: R vs phi , averaged over depthes & eta </h3>" << std::endl;
22717 htmlFileM <<
" <img src=\"RdigiGeneralD1PhiSymmetryHB.png\" />" << std::endl;
22719 htmlFileM <<
" <img src=\"RdigiGeneralD1PhiSymmetryHE.png\" />" << std::endl;
22721 htmlFileM <<
" <img src=\"RdigiGeneralD1PhiSymmetryHF.png\" />" << std::endl;
22722 htmlFileM <<
"<br>" << std::endl;
22727 htmlFileM <<
"<h2> Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
22728 htmlFileM <<
"<h3> 1C: R vs phi , different eta, Depth1 </h3>" << std::endl;
22731 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
22733 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
22735 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
22736 htmlFileM <<
"<br>" << std::endl;
22738 htmlFileM <<
"<h3> 1D: R vs phi , different eta, Depth2 </h3>" << std::endl;
22741 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
22743 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
22745 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
22746 htmlFileM <<
"<br>" << std::endl;
22748 htmlFileM <<
"<h3> 1E: R vs phi , different eta, Depth3 </h3>" << std::endl;
22751 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
22753 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
22755 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png\" />" << std::endl;
22756 htmlFileM <<
"<br>" << std::endl;
22758 htmlFileM <<
"<h3> 1F: R vs phi , different eta, Depth4 </h3>" << std::endl;
22761 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
22763 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
22765 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png\" />" << std::endl;
22766 htmlFileM <<
"<br>" << std::endl;
22769 htmlFileM <<
"<h3> 1G: R vs phi , different eta, Depth5 </h3>" << std::endl;
22772 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
22773 htmlFileM <<
"<br>" << std::endl;
22776 htmlFileM <<
"<h3> 1H: R vs phi , different eta, Depth6 </h3>" << std::endl;
22779 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
22780 htmlFileM <<
"<br>" << std::endl;
22783 htmlFileM <<
"<h3> 1I: R vs phi , different eta, Depth7 </h3>" << std::endl;
22786 htmlFileM <<
" <img src=\"RdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
22787 htmlFileM <<
"<br>" << std::endl;
22790 htmlFileM <<
"<h2> 2: D(digivarianceSignalhe) </h3>" << std::endl;
22791 htmlFileM <<
"<h3> 2A: eta/phi-plot: D(digivarianceSignalhe), averaged over depthes </h3>" << std::endl;
22794 htmlFileM <<
" <img src=\"DdigiGeneralD2PhiSymmetryHB.png\" />" << std::endl;
22796 htmlFileM <<
" <img src=\"DdigiGeneralD2PhiSymmetryHE.png\" />" << std::endl;
22798 htmlFileM <<
" <img src=\"DdigiGeneralD2PhiSymmetryHF.png\" />" << std::endl;
22799 htmlFileM <<
"<br>" << std::endl;
22801 htmlFileM <<
"<h3> 2B: D(digivarianceSignalhe) vs phi , averaged over depthes & eta </h3>" << std::endl;
22804 htmlFileM <<
" <img src=\"DdigiGeneralD1PhiSymmetryHB.png\" />" << std::endl;
22806 htmlFileM <<
" <img src=\"DdigiGeneralD1PhiSymmetryHE.png\" />" << std::endl;
22808 htmlFileM <<
" <img src=\"DdigiGeneralD1PhiSymmetryHF.png\" />" << std::endl;
22809 htmlFileM <<
"<br>" << std::endl;
22813 htmlFileM <<
"<h2> Positive direction, D(digivarianceSignalhe) </h3>" << std::endl;
22814 htmlFileM <<
"<h3> 2C: D(digivarianceSignalhe) vs phi , different eta, Depth1 </h3>" << std::endl;
22817 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
22819 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
22821 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
22822 htmlFileM <<
"<br>" << std::endl;
22824 htmlFileM <<
"<h3> 2.D. D(digivarianceSignalhe) vs phi , different eta, Depth2 </h3>" << std::endl;
22827 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
22829 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
22831 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
22832 htmlFileM <<
"<br>" << std::endl;
22834 htmlFileM <<
"<h3> 2E: D(digivarianceSignalhe) vs phi , different eta, Depth3 </h3>" << std::endl;
22837 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
22839 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
22841 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth3HF.png\" />" << std::endl;
22842 htmlFileM <<
"<br>" << std::endl;
22844 htmlFileM <<
"<h3> 2F: D(digivarianceSignalhe) vs phi , different eta, Depth4 </h3>" << std::endl;
22847 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
22849 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
22851 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth4HF.png\" />" << std::endl;
22852 htmlFileM <<
"<br>" << std::endl;
22855 htmlFileM <<
"<h3> 2G: D(digivarianceSignalhe) vs phi , different eta, Depth5 </h3>" << std::endl;
22858 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
22859 htmlFileM <<
"<br>" << std::endl;
22862 htmlFileM <<
"<h3> 2H: D(digivarianceSignalhe) vs phi , different eta, Depth6 </h3>" << std::endl;
22865 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
22866 htmlFileM <<
"<br>" << std::endl;
22869 htmlFileM <<
"<h3> 2I: D(digivarianceSignalhe) vs phi , different eta, Depth7 </h3>" << std::endl;
22872 htmlFileM <<
" <img src=\"DdigiPositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
22873 htmlFileM <<
"<br>" << std::endl;
22877 htmlFileM <<
"<h2> 3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" 22881 htmlFileM <<
"<h3> 3C: R vs phi , different eta, Depth1 </h3>" << std::endl;
22884 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
22886 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
22888 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
22889 htmlFileM <<
"<br>" << std::endl;
22891 htmlFileM <<
"<h3> 3D: R vs phi , different eta, Depth2 </h3>" << std::endl;
22894 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
22896 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
22898 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
22899 htmlFileM <<
"<br>" << std::endl;
22901 htmlFileM <<
"<h3> 3E: R vs phi , different eta, Depth3 </h3>" << std::endl;
22904 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
22906 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
22908 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png\" />" << std::endl;
22909 htmlFileM <<
"<br>" << std::endl;
22911 htmlFileM <<
"<h3> 3F: R vs phi , different eta, Depth4 </h3>" << std::endl;
22914 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
22916 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
22918 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png\" />" << std::endl;
22919 htmlFileM <<
"<br>" << std::endl;
22922 htmlFileM <<
"<h3> 3G: R vs phi , different eta, Depth5 </h3>" << std::endl;
22925 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
22926 htmlFileM <<
"<br>" << std::endl;
22929 htmlFileM <<
"<h3> 3H: R vs phi , different eta, Depth6 </h3>" << std::endl;
22932 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
22933 htmlFileM <<
"<br>" << std::endl;
22936 htmlFileM <<
"<h3> 3I: R vs phi , different eta, Depth7 </h3>" << std::endl;
22939 htmlFileM <<
" <img src=\"RdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
22940 htmlFileM <<
"<br>" << std::endl;
22943 htmlFileM <<
"<h2> 4: Negative direction, D(digivarianceSignalhe) </h3>" << std::endl;
22945 htmlFileM <<
"<h3> 4C: D(digivarianceSignalhe) vs phi , different eta, Depth1 </h3>" << std::endl;
22948 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
22950 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
22952 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
22953 htmlFileM <<
"<br>" << std::endl;
22955 htmlFileM <<
"<h3> 4.D. D(digivarianceSignalhe) vs phi , different eta, Depth2 </h3>" << std::endl;
22958 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
22960 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
22962 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
22963 htmlFileM <<
"<br>" << std::endl;
22965 htmlFileM <<
"<h3> 4E: D(digivarianceSignalhe) vs phi , different eta, Depth3 </h3>" << std::endl;
22968 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
22970 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
22972 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth3HF.png\" />" << std::endl;
22973 htmlFileM <<
"<br>" << std::endl;
22975 htmlFileM <<
"<h3> 4F: D(digivarianceSignalhe) vs phi , different eta, Depth4 </h3>" << std::endl;
22978 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
22980 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
22982 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth4HF.png\" />" << std::endl;
22983 htmlFileM <<
"<br>" << std::endl;
22986 htmlFileM <<
"<h3> 4G: D(digivarianceSignalhe) vs phi , different eta, Depth5 </h3>" << std::endl;
22989 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
22990 htmlFileM <<
"<br>" << std::endl;
22993 htmlFileM <<
"<h3> 4H: D(digivarianceSignalhe) vs phi , different eta, Depth6 </h3>" << std::endl;
22996 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
22997 htmlFileM <<
"<br>" << std::endl;
23000 htmlFileM <<
"<h3> 4I: D(digivarianceSignalhe) vs phi , different eta, Depth7 </h3>" << std::endl;
23003 htmlFileM <<
" <img src=\"DdigiNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23004 htmlFileM <<
"<br>" << std::endl;
23013 htmlFileR <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
23014 htmlFileR <<
"<head>" << std::endl;
23015 htmlFileR <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
23016 htmlFileR <<
"<title> Remote Monitoring Tool </title>" << std::endl;
23017 htmlFileR <<
"<style type=\"text/css\">" << std::endl;
23018 htmlFileR <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 23020 htmlFileR <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
23021 htmlFileR <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 23022 "text-align: center;}" 23024 htmlFileR <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
23025 htmlFileR <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
23026 htmlFileR <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
23027 htmlFileR <<
"</style>" << std::endl;
23028 htmlFileR <<
"<body>" << std::endl;
23033 htmlFileR <<
"<h1> RecoSignal Phi-symmetry for Calibration Group, HB, RUN = " <<
runnumber <<
" </h1>" 23036 htmlFileR <<
"<h1> RecoSignal Phi-symmetry for Calibration Group, HE, RUN = " <<
runnumber <<
" </h1>" 23039 htmlFileR <<
"<h1> RecoSignal Phi-symmetry for Calibration Group, HF, RUN = " <<
runnumber <<
" </h1>" 23041 htmlFileR <<
"<br>" << std::endl;
23043 htmlFileR <<
"<h2> 1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
23044 htmlFileR <<
"<h3> 1A: eta/phi-plot: R, averaged over depthes </h3>" << std::endl;
23047 htmlFileR <<
" <img src=\"RrecosignalGeneralD2PhiSymmetryHB.png\" />" << std::endl;
23049 htmlFileR <<
" <img src=\"RrecosignalGeneralD2PhiSymmetryHE.png\" />" << std::endl;
23051 htmlFileR <<
" <img src=\"RrecosignalGeneralD2PhiSymmetryHF.png\" />" << std::endl;
23052 htmlFileR <<
"<br>" << std::endl;
23054 htmlFileR <<
"<h3> 1B: R vs phi , averaged over depthes & eta </h3>" << std::endl;
23057 htmlFileR <<
" <img src=\"RrecosignalGeneralD1PhiSymmetryHB.png\" />" << std::endl;
23059 htmlFileR <<
" <img src=\"RrecosignalGeneralD1PhiSymmetryHE.png\" />" << std::endl;
23061 htmlFileR <<
" <img src=\"RrecosignalGeneralD1PhiSymmetryHF.png\" />" << std::endl;
23062 htmlFileR <<
"<br>" << std::endl;
23067 htmlFileR <<
"<h2> Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
23068 htmlFileR <<
"<h3> 1C: R vs phi , different eta, Depth1 </h3>" << std::endl;
23071 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23073 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23075 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23076 htmlFileR <<
"<br>" << std::endl;
23078 htmlFileR <<
"<h3> 1D: R vs phi , different eta, Depth2 </h3>" << std::endl;
23081 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23083 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23085 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23086 htmlFileR <<
"<br>" << std::endl;
23088 if (sub == 1 || sub == 2)
23089 htmlFileR <<
"<h3> 1E: R vs phi , different eta, Depth3 </h3>" << std::endl;
23092 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23094 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23095 htmlFileR <<
"<br>" << std::endl;
23097 if (sub == 1 || sub == 2)
23098 htmlFileR <<
"<h3> 1F: R vs phi , different eta, Depth4 </h3>" << std::endl;
23101 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23103 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23104 htmlFileR <<
"<br>" << std::endl;
23107 htmlFileR <<
"<h3> 1G: R vs phi , different eta, Depth5 </h3>" << std::endl;
23110 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23111 htmlFileR <<
"<br>" << std::endl;
23114 htmlFileR <<
"<h3> 1H: R vs phi , different eta, Depth6 </h3>" << std::endl;
23117 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23118 htmlFileR <<
"<br>" << std::endl;
23121 htmlFileR <<
"<h3> 1I: R vs phi , different eta, Depth7 </h3>" << std::endl;
23124 htmlFileR <<
" <img src=\"RrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23125 htmlFileR <<
"<br>" << std::endl;
23128 htmlFileR <<
"<h2> 2: D(recosignalvarianceSignalhe) </h3>" << std::endl;
23129 htmlFileR <<
"<h3> 2A: eta/phi-plot: D(recosignalvarianceSignalhe), averaged over depthes </h3>" << std::endl;
23132 htmlFileR <<
" <img src=\"DrecosignalGeneralD2PhiSymmetryHB.png\" />" << std::endl;
23134 htmlFileR <<
" <img src=\"DrecosignalGeneralD2PhiSymmetryHE.png\" />" << std::endl;
23136 htmlFileR <<
" <img src=\"DrecosignalGeneralD2PhiSymmetryHF.png\" />" << std::endl;
23137 htmlFileR <<
"<br>" << std::endl;
23139 htmlFileR <<
"<h3> 2B: D(recosignalvarianceSignalhe) vs phi , averaged over depthes & eta </h3>" << std::endl;
23142 htmlFileR <<
" <img src=\"DrecosignalGeneralD1PhiSymmetryHB.png\" />" << std::endl;
23144 htmlFileR <<
" <img src=\"DrecosignalGeneralD1PhiSymmetryHE.png\" />" << std::endl;
23146 htmlFileR <<
" <img src=\"DrecosignalGeneralD1PhiSymmetryHF.png\" />" << std::endl;
23147 htmlFileR <<
"<br>" << std::endl;
23151 htmlFileR <<
"<h2> Positive direction, D(recosignalvarianceSignalhe) </h3>" << std::endl;
23152 htmlFileR <<
"<h3> 2C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1 </h3>" << std::endl;
23155 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23157 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23159 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23160 htmlFileR <<
"<br>" << std::endl;
23162 htmlFileR <<
"<h3> 2.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2 </h3>" << std::endl;
23165 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23167 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23169 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23170 htmlFileR <<
"<br>" << std::endl;
23172 if (sub == 1 || sub == 2)
23173 htmlFileR <<
"<h3> 2E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3 </h3>" << std::endl;
23176 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23178 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23179 htmlFileR <<
"<br>" << std::endl;
23181 if (sub == 1 || sub == 2)
23182 htmlFileR <<
"<h3> 2F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4 </h3>" << std::endl;
23185 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23187 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23188 htmlFileR <<
"<br>" << std::endl;
23191 htmlFileR <<
"<h3> 2G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5 </h3>" << std::endl;
23194 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23195 htmlFileR <<
"<br>" << std::endl;
23198 htmlFileR <<
"<h3> 2H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6 </h3>" << std::endl;
23201 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23202 htmlFileR <<
"<br>" << std::endl;
23205 htmlFileR <<
"<h3> 2I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7 </h3>" << std::endl;
23208 htmlFileR <<
" <img src=\"DrecosignalPositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23209 htmlFileR <<
"<br>" << std::endl;
23213 htmlFileR <<
"<h2> 3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" 23217 htmlFileR <<
"<h3> 3C: R vs phi , different eta, Depth1 </h3>" << std::endl;
23220 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23222 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23224 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23225 htmlFileR <<
"<br>" << std::endl;
23227 htmlFileR <<
"<h3> 3D: R vs phi , different eta, Depth2 </h3>" << std::endl;
23230 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23232 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23234 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23235 htmlFileR <<
"<br>" << std::endl;
23237 if (sub == 1 || sub == 2)
23238 htmlFileR <<
"<h3> 3E: R vs phi , different eta, Depth3 </h3>" << std::endl;
23241 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23243 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23244 htmlFileR <<
"<br>" << std::endl;
23246 if (sub == 1 || sub == 2)
23247 htmlFileR <<
"<h3> 3F: R vs phi , different eta, Depth4 </h3>" << std::endl;
23250 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23252 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23253 htmlFileR <<
"<br>" << std::endl;
23256 htmlFileR <<
"<h3> 3G: R vs phi , different eta, Depth5 </h3>" << std::endl;
23259 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23260 htmlFileR <<
"<br>" << std::endl;
23263 htmlFileR <<
"<h3> 3H: R vs phi , different eta, Depth6 </h3>" << std::endl;
23266 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23267 htmlFileR <<
"<br>" << std::endl;
23270 htmlFileR <<
"<h3> 3I: R vs phi , different eta, Depth7 </h3>" << std::endl;
23273 htmlFileR <<
" <img src=\"RrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23274 htmlFileR <<
"<br>" << std::endl;
23277 htmlFileR <<
"<h2> 4: Negative direction, D(recosignalvarianceSignalhe) </h3>" << std::endl;
23279 htmlFileR <<
"<h3> 4C: D(recosignalvarianceSignalhe) vs phi , different eta, Depth1 </h3>" << std::endl;
23282 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23284 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23286 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23287 htmlFileR <<
"<br>" << std::endl;
23289 htmlFileR <<
"<h3> 4.D. D(recosignalvarianceSignalhe) vs phi , different eta, Depth2 </h3>" << std::endl;
23292 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23294 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23296 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23297 htmlFileR <<
"<br>" << std::endl;
23299 if (sub == 1 || sub == 2)
23300 htmlFileR <<
"<h3> 4E: D(recosignalvarianceSignalhe) vs phi , different eta, Depth3 </h3>" << std::endl;
23303 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23305 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23306 htmlFileR <<
"<br>" << std::endl;
23308 if (sub == 1 || sub == 2)
23309 htmlFileR <<
"<h3> 4F: D(recosignalvarianceSignalhe) vs phi , different eta, Depth4 </h3>" << std::endl;
23312 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23314 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23315 htmlFileR <<
"<br>" << std::endl;
23318 htmlFileR <<
"<h3> 4G: D(recosignalvarianceSignalhe) vs phi , different eta, Depth5 </h3>" << std::endl;
23321 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23322 htmlFileR <<
"<br>" << std::endl;
23325 htmlFileR <<
"<h3> 4H: D(recosignalvarianceSignalhe) vs phi , different eta, Depth6 </h3>" << std::endl;
23328 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23329 htmlFileR <<
"<br>" << std::endl;
23332 htmlFileR <<
"<h3> 4I: D(recosignalvarianceSignalhe) vs phi , different eta, Depth7 </h3>" << std::endl;
23335 htmlFileR <<
" <img src=\"DrecosignalNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23336 htmlFileR <<
"<br>" << std::endl;
23345 htmlFileN <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
23346 htmlFileN <<
"<head>" << std::endl;
23347 htmlFileN <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
23348 htmlFileN <<
"<title> Remote Monitoring Tool </title>" << std::endl;
23349 htmlFileN <<
"<style type=\"text/css\">" << std::endl;
23350 htmlFileN <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 23352 htmlFileN <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
23353 htmlFileN <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 23354 "text-align: center;}" 23356 htmlFileN <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
23357 htmlFileN <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
23358 htmlFileN <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
23359 htmlFileN <<
"</style>" << std::endl;
23360 htmlFileN <<
"<body>" << std::endl;
23365 htmlFileN <<
"<h1> RecoNoise Phi-symmetry for Calibration Group, HB, RUN = " <<
runnumber <<
" </h1>" 23368 htmlFileN <<
"<h1> RecoNoise Phi-symmetry for Calibration Group, HE, RUN = " <<
runnumber <<
" </h1>" 23371 htmlFileN <<
"<h1> RecoNoise Phi-symmetry for Calibration Group, HF, RUN = " <<
runnumber <<
" </h1>" 23373 htmlFileN <<
"<br>" << std::endl;
23375 htmlFileN <<
"<h2> 1: R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
23376 htmlFileN <<
"<h3> 1A: eta/phi-plot: R, averaged over depthes </h3>" << std::endl;
23379 htmlFileN <<
" <img src=\"RreconoiseGeneralD2PhiSymmetryHB.png\" />" << std::endl;
23381 htmlFileN <<
" <img src=\"RreconoiseGeneralD2PhiSymmetryHE.png\" />" << std::endl;
23383 htmlFileN <<
" <img src=\"RreconoiseGeneralD2PhiSymmetryHF.png\" />" << std::endl;
23384 htmlFileN <<
"<br>" << std::endl;
23386 htmlFileN <<
"<h3> 1B: R vs phi , averaged over depthes & eta </h3>" << std::endl;
23389 htmlFileN <<
" <img src=\"RreconoiseGeneralD1PhiSymmetryHB.png\" />" << std::endl;
23391 htmlFileN <<
" <img src=\"RreconoiseGeneralD1PhiSymmetryHE.png\" />" << std::endl;
23393 htmlFileN <<
" <img src=\"RreconoiseGeneralD1PhiSymmetryHF.png\" />" << std::endl;
23394 htmlFileN <<
"<br>" << std::endl;
23399 htmlFileN <<
"<h2> Positive direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" << std::endl;
23400 htmlFileN <<
"<h3> 1C: R vs phi , different eta, Depth1 </h3>" << std::endl;
23403 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23405 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23407 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23408 htmlFileN <<
"<br>" << std::endl;
23410 htmlFileN <<
"<h3> 1D: R vs phi , different eta, Depth2 </h3>" << std::endl;
23413 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23415 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23417 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23418 htmlFileN <<
"<br>" << std::endl;
23420 if (sub == 1 || sub == 2)
23421 htmlFileN <<
"<h3> 1E: R vs phi , different eta, Depth3 </h3>" << std::endl;
23424 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23426 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23427 htmlFileN <<
"<br>" << std::endl;
23429 if (sub == 1 || sub == 2)
23430 htmlFileN <<
"<h3> 1F: R vs phi , different eta, Depth4 </h3>" << std::endl;
23433 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23435 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23436 htmlFileN <<
"<br>" << std::endl;
23439 htmlFileN <<
"<h3> 1G: R vs phi , different eta, Depth5 </h3>" << std::endl;
23442 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23443 htmlFileN <<
"<br>" << std::endl;
23446 htmlFileN <<
"<h3> 1H: R vs phi , different eta, Depth6 </h3>" << std::endl;
23449 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23450 htmlFileN <<
"<br>" << std::endl;
23453 htmlFileN <<
"<h3> 1I: R vs phi , different eta, Depth7 </h3>" << std::endl;
23456 htmlFileN <<
" <img src=\"RreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23457 htmlFileN <<
"<br>" << std::endl;
23460 htmlFileN <<
"<h2> 2: D(reconoisevarianceNoisehe) </h3>" << std::endl;
23461 htmlFileN <<
"<h3> 2A: eta/phi-plot: D(reconoisevarianceNoisehe), averaged over depthes </h3>" << std::endl;
23464 htmlFileN <<
" <img src=\"DreconoiseGeneralD2PhiSymmetryHB.png\" />" << std::endl;
23466 htmlFileN <<
" <img src=\"DreconoiseGeneralD2PhiSymmetryHE.png\" />" << std::endl;
23468 htmlFileN <<
" <img src=\"DreconoiseGeneralD2PhiSymmetryHF.png\" />" << std::endl;
23469 htmlFileN <<
"<br>" << std::endl;
23471 htmlFileN <<
"<h3> 2B: D(reconoisevarianceNoisehe) vs phi , averaged over depthes & eta </h3>" << std::endl;
23474 htmlFileN <<
" <img src=\"DreconoiseGeneralD1PhiSymmetryHB.png\" />" << std::endl;
23476 htmlFileN <<
" <img src=\"DreconoiseGeneralD1PhiSymmetryHE.png\" />" << std::endl;
23478 htmlFileN <<
" <img src=\"DreconoiseGeneralD1PhiSymmetryHF.png\" />" << std::endl;
23479 htmlFileN <<
"<br>" << std::endl;
23483 htmlFileN <<
"<h2> Positive direction, D(reconoisevarianceNoisehe) </h3>" << std::endl;
23484 htmlFileN <<
"<h3> 2C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1 </h3>" << std::endl;
23487 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23489 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23491 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23492 htmlFileN <<
"<br>" << std::endl;
23494 htmlFileN <<
"<h3> 2.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2 </h3>" << std::endl;
23497 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23499 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23501 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23502 htmlFileN <<
"<br>" << std::endl;
23504 if (sub == 1 || sub == 2)
23505 htmlFileN <<
"<h3> 2E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3 </h3>" << std::endl;
23508 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23510 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23511 htmlFileN <<
"<br>" << std::endl;
23513 if (sub == 1 || sub == 2)
23514 htmlFileN <<
"<h3> 2F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4 </h3>" << std::endl;
23517 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23519 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23520 htmlFileN <<
"<br>" << std::endl;
23523 htmlFileN <<
"<h3> 2G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5 </h3>" << std::endl;
23526 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23527 htmlFileN <<
"<br>" << std::endl;
23530 htmlFileN <<
"<h3> 2H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6 </h3>" << std::endl;
23533 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23534 htmlFileN <<
"<br>" << std::endl;
23537 htmlFileN <<
"<h3> 2I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7 </h3>" << std::endl;
23540 htmlFileN <<
" <img src=\"DreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23541 htmlFileN <<
"<br>" << std::endl;
23545 htmlFileN <<
"<h2> 3: Negative direction, R = R_depth_ieta_iphi = E_depth_ieta_iphi/E_depth_ieta </h3>" 23549 htmlFileN <<
"<h3> 3C: R vs phi , different eta, Depth1 </h3>" << std::endl;
23552 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23554 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23556 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23557 htmlFileN <<
"<br>" << std::endl;
23559 htmlFileN <<
"<h3> 3D: R vs phi , different eta, Depth2 </h3>" << std::endl;
23562 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23564 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23566 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23567 htmlFileN <<
"<br>" << std::endl;
23569 if (sub == 1 || sub == 2)
23570 htmlFileN <<
"<h3> 3E: R vs phi , different eta, Depth3 </h3>" << std::endl;
23573 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23575 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23576 htmlFileN <<
"<br>" << std::endl;
23578 if (sub == 1 || sub == 2)
23579 htmlFileN <<
"<h3> 3F: R vs phi , different eta, Depth4 </h3>" << std::endl;
23582 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23584 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23585 htmlFileN <<
"<br>" << std::endl;
23588 htmlFileN <<
"<h3> 3G: R vs phi , different eta, Depth5 </h3>" << std::endl;
23591 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23592 htmlFileN <<
"<br>" << std::endl;
23595 htmlFileN <<
"<h3> 3H: R vs phi , different eta, Depth6 </h3>" << std::endl;
23598 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23599 htmlFileN <<
"<br>" << std::endl;
23602 htmlFileN <<
"<h3> 3I: R vs phi , different eta, Depth7 </h3>" << std::endl;
23605 htmlFileN <<
" <img src=\"RreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23606 htmlFileN <<
"<br>" << std::endl;
23609 htmlFileN <<
"<h2> 4: Negative direction, D(reconoisevarianceNoisehe) </h3>" << std::endl;
23611 htmlFileN <<
"<h3> 4C: D(reconoisevarianceNoisehe) vs phi , different eta, Depth1 </h3>" << std::endl;
23614 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23616 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23618 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23619 htmlFileN <<
"<br>" << std::endl;
23621 htmlFileN <<
"<h3> 4.D. D(reconoisevarianceNoisehe) vs phi , different eta, Depth2 </h3>" << std::endl;
23624 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23626 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23628 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23629 htmlFileN <<
"<br>" << std::endl;
23631 if (sub == 1 || sub == 2)
23632 htmlFileN <<
"<h3> 4E: D(reconoisevarianceNoisehe) vs phi , different eta, Depth3 </h3>" << std::endl;
23635 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23637 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23638 htmlFileN <<
"<br>" << std::endl;
23640 if (sub == 1 || sub == 2)
23641 htmlFileN <<
"<h3> 4F: D(reconoisevarianceNoisehe) vs phi , different eta, Depth4 </h3>" << std::endl;
23644 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23646 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23647 htmlFileN <<
"<br>" << std::endl;
23650 htmlFileN <<
"<h3> 4G: D(reconoisevarianceNoisehe) vs phi , different eta, Depth5 </h3>" << std::endl;
23653 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23654 htmlFileN <<
"<br>" << std::endl;
23657 htmlFileN <<
"<h3> 4H: D(reconoisevarianceNoisehe) vs phi , different eta, Depth6 </h3>" << std::endl;
23660 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23661 htmlFileN <<
"<br>" << std::endl;
23664 htmlFileN <<
"<h3> 4I: D(reconoisevarianceNoisehe) vs phi , different eta, Depth7 </h3>" << std::endl;
23667 htmlFileN <<
" <img src=\"DreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23668 htmlFileN <<
"<br>" << std::endl;
23674 htmlFileN <<
"<h1> Only for Noise RecHits these lines below, HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23676 htmlFileN <<
"<h1> Only for Noise RecHits these lines below, HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23678 htmlFileN <<
"<h1> Only for Noise RecHits these lines below, HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23679 htmlFileN <<
"<br>" << std::endl;
23681 htmlFileN <<
"<h2> 5: DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta </h3>" << std::endl;
23682 htmlFileN <<
"<h3> 5A: eta/phi-plot: DIF, averaged over depthes </h3>" << std::endl;
23685 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD2PhiSymmetryHB.png\" />" << std::endl;
23687 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD2PhiSymmetryHE.png\" />" << std::endl;
23689 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD2PhiSymmetryHF.png\" />" << std::endl;
23690 htmlFileN <<
"<br>" << std::endl;
23692 htmlFileN <<
"<h3> 5B: DIF vs phi , averaged over depthes & eta </h3>" << std::endl;
23695 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD1PhiSymmetryHB.png\" />" << std::endl;
23697 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD1PhiSymmetryHE.png\" />" << std::endl;
23699 htmlFileN <<
" <img src=\"DIFreconoiseGeneralD1PhiSymmetryHF.png\" />" << std::endl;
23700 htmlFileN <<
"<br>" << std::endl;
23705 htmlFileN <<
"<h2> Positive direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta </h3>" 23707 htmlFileN <<
"<h3> 5C: DIF vs phi , different eta, Depth1 </h3>" << std::endl;
23710 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23712 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23714 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23715 htmlFileN <<
"<br>" << std::endl;
23717 htmlFileN <<
"<h3> 5D: DIF vs phi , different eta, Depth2 </h3>" << std::endl;
23720 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23722 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23724 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23725 htmlFileN <<
"<br>" << std::endl;
23727 if (sub == 1 || sub == 2)
23728 htmlFileN <<
"<h3> 1E: DIF vs phi , different eta, Depth3 </h3>" << std::endl;
23731 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23733 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23734 htmlFileN <<
"<br>" << std::endl;
23736 if (sub == 1 || sub == 2)
23737 htmlFileN <<
"<h3> 5F: DIF vs phi , different eta, Depth4 </h3>" << std::endl;
23740 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23742 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23743 htmlFileN <<
"<br>" << std::endl;
23746 htmlFileN <<
"<h3> 5G: DIF vs phi , different eta, Depth5 </h3>" << std::endl;
23749 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23750 htmlFileN <<
"<br>" << std::endl;
23753 htmlFileN <<
"<h3> 5H: DIF vs phi , different eta, Depth6 </h3>" << std::endl;
23756 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23757 htmlFileN <<
"<br>" << std::endl;
23760 htmlFileN <<
"<h3> 5I: DIF vs phi , different eta, Depth7 </h3>" << std::endl;
23763 htmlFileN <<
" <img src=\"DIFreconoisePositiveDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23764 htmlFileN <<
"<br>" << std::endl;
23769 htmlFileN <<
"<h2> Negative direction, DIF = DIF_depth_ieta_iphi = E_depth_ieta_iphi - E_depth_ieta </h3>" 23771 htmlFileN <<
"<h3> 5C: DIF vs phi , different eta, Depth1 </h3>" << std::endl;
23774 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HB.png\" />" << std::endl;
23776 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HE.png\" />" << std::endl;
23778 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth1HF.png\" />" << std::endl;
23779 htmlFileN <<
"<br>" << std::endl;
23781 htmlFileN <<
"<h3> 5D: DIF vs phi , different eta, Depth2 </h3>" << std::endl;
23784 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HB.png\" />" << std::endl;
23786 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HE.png\" />" << std::endl;
23788 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth2HF.png\" />" << std::endl;
23789 htmlFileN <<
"<br>" << std::endl;
23791 if (sub == 1 || sub == 2)
23792 htmlFileN <<
"<h3> 5E: DIF vs phi , different eta, Depth3 </h3>" << std::endl;
23795 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HB.png\" />" << std::endl;
23797 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth3HE.png\" />" << std::endl;
23798 htmlFileN <<
"<br>" << std::endl;
23800 if (sub == 1 || sub == 2)
23801 htmlFileN <<
"<h3> 5F: DIF vs phi , different eta, Depth4 </h3>" << std::endl;
23804 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HB.png\" />" << std::endl;
23806 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth4HE.png\" />" << std::endl;
23807 htmlFileN <<
"<br>" << std::endl;
23810 htmlFileN <<
"<h3> 5G: DIF vs phi , different eta, Depth5 </h3>" << std::endl;
23813 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth5HE.png\" />" << std::endl;
23814 htmlFileN <<
"<br>" << std::endl;
23817 htmlFileN <<
"<h3> 5H: DIF vs phi , different eta, Depth6 </h3>" << std::endl;
23820 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth6HE.png\" />" << std::endl;
23821 htmlFileN <<
"<br>" << std::endl;
23824 htmlFileN <<
"<h3> 5I: DIF vs phi , different eta, Depth7 </h3>" << std::endl;
23827 htmlFileN <<
" <img src=\"DIFreconoiseNegativeDirectionhistD1PhiSymmetryDepth7HE.png\" />" << std::endl;
23828 htmlFileN <<
"<br>" << std::endl;
23846 std::cout <<
"************ Start creating subdet html pages: - rather long time needed, waiting please" 23851 for (
int sub = 1; sub <= 4; sub++) {
23854 htmlFile.open(
"HB.html");
23856 htmlFile.open(
"HE.html");
23858 htmlFile.open(
"HO.html");
23860 htmlFile.open(
"HF.html");
23862 htmlFile <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
23863 htmlFile <<
"<head>" << std::endl;
23864 htmlFile <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
23865 htmlFile <<
"<title> Remote Monitoring Tool </title>" << std::endl;
23866 htmlFile <<
"<style type=\"text/css\">" << std::endl;
23867 htmlFile <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 23869 htmlFile <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
23870 htmlFile <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 23871 "text-align: center;}" 23873 htmlFile <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
23874 htmlFile <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
23875 htmlFile <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
23876 htmlFile <<
" td.s5 { font-family: arial, arial ce, helvetica; background-color: #FF00FF; }" << std::endl;
23877 htmlFile <<
" td.s6 { font-family: arial, arial ce, helvetica; background-color: #9ACD32; }" << std::endl;
23878 htmlFile <<
" td.s7 { font-family: arial, arial ce, helvetica; background-color: #32CD32; }" << std::endl;
23879 htmlFile <<
" td.s8 { font-family: arial, arial ce, helvetica; background-color: #00FFFF; }" << std::endl;
23880 htmlFile <<
" td.s9 { font-family: arial, arial ce, helvetica; background-color: #FFE4E1; }" << std::endl;
23881 htmlFile <<
" td.s10 { font-family: arial, arial ce, helvetica; background-color: #A0522D; }" << std::endl;
23882 htmlFile <<
" td.s11 { font-family: arial, arial ce, helvetica; background-color: #1E90FF; }" << std::endl;
23883 htmlFile <<
" td.s12 { font-family: arial, arial ce, helvetica; background-color: #00BFFF; }" << std::endl;
23884 htmlFile <<
" td.s13 { font-family: arial, arial ce, helvetica; background-color: #FFFF00; }" << std::endl;
23885 htmlFile <<
" td.s14 { font-family: arial, arial ce, helvetica; background-color: #B8860B; }" << std::endl;
23886 htmlFile <<
"</style>" << std::endl;
23887 htmlFile <<
"<body>" << std::endl;
23889 htmlFile <<
"<h1> HCAL BARREL, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23891 htmlFile <<
"<h1> HCAL ENDCAP, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23893 htmlFile <<
"<h1> HCAL OUTER, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23895 htmlFile <<
"<h1> HCAL FORWARD, RUN = " <<
runnumber <<
" </h1>" << std::endl;
23896 htmlFile <<
"<br>" << std::endl;
23898 htmlFile <<
"<h2> 1. Analysis results for HB</h2>" << std::endl;
23900 htmlFile <<
"<h2> 1. Analysis results for HE</h2>" << std::endl;
23902 htmlFile <<
"<h2> 1. Analysis results for HO</h2>" << std::endl;
23904 htmlFile <<
"<h2> 1. Analysis results for HF</h2>" << std::endl;
23905 htmlFile <<
"<table width=\"600\">" << std::endl;
23906 htmlFile <<
"<tr>" << std::endl;
23920 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23921 <<
"/HB_Tile.html\">Megatile Channels</a></td>" << std::endl;
23922 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23923 <<
"/HB_Calib.html\">Calibration Channels</a></td>" << std::endl;
23924 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23925 <<
"/HB_Drift.html\">Gain Stability</a></td>" << std::endl;
23926 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23927 <<
"/HB_Pedestals.html\">Pedestals</a></td>" << std::endl;
23928 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23929 <<
"/HB_Shapes.html\">ADC Shapes</a></td>" << std::endl;
23930 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23931 <<
"/HB_PhiSymmetryDigi.html\">Phi-SymmetryDigi</a></td>" << std::endl;
23932 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23933 <<
"/HB_PhiSymmetryRecoSignal.html\">Phi-SymmetryRecoSignal</a></td>" << std::endl;
23934 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23935 <<
"/HB_PhiSymmetryRecoNoise.html\">Phi-SymmetryRecoNoise</a></td>" << std::endl;
23949 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23950 <<
"/HE_Tile.html\">Megatile Channels</a></td>" << std::endl;
23951 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23952 <<
"/HE_Calib.html\">Calibration Channels</a></td>" << std::endl;
23953 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23954 <<
"/HE_Drift.html\">Gain Stability</a></td>" << std::endl;
23955 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23956 <<
"/HE_Pedestals.html\">Pedestals</a></td>" << std::endl;
23957 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23958 <<
"/HE_Shapes.html\">ADC Shapes</a></td>" << std::endl;
23959 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23960 <<
"/HE_PhiSymmetryDigi.html\">Phi-symmetryDigi</a></td>" << std::endl;
23961 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23962 <<
"/HE_PhiSymmetryRecoSignal.html\">Phi-symmetryRecoSignal</a></td>" << std::endl;
23963 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23964 <<
"/HE_PhiSymmetryRecoNoise.html\">Phi-symmetryRecoNoise</a></td>" << std::endl;
23974 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23975 <<
"/HO_Tile.html\">Megatile Channels</a></td>" << std::endl;
23976 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23977 <<
"/HO_Calib.html\">Calibration Channels</a></td>" << std::endl;
23978 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23979 <<
"/HO_Drift.html\">Gain Stability</a></td>" << std::endl;
23980 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23981 <<
"/HO_Pedestals.html\">Pedestals</a></td>" << std::endl;
23982 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23983 <<
"/HO_Shapes.html\">ADC Shapes</a></td>" << std::endl;
23998 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 23999 <<
"/HF_Tile.html\">Megatile Channels</a></td>" << std::endl;
24000 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24001 <<
"/HF_Calib.html\">Calibration Channels</a></td>" << std::endl;
24002 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24003 <<
"/HF_Drift.html\">Gain Stability</a></td>" << std::endl;
24004 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24005 <<
"/HF_Pedestals.html\">Pedestals</a></td>" << std::endl;
24006 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24007 <<
"/HF_Shapes.html\">ADC Shapes</a></td>" << std::endl;
24008 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24009 <<
"/HF_PhiSymmetryDigi.html\">Phi-symmetryDigi</a></td>" << std::endl;
24010 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24011 <<
"/HF_PhiSymmetryRecoSignal.html\">Phi-symmetryRecoSignal</a></td>" << std::endl;
24012 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24013 <<
"/HF_PhiSymmetryRecoNoise.html\">Phi-symmetryRecoNoise</a></td>" << std::endl;
24016 htmlFile <<
"</tr>" << std::endl;
24017 htmlFile <<
"</table>" << std::endl;
24018 htmlFile <<
"<br>" << std::endl;
24020 htmlFile <<
"<h2> 2.Status HB over all criteria </h2>" << std::endl;
24022 htmlFile <<
"<h2> 2.Status HE over all criteria </h2>" << std::endl;
24024 htmlFile <<
"<h2> 2.Status HO over all criteria </h2>" << std::endl;
24026 htmlFile <<
"<h2> 2.Status HF over all criteria </h2>" << std::endl;
24027 htmlFile <<
"<h3> 2.A.Channel map for each Depth </h3>" << std::endl;
24028 htmlFile <<
"<h4> Channel legend: green - good, red - bad (rate of failures at least 0.1), yellow - at least 2% " 24029 "gain drift, white - not applicable or out of range </h4>" 24032 htmlFile <<
" <img src=\"MAPHB.png\" />" << std::endl;
24034 htmlFile <<
" <img src=\"MAPHE.png\" />" << std::endl;
24036 htmlFile <<
" <img src=\"MAPHO.png\" />" << std::endl;
24038 htmlFile <<
" <img src=\"MAPHF.png\" />" << std::endl;
24039 htmlFile <<
"<br>" << std::endl;
24041 htmlFile <<
"<h3> 2.B.List of Bad channels (rate > 0.1) and its rates for each RMT criteria (for GS - %) </h3>" 24045 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24046 <<
"/HELP.html\"> Description of criteria for bad channel selection</a></td>" << std::endl;
24048 htmlFile <<
"<table>" << std::endl;
24049 htmlFile <<
"<tr>";
24050 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24051 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24052 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24053 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24054 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24055 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24056 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24057 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24058 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24059 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24060 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24061 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24062 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24063 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24064 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24065 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24066 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24067 htmlFile <<
"<td class=\"s5\" align=\"center\">Cm</td>" << std::endl;
24068 htmlFile <<
"<td class=\"s5\" align=\"center\">Am</td>" << std::endl;
24069 htmlFile <<
"<td class=\"s5\" align=\"center\">Wm</td>" << std::endl;
24070 htmlFile <<
"<td class=\"s5\" align=\"center\">Rm</td>" << std::endl;
24071 htmlFile <<
"<td class=\"s5\" align=\"center\">TNm</td>" << std::endl;
24072 htmlFile <<
"<td class=\"s5\" align=\"center\">TXm</td>" << std::endl;
24073 htmlFile <<
"<td class=\"s9\" align=\"center\">GS (%)</td>" << std::endl;
24074 htmlFile <<
"<td class=\"s4\" align=\"center\">Pm</td>" << std::endl;
24075 htmlFile <<
"<td class=\"s4\" align=\"center\">pWm</td>" << std::endl;
24076 htmlFile <<
"<td class=\"s8\" align=\"center\">Cc</td>" << std::endl;
24077 htmlFile <<
"<td class=\"s8\" align=\"center\">Ac</td>" << std::endl;
24078 htmlFile <<
"<td class=\"s8\" align=\"center\">Wc</td>" << std::endl;
24079 htmlFile <<
"<td class=\"s8\" align=\"center\">Rc</td>" << std::endl;
24080 htmlFile <<
"<td class=\"s8\" align=\"center\">TNc</td>" << std::endl;
24081 htmlFile <<
"<td class=\"s8\" align=\"center\">TXc</td>" << std::endl;
24083 htmlFile <<
"</tr>" << std::endl;
24085 for (
int i = 1;
i <= NBad;
i++) {
24086 if ((ind % 2) == 1) {
24087 raw_class =
"<td class=\"s2\" align=\"center\">";
24088 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24089 raw_class2 =
"<td class=\"s11\" align=\"center\">";
24090 raw_class3 =
"<td class=\"s13\" align=\"center\">";
24093 raw_class =
"<td class=\"s3\" align=\"center\">";
24094 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24095 raw_class2 =
"<td class=\"s12\" align=\"center\">";
24096 raw_class3 =
"<td class=\"s14\" align=\"center\">";
24100 if ((ce.
size() >= 1) && (Sub[2][
i] == sub)) {
24101 if (Sub[2][
i] == 1) {
24102 ce =
db.find(
"subdet",
"HB").find(
"Eta", Eta[2][
i]).find(
"Phi",
Phi[2][
i]).find(
"Depth",
Depth[2][
i]);
24103 if (ce.
size() == 0) {
24106 }
else if (ce.
size() > 1) {
24107 cout <<
"Warning: More than one line correspond to such HB, Eta=" << Eta[2][
i] <<
", Phi=" <<
Phi[2][
i]
24108 <<
", Depth=" <<
Depth[2][
i] <<
" in database" << endl;
24111 if (Sub[2][
i] == 2) {
24112 ce =
db.find(
"subdet",
"HE").find(
"Eta", Eta[2][
i]).find(
"Phi",
Phi[2][
i]).find(
"Depth",
Depth[2][
i]);
24113 if (ce.
size() == 0) {
24116 }
else if (ce.
size() > 1) {
24117 cout <<
"Warning: More than one line correspond to such HE, Eta=" << Eta[2][
i] <<
", Phi=" <<
Phi[2][
i]
24118 <<
", Depth=" <<
Depth[2][
i] <<
" in database" << endl;
24121 if (Sub[2][
i] == 3) {
24122 ce =
db.find(
"subdet",
"HO").find(
"Eta", Eta[2][
i]).find(
"Phi",
Phi[2][
i]).find(
"Depth",
Depth[2][
i]);
24123 if (ce.
size() == 0) {
24126 }
else if (ce.
size() > 1) {
24127 cout <<
"Warning: More than one line correspond to such HO, Eta=" << Eta[2][
i] <<
", Phi=" <<
Phi[2][
i]
24128 <<
", Depth=" <<
Depth[2][
i] <<
" in database" << endl;
24131 if (Sub[2][
i] == 4) {
24132 ce =
db.find(
"subdet",
"HF").find(
"Eta", Eta[2][
i]).find(
"Phi",
Phi[2][
i]).find(
"Depth",
Depth[2][
i]);
24133 if (ce.
size() == 0) {
24136 }
else if (ce.
size() > 1) {
24137 cout <<
"Warning: More than one line correspond to such HF, Eta=" << Eta[2][
i] <<
", Phi=" <<
Phi[2][
i]
24138 <<
", Depth=" <<
Depth[2][
i] <<
" in database" << endl;
24141 htmlFile <<
"<tr>" << std::endl;
24142 htmlFile <<
"<td class=\"s4\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24143 htmlFile << raw_class << Eta[2][
i] <<
"</td>" << std::endl;
24144 htmlFile << raw_class <<
Phi[2][
i] <<
"</td>" << std::endl;
24145 htmlFile << raw_class <<
Depth[2][
i] <<
"</td>" << std::endl;
24146 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24147 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24148 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24149 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24150 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24151 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24152 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24153 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24154 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24155 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24156 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24157 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24158 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24159 htmlFile << raw_class1 << Map_Ampl[1][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24160 <<
"</td>" << std::endl;
24161 htmlFile << raw_class1 << Map_Ampl[2][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24162 <<
"</td>" << std::endl;
24163 htmlFile << raw_class1 << Map_Ampl[3][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24164 <<
"</td>" << std::endl;
24165 htmlFile << raw_class1 << Map_Ampl[4][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24166 <<
"</td>" << std::endl;
24167 htmlFile << raw_class1 << Map_Ampl[5][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24168 <<
"</td>" << std::endl;
24169 htmlFile << raw_class1 << Map_Ampl[6][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24170 <<
"</td>" << std::endl;
24171 htmlFile << raw_class3 << Map_Ampl[21][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24172 <<
"</td>" << std::endl;
24173 htmlFile << raw_class << Map_Ampl[31][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24174 <<
"</td>" << std::endl;
24175 htmlFile << raw_class << Map_Ampl[32][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24176 <<
"</td>" << std::endl;
24177 htmlFile << raw_class2 << Map_Ampl[11][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24178 <<
"</td>" << std::endl;
24179 htmlFile << raw_class2 << Map_Ampl[12][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24180 <<
"</td>" << std::endl;
24181 htmlFile << raw_class2 << Map_Ampl[13][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24182 <<
"</td>" << std::endl;
24183 htmlFile << raw_class2 << Map_Ampl[14][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24184 <<
"</td>" << std::endl;
24185 htmlFile << raw_class2 << Map_Ampl[15][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24186 <<
"</td>" << std::endl;
24187 htmlFile << raw_class2 << Map_Ampl[16][Sub[2][
i]][
Depth[2][
i]]->GetBinContent(Eta[2][
i] + 41,
Phi[2][
i] + 1)
24188 <<
"</td>" << std::endl;
24189 htmlFile <<
"</tr>" << std::endl;
24194 htmlFile <<
"</table>" << std::endl;
24195 htmlFile <<
"<br>" << std::endl;
24197 htmlFile <<
"<h3> 2.C.List of Gain unstable channels and its value in % (for other criterias - rate)</h3>" 24199 htmlFile <<
"<table>" << std::endl;
24200 htmlFile <<
"<tr>";
24201 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24202 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24203 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24204 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24205 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24206 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24207 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24208 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24209 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24210 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24211 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24212 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24213 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24214 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24215 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24216 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24217 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24218 htmlFile <<
"<td class=\"s5\" align=\"center\">Cm</td>" << std::endl;
24219 htmlFile <<
"<td class=\"s5\" align=\"center\">Am</td>" << std::endl;
24220 htmlFile <<
"<td class=\"s5\" align=\"center\">Wm</td>" << std::endl;
24221 htmlFile <<
"<td class=\"s5\" align=\"center\">Rm</td>" << std::endl;
24222 htmlFile <<
"<td class=\"s5\" align=\"center\">TNm</td>" << std::endl;
24223 htmlFile <<
"<td class=\"s5\" align=\"center\">TXm</td>" << std::endl;
24224 htmlFile <<
"<td class=\"s9\" align=\"center\">GS(%)</td>" << std::endl;
24225 htmlFile <<
"<td class=\"s4\" align=\"center\">Pm</td>" << std::endl;
24226 htmlFile <<
"<td class=\"s4\" align=\"center\">pWm</td>" << std::endl;
24227 htmlFile <<
"<td class=\"s8\" align=\"center\">Cc</td>" << std::endl;
24228 htmlFile <<
"<td class=\"s8\" align=\"center\">Ac</td>" << std::endl;
24229 htmlFile <<
"<td class=\"s8\" align=\"center\">Wc</td>" << std::endl;
24230 htmlFile <<
"<td class=\"s8\" align=\"center\">Rc</td>" << std::endl;
24231 htmlFile <<
"<td class=\"s8\" align=\"center\">TNc</td>" << std::endl;
24232 htmlFile <<
"<td class=\"s8\" align=\"center\">TXc</td>" << std::endl;
24233 htmlFile <<
"</tr>" << std::endl;
24235 for (
int i = 1;
i <= NWarn;
i++) {
24236 if ((ind % 2) == 1) {
24237 raw_class =
"<td class=\"s2\" align=\"center\">";
24238 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24239 raw_class2 =
"<td class=\"s11\" align=\"center\">";
24240 raw_class3 =
"<td class=\"s13\" align=\"center\">";
24243 raw_class =
"<td class=\"s3\" align=\"center\">";
24244 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24245 raw_class2 =
"<td class=\"s12\" align=\"center\">";
24246 raw_class3 =
"<td class=\"s14\" align=\"center\">";
24250 if ((ce.
size() >= 1) && (Sub[1][
i] == sub)) {
24251 if (Sub[1][
i] == 1) {
24252 ce =
db.find(
"subdet",
"HB").find(
"Eta", Eta[1][
i]).find(
"Phi",
Phi[1][
i]).find(
"Depth",
Depth[1][
i]);
24253 if (ce.
size() == 0) {
24256 }
else if (ce.
size() > 1) {
24257 cout <<
"Warning: More than one line correspond to such HB, Eta=" << Eta[1][
i] <<
", Phi=" <<
Phi[1][
i]
24258 <<
", Depth=" <<
Depth[1][
i] <<
" in database" << endl;
24261 if (Sub[1][
i] == 2) {
24262 ce =
db.find(
"subdet",
"HE").find(
"Eta", Eta[1][
i]).find(
"Phi",
Phi[1][
i]).find(
"Depth",
Depth[1][
i]);
24263 if (ce.
size() == 0) {
24266 }
else if (ce.
size() > 1) {
24267 cout <<
"Warning: More than one line correspond to such HE, Eta=" << Eta[1][
i] <<
", Phi=" <<
Phi[1][
i]
24268 <<
", Depth=" <<
Depth[1][
i] <<
" in database" << endl;
24271 if (Sub[1][
i] == 3) {
24272 ce =
db.find(
"subdet",
"HO").find(
"Eta", Eta[1][
i]).find(
"Phi",
Phi[1][
i]).find(
"Depth",
Depth[1][
i]);
24273 if (ce.
size() == 0) {
24276 }
else if (ce.
size() > 1) {
24277 cout <<
"Warning: More than one line correspond to such HO, Eta=" << Eta[1][
i] <<
", Phi=" <<
Phi[1][
i]
24278 <<
", Depth=" <<
Depth[1][
i] <<
" in database" << endl;
24281 if (Sub[1][
i] == 4) {
24282 ce =
db.find(
"subdet",
"HF").find(
"Eta", Eta[1][
i]).find(
"Phi",
Phi[1][
i]).find(
"Depth",
Depth[1][
i]);
24283 if (ce.
size() == 0) {
24286 }
else if (ce.
size() > 1) {
24287 cout <<
"Warning: More than one line correspond to such HF, Eta=" << Eta[1][
i] <<
", Phi=" <<
Phi[1][
i]
24288 <<
", Depth=" <<
Depth[1][
i] <<
" in database" << endl;
24291 htmlFile <<
"<td class=\"s4\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24292 htmlFile << raw_class << Eta[1][
i] <<
"</td>" << std::endl;
24293 htmlFile << raw_class <<
Phi[1][
i] <<
"</td>" << std::endl;
24294 htmlFile << raw_class <<
Depth[1][
i] <<
"</td>" << std::endl;
24295 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24296 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24297 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24298 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24299 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24300 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24301 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24302 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24303 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24304 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24305 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24306 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24307 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24308 htmlFile << raw_class1 << Map_Ampl[1][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24309 <<
"</td>" << std::endl;
24310 htmlFile << raw_class1 << Map_Ampl[2][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24311 <<
"</td>" << std::endl;
24312 htmlFile << raw_class1 << Map_Ampl[3][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24313 <<
"</td>" << std::endl;
24314 htmlFile << raw_class1 << Map_Ampl[4][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24315 <<
"</td>" << std::endl;
24316 htmlFile << raw_class1 << Map_Ampl[5][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24317 <<
"</td>" << std::endl;
24318 htmlFile << raw_class1 << Map_Ampl[6][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24319 <<
"</td>" << std::endl;
24320 htmlFile << raw_class3 << Map_Ampl[21][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24321 <<
"</td>" << std::endl;
24322 htmlFile << raw_class << Map_Ampl[31][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24323 <<
"</td>" << std::endl;
24324 htmlFile << raw_class << Map_Ampl[32][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24325 <<
"</td>" << std::endl;
24326 htmlFile << raw_class2 << Map_Ampl[11][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24327 <<
"</td>" << std::endl;
24328 htmlFile << raw_class2 << Map_Ampl[12][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24329 <<
"</td>" << std::endl;
24330 htmlFile << raw_class2 << Map_Ampl[13][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24331 <<
"</td>" << std::endl;
24332 htmlFile << raw_class2 << Map_Ampl[14][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24333 <<
"</td>" << std::endl;
24334 htmlFile << raw_class2 << Map_Ampl[15][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24335 <<
"</td>" << std::endl;
24336 htmlFile << raw_class2 << Map_Ampl[16][Sub[1][
i]][
Depth[1][
i]]->GetBinContent(Eta[1][
i] + 41,
Phi[1][
i] + 1)
24337 <<
"</td>" << std::endl;
24338 htmlFile <<
"</tr>" << std::endl;
24339 htmlFile <<
"</tr>" << std::endl;
24343 htmlFile <<
"</table>" << std::endl;
24344 htmlFile <<
"<br>" << std::endl;
24346 htmlFile <<
"<h3> 2.D.List of channels with Bad Pedestals (rate > 0.1) and its rates (for GS - %)</h3>" 24348 htmlFile <<
"<table>" << std::endl;
24349 htmlFile <<
"<tr>";
24350 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24351 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24352 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24353 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24354 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24355 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24356 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24357 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24358 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24359 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24360 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24361 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24362 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24363 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24364 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24365 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24366 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24367 htmlFile <<
"<td class=\"s5\" align=\"center\">Cm</td>" << std::endl;
24368 htmlFile <<
"<td class=\"s5\" align=\"center\">Am</td>" << std::endl;
24369 htmlFile <<
"<td class=\"s5\" align=\"center\">Wm</td>" << std::endl;
24370 htmlFile <<
"<td class=\"s5\" align=\"center\">Rm</td>" << std::endl;
24371 htmlFile <<
"<td class=\"s5\" align=\"center\">TNm</td>" << std::endl;
24372 htmlFile <<
"<td class=\"s5\" align=\"center\">TXm</td>" << std::endl;
24373 htmlFile <<
"<td class=\"s9\" align=\"center\">GS(%)</td>" << std::endl;
24374 htmlFile <<
"<td class=\"s4\" align=\"center\">Pm</td>" << std::endl;
24375 htmlFile <<
"<td class=\"s4\" align=\"center\">pWm</td>" << std::endl;
24376 htmlFile <<
"<td class=\"s8\" align=\"center\">Cc</td>" << std::endl;
24377 htmlFile <<
"<td class=\"s8\" align=\"center\">Ac</td>" << std::endl;
24378 htmlFile <<
"<td class=\"s8\" align=\"center\">Wc</td>" << std::endl;
24379 htmlFile <<
"<td class=\"s8\" align=\"center\">Rc</td>" << std::endl;
24380 htmlFile <<
"<td class=\"s8\" align=\"center\">TNc</td>" << std::endl;
24381 htmlFile <<
"<td class=\"s8\" align=\"center\">TXc</td>" << std::endl;
24382 htmlFile <<
"</tr>" << std::endl;
24384 for (
int i = 1;
i <= NPed;
i++) {
24385 if ((ind % 2) == 1) {
24386 raw_class =
"<td class=\"s2\" align=\"center\">";
24387 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24388 raw_class2 =
"<td class=\"s11\" align=\"center\">";
24389 raw_class3 =
"<td class=\"s13\" align=\"center\">";
24392 raw_class =
"<td class=\"s3\" align=\"center\">";
24393 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24394 raw_class2 =
"<td class=\"s12\" align=\"center\">";
24395 raw_class3 =
"<td class=\"s14\" align=\"center\">";
24399 if ((ce.
size() >= 1) && (Sub[3][
i] == sub)) {
24400 if (Sub[3][
i] == 1) {
24401 ce =
db.find(
"subdet",
"HB").find(
"Eta", Eta[3][
i]).find(
"Phi",
Phi[3][
i]).find(
"Depth",
Depth[3][
i]);
24402 if (ce.
size() == 0) {
24405 }
else if (ce.
size() > 1) {
24406 cout <<
"Warning: More than one line correspond to such HB, Eta=" << Eta[3][
i] <<
", Phi=" <<
Phi[3][
i]
24407 <<
", Depth=" <<
Depth[3][
i] <<
" in database" << endl;
24410 if (Sub[3][
i] == 2) {
24411 ce =
db.find(
"subdet",
"HE").find(
"Eta", Eta[3][
i]).find(
"Phi",
Phi[3][
i]).find(
"Depth",
Depth[3][
i]);
24412 if (ce.
size() == 0) {
24415 }
else if (ce.
size() > 1) {
24416 cout <<
"Warning: More than one line correspond to such HE, Eta=" << Eta[3][
i] <<
", Phi=" <<
Phi[3][
i]
24417 <<
", Depth=" <<
Depth[3][
i] <<
" in database" << endl;
24420 if (Sub[3][
i] == 3) {
24421 ce =
db.find(
"subdet",
"HO").find(
"Eta", Eta[3][
i]).find(
"Phi",
Phi[3][
i]).find(
"Depth",
Depth[3][
i]);
24422 if (ce.
size() == 0) {
24425 }
else if (ce.
size() > 1) {
24426 cout <<
"Warning: More than one line correspond to such HO, Eta=" << Eta[3][
i] <<
", Phi=" <<
Phi[3][
i]
24427 <<
", Depth=" <<
Depth[3][
i] <<
" in database" << endl;
24430 if (Sub[3][
i] == 4) {
24431 ce =
db.find(
"subdet",
"HF").find(
"Eta", Eta[3][
i]).find(
"Phi",
Phi[3][
i]).find(
"Depth",
Depth[3][
i]);
24432 if (ce.
size() == 0) {
24435 }
else if (ce.
size() > 1) {
24436 cout <<
"Warning: More than one line correspond to such HF, Eta=" << Eta[3][
i] <<
", Phi=" <<
Phi[3][
i]
24437 <<
", Depth=" <<
Depth[3][
i] <<
" in database" << endl;
24440 htmlFile <<
"<td class=\"s4\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24441 htmlFile << raw_class << Eta[3][
i] <<
"</td>" << std::endl;
24442 htmlFile << raw_class <<
Phi[3][
i] <<
"</td>" << std::endl;
24443 htmlFile << raw_class <<
Depth[3][
i] <<
"</td>" << std::endl;
24444 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24445 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24446 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24447 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24448 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24449 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24450 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24451 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24452 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24453 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24454 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24455 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24456 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24457 htmlFile << raw_class1 << Map_Ampl[1][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24458 <<
"</td>" << std::endl;
24459 htmlFile << raw_class1 << Map_Ampl[2][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24460 <<
"</td>" << std::endl;
24461 htmlFile << raw_class1 << Map_Ampl[3][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24462 <<
"</td>" << std::endl;
24463 htmlFile << raw_class1 << Map_Ampl[4][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24464 <<
"</td>" << std::endl;
24465 htmlFile << raw_class1 << Map_Ampl[5][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24466 <<
"</td>" << std::endl;
24467 htmlFile << raw_class1 << Map_Ampl[6][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24468 <<
"</td>" << std::endl;
24469 htmlFile << raw_class3 << Map_Ampl[21][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24470 <<
"</td>" << std::endl;
24471 htmlFile << raw_class << Map_Ampl[31][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24472 <<
"</td>" << std::endl;
24473 htmlFile << raw_class << Map_Ampl[32][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24474 <<
"</td>" << std::endl;
24475 htmlFile << raw_class2 << Map_Ampl[11][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24476 <<
"</td>" << std::endl;
24477 htmlFile << raw_class2 << Map_Ampl[12][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24478 <<
"</td>" << std::endl;
24479 htmlFile << raw_class2 << Map_Ampl[13][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24480 <<
"</td>" << std::endl;
24481 htmlFile << raw_class2 << Map_Ampl[14][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24482 <<
"</td>" << std::endl;
24483 htmlFile << raw_class2 << Map_Ampl[15][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24484 <<
"</td>" << std::endl;
24485 htmlFile << raw_class2 << Map_Ampl[16][Sub[3][
i]][
Depth[3][
i]]->GetBinContent(Eta[3][
i] + 41,
Phi[3][
i] + 1)
24486 <<
"</td>" << std::endl;
24487 htmlFile <<
"</tr>" << std::endl;
24488 htmlFile <<
"</tr>" << std::endl;
24492 htmlFile <<
"</table>" << std::endl;
24494 htmlFile <<
"</body> " << std::endl;
24495 htmlFile <<
"</html> " << std::endl;
24502 std::cout <<
"************ Start creating description HELP html file:" << std::endl;
24506 htmlFile.open(
"HELP.html");
24507 htmlFile <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
24508 htmlFile <<
"<head>" << std::endl;
24509 htmlFile <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
24510 htmlFile <<
"<title> Remote Monitoring Tool </title>" << std::endl;
24511 htmlFile <<
"<style type=\"text/css\">" << std::endl;
24512 htmlFile <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 24514 htmlFile <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
24515 htmlFile <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 24516 "text-align: center;}" 24518 htmlFile <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
24519 htmlFile <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
24520 htmlFile <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
24521 htmlFile <<
"</style>" << std::endl;
24522 htmlFile <<
"<body>" << std::endl;
24523 htmlFile <<
"<h1> Description of Remote Monitoring Tool criteria for bad channel selection</h1>" << std::endl;
24524 htmlFile <<
"<br>" << std::endl;
24525 htmlFile <<
"<h3> - C means CAPID Errors assuming we inspect CAPID non-rotation,error & validation bits, and for " 24526 "this criterion - no need to apply any cuts to select bcs.</h3> " 24528 htmlFile <<
"<br>" << std::endl;
24529 htmlFile <<
"<h3> - A means full amplitude, collected over all time slices </h3> " << std::endl;
24530 htmlFile <<
"<h3> - R means ratio criterion where we define as a bad, the channels, for which the signal portion in " 24531 "4 middle TSs(plus one, minus two around TS with maximal amplitude) is out of some range of reasonable " 24534 htmlFile <<
"<br>" << std::endl;
24535 htmlFile <<
"<h3> - W means width of shape distribution. Width is defined as square root from dispersion. </h3> " 24537 htmlFile <<
"<br>" << std::endl;
24538 htmlFile <<
"<h3> - TN means mean time position of adc signal. </h3> " << std::endl;
24539 htmlFile <<
"<br>" << std::endl;
24540 htmlFile <<
"<h3> - TX means TS number of maximum signal </h3> " << std::endl;
24541 htmlFile <<
"<br>" << std::endl;
24542 htmlFile <<
"<h3> - m means megatile channels. For example Am means Amplitude criteria for megatile channels </h3> " 24544 htmlFile <<
"<br>" << std::endl;
24546 <<
"<h3> - c means calibration channels. For example Ac means Amplitude criteria for calibration channels </h3> " 24548 htmlFile <<
"<br>" << std::endl;
24549 htmlFile <<
"<h3> - Pm means Pedestals. </h3> " << std::endl;
24550 htmlFile <<
"<br>" << std::endl;
24551 htmlFile <<
"<h3> - pWm means pedestal Width. </h3> " << std::endl;
24552 htmlFile <<
"<br>" << std::endl;
24553 htmlFile <<
"</body> " << std::endl;
24554 htmlFile <<
"</html> " << std::endl;
24560 std::cout <<
"************ Start creating MAP html file: - rather long time needed, waiting please" << std::endl;
24563 htmlFile.open(
"MAP.html");
24564 htmlFile <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
24565 htmlFile <<
"<head>" << std::endl;
24566 htmlFile <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
24567 htmlFile <<
"<title> Remote Monitoring Tool </title>" << std::endl;
24568 htmlFile <<
"<style type=\"text/css\">" << std::endl;
24569 htmlFile <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 24571 htmlFile <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
24572 htmlFile <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 24573 "text-align: center;}" 24575 htmlFile <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
24576 htmlFile <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
24577 htmlFile <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
24578 htmlFile <<
" td.s5 { font-family: arial, arial ce, helvetica; background-color: #FF00FF; }" << std::endl;
24579 htmlFile <<
" td.s6 { font-family: arial, arial ce, helvetica; background-color: #9ACD32; }" << std::endl;
24580 htmlFile <<
" td.s7 { font-family: arial, arial ce, helvetica; background-color: #32CD32; }" << std::endl;
24581 htmlFile <<
"</style>" << std::endl;
24582 htmlFile <<
"<body>" << std::endl;
24584 htmlFile <<
"<h1> Remote Monitoring Tool, LED RUN = " <<
runnumber <<
". </h1>" << std::endl;
24585 htmlFile <<
"<br>" << std::endl;
24587 htmlFile <<
"<h2> 1. Analysis results for subdetectors </h2>" << std::endl;
24588 htmlFile <<
"<table width=\"400\">" << std::endl;
24589 htmlFile <<
"<tr>" << std::endl;
24598 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24599 <<
"/HB.html\">HB</a></td>" << std::endl;
24600 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24601 <<
"/HE.html\">HE</a></td>" << std::endl;
24602 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24603 <<
"/HO.html\">HO</a></td>" << std::endl;
24604 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24605 <<
"/HF.html\">HF</a></td>" << std::endl;
24607 htmlFile <<
"</tr>" << std::endl;
24608 htmlFile <<
"</table>" << std::endl;
24609 htmlFile <<
"<br>" << std::endl;
24611 htmlFile <<
"<h2> 2. Amplitude summed over all sub-detector channels vs first 1000 events of this Run </h2>" 24613 htmlFile <<
"<h3> 2.A. Total subdetector Amplitude vs iEvent </h3>" << std::endl;
24614 htmlFile <<
" <img src=\"EVENTDEPENDENCE.png\" />" << std::endl;
24615 htmlFile <<
"<br>" << std::endl;
24616 htmlFile <<
"<br>" << std::endl;
24617 htmlFile <<
"<br>" << std::endl;
24619 htmlFile <<
"<h2> 3. HCAL status over all criteria and subdetectors </h2>" << std::endl;
24620 htmlFile <<
"<h3> 3.A. Channels in detector space </h3>" << std::endl;
24621 htmlFile <<
"<h4> Legend for channel status: green - good, red - bad, yellow - at least 2% gain drift, white - not " 24622 "applicable or out of range </h4>" 24624 htmlFile <<
" <img src=\"MAP.png\" />" << std::endl;
24625 htmlFile <<
"<br>" << std::endl;
24626 htmlFile <<
"<br>" << std::endl;
24628 htmlFile <<
"<h3> 3.B. List of Bad channels </h3>" << std::endl;
24631 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24632 <<
"/HELP.html\"> Description of criteria for bad channel selection</a></td>" << std::endl;
24633 htmlFile <<
"<table>" << std::endl;
24634 htmlFile <<
"<tr>";
24635 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24636 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24637 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24638 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24639 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24640 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24641 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24642 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24643 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24644 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24645 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24646 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24647 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24648 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24649 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24650 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24651 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24652 htmlFile <<
"<td class=\"s5\" align=\"center\">RMT-criteria</td>" << std::endl;
24653 htmlFile <<
"</tr>" << std::endl;
24657 for (
int i = 1;
i <= NBad;
i++) {
24658 if ((ind % 2) == 1) {
24659 raw_class =
"<td class=\"s2\" align=\"center\">";
24660 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24662 raw_class =
"<td class=\"s3\" align=\"center\">";
24663 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24666 const CellDB ce =
db.find(
"Eta", Eta[2][
i]).find(
"Phi",
Phi[2][
i]).find(
"Depth",
Depth[2][
i]);
24667 if (ce.
size() == 0) {
24673 if (ce.
size() >= 1) {
24674 htmlFile <<
"<tr>" << std::endl;
24675 htmlFile <<
"<td class=\"s1\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24676 htmlFile << raw_class << Eta[2][
i] <<
"</td>" << std::endl;
24677 htmlFile << raw_class <<
Phi[2][
i] <<
"</td>" << std::endl;
24678 htmlFile << raw_class <<
Depth[2][
i] <<
"</td>" << std::endl;
24679 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24680 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24681 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24682 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24683 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24684 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24685 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24686 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24687 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24688 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24689 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24690 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24691 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24692 htmlFile << raw_class1 << Comment[2][
i] <<
"</td>" << std::endl;
24693 htmlFile <<
"</tr>" << std::endl;
24698 htmlFile <<
"</table>" << std::endl;
24699 htmlFile <<
"<br>" << std::endl;
24701 htmlFile <<
"<h3> 2.C.List of Gain unstable channels </h3>" << std::endl;
24703 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24704 <<
"/HELP.html\"> Description of criteria for bad channel selection</a></td>" << std::endl;
24706 htmlFile <<
"<table>" << std::endl;
24707 htmlFile <<
"<tr>";
24708 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24709 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24710 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24711 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24712 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24713 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24714 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24715 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24716 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24717 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24718 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24719 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24720 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24721 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24722 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24723 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24724 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24725 htmlFile <<
"<td class=\"s5\" align=\"center\">Failed criteria</td>" << std::endl;
24726 htmlFile <<
"</tr>" << std::endl;
24728 for (
int i = 1;
i <= NWarn;
i++) {
24729 if ((ind % 2) == 1) {
24730 raw_class =
"<td class=\"s2\" align=\"center\">";
24731 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24733 raw_class =
"<td class=\"s3\" align=\"center\">";
24734 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24737 const CellDB ce =
db.find(
"Eta", Eta[1][
i]).find(
"Phi",
Phi[1][
i]).find(
"Depth",
Depth[1][
i]);
24738 if (ce.
size() == 0) {
24744 if (ce.
size() >= 1) {
24745 htmlFile <<
"<tr>" << std::endl;
24746 htmlFile <<
"<td class=\"s1\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24747 htmlFile << raw_class << Eta[1][
i] <<
"</td>" << std::endl;
24748 htmlFile << raw_class <<
Phi[1][
i] <<
"</td>" << std::endl;
24749 htmlFile << raw_class <<
Depth[1][
i] <<
"</td>" << std::endl;
24750 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24751 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24752 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24753 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24754 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24755 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24756 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24757 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24758 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24759 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24760 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24761 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24762 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24763 htmlFile << raw_class1 << Comment[1][
i] <<
"</td>" << std::endl;
24764 htmlFile <<
"</tr>" << std::endl;
24770 htmlFile <<
"</table>" << std::endl;
24771 htmlFile <<
"<br>" << std::endl;
24773 htmlFile <<
"<h3> 2.D.List of channels with bad Pedestals </h3>" << std::endl;
24775 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/RMT/LED_" <<
runnumber 24776 <<
"/HELP.html\"> Description of criteria for bad channel selection</a></td>" << std::endl;
24778 htmlFile <<
"<table>" << std::endl;
24779 htmlFile <<
"<tr>";
24780 htmlFile <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
24781 htmlFile <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
24782 htmlFile <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
24783 htmlFile <<
"<td class=\"s1\" align=\"center\">DEPTH</td>" << std::endl;
24784 htmlFile <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
24785 htmlFile <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
24786 htmlFile <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
24787 htmlFile <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
24788 htmlFile <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
24789 htmlFile <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
24790 htmlFile <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
24791 htmlFile <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
24792 htmlFile <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
24793 htmlFile <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
24794 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
24795 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
24796 htmlFile <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
24797 htmlFile <<
"<td class=\"s5\" align=\"center\">Failed criteria</td>" << std::endl;
24798 htmlFile <<
"</tr>" << std::endl;
24800 for (
int i = 1;
i <= NPed;
i++) {
24801 if ((ind % 2) == 1) {
24802 raw_class =
"<td class=\"s2\" align=\"center\">";
24803 raw_class1 =
"<td class=\"s6\" align=\"center\">";
24805 raw_class =
"<td class=\"s3\" align=\"center\">";
24806 raw_class1 =
"<td class=\"s7\" align=\"center\">";
24809 const CellDB ce =
db.find(
"Eta", Eta[3][
i]).find(
"Phi",
Phi[3][
i]).find(
"Depth",
Depth[3][
i]);
24810 if (ce.
size() == 0) {
24816 if (ce.
size() >= 1) {
24817 htmlFile <<
"<tr>" << std::endl;
24818 htmlFile <<
"<td class=\"s1\" align=\"center\">" << ind + 1 <<
"</td>" << std::endl;
24819 htmlFile << raw_class << Eta[3][
i] <<
"</td>" << std::endl;
24820 htmlFile << raw_class <<
Phi[3][
i] <<
"</td>" << std::endl;
24821 htmlFile << raw_class <<
Depth[3][
i] <<
"</td>" << std::endl;
24822 htmlFile << raw_class << ce[0].RBX <<
"</td>" << std::endl;
24823 htmlFile << raw_class << ce[0].RM <<
"</td>" << std::endl;
24824 htmlFile << raw_class << ce[0].Pixel <<
"</td>" << std::endl;
24825 htmlFile << raw_class << ce[0].RMfiber <<
"</td>" << std::endl;
24826 htmlFile << raw_class << ce[0].FiberCh <<
"</td>" << std::endl;
24827 htmlFile << raw_class << ce[0].QIE <<
"</td>" << std::endl;
24828 htmlFile << raw_class << ce[0].ADC <<
"</td>" << std::endl;
24829 htmlFile << raw_class << ce[0].VMECardID <<
"</td>" << std::endl;
24830 htmlFile << raw_class << ce[0].dccID <<
"</td>" << std::endl;
24831 htmlFile << raw_class << ce[0].Spigot <<
"</td>" << std::endl;
24832 htmlFile << raw_class << ce[0].FiberIndex <<
"</td>" << std::endl;
24833 htmlFile << raw_class << ce[0].HtrSlot <<
"</td>" << std::endl;
24834 htmlFile << raw_class << ce[0].HtrTB <<
"</td>" << std::endl;
24835 htmlFile << raw_class1 << Comment[3][
i] <<
"</td>" << std::endl;
24836 htmlFile <<
"</tr>" << std::endl;
24842 htmlFile <<
"</table>" << std::endl;
24844 htmlFile <<
"</body> " << std::endl;
24845 htmlFile <<
"</html> " << std::endl;
int main(int argc, char *argv[])
Abs< T >::type abs(const T &t)