52 gROOT->SetStyle(
"Plain");
53 gStyle->SetOptStat(0);
54 gStyle->SetOptTitle(1);
56 gStyle->SetStatX(0.91);
57 gStyle->SetStatY(0.75);
58 gStyle->SetStatW(0.20);
59 gStyle->SetStatH(0.10);
65 Float_t LeftOffset = 0.12;
66 Float_t TopOffset = 0.22;
68 gStyle->SetLineWidth(1);
72 gStyle->SetOptTitle(0);
74 gStyle->SetTitleColor(1);
76 gStyle->SetTitleX(0.15);
77 gStyle->SetTitleH(0.15);
79 gStyle->SetTitleW(0.60);
80 gStyle->SetTitleFont(42);
81 gStyle->SetTitleFontSize(0.07);
83 gStyle->SetPalette(1);
85 gStyle->SetPadTopMargin(TopOffset);
86 gStyle->SetPadBottomMargin(LeftOffset);
87 gStyle->SetPadRightMargin(TopOffset);
88 gStyle->SetPadLeftMargin(LeftOffset);
95 sprintf(refname,
"%s",
argv[2]);
97 cout <<
fname <<
" " << refname << std::endl;
106 for (
unsigned int i = promt.size() - 11;
i < promt.size() - 5;
i++)
108 string refrunnumber =
"";
110 for (
unsigned int i = promt.size() - 11;
i < promt.size() - 5;
i++)
111 refrunnumber += refname[
i];
113 TFile *hfile =
new TFile(
fname,
"READ");
115 TDirectory *
dir = (TDirectory *)hfile->FindObjectAny(dirnm.c_str());
119 double MIN_M[7][5] = {{0., 0., 0., 0., 0.},
120 {0., 0., 0., 0., 0.},
122 {0, 1.0, 1.0, 0.2, 0.1},
123 {0, 0.10, 0.10, 0.18, 0.30},
124 {0, 0.8, 0.8, 0.8, 0.1},
125 {0, -0.5, -0.5, -0.5, -0.5}};
126 double MAX_M[7][5] = {{0., 0., 0., 0., 0.},
127 {0., 0., 0., 0., 0.},
128 {0, 900, 900, 9000, 3000},
129 {0, 3.9, 3.9, 4.4, 2.0},
130 {0, 0.95, 0.98, 0.96, 1.04},
131 {0, 8.0, 8.0, 8.0, 2.8},
132 {0, 6.5, 6.5, 6.5, 3.5}};
135 double MIN_C[7][5] = {{0., 0., 0., 0., 0.},
136 {0., 0., 0., 0., 0.},
137 {0, 120., 120., 120., 60.},
138 {0, 1.0, 1.0, 0.50, 0.2},
139 {0, 0.6, 0.64, 0.25, 0.25},
140 {0, 1.0, 1.0, 1.0, 1.0},
141 {0, 0.5, 0.5, 0.5, 0.5}};
142 double MAX_C[7][5] = {{0., 0., 0., 0., 0.},
143 {0., 0., 0., 0., 0.},
144 {0, 1E20, 1E20, 1E20, 1E20},
145 {0, 2.3, 2.3, 3.0, 2.3},
146 {0, 1., 1., 1., 1.00},
147 {0, 5.5, 5.5, 3.5, 5.2},
148 {0, 8.5, 8.5, 8.5, 9.5}};
149 double porog[5] = {0., 2., 2., 5., 1.};
151 double Pedest[2][5] = {{0., 0.2, 0.9, 0.1, 0.2}, {0., 0.2, 0.2, 0.1, 0.16}};
158 TCanvas *cHB =
new TCanvas(
"cHB",
"cHB", 1000, 1000);
160 TCanvas *cHE =
new TCanvas(
"cHE",
"cHE", 1500, 1500);
162 TCanvas *cONE =
new TCanvas(
"cONE",
"cONE", 1500, 500);
163 TCanvas *cHO =
new TCanvas(
"cHO",
"cHO", 500, 500);
164 TCanvas *cPED =
new TCanvas(
"cPED",
"cPED", 1000, 500);
166 TCanvas *cHF =
new TCanvas(
"cHF",
"cHF", 1000, 1000);
168 char *
str = (
char *)alloca(10000);
187 int k_min[5] = {0, 1, 1, 4, 1};
191 int k_max[5] = {0, 4, 7, 4, 4};
193 TH2F *Map_Ampl[33][5][ALLDEPTH];
195 TH2F *Map_SUB[5][ALLDEPTH];
196 TH1F *HistAmplDepth[22][5][ALLDEPTH];
197 TH1F *HistAmpl[22][5];
198 TH2F *Map_SUBTS[5][ALLDEPTH];
200 TH1F *HistPed[3][5][4];
202 TH1F *hist_GoodTSshape[5];
203 TH1F *hist_GoodTSshape0[5];
204 TH1F *hist_BadTSshape[5];
205 TH1F *hist_BadTSshape0[5];
206 TH1F *hist_ADC_All[5];
207 TH1F *hist_ADC_DS[5][ALLDEPTH];
208 TH1F *hist_SumADC[5][ALLDEPTH];
209 TH1F *hist_SumADC0[5][ALLDEPTH];
210 TH1F *hist_SumADC1[5][ALLDEPTH];
212 Map_SUB[1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HB");
213 Map_SUB[1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HB");
214 Map_SUB[1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HB");
215 Map_SUB[1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HB");
216 Map_SUB[2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HE");
217 Map_SUB[2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HE");
218 Map_SUB[2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HE");
219 Map_SUB[2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HE");
220 Map_SUB[2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5_HE");
221 Map_SUB[2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6_HE");
222 Map_SUB[2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7_HE");
223 Map_SUB[3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HO");
224 Map_SUB[4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HF");
225 Map_SUB[4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HF");
226 Map_SUB[4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HF");
227 Map_SUB[4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HF");
251 for (
int sub = 1; sub <= 4; sub++) {
266 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
279 sprintf(
str,
"HB, Depth%d \b",
k);
281 sprintf(
str,
"HE, Depth%d \b",
k);
283 sprintf(
str,
"HO, Depth%d \b",
k);
285 sprintf(
str,
"HF, Depth%d \b",
k);
286 Map_SUB[sub][
k]->SetTitle(
str);
287 Map_SUB[sub][
k]->SetXTitle(
"#eta \b");
288 Map_SUB[sub][
k]->SetYTitle(
"#phi \b");
289 Map_SUB[sub][
k]->SetZTitle(
"Number of events \b");
291 Map_SUB[sub][
k]->SetTitleOffset(0.8,
"Z");
292 Map_SUB[sub][
k]->Draw(
"COLZ");
293 Map_SUB[sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
314 cHB->Print(
"MapRateEntryHB.png");
318 cHE->Print(
"MapRateEntryHE.png");
322 cONE->Print(
"MapRateEntryHO.png");
326 cHF->Print(
"MapRateEntryHF.png");
335 Map_Ampl[1][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Error_HB");
336 Map_Ampl[1][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Error_HB");
337 Map_Ampl[1][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Error_HE");
338 Map_Ampl[1][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Error_HE");
339 Map_Ampl[1][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Error_HE");
340 Map_Ampl[1][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HO");
341 Map_Ampl[1][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Error_HF");
342 Map_Ampl[1][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Error_HF");
344 Map_Ampl[1][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HE");
345 Map_Ampl[1][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5Error_HE");
346 Map_Ampl[1][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6Error_HE");
347 Map_Ampl[1][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7Error_HE");
348 Map_Ampl[1][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Error_HF");
349 Map_Ampl[1][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HF");
351 Map_Ampl[1][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Error_HB");
352 Map_Ampl[1][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Error_HB");
354 for (
int sub = 1; sub <= 4; sub++) {
369 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
378 Map_Ampl[1][sub][
k]->Divide(Map_Ampl[1][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
383 sprintf(
str,
"HB, Depth%d \b",
k);
385 sprintf(
str,
"HE, Depth%d \b",
k);
387 sprintf(
str,
"HO, Depth%d \b",
k);
389 sprintf(
str,
"HF, Depth%d \b",
k);
390 Map_Ampl[1][sub][
k]->SetTitle(
str);
391 Map_Ampl[1][sub][
k]->SetXTitle(
"#eta \b");
392 Map_Ampl[1][sub][
k]->SetYTitle(
"#phi \b");
393 Map_Ampl[1][sub][
k]->SetZTitle(
"Rate \b");
395 Map_Ampl[1][sub][
k]->SetTitleOffset(0.8,
"Z");
396 Map_Ampl[1][sub][
k]->Draw(
"COLZ");
397 Map_Ampl[1][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
398 Map_Ampl[1][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
418 cHB->Print(
"MapRateCapIDHB.png");
422 cHE->Print(
"MapRateCapIDHE.png");
426 cONE->Print(
"MapRateCapIDHO.png");
430 cHF->Print(
"MapRateCapIDHF.png");
439 Map_Ampl[2][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1ADCAmpl225_HB");
440 Map_Ampl[2][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2ADCAmpl225_HB");
441 Map_Ampl[2][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1ADCAmpl225_HE");
442 Map_Ampl[2][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2ADCAmpl225_HE");
443 Map_Ampl[2][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3ADCAmpl225_HE");
444 Map_Ampl[2][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HO");
445 Map_Ampl[2][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1ADCAmpl225_HF");
446 Map_Ampl[2][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2ADCAmpl225_HF");
448 Map_Ampl[2][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HE");
449 Map_Ampl[2][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5ADCAmpl225_HE");
450 Map_Ampl[2][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6ADCAmpl225_HE");
451 Map_Ampl[2][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7ADCAmpl225_HE");
452 Map_Ampl[2][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3ADCAmpl225_HF");
453 Map_Ampl[2][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HF");
455 Map_Ampl[2][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3ADCAmpl225_HB");
456 Map_Ampl[2][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4ADCAmpl225_HB");
458 HistAmpl[2][1] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HB");
459 HistAmpl[2][2] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HE");
460 HistAmpl[2][3] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HO");
461 HistAmpl[2][4] = (TH1F *)
dir->FindObjectAny(
"h_ADCAmpl_HF");
467 Map_Ampl[3][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Amplitude225_HB");
468 Map_Ampl[3][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Amplitude225_HB");
469 Map_Ampl[3][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Amplitude225_HE");
470 Map_Ampl[3][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Amplitude225_HE");
471 Map_Ampl[3][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Amplitude225_HE");
472 Map_Ampl[3][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HO");
473 Map_Ampl[3][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Amplitude225_HF");
474 Map_Ampl[3][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Amplitude225_HF");
476 Map_Ampl[3][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HE");
477 Map_Ampl[3][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5Amplitude225_HE");
478 Map_Ampl[3][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6Amplitude225_HE");
479 Map_Ampl[3][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7Amplitude225_HE");
480 Map_Ampl[3][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Amplitude225_HF");
481 Map_Ampl[3][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HF");
483 Map_Ampl[3][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Amplitude225_HB");
484 Map_Ampl[3][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Amplitude225_HB");
486 HistAmpl[3][1] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HB");
487 HistAmpl[3][2] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HE");
488 HistAmpl[3][3] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HO");
489 HistAmpl[3][4] = (TH1F *)
dir->FindObjectAny(
"h_Amplitude_HF");
495 Map_Ampl[4][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Ampl047_HB");
496 Map_Ampl[4][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Ampl047_HB");
497 Map_Ampl[4][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Ampl047_HE");
498 Map_Ampl[4][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Ampl047_HE");
499 Map_Ampl[4][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Ampl047_HE");
500 Map_Ampl[4][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HO");
501 Map_Ampl[4][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1Ampl047_HF");
502 Map_Ampl[4][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2Ampl047_HF");
504 Map_Ampl[4][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HE");
505 Map_Ampl[4][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5Ampl047_HE");
506 Map_Ampl[4][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6Ampl047_HE");
507 Map_Ampl[4][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7Ampl047_HE");
508 Map_Ampl[4][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Ampl047_HF");
509 Map_Ampl[4][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HF");
511 Map_Ampl[4][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3Ampl047_HB");
512 Map_Ampl[4][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4Ampl047_HB");
514 HistAmpl[4][1] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HB");
515 HistAmpl[4][2] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HE");
516 HistAmpl[4][3] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HO");
517 HistAmpl[4][4] = (TH1F *)
dir->FindObjectAny(
"h_Ampl_HF");
523 Map_Ampl[5][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA225_HB");
524 Map_Ampl[5][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA225_HB");
525 Map_Ampl[5][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA225_HE");
526 Map_Ampl[5][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA225_HE");
527 Map_Ampl[5][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA225_HE");
528 Map_Ampl[5][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HO");
529 Map_Ampl[5][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA225_HF");
530 Map_Ampl[5][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA225_HF");
532 Map_Ampl[5][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HE");
533 Map_Ampl[5][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TSmeanA225_HE");
534 Map_Ampl[5][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TSmeanA225_HE");
535 Map_Ampl[5][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TSmeanA225_HE");
536 Map_Ampl[5][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA225_HF");
537 Map_Ampl[5][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HF");
539 Map_Ampl[5][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA225_HB");
540 Map_Ampl[5][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA225_HB");
542 HistAmpl[5][1] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HB");
543 HistAmpl[5][2] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HE");
544 HistAmpl[5][3] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HO");
545 HistAmpl[5][4] = (TH1F *)
dir->FindObjectAny(
"h_TSmeanA_HF");
551 Map_Ampl[6][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmaxA225_HB");
552 Map_Ampl[6][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmaxA225_HB");
553 Map_Ampl[6][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmaxA225_HE");
554 Map_Ampl[6][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmaxA225_HE");
555 Map_Ampl[6][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmaxA225_HE");
556 Map_Ampl[6][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HO");
557 Map_Ampl[6][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmaxA225_HF");
558 Map_Ampl[6][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmaxA225_HF");
560 Map_Ampl[6][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HE");
561 Map_Ampl[6][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TSmaxA225_HE");
562 Map_Ampl[6][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TSmaxA225_HE");
563 Map_Ampl[6][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TSmaxA225_HE");
564 Map_Ampl[6][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmaxA225_HF");
565 Map_Ampl[6][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HF");
567 Map_Ampl[6][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmaxA225_HB");
568 Map_Ampl[6][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmaxA225_HB");
570 HistAmpl[6][1] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HB");
571 HistAmpl[6][2] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HE");
572 HistAmpl[6][3] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HO");
573 HistAmpl[6][4] = (TH1F *)
dir->FindObjectAny(
"h_TSmaxA_HF");
576 for (
int sub = 1; sub <= 4; sub++) {
591 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
600 Map_Ampl[
test][sub][
k]->Divide(Map_Ampl[
test][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
605 sprintf(
str,
"HB, Depth%d \b",
k);
607 sprintf(
str,
"HE, Depth%d \b",
k);
609 sprintf(
str,
"HO, Depth%d \b",
k);
611 sprintf(
str,
"HF, Depth%d \b",
k);
612 Map_Ampl[
test][sub][
k]->SetTitle(
str);
613 Map_Ampl[
test][sub][
k]->SetXTitle(
"#eta \b");
614 Map_Ampl[
test][sub][
k]->SetYTitle(
"#phi \b");
615 Map_Ampl[
test][sub][
k]->SetZTitle(
"Rate \b");
617 Map_Ampl[
test][sub][
k]->SetTitleOffset(0.8,
"Z");
618 Map_Ampl[
test][sub][
k]->Draw(
"COLZ");
619 Map_Ampl[
test][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
620 Map_Ampl[
test][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
640 cHB->Print(
"MapRateAmplHB.png");
644 cHE->Print(
"MapRateAmplHE.png");
648 cONE->Print(
"MapRateAmplHO.png");
652 cHF->Print(
"MapRateAmplHF.png");
658 cHB->Print(
"MapRateRMSHB.png");
662 cHE->Print(
"MapRateRMSHE.png");
666 cONE->Print(
"MapRateRMSHO.png");
670 cHF->Print(
"MapRateRMSHF.png");
676 cHB->Print(
"MapRate43TStoAllTSHB.png");
680 cHE->Print(
"MapRate43TStoAllTSHE.png");
684 cONE->Print(
"MapRate43TStoAllTSHO.png");
688 cHF->Print(
"MapRate43TStoAllTSHF.png");
694 cHB->Print(
"MapRateMeanPosHB.png");
698 cHE->Print(
"MapRateMeanPosHE.png");
702 cONE->Print(
"MapRateMeanPosHO.png");
706 cHF->Print(
"MapRateMeanPosHF.png");
712 cHB->Print(
"MapRateMaxPosHB.png");
716 cHE->Print(
"MapRateMaxPosHE.png");
720 cONE->Print(
"MapRateMaxPosHO.png");
724 cHF->Print(
"MapRateMaxPosHF.png");
743 if (
test == 2 && sub == 2) {
745 TH1F *kjkjkhj2 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHEtest1");
750 kjkjkhj2->SetXTitle(
"HE, All Depth: shunt1");
752 TH1F *kjkjkhj3 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHEtest6");
757 kjkjkhj3->SetXTitle(
"HE, All Depth: shunt6");
759 if (
test == 2 && sub == 1) {
761 TH1F *kjkjkhb2 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHBtest1");
766 kjkjkhb2->SetXTitle(
"HB, All Depth: shunt1");
768 TH1F *kjkjkhb3 = (TH1F *)
dir->FindObjectAny(
"h_AmplitudeHBtest6");
773 kjkjkhb3->SetXTitle(
"HB, All Depth: shunt6");
781 HistAmpl[
test][sub]->SetTitle(
"HB, All Depth: shunt6");
783 HistAmpl[
test][sub]->SetTitle(
"HE, All Depth: shunt6");
785 HistAmpl[
test][sub]->SetTitle(
"HO, All Depth");
787 HistAmpl[
test][sub]->SetTitle(
"HF, All Depth");
789 HistAmpl[
test][sub]->SetXTitle(
"ADC Amlitude in each event & cell \b");
791 HistAmpl[
test][sub]->SetXTitle(
"RMS in each event & cell \b");
793 HistAmpl[
test][sub]->SetXTitle(
"Ratio in each event & cell \b");
795 HistAmpl[
test][sub]->SetXTitle(
"Mean TS position in each event & cell \b");
797 HistAmpl[
test][sub]->SetXTitle(
"Max TS position in each event & cell \b");
798 HistAmpl[
test][sub]->SetYTitle(
"Number of cell-events \b");
799 HistAmpl[
test][sub]->SetLineColor(4);
800 HistAmpl[
test][sub]->SetLineWidth(2);
801 HistAmpl[
test][sub]->SetTitleOffset(1.4,
"Y");
802 HistAmpl[
test][sub]->Draw(
"");
809 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 5.);
811 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 1.);
813 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 9.);
815 HistAmpl[
test][sub]->GetXaxis()->SetRangeUser(0., 9.);
818 double min_x[] = {MIN_M[
test][sub], MIN_M[
test][sub]};
819 double min_y[] = {0., 100000000.};
820 TGraph *MIN =
new TGraph(2, min_x, min_y);
821 MIN->SetLineStyle(2);
822 MIN->SetLineColor(2);
823 MIN->SetLineWidth(2 + 100 * 100);
824 MIN->SetFillStyle(3005);
825 MIN->SetFillColor(2);
827 double max_x[] = {MAX_M[
test][sub], MAX_M[
test][sub]};
828 double max_y[] = {0., 100000000.};
829 TGraph *MAX =
new TGraph(2, max_x, max_y);
830 MAX->SetLineStyle(2);
831 MAX->SetLineColor(2);
832 MAX->SetLineWidth(-2 - 100 * 100);
833 MAX->SetFillStyle(3004);
834 MAX->SetFillColor(2);
838 cONE->Print(
"HistAmplHB.png");
842 cONE->Print(
"HistAmplHE.png");
846 cONE->Print(
"HistAmplHO.png");
850 cONE->Print(
"HistAmplHF.png");
856 cONE->Print(
"HistRMSHB.png");
860 cONE->Print(
"HistRMSHE.png");
864 cONE->Print(
"HistRMSHO.png");
868 cONE->Print(
"HistRMSHF.png");
874 cONE->Print(
"Hist43TStoAllTSHB.png");
878 cONE->Print(
"Hist43TStoAllTSHE.png");
882 cONE->Print(
"Hist43TStoAllTSHO.png");
886 cONE->Print(
"Hist43TStoAllTSHF.png");
892 cONE->Print(
"HistMeanPosHB.png");
896 cONE->Print(
"HistMeanPosHE.png");
900 cONE->Print(
"HistMeanPosHO.png");
904 cONE->Print(
"HistMeanPosHF.png");
910 cONE->Print(
"HistMaxPosHB.png");
914 cONE->Print(
"HistMaxPosHE.png");
918 cONE->Print(
"HistMaxPosHO.png");
922 cONE->Print(
"HistMaxPosHF.png");
933 Map_Ampl[31][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestal_HB");
934 Map_Ampl[31][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestal_HB");
935 Map_Ampl[31][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestal_HB");
936 Map_Ampl[31][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HB");
937 Map_Ampl[31][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestal_HE");
938 Map_Ampl[31][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestal_HE");
939 Map_Ampl[31][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestal_HE");
940 Map_Ampl[31][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HE");
941 Map_Ampl[31][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5pedestal_HE");
942 Map_Ampl[31][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6pedestal_HE");
943 Map_Ampl[31][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7pedestal_HE");
944 Map_Ampl[31][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HO");
945 Map_Ampl[31][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestal_HF");
946 Map_Ampl[31][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestal_HF");
947 Map_Ampl[31][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestal_HF");
948 Map_Ampl[31][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestal_HF");
950 Map_Ampl[32][1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestalw_HB");
951 Map_Ampl[32][1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestalw_HB");
952 Map_Ampl[32][1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestalw_HB");
953 Map_Ampl[32][1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HB");
954 Map_Ampl[32][2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestalw_HE");
955 Map_Ampl[32][2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestalw_HE");
956 Map_Ampl[32][2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestalw_HE");
957 Map_Ampl[32][2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HE");
958 Map_Ampl[32][2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5pedestalw_HE");
959 Map_Ampl[32][2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6pedestalw_HE");
960 Map_Ampl[32][2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7pedestalw_HE");
961 Map_Ampl[32][3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HO");
962 Map_Ampl[32][4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1pedestalw_HF");
963 Map_Ampl[32][4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2pedestalw_HF");
964 Map_Ampl[32][4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3pedestalw_HF");
965 Map_Ampl[32][4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4pedestalw_HF");
967 HistPed[1][1][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HB");
968 HistPed[1][1][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HB");
969 HistPed[1][1][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HB");
970 HistPed[1][1][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HB");
971 HistPed[2][1][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HB");
972 HistPed[2][1][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HB");
973 HistPed[2][1][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HB");
974 HistPed[2][1][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HB");
976 HistPed[1][2][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HE");
977 HistPed[1][2][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HE");
978 HistPed[1][2][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HE");
979 HistPed[1][2][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HE");
980 HistPed[2][2][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HE");
981 HistPed[2][2][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HE");
982 HistPed[2][2][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HE");
983 HistPed[2][2][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HE");
985 HistPed[1][3][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HO");
986 HistPed[1][3][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HO");
987 HistPed[1][3][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HO");
988 HistPed[1][3][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HO");
989 HistPed[2][3][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HO");
990 HistPed[2][3][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HO");
991 HistPed[2][3][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HO");
992 HistPed[2][3][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HO");
994 HistPed[1][4][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestal0_HF");
995 HistPed[1][4][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestal1_HF");
996 HistPed[1][4][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestal2_HF");
997 HistPed[1][4][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestal3_HF");
998 HistPed[2][4][0] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw0_HF");
999 HistPed[2][4][1] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw1_HF");
1000 HistPed[2][4][2] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw2_HF");
1001 HistPed[2][4][3] = (TH1F *)
dir->FindObjectAny(
"h_pedestalw3_HF");
1004 for (
int sub = 1; sub <= 4; sub++) {
1019 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
1028 Map_Ampl[
test][sub][
k]->Divide(Map_Ampl[
test][sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
1033 sprintf(
str,
"HB, Depth%d \b",
k);
1035 sprintf(
str,
"HE, Depth%d \b",
k);
1037 sprintf(
str,
"HO, Depth%d \b",
k);
1039 sprintf(
str,
"HF, Depth%d \b",
k);
1040 Map_Ampl[
test][sub][
k]->SetTitle(
str);
1041 Map_Ampl[
test][sub][
k]->SetXTitle(
"#eta \b");
1042 Map_Ampl[
test][sub][
k]->SetYTitle(
"#phi \b");
1043 Map_Ampl[
test][sub][
k]->SetZTitle(
"Rate \b");
1045 Map_Ampl[
test][sub][
k]->SetTitleOffset(0.8,
"Z");
1046 Map_Ampl[
test][sub][
k]->Draw(
"COLZ");
1047 Map_Ampl[
test][sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
1048 Map_Ampl[
test][sub][
k]->GetZaxis()->SetRangeUser(0.0001, 1.);
1068 cHB->Print(
"MapRatePedHB.png");
1072 cHE->Print(
"MapRatePedHE.png");
1076 cONE->Print(
"MapRatePedHO.png");
1080 cHF->Print(
"MapRatePedHF.png");
1086 cHB->Print(
"MapRatePedWidthsHB.png");
1090 cHE->Print(
"MapRatePedWidthsHE.png");
1094 cONE->Print(
"MapRatePedWidthsHO.png");
1098 cHF->Print(
"MapRatePedWidthsHF.png");
1113 sprintf(
str,
"HB, Cap%d, all depth\b",
cap);
1115 sprintf(
str,
"HE, Cap%d, all depth\b",
cap);
1117 sprintf(
str,
"HO, Cap%d, all depth\b",
cap);
1119 sprintf(
str,
"HF, Cap%d, all depth\b",
cap);
1124 HistPed[
test - 30][sub][
cap]->SetXTitle(
"Pedestals in each event & cell \b");
1126 HistPed[
test - 30][sub][
cap]->SetXTitle(
"Pedestal Widths in each event & cell \b");
1128 HistPed[
test - 30][sub][
cap]->SetYTitle(
"Number of channel-events \b");
1129 HistPed[
test - 30][sub][
cap]->SetLineColor(4);
1130 HistPed[
test - 30][sub][
cap]->SetLineWidth(2);
1131 HistPed[
test - 30][sub][
cap]->SetTitleOffset(1.4,
"Y");
1132 HistPed[
test - 30][sub][
cap]->Draw(
"");
1139 double min_x[] = {Pedest[
test - 31][sub], Pedest[
test - 31][sub]};
1140 double min_y[] = {0., 100000000.};
1141 TGraph *MIN =
new TGraph(2, min_x, min_y);
1142 MIN->SetLineStyle(2);
1143 MIN->SetLineColor(2);
1144 MIN->SetLineWidth(2 + 100 * 100);
1145 MIN->SetFillStyle(3005);
1146 MIN->SetFillColor(2);
1151 cPED->Print(
"HistPedestalsHB.png");
1155 cPED->Print(
"HistPedestalsHE.png");
1159 cPED->Print(
"HistPedestalsHO.png");
1163 cPED->Print(
"HistPedestalsHF.png");
1169 cPED->Print(
"HistPedestalWidthsHB.png");
1173 cPED->Print(
"HistPedestalWidthsHE.png");
1177 cPED->Print(
"HistPedestalWidthsHO.png");
1181 cPED->Print(
"HistPedestalWidthsHF.png");
1193 Map_Ped[1][1] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HB");
1194 Map_Ped[1][2] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HE");
1195 Map_Ped[1][3] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HO");
1196 Map_Ped[1][4] = (TH2F *)
dir->FindObjectAny(
"h2_pedvsampl_HF");
1197 Map_Ped[2][1] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HB");
1198 Map_Ped[2][2] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HE");
1199 Map_Ped[2][3] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HO");
1200 Map_Ped[2][4] = (TH2F *)
dir->FindObjectAny(
"h2_pedwvsampl_HF");
1201 for (
int sub = 1; sub <= 4; sub++) {
1209 Map_Ped[
test][sub]->SetXTitle(
"Pedestal, fC \b");
1211 Map_Ped[
test][sub]->SetXTitle(
"pedestal Width, fC \b");
1212 Map_Ped[
test][sub]->SetYTitle(
"Amplitude, fC \b");
1213 Map_Ped[
test][sub]->SetZTitle(
"entries \b");
1215 sprintf(
str,
"Cap0 Pedestal vs Amplitude \b");
1217 sprintf(
str,
"Cap0 pedestalWidth vs Amplitude \b");
1218 Map_Ped[
test][sub]->SetTitle(
str);
1219 Map_Ped[
test][sub]->Draw(
"COLZ");
1226 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHB.png");
1230 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHE.png");
1234 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHO.png");
1238 cPED->Print(
"CorrelationsMapPedestalVsfullAmplitudeHF.png");
1248 hist_GoodTSshape[1] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HB");
1249 hist_GoodTSshape[2] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HE");
1250 hist_GoodTSshape[3] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HO");
1251 hist_GoodTSshape[4] = (TH1F *)
dir->FindObjectAny(
"h_shape_good_channels_HF");
1253 hist_GoodTSshape0[1] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HB");
1254 hist_GoodTSshape0[2] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HE");
1255 hist_GoodTSshape0[3] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HO");
1256 hist_GoodTSshape0[4] = (TH1F *)
dir->FindObjectAny(
"h_shape0_good_channels_HF");
1258 hist_BadTSshape[1] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HB");
1259 hist_BadTSshape[2] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HE");
1260 hist_BadTSshape[3] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HO");
1261 hist_BadTSshape[4] = (TH1F *)
dir->FindObjectAny(
"h_shape_bad_channels_HF");
1263 hist_BadTSshape0[1] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HB");
1264 hist_BadTSshape0[2] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HE");
1265 hist_BadTSshape0[3] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HO");
1266 hist_BadTSshape0[4] = (TH1F *)
dir->FindObjectAny(
"h_shape0_bad_channels_HF");
1270 for (
int sub = 1; sub <= 4; sub++) {
1275 hist_GoodTSshape[sub]->Divide(hist_GoodTSshape[sub], hist_GoodTSshape0[sub], 1, 1,
"B");
1276 hist_GoodTSshape[sub]->SetXTitle(
"Time slice \b");
1277 hist_GoodTSshape[sub]->SetYTitle(
"ADC counts \b");
1278 sprintf(
str,
"Mean ADC Shape \b");
1279 hist_GoodTSshape[sub]->SetTitle(
str);
1280 hist_GoodTSshape[sub]->Draw(
"");
1286 cONE->Print(
"HistGoodTSshapesHB.png");
1290 cONE->Print(
"HistGoodTSshapesHE.png");
1294 cONE->Print(
"HistGoodTSshapesHO.png");
1298 cONE->Print(
"HistGoodTSshapesHF.png");
1303 for (
int sub = 1; sub <= 4; sub++) {
1308 hist_BadTSshape[sub]->Divide(hist_BadTSshape[sub], hist_BadTSshape0[sub], 1, 1,
"B");
1309 hist_BadTSshape[sub]->SetXTitle(
"Time slice \b");
1310 hist_BadTSshape[sub]->SetYTitle(
"ADC counts \b");
1311 sprintf(
str,
"Mean ADC Shape \b");
1312 hist_BadTSshape[sub]->SetTitle(
str);
1313 hist_BadTSshape[sub]->Draw(
"");
1319 cONE->Print(
"HistBadTSshapesHB.png");
1323 cONE->Print(
"HistBadTSshapesHE.png");
1327 cONE->Print(
"HistBadTSshapesHO.png");
1331 cONE->Print(
"HistBadTSshapesHF.png");
1339 Map_SUBTS[1][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TS2_HB");
1340 Map_SUBTS[1][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TS2_HB");
1341 Map_SUBTS[1][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TS2_HB");
1342 Map_SUBTS[1][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS2_HB");
1344 Map_SUBTS[2][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TS2_HE");
1345 Map_SUBTS[2][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TS2_HE");
1346 Map_SUBTS[2][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TS2_HE");
1347 Map_SUBTS[2][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS2_HE");
1348 Map_SUBTS[2][5] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TS2_HE");
1349 Map_SUBTS[2][6] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TS2_HE");
1350 Map_SUBTS[2][7] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TS2_HE");
1352 Map_SUBTS[3][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS012_HO");
1354 Map_SUBTS[4][1] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TS1_HF");
1355 Map_SUBTS[4][2] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TS1_HF");
1356 Map_SUBTS[4][3] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TS1_HF");
1357 Map_SUBTS[4][4] = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TS1_HF");
1359 for (
int sub = 1; sub <= 4; sub++) {
1374 for (
int k = k_min[sub];
k <= k_max[sub];
k++) {
1383 Map_SUBTS[sub][
k]->Divide(Map_SUBTS[sub][
k], Map_SUB[sub][
k], 1, 1,
"B");
1388 sprintf(
str,
"HB, Depth%d \b",
k);
1390 sprintf(
str,
"HE, Depth%d \b",
k);
1392 sprintf(
str,
"HO, Depth%d \b",
k);
1394 sprintf(
str,
"HF, Depth%d \b",
k);
1395 Map_SUBTS[sub][
k]->SetTitle(
str);
1396 Map_SUBTS[sub][
k]->SetXTitle(
"#eta \b");
1397 Map_SUBTS[sub][
k]->SetYTitle(
"#phi \b");
1398 Map_SUBTS[sub][
k]->SetZTitle(
"Number of events \b");
1400 Map_SUBTS[sub][
k]->SetTitleOffset(0.8,
"Z");
1401 Map_SUBTS[sub][
k]->Draw(
"COLZ");
1402 Map_SUBTS[sub][
k]->GetYaxis()->SetRangeUser(0, 72.);
1423 cHB->Print(
"Hist_mapDepthAllTS2_HB.png");
1427 cHE->Print(
"Hist_mapDepthAllTS2_HE.png");
1431 cONE->Print(
"Hist_mapDepthAllTS012_HO.png");
1435 cHF->Print(
"Hist_mapDepthAllTS1_HF.png");
1634 TCanvas *cmain1 =
new TCanvas(
"cmain1",
"cmain1", 200, 10, 1400, 1800);
1635 cmain1->Divide(2, 2);
1638 TH1F *JDBEYESJ0 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHBperEvent");
1639 JDBEYESJ0->SetStats(0);
1640 JDBEYESJ0->SetMarkerStyle(20);
1641 JDBEYESJ0->SetMarkerSize(0.8);
1642 JDBEYESJ0->GetYaxis()->SetLabelSize(0.04);
1643 JDBEYESJ0->SetXTitle(
"iEvent \b");
1644 JDBEYESJ0->SetYTitle(
"totalAmplitude perEvent \b");
1645 JDBEYESJ0->SetTitle(
"HB \b");
1646 JDBEYESJ0->SetMarkerColor(2);
1647 JDBEYESJ0->SetLineColor(1);
1648 JDBEYESJ0->SetMinimum(0.8);
1649 JDBEYESJ0->Draw(
"HIST same P0");
1653 TH1F *JDBEYESJ1 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHEperEvent");
1654 JDBEYESJ1->SetStats(0);
1655 JDBEYESJ1->SetMarkerStyle(20);
1656 JDBEYESJ1->SetMarkerSize(0.8);
1657 JDBEYESJ1->GetYaxis()->SetLabelSize(0.04);
1658 JDBEYESJ1->SetXTitle(
"iEvent \b");
1659 JDBEYESJ1->SetYTitle(
"totalAmplitude perEvent \b");
1660 JDBEYESJ1->SetTitle(
"HE \b");
1661 JDBEYESJ1->SetMarkerColor(2);
1662 JDBEYESJ1->SetLineColor(1);
1663 JDBEYESJ1->SetMinimum(0.8);
1664 JDBEYESJ1->Draw(
"HIST same P0");
1668 TH1F *JDBEYESJ2 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHFperEvent");
1669 JDBEYESJ2->SetStats(0);
1670 JDBEYESJ2->SetMarkerStyle(20);
1671 JDBEYESJ2->SetMarkerSize(0.8);
1672 JDBEYESJ2->GetYaxis()->SetLabelSize(0.04);
1673 JDBEYESJ2->SetXTitle(
"iEvent \b");
1674 JDBEYESJ2->SetYTitle(
"totalAmplitude perEvent \b");
1675 JDBEYESJ2->SetTitle(
"HF \b");
1676 JDBEYESJ2->SetMarkerColor(2);
1677 JDBEYESJ2->SetLineColor(1);
1678 JDBEYESJ2->SetMinimum(0.8);
1679 JDBEYESJ2->Draw(
"HIST same P0");
1683 TH1F *JDBEYESJ3 = (TH1F *)
dir->FindObjectAny(
"h_totalAmplitudeHOperEvent");
1684 JDBEYESJ3->SetStats(0);
1685 JDBEYESJ3->SetMarkerStyle(20);
1686 JDBEYESJ3->SetMarkerSize(0.8);
1687 JDBEYESJ3->GetYaxis()->SetLabelSize(0.04);
1688 JDBEYESJ3->SetXTitle(
"iEvent \b");
1689 JDBEYESJ3->SetYTitle(
"totalAmplitude perEvent \b");
1690 JDBEYESJ3->SetTitle(
"HO \b");
1691 JDBEYESJ3->SetMarkerColor(2);
1692 JDBEYESJ3->SetLineColor(1);
1693 JDBEYESJ3->SetMinimum(0.8);
1694 JDBEYESJ3->Draw(
"HIST same P0");
1698 cmain1->Print(
"EVENTDEPENDENCE.png");
1727 TCanvas *corravstsn =
new TCanvas(
"corravstsn",
"corravstsn", 200, 10, 1400, 1800);
1729 corravstsn->Divide(2, 2);
1731 TH2F *two11 = (TH2F *)
dir->FindObjectAny(
"h2_TSnVsAyear2023_HB");
1734 two11->SetMarkerStyle(20);
1735 two11->SetMarkerSize(0.4);
1736 two11->SetYTitle(
"timing HB \b");
1737 two11->SetXTitle(
"Q,fc HB\b");
1738 two11->SetMarkerColor(1);
1739 two11->SetLineColor(1);
1742 TH1F *TSNvsQ_HB = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HB");
1746 TSNvsQ_HB->SetMarkerStyle(20);
1747 TSNvsQ_HB->SetMarkerSize(0.6);
1748 TSNvsQ_HB->GetYaxis()->SetLabelSize(0.04);
1749 TSNvsQ_HB->SetXTitle(
"Q,fc HB \b");
1750 TSNvsQ_HB->SetYTitle(
"iev*ieta*iphi*idepth \b");
1751 TSNvsQ_HB->SetMarkerColor(4);
1752 TSNvsQ_HB->SetLineColor(0);
1753 TSNvsQ_HB->SetMinimum(0.8);
1754 TSNvsQ_HB->Draw(
"E");
1756 TH1F *twod1_HB = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear2023_HB");
1757 TH1F *twod0_HB = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HB");
1760 TH1F *Ceff_HB = (TH1F *)twod1_HB->Clone(
"Ceff_HB");
1761 for (
int x = 1;
x <= twod1_HB->GetXaxis()->GetNbins();
x++) {
1762 twod1_HB->SetBinError(
float(
x), 0.001);
1764 Ceff_HB->Divide(twod1_HB, twod0_HB, 1, 1,
"B");
1767 Ceff_HB->SetMarkerStyle(20);
1768 Ceff_HB->SetMarkerSize(0.4);
1769 Ceff_HB->SetXTitle(
"Q,fc \b");
1770 Ceff_HB->SetYTitle(
"<timing>HB \b");
1771 Ceff_HB->SetMarkerColor(2);
1772 Ceff_HB->SetLineColor(2);
1773 Ceff_HB->SetMaximum(140.);
1774 Ceff_HB->SetMinimum(30.);
1776 corravstsn->Modified();
1777 corravstsn->Update();
1778 corravstsn->Print(
"corravstsnPLOTSHB.png");
1779 corravstsn->Clear();
1782 corravstsn->Divide(2, 2);
1784 TH2F *twoHE = (TH2F *)
dir->FindObjectAny(
"h2_TSnVsAyear2023_HE");
1787 twoHE->SetMarkerStyle(20);
1788 twoHE->SetMarkerSize(0.4);
1789 twoHE->SetYTitle(
"timing HE \b");
1790 twoHE->SetXTitle(
"Q,fc HE\b");
1791 twoHE->SetMarkerColor(1);
1792 twoHE->SetLineColor(1);
1795 TH1F *TSNvsQ_HE = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HE");
1799 TSNvsQ_HE->SetMarkerStyle(20);
1800 TSNvsQ_HE->SetMarkerSize(0.6);
1801 TSNvsQ_HE->GetYaxis()->SetLabelSize(0.04);
1802 TSNvsQ_HE->SetXTitle(
"Q,fc HE \b");
1803 TSNvsQ_HE->SetYTitle(
"iev*ieta*iphi*idepth \b");
1804 TSNvsQ_HE->SetMarkerColor(4);
1805 TSNvsQ_HE->SetLineColor(0);
1806 TSNvsQ_HE->SetMinimum(0.8);
1807 TSNvsQ_HE->Draw(
"E");
1809 TH1F *twod1_HE = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear2023_HE");
1810 TH1F *twod0_HE = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HE");
1813 TH1F *Ceff_HE = (TH1F *)twod1_HE->Clone(
"Ceff_HE");
1814 for (
int x = 1;
x <= twod1_HE->GetXaxis()->GetNbins();
x++) {
1815 twod1_HE->SetBinError(
float(
x), 0.001);
1817 Ceff_HE->Divide(twod1_HE, twod0_HE, 1, 1,
"B");
1820 Ceff_HE->SetMarkerStyle(20);
1821 Ceff_HE->SetMarkerSize(0.4);
1822 Ceff_HE->SetXTitle(
"Q,fc \b");
1823 Ceff_HE->SetYTitle(
"<timing>HE \b");
1824 Ceff_HE->SetMarkerColor(2);
1825 Ceff_HE->SetLineColor(2);
1826 Ceff_HE->SetMaximum(150.);
1827 Ceff_HE->SetMinimum(25.);
1829 corravstsn->Modified();
1830 corravstsn->Update();
1831 corravstsn->Print(
"corravstsnPLOTSHE.png");
1832 corravstsn->Clear();
1835 corravstsn->Divide(2, 2);
1837 TH2F *twoHF = (TH2F *)
dir->FindObjectAny(
"h2_TSnVsAyear2023_HF");
1840 twoHF->SetMarkerStyle(20);
1841 twoHF->SetMarkerSize(0.4);
1842 twoHF->SetYTitle(
"timing HF \b");
1843 twoHF->SetXTitle(
"Q,fc HF\b");
1844 twoHF->SetMarkerColor(1);
1845 twoHF->SetLineColor(1);
1848 TH1F *TSNvsQ_HF = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HF");
1852 TSNvsQ_HF->SetMarkerStyle(20);
1853 TSNvsQ_HF->SetMarkerSize(0.6);
1854 TSNvsQ_HF->GetYaxis()->SetLabelSize(0.04);
1855 TSNvsQ_HF->SetXTitle(
"Q,fc HF \b");
1856 TSNvsQ_HF->SetYTitle(
"iev*ieta*iphi*idepth \b");
1857 TSNvsQ_HF->SetMarkerColor(4);
1858 TSNvsQ_HF->SetLineColor(0);
1859 TSNvsQ_HF->SetMinimum(0.8);
1860 TSNvsQ_HF->Draw(
"E");
1862 TH1F *twod1_HF = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear2023_HF");
1863 TH1F *twod0_HF = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HF");
1866 TH1F *Ceff_HF = (TH1F *)twod1_HF->Clone(
"Ceff_HF");
1867 for (
int x = 1;
x <= twod1_HF->GetXaxis()->GetNbins();
x++) {
1868 twod1_HF->SetBinError(
float(
x), 0.001);
1870 Ceff_HF->Divide(twod1_HF, twod0_HF, 1, 1,
"B");
1873 Ceff_HF->SetMarkerStyle(20);
1874 Ceff_HF->SetMarkerSize(0.4);
1875 Ceff_HF->SetXTitle(
"Q,fc \b");
1876 Ceff_HF->SetYTitle(
"<timing>HF \b");
1877 Ceff_HF->SetMarkerColor(2);
1878 Ceff_HF->SetLineColor(2);
1879 Ceff_HF->SetMaximum(50.);
1880 Ceff_HF->SetMinimum(0.);
1882 corravstsn->Modified();
1883 corravstsn->Update();
1884 corravstsn->Print(
"corravstsnPLOTSHF.png");
1885 corravstsn->Clear();
1888 corravstsn->Divide(2, 2);
1890 TH2F *twoHO = (TH2F *)
dir->FindObjectAny(
"h2_TSnVsAyear2023_HO");
1893 twoHO->SetMarkerStyle(20);
1894 twoHO->SetMarkerSize(0.4);
1895 twoHO->SetYTitle(
"timing HO \b");
1896 twoHO->SetXTitle(
"Q,fc HO\b");
1897 twoHO->SetMarkerColor(1);
1898 twoHO->SetLineColor(1);
1901 TH1F *TSNvsQ_HO = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HO");
1905 TSNvsQ_HO->SetMarkerStyle(20);
1906 TSNvsQ_HO->SetMarkerSize(0.6);
1907 TSNvsQ_HO->GetYaxis()->SetLabelSize(0.04);
1908 TSNvsQ_HO->SetXTitle(
"Q,fc HO \b");
1909 TSNvsQ_HO->SetYTitle(
"iev*ieta*iphi*idepth \b");
1910 TSNvsQ_HO->SetMarkerColor(4);
1911 TSNvsQ_HO->SetLineColor(0);
1912 TSNvsQ_HO->SetMinimum(0.8);
1913 TSNvsQ_HO->Draw(
"E");
1915 TH1F *twod1_HO = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear2023_HO");
1916 TH1F *twod0_HO = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HO");
1919 TH1F *Ceff_HO = (TH1F *)twod1_HO->Clone(
"Ceff_HO");
1920 for (
int x = 1;
x <= twod1_HO->GetXaxis()->GetNbins();
x++) {
1921 twod1_HO->SetBinError(
float(
x), 0.001);
1923 Ceff_HO->Divide(twod1_HO, twod0_HO, 1, 1,
"B");
1926 Ceff_HO->SetMarkerStyle(20);
1927 Ceff_HO->SetMarkerSize(0.4);
1928 Ceff_HO->SetXTitle(
"Q,fc \b");
1929 Ceff_HO->SetYTitle(
"<timing>HO \b");
1930 Ceff_HO->SetMarkerColor(2);
1931 Ceff_HO->SetLineColor(2);
1932 Ceff_HO->SetMaximum(150.);
1933 Ceff_HO->SetMinimum(70.);
1935 corravstsn->Modified();
1936 corravstsn->Update();
1937 corravstsn->Print(
"corravstsnPLOTSHO.png");
1938 corravstsn->Clear();
1942 TCanvas *cHBnew =
new TCanvas(
"cHBnew",
"cHBnew", 0, 10, 1400, 1800);
1945 cHBnew->Divide(2, 2);
1947 TH2F *dva1_HBDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA_HB");
1948 TH2F *dva0_HBDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HB");
1951 TH2F *Seff_HBDepth1 = (TH2F *)dva1_HBDepth1->Clone(
"Seff_HBDepth1");
1952 Seff_HBDepth1->Divide(dva1_HBDepth1, dva0_HBDepth1, 25., 1.,
"B");
1955 Seff_HBDepth1->SetMarkerStyle(20);
1956 Seff_HBDepth1->SetMarkerSize(0.4);
1957 Seff_HBDepth1->SetXTitle(
"#eta \b");
1958 Seff_HBDepth1->SetYTitle(
"#phi \b");
1959 Seff_HBDepth1->SetZTitle(
"<timing> HB Depth1 \b");
1960 Seff_HBDepth1->SetMarkerColor(2);
1961 Seff_HBDepth1->SetLineColor(2);
1962 Seff_HBDepth1->SetMaximum(100.);
1963 Seff_HBDepth1->SetMinimum(80.);
1964 Seff_HBDepth1->Draw(
"COLZ");
1966 TH2F *dva1_HBDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA_HB");
1967 TH2F *dva0_HBDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HB");
1968 TH2F *Seff_HBDepth2 = (TH2F *)dva1_HBDepth2->Clone(
"Seff_HBDepth2");
1969 Seff_HBDepth2->Divide(dva1_HBDepth2, dva0_HBDepth2, 25., 1.,
"B");
1972 Seff_HBDepth2->SetMarkerStyle(20);
1973 Seff_HBDepth2->SetMarkerSize(0.4);
1974 Seff_HBDepth2->SetXTitle(
"#eta \b");
1975 Seff_HBDepth2->SetYTitle(
"#phi \b");
1976 Seff_HBDepth2->SetZTitle(
"<timing> HB Depth2 \b");
1977 Seff_HBDepth2->SetMarkerColor(2);
1978 Seff_HBDepth2->SetLineColor(2);
1979 Seff_HBDepth2->SetMaximum(100.);
1980 Seff_HBDepth2->SetMinimum(80.);
1981 Seff_HBDepth2->Draw(
"COLZ");
1983 TH2F *dva1_HBDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA_HB");
1984 TH2F *dva0_HBDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HB");
1985 TH2F *Seff_HBDepth3 = (TH2F *)dva1_HBDepth3->Clone(
"Seff_HBDepth3");
1986 Seff_HBDepth3->Divide(dva1_HBDepth3, dva0_HBDepth3, 25., 1.,
"B");
1989 Seff_HBDepth3->SetMarkerStyle(20);
1990 Seff_HBDepth3->SetMarkerSize(0.4);
1991 Seff_HBDepth3->SetXTitle(
"#eta \b");
1992 Seff_HBDepth3->SetYTitle(
"#phi \b");
1993 Seff_HBDepth3->SetZTitle(
"<timing> HB Depth3 \b");
1994 Seff_HBDepth3->SetMarkerColor(2);
1995 Seff_HBDepth3->SetLineColor(2);
1996 Seff_HBDepth3->SetMaximum(100.);
1997 Seff_HBDepth3->SetMinimum(80.);
1998 Seff_HBDepth3->Draw(
"COLZ");
2000 TH2F *dva1_HBDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA_HB");
2001 TH2F *dva0_HBDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HB");
2002 TH2F *Seff_HBDepth4 = (TH2F *)dva1_HBDepth4->Clone(
"Seff_HBDepth4");
2003 Seff_HBDepth4->Divide(dva1_HBDepth4, dva0_HBDepth4, 25., 1.,
"B");
2006 Seff_HBDepth4->SetMarkerStyle(20);
2007 Seff_HBDepth4->SetMarkerSize(0.4);
2008 Seff_HBDepth4->SetXTitle(
"#eta \b");
2009 Seff_HBDepth4->SetYTitle(
"#phi \b");
2010 Seff_HBDepth4->SetZTitle(
"<timing> HB Depth4 \b");
2011 Seff_HBDepth4->SetMarkerColor(2);
2012 Seff_HBDepth4->SetLineColor(2);
2013 Seff_HBDepth4->SetMaximum(100.);
2014 Seff_HBDepth4->SetMinimum(80.);
2015 Seff_HBDepth4->Draw(
"COLZ");
2018 cHBnew->Print(
"2DcorravstsnPLOTSHB.png");
2023 delete dva1_HBDepth1;
2025 delete dva0_HBDepth1;
2027 delete Seff_HBDepth1;
2029 delete dva1_HBDepth2;
2031 delete dva0_HBDepth2;
2033 delete Seff_HBDepth2;
2035 delete dva1_HBDepth3;
2037 delete dva0_HBDepth3;
2039 delete Seff_HBDepth3;
2041 delete dva1_HBDepth4;
2043 delete dva0_HBDepth4;
2045 delete Seff_HBDepth4;
2048 TCanvas *cHEnew =
new TCanvas(
"cHEnew",
"cHEnew", 5, 10, 1400, 1800);
2050 cHEnew->Divide(2, 4);
2052 TH2F *dva1_HEDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA_HE");
2053 TH2F *dva0_HEDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HE");
2056 TH2F *Seff_HEDepth1 = (TH2F *)dva1_HEDepth1->Clone(
"Seff_HEDepth1");
2057 Seff_HEDepth1->Divide(dva1_HEDepth1, dva0_HEDepth1, 25., 1.,
"B");
2060 Seff_HEDepth1->SetMarkerStyle(20);
2061 Seff_HEDepth1->SetMarkerSize(0.4);
2062 Seff_HEDepth1->SetXTitle(
"#eta \b");
2063 Seff_HEDepth1->SetYTitle(
"#phi \b");
2064 Seff_HEDepth1->SetZTitle(
"<timing> HE Depth1 \b");
2065 Seff_HEDepth1->SetMarkerColor(2);
2066 Seff_HEDepth1->SetLineColor(2);
2067 Seff_HEDepth1->SetMaximum(100.);
2068 Seff_HEDepth1->SetMinimum(80.);
2069 Seff_HEDepth1->Draw(
"COLZ");
2071 TH2F *dva1_HEDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA_HE");
2072 TH2F *dva0_HEDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HE");
2073 TH2F *Seff_HEDepth2 = (TH2F *)dva1_HEDepth2->Clone(
"Seff_HEDepth2");
2074 Seff_HEDepth2->Divide(dva1_HEDepth2, dva0_HEDepth2, 25., 1.,
"B");
2077 Seff_HEDepth2->SetMarkerStyle(20);
2078 Seff_HEDepth2->SetMarkerSize(0.4);
2079 Seff_HEDepth2->SetXTitle(
"#eta \b");
2080 Seff_HEDepth2->SetYTitle(
"#phi \b");
2081 Seff_HEDepth2->SetZTitle(
"<timing> HE Depth2 \b");
2082 Seff_HEDepth2->SetMarkerColor(2);
2083 Seff_HEDepth2->SetLineColor(2);
2084 Seff_HEDepth2->SetMaximum(100.);
2085 Seff_HEDepth2->SetMinimum(80.);
2086 Seff_HEDepth2->Draw(
"COLZ");
2088 TH2F *dva1_HEDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA_HE");
2089 TH2F *dva0_HEDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HE");
2090 TH2F *Seff_HEDepth3 = (TH2F *)dva1_HEDepth3->Clone(
"Seff_HEDepth3");
2091 Seff_HEDepth3->Divide(dva1_HEDepth3, dva0_HEDepth3, 25., 1.,
"B");
2094 Seff_HEDepth3->SetMarkerStyle(20);
2095 Seff_HEDepth3->SetMarkerSize(0.4);
2096 Seff_HEDepth3->SetXTitle(
"#eta \b");
2097 Seff_HEDepth3->SetYTitle(
"#phi \b");
2098 Seff_HEDepth3->SetZTitle(
"<timing> HE Depth3 \b");
2099 Seff_HEDepth3->SetMarkerColor(2);
2100 Seff_HEDepth3->SetLineColor(2);
2101 Seff_HEDepth3->SetMaximum(100.);
2102 Seff_HEDepth3->SetMinimum(80.);
2103 Seff_HEDepth3->Draw(
"COLZ");
2105 TH2F *dva1_HEDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA_HE");
2106 TH2F *dva0_HEDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HE");
2107 TH2F *Seff_HEDepth4 = (TH2F *)dva1_HEDepth4->Clone(
"Seff_HEDepth4");
2108 Seff_HEDepth4->Divide(dva1_HEDepth4, dva0_HEDepth4, 25., 1.,
"B");
2111 Seff_HEDepth4->SetMarkerStyle(20);
2112 Seff_HEDepth4->SetMarkerSize(0.4);
2113 Seff_HEDepth4->SetXTitle(
"#eta \b");
2114 Seff_HEDepth4->SetYTitle(
"#phi \b");
2115 Seff_HEDepth4->SetZTitle(
"<timing> HE Depth4 \b");
2116 Seff_HEDepth4->SetMarkerColor(2);
2117 Seff_HEDepth4->SetLineColor(2);
2118 Seff_HEDepth4->SetMaximum(100.);
2119 Seff_HEDepth4->SetMinimum(80.);
2120 Seff_HEDepth4->Draw(
"COLZ");
2122 TH2F *dva1_HEDepth5 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TSmeanA_HE");
2123 TH2F *dva0_HEDepth5 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5_HE");
2124 TH2F *Seff_HEDepth5 = (TH2F *)dva1_HEDepth5->Clone(
"Seff_HEDepth5");
2125 Seff_HEDepth5->Divide(dva1_HEDepth5, dva0_HEDepth5, 25., 1.,
"B");
2128 Seff_HEDepth5->SetMarkerStyle(20);
2129 Seff_HEDepth5->SetMarkerSize(0.4);
2130 Seff_HEDepth5->SetXTitle(
"#eta \b");
2131 Seff_HEDepth5->SetYTitle(
"#phi \b");
2132 Seff_HEDepth5->SetZTitle(
"<timing> HE Depth5 \b");
2133 Seff_HEDepth5->SetMarkerColor(2);
2134 Seff_HEDepth5->SetLineColor(2);
2135 Seff_HEDepth5->SetMaximum(100.);
2136 Seff_HEDepth5->SetMinimum(80.);
2137 Seff_HEDepth5->Draw(
"COLZ");
2139 TH2F *dva1_HEDepth6 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TSmeanA_HE");
2140 TH2F *dva0_HEDepth6 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6_HE");
2141 TH2F *Seff_HEDepth6 = (TH2F *)dva1_HEDepth6->Clone(
"Seff_HEDepth6");
2142 Seff_HEDepth6->Divide(dva1_HEDepth6, dva0_HEDepth6, 25., 1.,
"B");
2145 Seff_HEDepth6->SetMarkerStyle(20);
2146 Seff_HEDepth6->SetMarkerSize(0.4);
2147 Seff_HEDepth6->SetXTitle(
"#eta \b");
2148 Seff_HEDepth6->SetYTitle(
"#phi \b");
2149 Seff_HEDepth6->SetZTitle(
"<timing> HE Depth6 \b");
2150 Seff_HEDepth6->SetMarkerColor(2);
2151 Seff_HEDepth6->SetLineColor(2);
2152 Seff_HEDepth6->SetMaximum(100.);
2153 Seff_HEDepth6->SetMinimum(80.);
2154 Seff_HEDepth6->Draw(
"COLZ");
2156 TH2F *dva1_HEDepth7 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TSmeanA_HE");
2157 TH2F *dva0_HEDepth7 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7_HE");
2158 TH2F *Seff_HEDepth7 = (TH2F *)dva1_HEDepth7->Clone(
"Seff_HEDepth7");
2159 Seff_HEDepth7->Divide(dva1_HEDepth7, dva0_HEDepth7, 25., 1.,
"B");
2162 Seff_HEDepth7->SetMarkerStyle(20);
2163 Seff_HEDepth7->SetMarkerSize(0.4);
2164 Seff_HEDepth7->SetXTitle(
"#eta \b");
2165 Seff_HEDepth7->SetYTitle(
"#phi \b");
2166 Seff_HEDepth7->SetZTitle(
"<timing> HE Depth7 \b");
2167 Seff_HEDepth7->SetMarkerColor(2);
2168 Seff_HEDepth7->SetLineColor(2);
2169 Seff_HEDepth7->SetMaximum(100.);
2170 Seff_HEDepth7->SetMinimum(80.);
2171 Seff_HEDepth7->Draw(
"COLZ");
2174 cHEnew->Print(
"2DcorravstsnPLOTSHE.png");
2179 delete dva1_HEDepth1;
2181 delete dva0_HEDepth1;
2183 delete Seff_HEDepth1;
2185 delete dva1_HEDepth2;
2187 delete dva0_HEDepth2;
2189 delete Seff_HEDepth2;
2191 delete dva1_HEDepth3;
2193 delete dva0_HEDepth3;
2195 delete Seff_HEDepth3;
2197 delete dva1_HEDepth4;
2199 delete dva0_HEDepth4;
2201 delete Seff_HEDepth4;
2203 delete dva1_HEDepth5;
2205 delete dva0_HEDepth5;
2207 delete Seff_HEDepth5;
2209 delete dva1_HEDepth6;
2211 delete dva0_HEDepth6;
2213 delete Seff_HEDepth6;
2215 delete dva1_HEDepth7;
2217 delete dva0_HEDepth7;
2219 delete Seff_HEDepth7;
2221 TCanvas *cHFnew =
new TCanvas(
"cHFnew",
"cHFnew", 200, 10, 1400, 1800);
2223 cHFnew->Divide(2, 2);
2225 TH2F *dva1_HFDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA_HF");
2226 TH2F *dva0_HFDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HF");
2229 TH2F *Seff_HFDepth1 = (TH2F *)dva1_HFDepth1->Clone(
"Seff_HFDepth1");
2230 Seff_HFDepth1->Divide(dva1_HFDepth1, dva0_HFDepth1, 25., 1.,
"B");
2244 Seff_HFDepth1->SetMarkerStyle(20);
2245 Seff_HFDepth1->SetMarkerSize(0.4);
2246 Seff_HFDepth1->SetXTitle(
"#eta \b");
2247 Seff_HFDepth1->SetYTitle(
"#phi \b");
2248 Seff_HFDepth1->SetZTitle(
"<timing> HF Depth1 \b");
2249 Seff_HFDepth1->SetMarkerColor(2);
2250 Seff_HFDepth1->SetLineColor(2);
2251 Seff_HFDepth1->SetMaximum(50.);
2252 Seff_HFDepth1->SetMinimum(20.);
2253 Seff_HFDepth1->Draw(
"COLZ");
2255 TH2F *dva1_HFDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA_HF");
2256 TH2F *dva0_HFDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HF");
2257 TH2F *Seff_HFDepth2 = (TH2F *)dva1_HFDepth2->Clone(
"Seff_HFDepth2");
2258 Seff_HFDepth2->Divide(dva1_HFDepth2, dva0_HFDepth2, 25., 1.,
"B");
2270 Seff_HFDepth2->SetMarkerStyle(20);
2271 Seff_HFDepth2->SetMarkerSize(0.4);
2272 Seff_HFDepth2->SetXTitle(
"#eta \b");
2273 Seff_HFDepth2->SetYTitle(
"#phi \b");
2274 Seff_HFDepth2->SetZTitle(
"<timing> HF Depth2 \b");
2275 Seff_HFDepth2->SetMarkerColor(2);
2276 Seff_HFDepth2->SetLineColor(2);
2277 Seff_HFDepth2->SetMaximum(50.);
2278 Seff_HFDepth2->SetMinimum(20.);
2279 Seff_HFDepth2->Draw(
"COLZ");
2281 TH2F *dva1_HFDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA_HF");
2282 TH2F *dva0_HFDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HF");
2283 TH2F *Seff_HFDepth3 = (TH2F *)dva1_HFDepth3->Clone(
"Seff_HFDepth3");
2284 Seff_HFDepth3->Divide(dva1_HFDepth3, dva0_HFDepth3, 25., 1.,
"B");
2287 Seff_HFDepth3->SetMarkerStyle(20);
2288 Seff_HFDepth3->SetMarkerSize(0.4);
2289 Seff_HFDepth3->SetXTitle(
"#eta \b");
2290 Seff_HFDepth3->SetYTitle(
"#phi \b");
2291 Seff_HFDepth3->SetZTitle(
"<timing> HF Depth3 \b");
2292 Seff_HFDepth3->SetMarkerColor(2);
2293 Seff_HFDepth3->SetLineColor(2);
2294 Seff_HFDepth3->SetMaximum(50.);
2295 Seff_HFDepth3->SetMinimum(20.);
2296 Seff_HFDepth3->Draw(
"COLZ");
2298 TH2F *dva1_HFDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA_HF");
2299 TH2F *dva0_HFDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HF");
2300 TH2F *Seff_HFDepth4 = (TH2F *)dva1_HFDepth4->Clone(
"Seff_HFDepth4");
2301 Seff_HFDepth4->Divide(dva1_HFDepth4, dva0_HFDepth4, 25., 1.,
"B");
2304 Seff_HFDepth4->SetMarkerStyle(20);
2305 Seff_HFDepth4->SetMarkerSize(0.4);
2306 Seff_HFDepth4->SetXTitle(
"#eta \b");
2307 Seff_HFDepth4->SetYTitle(
"#phi \b");
2308 Seff_HFDepth4->SetZTitle(
"<timing> HF Depth4 \b");
2309 Seff_HFDepth4->SetMarkerColor(2);
2310 Seff_HFDepth4->SetLineColor(2);
2311 Seff_HFDepth4->SetMaximum(50.);
2312 Seff_HFDepth4->SetMinimum(20.);
2313 Seff_HFDepth4->Draw(
"COLZ");
2316 cHFnew->Print(
"2DcorravstsnPLOTSHF.png");
2320 delete dva1_HFDepth1;
2322 delete dva0_HFDepth1;
2324 delete Seff_HFDepth1;
2326 delete dva1_HFDepth2;
2328 delete dva0_HFDepth2;
2330 delete Seff_HFDepth2;
2332 delete dva1_HFDepth3;
2334 delete dva0_HFDepth3;
2336 delete Seff_HFDepth3;
2338 delete dva1_HFDepth4;
2340 delete dva0_HFDepth4;
2342 delete Seff_HFDepth4;
2344 TCanvas *cHOnew =
new TCanvas(
"cHOnew",
"cHOnew", 200, 10, 1400, 1800);
2347 cHOnew->Divide(1, 1);
2349 TH2F *dva1_HODepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA_HO");
2358 TH2F *dva0_HODepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HO");
2367 TH2F *Seff_HODepth4 = (TH2F *)dva1_HODepth4->Clone(
"Seff_HODepth4");
2376 Seff_HODepth4->Divide(dva1_HODepth4, dva0_HODepth4, 25., 1.,
"B");
2387 Seff_HODepth4->SetMarkerStyle(20);
2388 Seff_HODepth4->SetMarkerSize(0.4);
2389 Seff_HODepth4->SetXTitle(
"#eta \b");
2390 Seff_HODepth4->SetYTitle(
"#phi \b");
2391 Seff_HODepth4->SetZTitle(
"<timing> HO Depth4 \b");
2392 Seff_HODepth4->SetMarkerColor(2);
2393 Seff_HODepth4->SetLineColor(2);
2394 Seff_HODepth4->SetMaximum(130.);
2395 Seff_HODepth4->SetMinimum(70.);
2396 Seff_HODepth4->Draw(
"COLZ");
2399 cHOnew->Print(
"2DcorravstsnPLOTSHO.png");
2403 delete dva1_HODepth4;
2405 delete dva0_HODepth4;
2407 delete Seff_HODepth4;
2415 std::cout <<
" html pages CREATING: " << std::endl;
2418 std::string raw_class, raw_class1, raw_class2, raw_class3;
2421 for (
int sub = 1; sub <= 4; sub++) {
2422 ofstream htmlFileT, htmlFileC, htmlFileD, htmlFileP, htmlFileS;
2424 htmlFileT.open(
"HB_Tile.html");
2425 htmlFileC.open(
"HB_Calib.html");
2426 htmlFileD.open(
"HB_Drift.html");
2427 htmlFileP.open(
"HB_Pedestals.html");
2428 htmlFileS.open(
"HB_Shapes.html");
2431 htmlFileT.open(
"HE_Tile.html");
2432 htmlFileC.open(
"HE_Calib.html");
2433 htmlFileD.open(
"HE_Drift.html");
2434 htmlFileP.open(
"HE_Pedestals.html");
2435 htmlFileS.open(
"HE_Shapes.html");
2438 htmlFileT.open(
"HO_Tile.html");
2439 htmlFileC.open(
"HO_Calib.html");
2440 htmlFileD.open(
"HO_Drift.html");
2441 htmlFileP.open(
"HO_Pedestals.html");
2442 htmlFileS.open(
"HO_Shapes.html");
2445 htmlFileT.open(
"HF_Tile.html");
2446 htmlFileC.open(
"HF_Calib.html");
2447 htmlFileD.open(
"HF_Drift.html");
2448 htmlFileP.open(
"HF_Pedestals.html");
2449 htmlFileS.open(
"HF_Shapes.html");
2453 htmlFileT <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
2454 htmlFileT <<
"<head>" << std::endl;
2455 htmlFileT <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
2456 htmlFileT <<
"<title> Remote Monitoring Tool Global</title>" << std::endl;
2457 htmlFileT <<
"<style type=\"text/css\">" << std::endl;
2458 htmlFileT <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 2460 htmlFileT <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
2461 htmlFileT <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 2462 "text-align: center;}" 2464 htmlFileT <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
2465 htmlFileT <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
2466 htmlFileT <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
2467 htmlFileT <<
"</style>" << std::endl;
2468 htmlFileT <<
"<body>" << std::endl;
2471 htmlFileT <<
"<h1> Criteria for megatile channels for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2473 htmlFileT <<
"<h1> Criteria for megatile channels for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2475 htmlFileT <<
"<h1> Criteria for megatile channels for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2477 htmlFileT <<
"<h1> Criteria for megatile channels for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2478 htmlFileT <<
"<br>" << std::endl;
2482 htmlFileT <<
"<h2> 0. Entries for each channel.</h3>" << std::endl;
2483 htmlFileT <<
"<h3> 0.A. Entries in each channel for each depth.</h3>" << std::endl;
2484 htmlFileT <<
"<h4> Channel legend: color is number of hits in digi collection </h4>" << std::endl;
2486 htmlFileT <<
" <img src=\"MapRateEntryHB.png\" />" << std::endl;
2488 htmlFileT <<
" <img src=\"MapRateEntryHE.png\" />" << std::endl;
2490 htmlFileT <<
" <img src=\"MapRateEntryHO.png\" />" << std::endl;
2492 htmlFileT <<
" <img src=\"MapRateEntryHF.png\" />" << std::endl;
2493 htmlFileT <<
"<br>" << std::endl;
2496 htmlFileT <<
"<h2> 1. Cm criterion: CapID errors for each channel.</h3>" << std::endl;
2497 htmlFileT <<
"<h3> 1.A. Rate of CapId failures in each channel for each depth.</h3>" << std::endl;
2498 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
2500 htmlFileT <<
" <img src=\"MapRateCapIDHB.png\" />" << std::endl;
2502 htmlFileT <<
" <img src=\"MapRateCapIDHE.png\" />" << std::endl;
2504 htmlFileT <<
" <img src=\"MapRateCapIDHO.png\" />" << std::endl;
2506 htmlFileT <<
" <img src=\"MapRateCapIDHF.png\" />" << std::endl;
2507 htmlFileT <<
"<br>" << std::endl;
2510 htmlFileT <<
"<h2> 2. Am criterion: ADC amplitude collected over all TSs(Full Amplitude) for each channel. </h3>" 2512 htmlFileT <<
"<h3> 2.A. Full ADC amplitude distribution over all events, channels and depths.</h3>" << std::endl;
2513 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[2][sub] <<
" correpond to bad ADC amplitude </h4>" << std::endl;
2515 htmlFileT <<
" <img src=\"HistAmplHB.png\" />" << std::endl;
2517 htmlFileT <<
" <img src=\"HistAmplHE.png\" />" << std::endl;
2519 htmlFileT <<
" <img src=\"HistAmplHO.png\" />" << std::endl;
2521 htmlFileT <<
" <img src=\"HistAmplHF.png\" />" << std::endl;
2522 htmlFileT <<
"<br>" << std::endl;
2523 htmlFileT <<
"<h3> 2.B. Rate of bad ADC amplitude (<" << MIN_M[2][sub] <<
") in each channel for each depth. </h3>" 2525 htmlFileT <<
"<h4> Channel legend: white - good, other colours - bad. </h4>" << std::endl;
2527 htmlFileT <<
" <img src=\"MapRateAmplHB.png\" />" << std::endl;
2529 htmlFileT <<
" <img src=\"MapRateAmplHE.png\" />" << std::endl;
2531 htmlFileT <<
" <img src=\"MapRateAmplHO.png\" />" << std::endl;
2533 htmlFileT <<
" <img src=\"MapRateAmplHF.png\" />" << std::endl;
2534 htmlFileT <<
"<br>" << std::endl;
2537 htmlFileT <<
"<h2> 3. Wm criterion: RMS (width) of ADC amplutude for each channel.</h3>" << std::endl;
2538 htmlFileT <<
"<h3> 3.A. RMS distribution over all events, channel and depth.</h3>" << std::endl;
2539 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[3][sub] <<
" and more " << MAX_M[3][sub]
2540 <<
" correpond to bad RMS </h4>" << std::endl;
2542 htmlFileT <<
" <img src=\"HistRMSHB.png\" />" << std::endl;
2544 htmlFileT <<
" <img src=\"HistRMSHE.png\" />" << std::endl;
2546 htmlFileT <<
" <img src=\"HistRMSHO.png\" />" << std::endl;
2548 htmlFileT <<
" <img src=\"HistRMSHF.png\" />" << std::endl;
2549 htmlFileT <<
"<br>" << std::endl;
2550 htmlFileT <<
"<h3> 3.B. Rate of bad RMS (<" << MIN_M[3][sub] <<
",>" << MAX_M[3][sub]
2551 <<
") in each channel for each depth.</h3>" << std::endl;
2552 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
2554 htmlFileT <<
" <img src=\"MapRateRMSHB.png\" />" << std::endl;
2556 htmlFileT <<
" <img src=\"MapRateRMSHE.png\" />" << std::endl;
2558 htmlFileT <<
" <img src=\"MapRateRMSHO.png\" />" << std::endl;
2560 htmlFileT <<
" <img src=\"MapRateRMSHF.png\" />" << std::endl;
2561 htmlFileT <<
"<br>" << std::endl;
2564 htmlFileT <<
"<h2> 4. Rm criterion: Ratio ADC value sum over four near maximum (-2, -1, max, +1) TS to ADC value " 2565 "sum over all TS for each channel. </h3>" 2567 htmlFileT <<
"<h3> 4.A. Ratio distribution over all events, channels and depths.</h3>" << std::endl;
2568 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[4][sub] <<
" and more " << MAX_M[4][sub]
2569 <<
" correpond to bad ratio </h4>" << std::endl;
2571 htmlFileT <<
" <img src=\"Hist43TStoAllTSHB.png\" />" << std::endl;
2573 htmlFileT <<
" <img src=\"Hist43TStoAllTSHE.png\" />" << std::endl;
2575 htmlFileT <<
" <img src=\"Hist43TStoAllTSHO.png\" />" << std::endl;
2577 htmlFileT <<
" <img src=\"Hist43TStoAllTSHF.png\" />" << std::endl;
2578 htmlFileT <<
"<br>" << std::endl;
2579 htmlFileT <<
"<h3> 4.B. Rate of bad ratio (<" << MIN_M[4][sub] <<
", >" << MAX_M[4][sub]
2580 <<
") in each channel for each depth.</h3>" << std::endl;
2581 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
2583 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHB.png\" />" << std::endl;
2585 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHE.png\" />" << std::endl;
2587 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHO.png\" />" << std::endl;
2589 htmlFileT <<
" <img src=\"MapRate43TStoAllTSHF.png\" />" << std::endl;
2590 htmlFileT <<
"<br>" << std::endl;
2593 htmlFileT <<
"<h2> 5. TNm criterion: Mean TS position for each channel.</h3>" << std::endl;
2594 htmlFileT <<
"<h3> 5.A. TN position distribution over all events, channels and depths.</h3>" << std::endl;
2595 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[5][sub] <<
" and more " << MAX_M[5][sub]
2596 <<
" correpond to bad mean position </h4>" << std::endl;
2598 htmlFileT <<
" <img src=\"HistMeanPosHB.png\" />" << std::endl;
2600 htmlFileT <<
" <img src=\"HistMeanPosHE.png\" />" << std::endl;
2602 htmlFileT <<
" <img src=\"HistMeanPosHO.png\" />" << std::endl;
2604 htmlFileT <<
" <img src=\"HistMeanPosHF.png\" />" << std::endl;
2605 htmlFileT <<
"<br>" << std::endl;
2606 htmlFileT <<
"<h3> 5.B. Rate of bad TN position (<" << MIN_M[5][sub] <<
", >" << MAX_M[5][sub]
2607 <<
") in each channel for each depth. </h3>" << std::endl;
2608 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
2610 htmlFileT <<
" <img src=\"MapRateMeanPosHB.png\" />" << std::endl;
2612 htmlFileT <<
" <img src=\"MapRateMeanPosHE.png\" />" << std::endl;
2614 htmlFileT <<
" <img src=\"MapRateMeanPosHO.png\" />" << std::endl;
2616 htmlFileT <<
" <img src=\"MapRateMeanPosHF.png\" />" << std::endl;
2617 htmlFileT <<
"<br>" << std::endl;
2620 htmlFileT <<
"<h2> 6.TXm criterion: Maximum TS position for each channel.</h3>" << std::endl;
2621 htmlFileT <<
"<h3> 6.A. TX position distribution over all events, channel and depth.</h3>" << std::endl;
2622 htmlFileT <<
"<h4> Legend: Bins less " << MIN_M[6][sub] <<
" and more " << MAX_M[6][sub]
2623 <<
" correpond to bad position </h4>" << std::endl;
2625 htmlFileT <<
" <img src=\"HistMaxPosHB.png\" />" << std::endl;
2627 htmlFileT <<
" <img src=\"HistMaxPosHE.png\" />" << std::endl;
2629 htmlFileT <<
" <img src=\"HistMaxPosHO.png\" />" << std::endl;
2631 htmlFileT <<
" <img src=\"HistMaxPosHF.png\" />" << std::endl;
2632 htmlFileT <<
"<br>" << std::endl;
2633 htmlFileT <<
"<h3> 6.B. Rate of bad TX position (<" << MIN_M[6][sub] <<
", >" << MAX_M[6][sub]
2634 <<
") in each channel for each depth. </h3>" << std::endl;
2635 htmlFileT <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
2637 htmlFileT <<
" <img src=\"MapRateMaxPosHB.png\" />" << std::endl;
2639 htmlFileT <<
" <img src=\"MapRateMaxPosHE.png\" />" << std::endl;
2641 htmlFileT <<
" <img src=\"MapRateMaxPosHO.png\" />" << std::endl;
2643 htmlFileT <<
" <img src=\"MapRateMaxPosHF.png\" />" << std::endl;
2644 htmlFileT <<
"<br>" << std::endl;
2647 htmlFileT <<
"<h2> 7....... Correlation of A(=Q) vs timing(=25ns*MeanTSposition) </h3>" << std::endl;
2649 htmlFileT <<
"<h3> 7.A..... 1)2D-correlation of timing vs Q,fc;.......... 2)Q,fc;................ 3)mean timing vs " 2650 "Q,fc ....... </h3>" 2653 htmlFileT <<
" <img src=\"corravstsnPLOTSHB.png\" />" << std::endl;
2655 htmlFileT <<
" <img src=\"corravstsnPLOTSHE.png\" />" << std::endl;
2657 htmlFileT <<
" <img src=\"corravstsnPLOTSHO.png\" />" << std::endl;
2659 htmlFileT <<
" <img src=\"corravstsnPLOTSHF.png\" />" << std::endl;
2660 htmlFileT <<
"<br>" << std::endl;
2662 htmlFileT <<
"<h3> 7.B....... Mean timing in 2D space of eta-phi for different Depthes........ </h3>" << std::endl;
2664 htmlFileT <<
" <img src=\"2DcorravstsnPLOTSHB.png\" />" << std::endl;
2666 htmlFileT <<
" <img src=\"2DcorravstsnPLOTSHE.png\" />" << std::endl;
2668 htmlFileT <<
" <img src=\"2DcorravstsnPLOTSHO.png\" />" << std::endl;
2670 htmlFileT <<
" <img src=\"2DcorravstsnPLOTSHF.png\" />" << std::endl;
2671 htmlFileT <<
"<br>" << std::endl;
2673 htmlFileT <<
"</body> " << std::endl;
2674 htmlFileT <<
"</html> " << std::endl;
2678 htmlFileP <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
2679 htmlFileP <<
"<head>" << std::endl;
2680 htmlFileP <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
2681 htmlFileP <<
"<title> Remote Monitoring Tool Global</title>" << std::endl;
2682 htmlFileP <<
"<style type=\"text/css\">" << std::endl;
2683 htmlFileP <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 2685 htmlFileP <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
2686 htmlFileP <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 2687 "text-align: center;}" 2689 htmlFileP <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
2690 htmlFileP <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
2691 htmlFileP <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
2692 htmlFileP <<
"</style>" << std::endl;
2693 htmlFileP <<
"<body>" << std::endl;
2696 htmlFileP <<
"<h1> Pedestals for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2698 htmlFileP <<
"<h1> Pedestals for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2700 htmlFileP <<
"<h1> Pedestals for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2702 htmlFileP <<
"<h1> Pedestals for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2703 htmlFileP <<
"<br>" << std::endl;
2706 htmlFileP <<
"<h2> 1.Pm criterion: Pedestals for each CapID .</h3>" << std::endl;
2707 htmlFileP <<
"<h3> 1.A. Pedestal distribution over all events, channels for each CapID and all depths.</h3>" 2709 htmlFileP <<
"<h4> Legend: Bins less " << Pedest[0][sub] <<
" correpond to bad Pedestals </h4>" << std::endl;
2711 htmlFileP <<
" <img src=\"HistPedestalsHB.png\" />" << std::endl;
2713 htmlFileP <<
" <img src=\"HistPedestalsHE.png\" />" << std::endl;
2715 htmlFileP <<
" <img src=\"HistPedestalsHO.png\" />" << std::endl;
2717 htmlFileP <<
" <img src=\"HistPedestalsHF.png\" />" << std::endl;
2718 htmlFileP <<
"<br>" << std::endl;
2719 htmlFileP <<
"<h3> 1.B. Rate of channels at very low Pedestals at least in one CapID for each depth.</h3>" 2721 htmlFileP <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
2723 htmlFileP <<
" <img src=\"MapRatePedHB.png\" />" << std::endl;
2725 htmlFileP <<
" <img src=\"MapRatePedHE.png\" />" << std::endl;
2727 htmlFileP <<
" <img src=\"MapRatePedHO.png\" />" << std::endl;
2729 htmlFileP <<
" <img src=\"MapRatePedHF.png\" />" << std::endl;
2732 htmlFileP <<
"<h2> 2.pWm criterion: Pedestal Widths for each CapID .</h3>" << std::endl;
2733 htmlFileP <<
"<h3> 2.A. Pedestal Widths distribution over all events, channels for each CapID and all depths.</h3>" 2735 htmlFileP <<
"<h4> Legend: Bins less " << Pedest[1][sub] <<
" correpond to bad Pedestal Widths </h4>" << std::endl;
2737 htmlFileP <<
" <img src=\"HistPedestalWidthsHB.png\" />" << std::endl;
2739 htmlFileP <<
" <img src=\"HistPedestalWidthsHE.png\" />" << std::endl;
2741 htmlFileP <<
" <img src=\"HistPedestalWidthsHO.png\" />" << std::endl;
2743 htmlFileP <<
" <img src=\"HistPedestalWidthsHF.png\" />" << std::endl;
2744 htmlFileP <<
"<br>" << std::endl;
2745 htmlFileP <<
"<h3> 2.B. Rate of channels at very low Pedestal Widths at least in one CapID for each depth.</h3>" 2747 htmlFileP <<
"<h4> Channel legend: white - good, other colour - bad. </h4>" << std::endl;
2749 htmlFileP <<
" <img src=\"MapRatePedWidthsHB.png\" />" << std::endl;
2751 htmlFileP <<
" <img src=\"MapRatePedWidthsHE.png\" />" << std::endl;
2753 htmlFileP <<
" <img src=\"MapRatePedWidthsHO.png\" />" << std::endl;
2755 htmlFileP <<
" <img src=\"MapRatePedWidthsHF.png\" />" << std::endl;
2758 htmlFileP <<
"<h2> 3.Pedestal and pedestalWidths vs Amplitude .</h3>" << std::endl;
2759 htmlFileP <<
"<h3> 3.A. Correlation of Pedestal(pedestalWidths) and Amplitude over all channels and events .</h3>" 2761 htmlFileP <<
"<h4> Legend: colour - entries </h4>" << std::endl;
2763 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHB.png\" />" << std::endl;
2765 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHE.png\" />" << std::endl;
2767 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHO.png\" />" << std::endl;
2769 htmlFileP <<
"<img src=\"CorrelationsMapPedestalVsfullAmplitudeHF.png\" />" << std::endl;
2770 htmlFileP <<
"<br>" << std::endl;
2774 htmlFileS <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
2775 htmlFileS <<
"<head>" << std::endl;
2776 htmlFileS <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
2777 htmlFileS <<
"<title> Remote Monitoring Tool Global</title>" << std::endl;
2778 htmlFileS <<
"<style type=\"text/css\">" << std::endl;
2779 htmlFileS <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 2781 htmlFileS <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
2782 htmlFileS <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 2783 "text-align: center;}" 2785 htmlFileS <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
2786 htmlFileS <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
2787 htmlFileS <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
2788 htmlFileS <<
"</style>" << std::endl;
2789 htmlFileS <<
"<body>" << std::endl;
2792 htmlFileS <<
"<h1> ADC Shape for HB, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2794 htmlFileS <<
"<h1> ADC Shape for HE, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2796 htmlFileS <<
"<h1> ADC Shape for HO, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2798 htmlFileS <<
"<h1> ADC Shape for HF, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2799 htmlFileP <<
"<br>" << std::endl;
2801 htmlFileS <<
"<h2> 1.Mean ADC Shape </h3>" << std::endl;
2802 htmlFileS <<
"<h3> 1.A. ADC shape averaged over all good channels, depth and events.</h3>" << std::endl;
2805 htmlFileS <<
" <img src=\"HistGoodTSshapesHB.png\" />" << std::endl;
2807 htmlFileS <<
" <img src=\"HistGoodTSshapesHE.png\" />" << std::endl;
2809 htmlFileS <<
" <img src=\"HistGoodTSshapesHO.png\" />" << std::endl;
2811 htmlFileS <<
" <img src=\"HistGoodTSshapesHF.png\" />" << std::endl;
2812 htmlFileS <<
"<br>" << std::endl;
2813 htmlFileS <<
"<h3> 1.B. ADC shape averaged over all bad channels, depth and events. Bad channels are selected by 5 " 2814 "criteria: CapId, A, W, P, Pw</h3>" 2818 htmlFileS <<
" <img src=\"HistBadTSshapesHB.png\" />" << std::endl;
2820 htmlFileS <<
" <img src=\"HistBadTSshapesHE.png\" />" << std::endl;
2822 htmlFileS <<
" <img src=\"HistBadTSshapesHO.png\" />" << std::endl;
2824 htmlFileS <<
" <img src=\"HistBadTSshapesHF.png\" />" << std::endl;
2826 htmlFileS <<
"<h2> 2. Pattern of channels for Sub-Detector over depth,eta.phi </h3>" << std::endl;
2827 htmlFileS <<
"<h3> 2.A. reminder:.......................... for HBHE, TS=2;...................................... " 2828 "for HF, TS=1;..................................... for HO, TS=0,1,2 </h3>" 2831 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS2_HB.png\" />" << std::endl;
2833 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS2_HE.png\" />" << std::endl;
2835 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS012_HO.png\" />" << std::endl;
2837 htmlFileS <<
" <img src=\"Hist_mapDepthAllTS1_HF.png\" />" << std::endl;
2838 htmlFileS <<
"<br>" << std::endl;
2848 for (
int sub = 1; sub <= 4; sub++) {
2851 htmlFile.open(
"HB.html");
2853 htmlFile.open(
"HE.html");
2855 htmlFile.open(
"HO.html");
2857 htmlFile.open(
"HF.html");
2859 htmlFile <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
2860 htmlFile <<
"<head>" << std::endl;
2861 htmlFile <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
2862 htmlFile <<
"<title> Remote Monitoring Tool </title>" << std::endl;
2863 htmlFile <<
"<style type=\"text/css\">" << std::endl;
2864 htmlFile <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 2866 htmlFile <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
2867 htmlFile <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 2868 "text-align: center;}" 2870 htmlFile <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
2871 htmlFile <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
2872 htmlFile <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
2873 htmlFile <<
" td.s5 { font-family: arial, arial ce, helvetica; background-color: #FF00FF; }" << std::endl;
2874 htmlFile <<
" td.s6 { font-family: arial, arial ce, helvetica; background-color: #9ACD32; }" << std::endl;
2875 htmlFile <<
" td.s7 { font-family: arial, arial ce, helvetica; background-color: #32CD32; }" << std::endl;
2876 htmlFile <<
" td.s8 { font-family: arial, arial ce, helvetica; background-color: #00FFFF; }" << std::endl;
2877 htmlFile <<
" td.s9 { font-family: arial, arial ce, helvetica; background-color: #FFE4E1; }" << std::endl;
2878 htmlFile <<
" td.s10 { font-family: arial, arial ce, helvetica; background-color: #A0522D; }" << std::endl;
2879 htmlFile <<
" td.s11 { font-family: arial, arial ce, helvetica; background-color: #1E90FF; }" << std::endl;
2880 htmlFile <<
" td.s12 { font-family: arial, arial ce, helvetica; background-color: #00BFFF; }" << std::endl;
2881 htmlFile <<
" td.s13 { font-family: arial, arial ce, helvetica; background-color: #FFFF00; }" << std::endl;
2882 htmlFile <<
" td.s14 { font-family: arial, arial ce, helvetica; background-color: #B8860B; }" << std::endl;
2883 htmlFile <<
"</style>" << std::endl;
2884 htmlFile <<
"<body>" << std::endl;
2886 htmlFile <<
"<h1> HCAL BARREL, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2888 htmlFile <<
"<h1> HCAL ENDCAP, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2890 htmlFile <<
"<h1> HCAL OUTER, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2892 htmlFile <<
"<h1> HCAL FORWARD, RUN = " <<
runnumber <<
" </h1>" << std::endl;
2893 htmlFile <<
"<br>" << std::endl;
2895 htmlFile <<
"<a name=\"Top\"></a>\n";
2896 htmlFile <<
"<b>Contents:<br>\n";
2897 htmlFile <<
"1. <a href=\"#AnalysisResults\">Analysis results</a><br>\n";
2898 htmlFile <<
"2. <a href=\"#Status\">Status</a><br>\n";
2899 htmlFile <<
"2A. <a href=\"#ChannelMap\">Channel map</a><br>\n";
2903 htmlFile <<
"<a name=\"AnalysisResults\"></a>\n";
2905 htmlFile <<
"<h2> 1. Analysis results for HB</h2>" << std::endl;
2907 htmlFile <<
"<h2> 1. Analysis results for HE</h2>" << std::endl;
2909 htmlFile <<
"<h2> 1. Analysis results for HO</h2>" << std::endl;
2911 htmlFile <<
"<h2> 1. Analysis results for HF</h2>" << std::endl;
2912 htmlFile <<
"<table width=\"400\">" << std::endl;
2913 htmlFile <<
"<tr>" << std::endl;
2917 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2918 <<
runnumber <<
"/HB_Tile.html\">Megatile Channels</a></td>" << std::endl;
2923 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2924 <<
runnumber <<
"/HB_Pedestals.html\">Pedestals</a></td>" << std::endl;
2925 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2926 <<
runnumber <<
"/HB_Shapes.html\">ADC Shapes</a></td>" << std::endl;
2930 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2931 <<
runnumber <<
"/HE_Tile.html\">Megatile Channels</a></td>" << std::endl;
2936 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2937 <<
runnumber <<
"/HE_Pedestals.html\">Pedestals</a></td>" << std::endl;
2938 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2939 <<
runnumber <<
"/HE_Shapes.html\">ADC Shapes</a></td>" << std::endl;
2942 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2943 <<
runnumber <<
"/HO_Tile.html\">Megatile Channels</a></td>" << std::endl;
2946 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2947 <<
runnumber <<
"/HO_Pedestals.html\">Pedestals</a></td>" << std::endl;
2948 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2949 <<
runnumber <<
"/HO_Shapes.html\">ADC Shapes</a></td>" << std::endl;
2952 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2953 <<
runnumber <<
"/HF_Tile.html\">Megatile Channels</a></td>" << std::endl;
2956 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2957 <<
runnumber <<
"/HF_Pedestals.html\">Pedestals</a></td>" << std::endl;
2958 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 2959 <<
runnumber <<
"/HF_Shapes.html\">ADC Shapes</a></td>" << std::endl;
2962 htmlFile <<
"</tr>" << std::endl;
2963 htmlFile <<
"</table>" << std::endl;
2964 htmlFile <<
"<br>" << std::endl;
3357 htmlFile <<
"</body> " << std::endl;
3358 htmlFile <<
"</html> " << std::endl;
3411 htmlFile.open(
"MAP.html");
3412 htmlFile <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">" << std::endl;
3413 htmlFile <<
"<head>" << std::endl;
3414 htmlFile <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>" << std::endl;
3415 htmlFile <<
"<title> Remote Monitoring Tool </title>" << std::endl;
3416 htmlFile <<
"<style type=\"text/css\">" << std::endl;
3417 htmlFile <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }" 3419 htmlFile <<
" td.s0 { font-family: arial, arial ce, helvetica; }" << std::endl;
3420 htmlFile <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; " 3421 "text-align: center;}" 3423 htmlFile <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }" << std::endl;
3424 htmlFile <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }" << std::endl;
3425 htmlFile <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }" << std::endl;
3426 htmlFile <<
" td.s5 { font-family: arial, arial ce, helvetica; background-color: #FF00FF; }" << std::endl;
3427 htmlFile <<
" td.s6 { font-family: arial, arial ce, helvetica; background-color: #9ACD32; }" << std::endl;
3428 htmlFile <<
" td.s7 { font-family: arial, arial ce, helvetica; background-color: #32CD32; }" << std::endl;
3429 htmlFile <<
"</style>" << std::endl;
3430 htmlFile <<
"<body>" << std::endl;
3432 htmlFile <<
"<h1> Remote Monitoring Tool, RUN = " <<
runnumber <<
". </h1>" << std::endl;
3433 htmlFile <<
"<br>" << std::endl;
3435 htmlFile <<
"<h2> 1. Analysis results for subdetectors </h2>" << std::endl;
3436 htmlFile <<
"<table width=\"400\">" << std::endl;
3437 htmlFile <<
"<tr>" << std::endl;
3447 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 3448 <<
runnumber <<
"/HB.html\">HB</a></td>" << std::endl;
3449 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 3450 <<
runnumber <<
"/HE.html\">HE</a></td>" << std::endl;
3451 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 3452 <<
runnumber <<
"/HO.html\">HO</a></td>" << std::endl;
3453 htmlFile <<
" <td><a href=\"https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/GlobalRMT/GLOBAL_" 3454 <<
runnumber <<
"/HF.html\">HF</a></td>" << std::endl;
3456 htmlFile <<
"</tr>" << std::endl;
3457 htmlFile <<
"</table>" << std::endl;
3458 htmlFile <<
"<br>" << std::endl;
3684 htmlFile <<
"</body> " << std::endl;
3685 htmlFile <<
"</html> " << std::endl;