5 TCanvas *
D0_BUP2020_AuAu_RAA_3yr =
new TCanvas(
"D0_BUP2020_AuAu_RAA_3yr",
"D0_BUP2020_AuAu_RAA_3yr",0,0,1100,800);
8 gStyle->SetOptTitle(0);
9 D0_BUP2020_AuAu_RAA_3yr->SetHighLightColor(2);
10 D0_BUP2020_AuAu_RAA_3yr->Range(0,0,1,1);
11 D0_BUP2020_AuAu_RAA_3yr->SetFillColor(0);
12 D0_BUP2020_AuAu_RAA_3yr->SetBorderMode(0);
13 D0_BUP2020_AuAu_RAA_3yr->SetBorderSize(2);
14 D0_BUP2020_AuAu_RAA_3yr->SetTickx(1);
15 D0_BUP2020_AuAu_RAA_3yr->SetTicky(1);
16 D0_BUP2020_AuAu_RAA_3yr->SetLeftMargin(0.16);
17 D0_BUP2020_AuAu_RAA_3yr->SetRightMargin(0.05);
18 D0_BUP2020_AuAu_RAA_3yr->SetTopMargin(0.05);
19 D0_BUP2020_AuAu_RAA_3yr->SetBottomMargin(0.16);
20 D0_BUP2020_AuAu_RAA_3yr->SetFrameBorderMode(0);
23 TPad *D0_BUP2020_AuAu_RAA_3yr_1 =
new TPad(
"D0_BUP2020_AuAu_RAA_3yr_1",
"D0_BUP2020_AuAu_RAA_3yr_1",0.01,0.01,0.99,0.99);
24 D0_BUP2020_AuAu_RAA_3yr_1->Draw();
25 D0_BUP2020_AuAu_RAA_3yr_1->cd();
26 D0_BUP2020_AuAu_RAA_3yr_1->Range(-2.227848,-0.3240506,11.6962,1.701266);
27 D0_BUP2020_AuAu_RAA_3yr_1->SetFillColor(0);
28 D0_BUP2020_AuAu_RAA_3yr_1->SetBorderMode(0);
29 D0_BUP2020_AuAu_RAA_3yr_1->SetBorderSize(2);
30 D0_BUP2020_AuAu_RAA_3yr_1->SetTickx(1);
31 D0_BUP2020_AuAu_RAA_3yr_1->SetTicky(1);
32 D0_BUP2020_AuAu_RAA_3yr_1->SetLeftMargin(0.16);
33 D0_BUP2020_AuAu_RAA_3yr_1->SetRightMargin(0.05);
34 D0_BUP2020_AuAu_RAA_3yr_1->SetTopMargin(0.05);
35 D0_BUP2020_AuAu_RAA_3yr_1->SetBottomMargin(0.16);
36 D0_BUP2020_AuAu_RAA_3yr_1->SetFrameBorderMode(0);
37 D0_BUP2020_AuAu_RAA_3yr_1->SetFrameBorderMode(0);
39 TH1F *hframe__19 =
new TH1F(
"hframe__19",
"",1000,0,11);
40 hframe__19->SetMinimum(0);
41 hframe__19->SetMaximum(1.6);
42 hframe__19->SetDirectory(0);
43 hframe__19->SetStats(0);
44 hframe__19->SetLineWidth(2);
45 hframe__19->SetMarkerStyle(20);
46 hframe__19->SetMarkerSize(1.2);
47 hframe__19->GetXaxis()->SetTitle(
"#it{p}_{T} [GeV]");
48 hframe__19->GetXaxis()->SetLabelFont(42);
49 hframe__19->GetXaxis()->SetLabelSize(0.05);
50 hframe__19->GetXaxis()->SetTitleSize(0.05);
51 hframe__19->GetXaxis()->SetTitleOffset(1.4);
52 hframe__19->GetXaxis()->SetTitleFont(42);
53 hframe__19->GetYaxis()->SetTitle(
"#it{R}_{AA}");
54 hframe__19->GetYaxis()->SetLabelFont(42);
55 hframe__19->GetYaxis()->SetLabelSize(0.05);
56 hframe__19->GetYaxis()->SetTitleSize(0.05);
57 hframe__19->GetYaxis()->SetTitleOffset(1.4);
58 hframe__19->GetYaxis()->SetTitleFont(42);
59 hframe__19->GetZaxis()->SetLabelFont(42);
60 hframe__19->GetZaxis()->SetLabelSize(0.05);
61 hframe__19->GetZaxis()->SetTitleSize(0.05);
62 hframe__19->GetZaxis()->SetTitleOffset(1);
63 hframe__19->GetZaxis()->SetTitleFont(42);
64 hframe__19->Draw(
" ");
66 Double_t RAA_pi_fx25[21] = {
88 Double_t RAA_pi_fy25[21] = {
110 TGraph *
graph =
new TGraph(21,RAA_pi_fx25,RAA_pi_fy25);
111 graph->SetName(
"RAA_pi");
112 graph->SetTitle(
"Graph");
116 ci = TColor::GetColor(
"#009900");
117 graph->SetLineColor(ci);
118 graph->SetLineWidth(2);
119 graph->SetMarkerStyle(20);
120 graph->SetMarkerSize(1.2);
122 TH1F *Graph_RAA_pi25 =
new TH1F(
"Graph_RAA_pi25",
"Graph",100,1.125,52.125);
123 Graph_RAA_pi25->SetMinimum(0.1616851);
124 Graph_RAA_pi25->SetMaximum(0.4462641);
125 Graph_RAA_pi25->SetDirectory(0);
126 Graph_RAA_pi25->SetLineWidth(2);
127 Graph_RAA_pi25->SetMarkerStyle(20);
128 Graph_RAA_pi25->SetMarkerSize(1.2);
129 Graph_RAA_pi25->GetXaxis()->SetLabelFont(42);
130 Graph_RAA_pi25->GetXaxis()->SetLabelSize(0.05);
131 Graph_RAA_pi25->GetXaxis()->SetTitleSize(0.05);
132 Graph_RAA_pi25->GetXaxis()->SetTitleOffset(1.4);
133 Graph_RAA_pi25->GetXaxis()->SetTitleFont(42);
134 Graph_RAA_pi25->GetYaxis()->SetLabelFont(42);
135 Graph_RAA_pi25->GetYaxis()->SetLabelSize(0.05);
136 Graph_RAA_pi25->GetYaxis()->SetTitleSize(0.05);
137 Graph_RAA_pi25->GetYaxis()->SetTitleOffset(1.4);
138 Graph_RAA_pi25->GetYaxis()->SetTitleFont(42);
139 Graph_RAA_pi25->GetZaxis()->SetLabelFont(42);
140 Graph_RAA_pi25->GetZaxis()->SetLabelSize(0.05);
141 Graph_RAA_pi25->GetZaxis()->SetTitleSize(0.05);
142 Graph_RAA_pi25->GetZaxis()->SetTitleOffset(1);
143 Graph_RAA_pi25->GetZaxis()->SetTitleFont(42);
144 graph->SetHistogram(Graph_RAA_pi25);
148 Double_t RAA_B_fx26[23] = {
172 Double_t RAA_B_fy26[23] = {
196 graph =
new TGraph(23,RAA_B_fx26,RAA_B_fy26);
197 graph->SetName(
"RAA_B");
198 graph->SetTitle(
"Graph");
200 ci = TColor::GetColor(
"#3333ff");
201 graph->SetLineColor(ci);
202 graph->SetLineWidth(2);
203 graph->SetMarkerStyle(20);
204 graph->SetMarkerSize(1.2);
206 TH1F *Graph_RAA_B26 =
new TH1F(
"Graph_RAA_B26",
"Graph",100,0.225,52.225);
207 Graph_RAA_B26->SetMinimum(0.2514491);
208 Graph_RAA_B26->SetMaximum(1.160957);
209 Graph_RAA_B26->SetDirectory(0);
210 Graph_RAA_B26->SetLineWidth(2);
211 Graph_RAA_B26->SetMarkerStyle(20);
212 Graph_RAA_B26->SetMarkerSize(1.2);
213 Graph_RAA_B26->GetXaxis()->SetLabelFont(42);
214 Graph_RAA_B26->GetXaxis()->SetLabelSize(0.05);
215 Graph_RAA_B26->GetXaxis()->SetTitleSize(0.05);
216 Graph_RAA_B26->GetXaxis()->SetTitleOffset(1.4);
217 Graph_RAA_B26->GetXaxis()->SetTitleFont(42);
218 Graph_RAA_B26->GetYaxis()->SetLabelFont(42);
219 Graph_RAA_B26->GetYaxis()->SetLabelSize(0.05);
220 Graph_RAA_B26->GetYaxis()->SetTitleSize(0.05);
221 Graph_RAA_B26->GetYaxis()->SetTitleOffset(1.4);
222 Graph_RAA_B26->GetYaxis()->SetTitleFont(42);
223 Graph_RAA_B26->GetZaxis()->SetLabelFont(42);
224 Graph_RAA_B26->GetZaxis()->SetLabelSize(0.05);
225 Graph_RAA_B26->GetZaxis()->SetTitleSize(0.05);
226 Graph_RAA_B26->GetZaxis()->SetTitleOffset(1);
227 Graph_RAA_B26->GetZaxis()->SetTitleFont(42);
228 graph->SetHistogram(Graph_RAA_B26);
232 Double_t RAA_D_fx27[23] = {
256 Double_t RAA_D_fy27[23] = {
280 graph =
new TGraph(23,RAA_D_fx27,RAA_D_fy27);
281 graph->SetName(
"RAA_D");
282 graph->SetTitle(
"Graph");
284 ci = TColor::GetColor(
"#000000");
285 graph->SetLineColor(ci);
286 graph->SetLineStyle(2);
287 graph->SetLineWidth(2);
288 graph->SetMarkerStyle(20);
289 graph->SetMarkerSize(1.2);
291 TH1F *Graph_RAA_D27 =
new TH1F(
"Graph_RAA_D27",
"Graph",100,0.225,52.225);
292 Graph_RAA_D27->SetMinimum(0.1341963);
293 Graph_RAA_D27->SetMaximum(1.255948);
294 Graph_RAA_D27->SetDirectory(0);
295 Graph_RAA_D27->SetLineWidth(2);
296 Graph_RAA_D27->SetMarkerStyle(20);
297 Graph_RAA_D27->SetMarkerSize(1.2);
298 Graph_RAA_D27->GetXaxis()->SetLabelFont(42);
299 Graph_RAA_D27->GetXaxis()->SetLabelSize(0.05);
300 Graph_RAA_D27->GetXaxis()->SetTitleSize(0.05);
301 Graph_RAA_D27->GetXaxis()->SetTitleOffset(1.4);
302 Graph_RAA_D27->GetXaxis()->SetTitleFont(42);
303 Graph_RAA_D27->GetYaxis()->SetLabelFont(42);
304 Graph_RAA_D27->GetYaxis()->SetLabelSize(0.05);
305 Graph_RAA_D27->GetYaxis()->SetTitleSize(0.05);
306 Graph_RAA_D27->GetYaxis()->SetTitleOffset(1.4);
307 Graph_RAA_D27->GetYaxis()->SetTitleFont(42);
308 Graph_RAA_D27->GetZaxis()->SetLabelFont(42);
309 Graph_RAA_D27->GetZaxis()->SetLabelSize(0.05);
310 Graph_RAA_D27->GetZaxis()->SetTitleSize(0.05);
311 Graph_RAA_D27->GetZaxis()->SetTitleOffset(1);
312 Graph_RAA_D27->GetZaxis()->SetTitleFont(42);
313 graph->SetHistogram(Graph_RAA_D27);
317 Double_t RAA_D0_B_fx28[27] = {
345 Double_t RAA_D0_B_fy28[27] = {
373 graph =
new TGraph(27,RAA_D0_B_fx28,RAA_D0_B_fy28);
374 graph->SetName(
"RAA_D0_B");
375 graph->SetTitle(
"Graph");
377 ci = TColor::GetColor(
"#0000cc");
378 graph->SetLineColor(ci);
379 graph->SetLineStyle(2);
380 graph->SetLineWidth(2);
381 graph->SetMarkerStyle(20);
382 graph->SetMarkerSize(1.2);
384 TH1F *Graph_RAA_D0_B28 =
new TH1F(
"Graph_RAA_D0_B28",
"Graph",100,0,32.975);
385 Graph_RAA_D0_B28->SetMinimum(0.2614948);
386 Graph_RAA_D0_B28->SetMaximum(1.070347);
387 Graph_RAA_D0_B28->SetDirectory(0);
388 Graph_RAA_D0_B28->SetLineWidth(2);
389 Graph_RAA_D0_B28->SetMarkerStyle(20);
390 Graph_RAA_D0_B28->SetMarkerSize(1.2);
391 Graph_RAA_D0_B28->GetXaxis()->SetLabelFont(42);
392 Graph_RAA_D0_B28->GetXaxis()->SetLabelSize(0.05);
393 Graph_RAA_D0_B28->GetXaxis()->SetTitleSize(0.05);
394 Graph_RAA_D0_B28->GetXaxis()->SetTitleOffset(1.4);
395 Graph_RAA_D0_B28->GetXaxis()->SetTitleFont(42);
396 Graph_RAA_D0_B28->GetYaxis()->SetLabelFont(42);
397 Graph_RAA_D0_B28->GetYaxis()->SetLabelSize(0.05);
398 Graph_RAA_D0_B28->GetYaxis()->SetTitleSize(0.05);
399 Graph_RAA_D0_B28->GetYaxis()->SetTitleOffset(1.4);
400 Graph_RAA_D0_B28->GetYaxis()->SetTitleFont(42);
401 Graph_RAA_D0_B28->GetZaxis()->SetLabelFont(42);
402 Graph_RAA_D0_B28->GetZaxis()->SetLabelSize(0.05);
403 Graph_RAA_D0_B28->GetZaxis()->SetTitleSize(0.05);
404 Graph_RAA_D0_B28->GetZaxis()->SetTitleOffset(1);
405 Graph_RAA_D0_B28->GetZaxis()->SetTitleFont(42);
406 graph->SetHistogram(Graph_RAA_D0_B28);
410 Double_t Graph0_fx1001[20] = {
431 Double_t Graph0_fy1001[20] = {
452 Double_t Graph0_fex1001[20] = {
473 Double_t Graph0_fey1001[20] = {
494 TGraphErrors *
gre =
new TGraphErrors(20,Graph0_fx1001,Graph0_fy1001,Graph0_fex1001,Graph0_fey1001);
495 gre->SetName(
"Graph0");
496 gre->SetTitle(
"Graph");
497 gre->SetFillStyle(1000);
499 ci = TColor::GetColor(
"#000000");
500 gre->SetLineColor(ci);
501 gre->SetLineWidth(4);
503 ci = TColor::GetColor(
"#000000");
504 gre->SetMarkerColor(ci);
505 gre->SetMarkerStyle(20);
506 gre->SetMarkerSize(2);
508 TH1F *Graph_Graph01001 =
new TH1F(
"Graph_Graph01001",
"Graph",100,0,10.7);
509 Graph_Graph01001->SetMinimum(0.1135582);
510 Graph_Graph01001->SetMaximum(1.262046);
511 Graph_Graph01001->SetDirectory(0);
512 Graph_Graph01001->SetStats(0);
513 Graph_Graph01001->SetLineWidth(2);
514 Graph_Graph01001->SetMarkerStyle(20);
515 Graph_Graph01001->SetMarkerSize(1.2);
516 Graph_Graph01001->GetXaxis()->SetLabelFont(42);
517 Graph_Graph01001->GetXaxis()->SetLabelSize(0.05);
518 Graph_Graph01001->GetXaxis()->SetTitleSize(0.05);
519 Graph_Graph01001->GetXaxis()->SetTitleOffset(1.4);
520 Graph_Graph01001->GetXaxis()->SetTitleFont(42);
521 Graph_Graph01001->GetYaxis()->SetLabelFont(42);
522 Graph_Graph01001->GetYaxis()->SetLabelSize(0.05);
523 Graph_Graph01001->GetYaxis()->SetTitleSize(0.05);
524 Graph_Graph01001->GetYaxis()->SetTitleOffset(1.4);
525 Graph_Graph01001->GetYaxis()->SetTitleFont(42);
526 Graph_Graph01001->GetZaxis()->SetLabelFont(42);
527 Graph_Graph01001->GetZaxis()->SetLabelSize(0.05);
528 Graph_Graph01001->GetZaxis()->SetTitleSize(0.05);
529 Graph_Graph01001->GetZaxis()->SetTitleOffset(1);
530 Graph_Graph01001->GetZaxis()->SetTitleFont(42);
531 gre->SetHistogram(Graph_Graph01001);
535 Double_t Graph1_fx1002[8] = {
544 Double_t Graph1_fy1002[8] = {
553 Double_t Graph1_fex1002[8] = {
562 Double_t Graph1_fey1002[8] = {
571 gre =
new TGraphErrors(8,Graph1_fx1002,Graph1_fy1002,Graph1_fex1002,Graph1_fey1002);
572 gre->SetName(
"Graph1");
573 gre->SetTitle(
"Graph");
574 gre->SetFillStyle(1000);
576 ci = TColor::GetColor(
"#000099");
577 gre->SetLineColor(ci);
578 gre->SetLineWidth(4);
580 ci = TColor::GetColor(
"#0000cc");
581 gre->SetMarkerColor(ci);
582 gre->SetMarkerStyle(21);
583 gre->SetMarkerSize(2);
585 TH1F *Graph_Graph11002 =
new TH1F(
"Graph_Graph11002",
"Graph",100,1.8,10.2);
586 Graph_Graph11002->SetMinimum(0.2379199);
587 Graph_Graph11002->SetMaximum(1.089022);
588 Graph_Graph11002->SetDirectory(0);
589 Graph_Graph11002->SetStats(0);
590 Graph_Graph11002->SetLineWidth(2);
591 Graph_Graph11002->SetMarkerStyle(20);
592 Graph_Graph11002->SetMarkerSize(1.2);
593 Graph_Graph11002->GetXaxis()->SetLabelFont(42);
594 Graph_Graph11002->GetXaxis()->SetLabelSize(0.05);
595 Graph_Graph11002->GetXaxis()->SetTitleSize(0.05);
596 Graph_Graph11002->GetXaxis()->SetTitleOffset(1.4);
597 Graph_Graph11002->GetXaxis()->SetTitleFont(42);
598 Graph_Graph11002->GetYaxis()->SetLabelFont(42);
599 Graph_Graph11002->GetYaxis()->SetLabelSize(0.05);
600 Graph_Graph11002->GetYaxis()->SetTitleSize(0.05);
601 Graph_Graph11002->GetYaxis()->SetTitleOffset(1.4);
602 Graph_Graph11002->GetYaxis()->SetTitleFont(42);
603 Graph_Graph11002->GetZaxis()->SetLabelFont(42);
604 Graph_Graph11002->GetZaxis()->SetLabelSize(0.05);
605 Graph_Graph11002->GetZaxis()->SetTitleSize(0.05);
606 Graph_Graph11002->GetZaxis()->SetTitleOffset(1);
607 Graph_Graph11002->GetZaxis()->SetTitleFont(42);
608 gre->SetHistogram(Graph_Graph11002);
612 TLegend *
leg =
new TLegend(0,0.78,0.85,0.9,NULL,
"brNDC");
613 leg->SetBorderSize(0);
614 leg->SetLineColor(1);
615 leg->SetLineStyle(1);
616 leg->SetLineWidth(1);
617 leg->SetFillColor(0);
618 leg->SetFillStyle(0);
619 TLegendEntry *
entry=leg->AddEntry(
"NULL",
"#it{#bf{sPHENIX}} Projection, 0-10% Au+Au, Years 1-3",
"");
620 entry->SetLineColor(1);
621 entry->SetLineStyle(1);
622 entry->SetLineWidth(1);
623 entry->SetMarkerColor(1);
624 entry->SetMarkerStyle(21);
625 entry->SetMarkerSize(1);
626 entry->SetTextFont(42);
627 entry=leg->AddEntry(
"NULL",
"6.2 pb^{-1} str. #it{p}+#it{p}, 21 nb^{-1} rec. Au+Au",
"");
628 entry->SetLineColor(1);
629 entry->SetLineStyle(1);
630 entry->SetLineWidth(1);
631 entry->SetMarkerColor(1);
632 entry->SetMarkerStyle(21);
633 entry->SetMarkerSize(1);
634 entry->SetTextFont(42);
637 leg =
new TLegend(0.65,0.52,0.9,0.77,NULL,
"brNDC");
638 leg->SetBorderSize(0);
639 leg->SetLineColor(1);
640 leg->SetLineStyle(1);
641 leg->SetLineWidth(1);
642 leg->SetFillColor(0);
643 leg->SetFillStyle(0);
644 entry=leg->AddEntry(
"RAA_B",
"#it{B}-meson",
"l");
646 ci = TColor::GetColor(
"#3333ff");
647 entry->SetLineColor(ci);
648 entry->SetLineStyle(1);
649 entry->SetLineWidth(2);
650 entry->SetMarkerColor(1);
651 entry->SetMarkerStyle(21);
652 entry->SetMarkerSize(1);
653 entry->SetTextFont(42);
654 entry=leg->AddEntry(
"Graph",
"#it{B}#rightarrow#it{D}^{0}",
"lp");
656 ci = TColor::GetColor(
"#000099");
657 entry->SetLineColor(ci);
658 entry->SetLineStyle(1);
659 entry->SetLineWidth(4);
661 ci = TColor::GetColor(
"#0000cc");
662 entry->SetMarkerColor(ci);
663 entry->SetMarkerStyle(21);
664 entry->SetMarkerSize(2);
665 entry->SetTextFont(42);
666 entry=leg->AddEntry(
"Graph",
"Prompt #it{D}^{0}",
"lp");
668 ci = TColor::GetColor(
"#000000");
669 entry->SetLineColor(ci);
670 entry->SetLineStyle(1);
671 entry->SetLineWidth(4);
673 ci = TColor::GetColor(
"#000000");
674 entry->SetMarkerColor(ci);
675 entry->SetMarkerStyle(20);
676 entry->SetMarkerSize(2);
677 entry->SetTextFont(42);
678 entry=leg->AddEntry(
"RAA_pi",
"#pi",
"l");
680 ci = TColor::GetColor(
"#009900");
681 entry->SetLineColor(ci);
682 entry->SetLineStyle(1);
683 entry->SetLineWidth(2);
684 entry->SetMarkerColor(1);
685 entry->SetMarkerStyle(21);
686 entry->SetMarkerSize(1);
687 entry->SetTextFont(42);
689 D0_BUP2020_AuAu_RAA_3yr_1->Modified();
690 D0_BUP2020_AuAu_RAA_3yr->cd();
691 D0_BUP2020_AuAu_RAA_3yr->Modified();
692 D0_BUP2020_AuAu_RAA_3yr->cd();
693 D0_BUP2020_AuAu_RAA_3yr->SetSelected(D0_BUP2020_AuAu_RAA_3yr);