===============================================================================================================================================================================================
variant2: for each run define phi-averaged A for normalization channel (Dref,16) and then, divide Rijk on it, i.e. get RRijk
eta=27
41 printf(
"reco: gROOT Reset \n");
43 gROOT->SetStyle(
"Plain");
44 gStyle->SetOptStat(0);
55 gStyle->SetOptFit(0010);
64 gStyle->SetStatX(0.91);
65 gStyle->SetStatY(0.75);
66 gStyle->SetStatW(0.20);
67 gStyle->SetStatH(0.10);
73 Float_t LeftOffset = 0.12;
74 Float_t TopOffset = 0.22;
76 gStyle->SetLineWidth(1);
80 gStyle->SetOptTitle(0);
82 gStyle->SetTitleColor(1);
84 gStyle->SetTitleX(0.15);
85 gStyle->SetTitleH(0.15);
87 gStyle->SetTitleW(0.60);
88 gStyle->SetTitleFont(42);
89 gStyle->SetTitleFontSize(0.07);
91 gStyle->SetPalette(1);
104 gStyle->SetPadTopMargin(TopOffset);
105 gStyle->SetPadBottomMargin(LeftOffset);
106 gStyle->SetPadRightMargin(TopOffset);
107 gStyle->SetPadLeftMargin(LeftOffset);
115 TFile *hfile1 =
new TFile(
"Global_362596.root",
"READ");
118 TPostScript psfile(
"zcorrtsnvsampltest.ps", 111);
122 TCanvas *
c1 =
new TCanvas(
"c1",
"Hcal4test", 200, 10, 700, 900);
125 TDirectory *
dir = (TDirectory *)hfile1->FindObjectAny(dirnm.c_str());
136 TH2F *two11 = (TH2F *)
dir->FindObjectAny(
"h2_TSnVsAyear2023_HB");
139 two11->SetMarkerStyle(20);
140 two11->SetMarkerSize(0.4);
141 two11->SetYTitle(
"timing HB \b");
142 two11->SetXTitle(
"Q HB\b");
143 two11->SetMarkerColor(1);
144 two11->SetLineColor(1);
152 TH2F *two12 = (TH2F *)
dir->FindObjectAny(
"h2_TSnVsAyear2023_HE");
155 two12->SetMarkerStyle(20);
156 two12->SetMarkerSize(0.4);
157 two12->SetYTitle(
"timing HE \b");
158 two12->SetXTitle(
"Q HE\b");
159 two12->SetMarkerColor(1);
160 two12->SetLineColor(1);
166 TH2F *two22 = (TH2F *)
dir->FindObjectAny(
"h2_TSnVsAyear2023_HF");
169 two22->SetMarkerStyle(20);
170 two22->SetMarkerSize(0.4);
171 two22->SetYTitle(
"timing HF \b");
172 two22->SetXTitle(
"Q HF\b");
173 two22->SetMarkerColor(1);
174 two22->SetLineColor(1);
179 TH2F *two23 = (TH2F *)
dir->FindObjectAny(
"h2_TSnVsAyear2023_HO");
182 two23->SetMarkerStyle(20);
183 two23->SetMarkerSize(0.4);
184 two23->SetYTitle(
"timing HO \b");
185 two23->SetXTitle(
"Q HO\b");
186 two23->SetMarkerColor(1);
187 two23->SetLineColor(1);
201 TH1F *TSNvsQ_HB = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HB");
205 TSNvsQ_HB->SetMarkerStyle(20);
206 TSNvsQ_HB->SetMarkerSize(0.6);
207 TSNvsQ_HB->GetYaxis()->SetLabelSize(0.04);
208 TSNvsQ_HB->SetXTitle(
"Q,fb HB \b");
209 TSNvsQ_HB->SetYTitle(
"iev*ieta*iphi*idepth \b");
210 TSNvsQ_HB->SetMarkerColor(4);
211 TSNvsQ_HB->SetLineColor(0);
212 TSNvsQ_HB->SetMinimum(0.8);
214 TSNvsQ_HB->Draw(
"E");
217 TH1F *TSNvsQ_HE = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HE");
221 TSNvsQ_HE->SetMarkerStyle(20);
222 TSNvsQ_HE->SetMarkerSize(0.6);
223 TSNvsQ_HE->GetYaxis()->SetLabelSize(0.04);
224 TSNvsQ_HE->SetXTitle(
"Q,fb HE \b");
225 TSNvsQ_HE->SetYTitle(
"iev*ieta*iphi*idepth \b");
226 TSNvsQ_HE->SetMarkerColor(4);
227 TSNvsQ_HE->SetLineColor(0);
228 TSNvsQ_HE->SetMinimum(0.8);
230 TSNvsQ_HE->Draw(
"E");
233 TH1F *TSNvsQ_HF = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HF");
237 TSNvsQ_HF->SetMarkerStyle(20);
238 TSNvsQ_HF->SetMarkerSize(0.6);
239 TSNvsQ_HF->GetYaxis()->SetLabelSize(0.04);
240 TSNvsQ_HF->SetXTitle(
"Q,fb HF \b");
241 TSNvsQ_HF->SetYTitle(
"iev*ieta*iphi*idepth \b");
242 TSNvsQ_HF->SetMarkerColor(4);
243 TSNvsQ_HF->SetLineColor(0);
244 TSNvsQ_HF->SetMinimum(0.8);
246 TSNvsQ_HF->Draw(
"E");
249 TH1F *TSNvsQ_HO = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HO");
253 TSNvsQ_HO->SetMarkerStyle(20);
254 TSNvsQ_HO->SetMarkerSize(0.6);
255 TSNvsQ_HO->GetYaxis()->SetLabelSize(0.04);
256 TSNvsQ_HO->SetXTitle(
"Q,fb HO \b");
257 TSNvsQ_HO->SetYTitle(
"iev*ieta*iphi*idepth \b");
258 TSNvsQ_HO->SetMarkerColor(4);
259 TSNvsQ_HO->SetLineColor(0);
260 TSNvsQ_HO->SetMinimum(0.8);
262 TSNvsQ_HO->Draw(
"E");
275 TH1F *twod1_HB = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear2023_HB");
276 TH1F *twod0_HB = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HB");
279 TH1F *Ceff_HB = (TH1F *)twod1_HB->Clone(
"Ceff_HB");
281 for (
int x = 1;
x <= twod1_HB->GetXaxis()->GetNbins();
x++) {
282 twod1_HB->SetBinError(
float(
x), 0.001);
284 Ceff_HB->Divide(twod1_HB, twod0_HB, 1, 1,
"B");
287 Ceff_HB->SetMarkerStyle(20);
288 Ceff_HB->SetMarkerSize(0.4);
289 Ceff_HB->SetXTitle(
"Q, fc \b");
290 Ceff_HB->SetYTitle(
"<timing>HB \b");
291 Ceff_HB->SetMarkerColor(2);
292 Ceff_HB->SetLineColor(2);
293 Ceff_HB->SetMaximum(140.);
294 Ceff_HB->SetMinimum(30.);
299 TH1F *twod1_HE = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear2023_HE");
300 TH1F *twod0_HE = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HE");
303 TH1F *Ceff_HE = (TH1F *)twod1_HE->Clone(
"Ceff_HE");
305 for (
int x = 1;
x <= twod1_HE->GetXaxis()->GetNbins();
x++) {
306 twod1_HE->SetBinError(
float(
x), 0.001);
308 Ceff_HE->Divide(twod1_HE, twod0_HE, 1, 1,
"B");
311 Ceff_HE->SetMarkerStyle(20);
312 Ceff_HE->SetMarkerSize(0.4);
313 Ceff_HE->SetXTitle(
"Q, fc \b");
314 Ceff_HE->SetYTitle(
"<timing>HE \b");
315 Ceff_HE->SetMarkerColor(2);
316 Ceff_HE->SetLineColor(2);
317 Ceff_HE->SetMaximum(150.);
318 Ceff_HE->SetMinimum(25.);
323 TH1F *twod1_HF = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear2023_HF");
324 TH1F *twod0_HF = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HF");
327 TH1F *Ceff_HF = (TH1F *)twod1_HF->Clone(
"Ceff_HF");
329 for (
int x = 1;
x <= twod1_HF->GetXaxis()->GetNbins();
x++) {
330 twod1_HF->SetBinError(
float(
x), 0.001);
332 Ceff_HF->Divide(twod1_HF, twod0_HF, 1, 1,
"B");
335 Ceff_HF->SetMarkerStyle(20);
336 Ceff_HF->SetMarkerSize(0.4);
337 Ceff_HF->SetXTitle(
"Q, fc \b");
338 Ceff_HF->SetYTitle(
"<timing>HF \b");
339 Ceff_HF->SetMarkerColor(2);
340 Ceff_HF->SetLineColor(2);
341 Ceff_HF->SetMaximum(50.);
342 Ceff_HF->SetMinimum(0.);
347 TH1F *twod1_HO = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear2023_HO");
348 TH1F *twod0_HO = (TH1F *)
dir->FindObjectAny(
"h1_TSnVsAyear20230_HO");
351 TH1F *Ceff_HO = (TH1F *)twod1_HO->Clone(
"Ceff_HO");
353 for (
int x = 1;
x <= twod1_HO->GetXaxis()->GetNbins();
x++) {
354 twod1_HO->SetBinError(
float(
x), 0.001);
356 Ceff_HO->Divide(twod1_HO, twod0_HO, 1, 1,
"B");
359 Ceff_HO->SetMarkerStyle(20);
360 Ceff_HO->SetMarkerSize(0.4);
361 Ceff_HO->SetXTitle(
"Q, fc \b");
362 Ceff_HO->SetYTitle(
"<timing>HO \b");
363 Ceff_HO->SetMarkerColor(2);
364 Ceff_HO->SetLineColor(2);
365 Ceff_HO->SetMaximum(150.);
366 Ceff_HO->SetMinimum(70.);
381 TH2F *dva1_HBDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA_HB");
382 TH2F *dva0_HBDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HB");
385 TH2F *Seff_HBDepth1 = (TH2F *)dva1_HBDepth1->Clone(
"Seff_HBDepth1");
386 Seff_HBDepth1->Divide(dva1_HBDepth1, dva0_HBDepth1, 25., 1.,
"B");
390 Seff_HBDepth1->SetMarkerStyle(20);
391 Seff_HBDepth1->SetMarkerSize(0.4);
392 Seff_HBDepth1->SetXTitle(
"#eta \b");
393 Seff_HBDepth1->SetYTitle(
"#phi \b");
394 Seff_HBDepth1->SetZTitle(
"<timing> HB Depth1 \b");
395 Seff_HBDepth1->SetMarkerColor(2);
396 Seff_HBDepth1->SetLineColor(2);
397 Seff_HBDepth1->SetMaximum(90.);
398 Seff_HBDepth1->SetMinimum(85.);
399 Seff_HBDepth1->Draw(
"COLZ");
402 TH2F *dva1_HBDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA_HB");
403 TH2F *dva0_HBDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HB");
406 TH2F *Seff_HBDepth2 = (TH2F *)dva1_HBDepth2->Clone(
"Seff_HBDepth2");
407 Seff_HBDepth2->Divide(dva1_HBDepth2, dva0_HBDepth2, 25., 1.,
"B");
411 Seff_HBDepth2->SetMarkerStyle(20);
412 Seff_HBDepth2->SetMarkerSize(0.4);
413 Seff_HBDepth2->SetXTitle(
"#eta \b");
414 Seff_HBDepth2->SetYTitle(
"#phi \b");
415 Seff_HBDepth2->SetZTitle(
"<timing> HB Depth2 \b");
416 Seff_HBDepth2->SetMarkerColor(2);
417 Seff_HBDepth2->SetLineColor(2);
418 Seff_HBDepth2->SetMaximum(90.);
419 Seff_HBDepth2->SetMinimum(85.);
420 Seff_HBDepth2->Draw(
"COLZ");
423 TH2F *dva1_HBDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA_HB");
424 TH2F *dva0_HBDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HB");
427 TH2F *Seff_HBDepth3 = (TH2F *)dva1_HBDepth3->Clone(
"Seff_HBDepth3");
428 Seff_HBDepth3->Divide(dva1_HBDepth3, dva0_HBDepth3, 25., 1.,
"B");
432 Seff_HBDepth3->SetMarkerStyle(20);
433 Seff_HBDepth3->SetMarkerSize(0.4);
434 Seff_HBDepth3->SetXTitle(
"#eta \b");
435 Seff_HBDepth3->SetYTitle(
"#phi \b");
436 Seff_HBDepth3->SetZTitle(
"<timing> HB Depth3 \b");
437 Seff_HBDepth3->SetMarkerColor(2);
438 Seff_HBDepth3->SetLineColor(2);
439 Seff_HBDepth3->SetMaximum(90.);
440 Seff_HBDepth3->SetMinimum(85.);
441 Seff_HBDepth3->Draw(
"COLZ");
444 TH2F *dva1_HBDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA_HB");
445 TH2F *dva0_HBDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HB");
448 TH2F *Seff_HBDepth4 = (TH2F *)dva1_HBDepth4->Clone(
"Seff_HBDepth4");
449 Seff_HBDepth4->Divide(dva1_HBDepth4, dva0_HBDepth4, 25., 1.,
"B");
453 Seff_HBDepth4->SetMarkerStyle(20);
454 Seff_HBDepth4->SetMarkerSize(0.4);
455 Seff_HBDepth4->SetXTitle(
"#eta \b");
456 Seff_HBDepth4->SetYTitle(
"#phi \b");
457 Seff_HBDepth4->SetZTitle(
"<timing> HB Depth4 \b");
458 Seff_HBDepth4->SetMarkerColor(2);
459 Seff_HBDepth4->SetLineColor(2);
460 Seff_HBDepth4->SetMaximum(90.);
461 Seff_HBDepth4->SetMinimum(85.);
462 Seff_HBDepth4->Draw(
"COLZ");
475 TH2F *dva1_HEDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA_HE");
476 TH2F *dva0_HEDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HE");
479 TH2F *Seff_HEDepth1 = (TH2F *)dva1_HEDepth1->Clone(
"Seff_HEDepth1");
480 Seff_HEDepth1->Divide(dva1_HEDepth1, dva0_HEDepth1, 25., 1.,
"B");
484 Seff_HEDepth1->SetMarkerStyle(20);
485 Seff_HEDepth1->SetMarkerSize(0.4);
486 Seff_HEDepth1->SetXTitle(
"#eta \b");
487 Seff_HEDepth1->SetYTitle(
"#phi \b");
488 Seff_HEDepth1->SetZTitle(
"<timing> HE Depth1 \b");
489 Seff_HEDepth1->SetMarkerColor(2);
490 Seff_HEDepth1->SetLineColor(2);
491 Seff_HEDepth1->SetMaximum(90.);
492 Seff_HEDepth1->SetMinimum(85.);
493 Seff_HEDepth1->Draw(
"COLZ");
496 TH2F *dva1_HEDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA_HE");
497 TH2F *dva0_HEDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HE");
500 TH2F *Seff_HEDepth2 = (TH2F *)dva1_HEDepth2->Clone(
"Seff_HEDepth2");
501 Seff_HEDepth2->Divide(dva1_HEDepth2, dva0_HEDepth2, 25., 1.,
"B");
505 Seff_HEDepth2->SetMarkerStyle(20);
506 Seff_HEDepth2->SetMarkerSize(0.4);
507 Seff_HEDepth2->SetXTitle(
"#eta \b");
508 Seff_HEDepth2->SetYTitle(
"#phi \b");
509 Seff_HEDepth2->SetZTitle(
"<timing> HE Depth2 \b");
510 Seff_HEDepth2->SetMarkerColor(2);
511 Seff_HEDepth2->SetLineColor(2);
512 Seff_HEDepth2->SetMaximum(90.);
513 Seff_HEDepth2->SetMinimum(85.);
514 Seff_HEDepth2->Draw(
"COLZ");
517 TH2F *dva1_HEDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA_HE");
518 TH2F *dva0_HEDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HE");
521 TH2F *Seff_HEDepth3 = (TH2F *)dva1_HEDepth3->Clone(
"Seff_HEDepth3");
522 Seff_HEDepth3->Divide(dva1_HEDepth3, dva0_HEDepth3, 25., 1.,
"B");
526 Seff_HEDepth3->SetMarkerStyle(20);
527 Seff_HEDepth3->SetMarkerSize(0.4);
528 Seff_HEDepth3->SetXTitle(
"#eta \b");
529 Seff_HEDepth3->SetYTitle(
"#phi \b");
530 Seff_HEDepth3->SetZTitle(
"<timing> HE Depth3 \b");
531 Seff_HEDepth3->SetMarkerColor(2);
532 Seff_HEDepth3->SetLineColor(2);
533 Seff_HEDepth3->SetMaximum(90.);
534 Seff_HEDepth3->SetMinimum(85.);
535 Seff_HEDepth3->Draw(
"COLZ");
538 TH2F *dva1_HEDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA_HE");
539 TH2F *dva0_HEDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HE");
542 TH2F *Seff_HEDepth4 = (TH2F *)dva1_HEDepth4->Clone(
"Seff_HEDepth4");
543 Seff_HEDepth4->Divide(dva1_HEDepth4, dva0_HEDepth4, 25., 1.,
"B");
547 Seff_HEDepth4->SetMarkerStyle(20);
548 Seff_HEDepth4->SetMarkerSize(0.4);
549 Seff_HEDepth4->SetXTitle(
"#eta \b");
550 Seff_HEDepth4->SetYTitle(
"#phi \b");
551 Seff_HEDepth4->SetZTitle(
"<timing> HE Depth4 \b");
552 Seff_HEDepth4->SetMarkerColor(2);
553 Seff_HEDepth4->SetLineColor(2);
554 Seff_HEDepth4->SetMaximum(90.);
555 Seff_HEDepth4->SetMinimum(85.);
556 Seff_HEDepth4->Draw(
"COLZ");
559 TH2F *dva1_HEDepth5 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5TSmeanA_HE");
560 TH2F *dva0_HEDepth5 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth5_HE");
563 TH2F *Seff_HEDepth5 = (TH2F *)dva1_HEDepth5->Clone(
"Seff_HEDepth5");
564 Seff_HEDepth5->Divide(dva1_HEDepth5, dva0_HEDepth5, 25., 1.,
"B");
568 Seff_HEDepth5->SetMarkerStyle(20);
569 Seff_HEDepth5->SetMarkerSize(0.4);
570 Seff_HEDepth5->SetXTitle(
"#eta \b");
571 Seff_HEDepth5->SetYTitle(
"#phi \b");
572 Seff_HEDepth5->SetZTitle(
"<timing> HE Depth5 \b");
573 Seff_HEDepth5->SetMarkerColor(2);
574 Seff_HEDepth5->SetLineColor(2);
575 Seff_HEDepth5->SetMaximum(90.);
576 Seff_HEDepth5->SetMinimum(85.);
577 Seff_HEDepth5->Draw(
"COLZ");
580 TH2F *dva1_HEDepth6 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6TSmeanA_HE");
581 TH2F *dva0_HEDepth6 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth6_HE");
584 TH2F *Seff_HEDepth6 = (TH2F *)dva1_HEDepth6->Clone(
"Seff_HEDepth6");
585 Seff_HEDepth6->Divide(dva1_HEDepth6, dva0_HEDepth6, 25., 1.,
"B");
589 Seff_HEDepth6->SetMarkerStyle(20);
590 Seff_HEDepth6->SetMarkerSize(0.4);
591 Seff_HEDepth6->SetXTitle(
"#eta \b");
592 Seff_HEDepth6->SetYTitle(
"#phi \b");
593 Seff_HEDepth6->SetZTitle(
"<timing> HE Depth6 \b");
594 Seff_HEDepth6->SetMarkerColor(2);
595 Seff_HEDepth6->SetLineColor(2);
596 Seff_HEDepth6->SetMaximum(90.);
597 Seff_HEDepth6->SetMinimum(85.);
598 Seff_HEDepth6->Draw(
"COLZ");
601 TH2F *dva1_HEDepth7 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7TSmeanA_HE");
602 TH2F *dva0_HEDepth7 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth7_HE");
605 TH2F *Seff_HEDepth7 = (TH2F *)dva1_HEDepth7->Clone(
"Seff_HEDepth7");
606 Seff_HEDepth7->Divide(dva1_HEDepth7, dva0_HEDepth7, 25., 1.,
"B");
610 Seff_HEDepth7->SetMarkerStyle(20);
611 Seff_HEDepth7->SetMarkerSize(0.4);
612 Seff_HEDepth7->SetXTitle(
"#eta \b");
613 Seff_HEDepth7->SetYTitle(
"#phi \b");
614 Seff_HEDepth7->SetZTitle(
"<timing> HE Depth7 \b");
615 Seff_HEDepth7->SetMarkerColor(2);
616 Seff_HEDepth7->SetLineColor(2);
617 Seff_HEDepth7->SetMaximum(90.);
618 Seff_HEDepth7->SetMinimum(85.);
619 Seff_HEDepth7->Draw(
"COLZ");
632 TH2F *dva1_HFDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1TSmeanA_HF");
633 TH2F *dva0_HFDepth1 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth1_HF");
636 TH2F *Seff_HFDepth1 = (TH2F *)dva1_HFDepth1->Clone(
"Seff_HFDepth1");
637 Seff_HFDepth1->Divide(dva1_HFDepth1, dva0_HFDepth1, 25., 1.,
"B");
641 Seff_HFDepth1->SetMarkerStyle(20);
642 Seff_HFDepth1->SetMarkerSize(0.4);
643 Seff_HFDepth1->SetXTitle(
"#eta \b");
644 Seff_HFDepth1->SetYTitle(
"#phi \b");
645 Seff_HFDepth1->SetZTitle(
"<timing> HF Depth1 \b");
646 Seff_HFDepth1->SetMarkerColor(2);
647 Seff_HFDepth1->SetLineColor(2);
648 Seff_HFDepth1->SetMaximum(27.);
649 Seff_HFDepth1->SetMinimum(23.);
650 Seff_HFDepth1->Draw(
"COLZ");
653 TH2F *dva1_HFDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2TSmeanA_HF");
654 TH2F *dva0_HFDepth2 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth2_HF");
657 TH2F *Seff_HFDepth2 = (TH2F *)dva1_HFDepth2->Clone(
"Seff_HFDepth2");
658 Seff_HFDepth2->Divide(dva1_HFDepth2, dva0_HFDepth2, 25., 1.,
"B");
662 Seff_HFDepth2->SetMarkerStyle(20);
663 Seff_HFDepth2->SetMarkerSize(0.4);
664 Seff_HFDepth2->SetXTitle(
"#eta \b");
665 Seff_HFDepth2->SetYTitle(
"#phi \b");
666 Seff_HFDepth2->SetZTitle(
"<timing> HF Depth2 \b");
667 Seff_HFDepth2->SetMarkerColor(2);
668 Seff_HFDepth2->SetLineColor(2);
669 Seff_HFDepth2->SetMaximum(27.);
670 Seff_HFDepth2->SetMinimum(23.);
671 Seff_HFDepth2->Draw(
"COLZ");
674 TH2F *dva1_HFDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3TSmeanA_HF");
675 TH2F *dva0_HFDepth3 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth3_HF");
678 TH2F *Seff_HFDepth3 = (TH2F *)dva1_HFDepth3->Clone(
"Seff_HFDepth3");
679 Seff_HFDepth3->Divide(dva1_HFDepth3, dva0_HFDepth3, 25., 1.,
"B");
683 Seff_HFDepth3->SetMarkerStyle(20);
684 Seff_HFDepth3->SetMarkerSize(0.4);
685 Seff_HFDepth3->SetXTitle(
"#eta \b");
686 Seff_HFDepth3->SetYTitle(
"#phi \b");
687 Seff_HFDepth3->SetZTitle(
"<timing> HF Depth3 \b");
688 Seff_HFDepth3->SetMarkerColor(2);
689 Seff_HFDepth3->SetLineColor(2);
690 Seff_HFDepth3->SetMaximum(27.);
691 Seff_HFDepth3->SetMinimum(23.);
692 Seff_HFDepth3->Draw(
"COLZ");
695 TH2F *dva1_HFDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA_HF");
696 TH2F *dva0_HFDepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HF");
699 TH2F *Seff_HFDepth4 = (TH2F *)dva1_HFDepth4->Clone(
"Seff_HFDepth4");
700 Seff_HFDepth4->Divide(dva1_HFDepth4, dva0_HFDepth4, 25., 1.,
"B");
704 Seff_HFDepth4->SetMarkerStyle(20);
705 Seff_HFDepth4->SetMarkerSize(0.4);
706 Seff_HFDepth4->SetXTitle(
"#eta \b");
707 Seff_HFDepth4->SetYTitle(
"#phi \b");
708 Seff_HFDepth4->SetZTitle(
"<timing> HF Depth4 \b");
709 Seff_HFDepth4->SetMarkerColor(2);
710 Seff_HFDepth4->SetLineColor(2);
711 Seff_HFDepth4->SetMaximum(27.);
712 Seff_HFDepth4->SetMinimum(23.);
713 Seff_HFDepth4->Draw(
"COLZ");
726 TH2F *dva1_HODepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4TSmeanA_HO");
727 for (
int i = 1;
i <= dva1_HODepth4->GetXaxis()->GetNbins();
i++) {
728 for (
int j = 1;
j <= dva1_HODepth4->GetYaxis()->GetNbins();
j++) {
729 double ccc1 = dva1_HODepth4->GetBinContent(
i,
j);
731 std::cout <<
"****** dva1_HODepth4 ************** i = " <<
i <<
" j = " <<
j <<
" ccc1 = " << ccc1
735 TH2F *dva0_HODepth4 = (TH2F *)
dir->FindObjectAny(
"h_mapDepth4_HO");
736 for (
int i = 1;
i <= dva0_HODepth4->GetXaxis()->GetNbins();
i++) {
737 for (
int j = 1;
j <= dva0_HODepth4->GetYaxis()->GetNbins();
j++) {
738 double ccc1 = dva0_HODepth4->GetBinContent(
i,
j);
740 std::cout <<
"****** dva0_HODepth4 ************** i = " <<
i <<
" j = " <<
j <<
" ccc1 = " << ccc1
744 TH2F *Seff_HODepth4 = (TH2F *)dva1_HODepth4->Clone(
"Seff_HODepth4");
745 Seff_HODepth4->Divide(dva1_HODepth4, dva0_HODepth4, 25., 1.,
"B");
746 for (
int i = 1;
i <= Seff_HODepth4->GetXaxis()->GetNbins();
i++) {
747 for (
int j = 1;
j <= Seff_HODepth4->GetYaxis()->GetNbins();
j++) {
748 double ccc1 = Seff_HODepth4->GetBinContent(
i,
j);
750 std::cout <<
"****** Seff_HODepth4 ************** i = " <<
i <<
" j = " <<
j <<
" ccc1 = " << ccc1
756 Seff_HODepth4->SetMarkerStyle(20);
757 Seff_HODepth4->SetMarkerSize(0.4);
758 Seff_HODepth4->SetXTitle(
"#eta \b");
759 Seff_HODepth4->SetYTitle(
"#phi \b");
760 Seff_HODepth4->SetZTitle(
"<timing> HB Depth1 \b");
761 Seff_HODepth4->SetMarkerColor(2);
762 Seff_HODepth4->SetLineColor(2);
763 Seff_HODepth4->SetMaximum(115.);
764 Seff_HODepth4->SetMinimum(110.);
765 Seff_HODepth4->Draw(
"COLZ");