8 gStyle->SetOptTitle(0);
9 D0_BUP2020OOArAr_RAA_flat_5yr->SetHighLightColor(2);
10 D0_BUP2020OOArAr_RAA_flat_5yr->Range(0,0,1,1);
11 D0_BUP2020OOArAr_RAA_flat_5yr->SetFillColor(0);
12 D0_BUP2020OOArAr_RAA_flat_5yr->SetBorderMode(0);
13 D0_BUP2020OOArAr_RAA_flat_5yr->SetBorderSize(2);
14 D0_BUP2020OOArAr_RAA_flat_5yr->SetTickx(1);
15 D0_BUP2020OOArAr_RAA_flat_5yr->SetTicky(1);
16 D0_BUP2020OOArAr_RAA_flat_5yr->SetLeftMargin(0.16);
17 D0_BUP2020OOArAr_RAA_flat_5yr->SetRightMargin(0.05);
18 D0_BUP2020OOArAr_RAA_flat_5yr->SetTopMargin(0.05);
19 D0_BUP2020OOArAr_RAA_flat_5yr->SetBottomMargin(0.16);
20 D0_BUP2020OOArAr_RAA_flat_5yr->SetFrameBorderMode(0);
23 TPad *D0_BUP2020OOArAr_RAA_flat_5yr_1 =
new TPad(
"D0_BUP2020OOArAr_RAA_flat_5yr_1",
"D0_BUP2020OOArAr_RAA_flat_5yr_1",0.01,0.01,0.99,0.99);
24 D0_BUP2020OOArAr_RAA_flat_5yr_1->Draw();
25 D0_BUP2020OOArAr_RAA_flat_5yr_1->cd();
26 D0_BUP2020OOArAr_RAA_flat_5yr_1->Range(-2.227848,-0.243038,11.6962,1.275949);
27 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetFillColor(0);
28 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetBorderMode(0);
29 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetBorderSize(2);
30 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetTickx(1);
31 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetTicky(1);
32 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetLeftMargin(0.16);
33 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetRightMargin(0.05);
34 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetTopMargin(0.05);
35 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetBottomMargin(0.16);
36 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetFrameBorderMode(0);
37 D0_BUP2020OOArAr_RAA_flat_5yr_1->SetFrameBorderMode(0);
39 TH1F *hframe__21 =
new TH1F(
"hframe__21",
"",1000,0,11);
40 hframe__21->SetMinimum(0);
41 hframe__21->SetMaximum(1.2);
42 hframe__21->SetDirectory(0);
43 hframe__21->SetStats(0);
44 hframe__21->SetLineWidth(2);
45 hframe__21->SetMarkerStyle(20);
46 hframe__21->SetMarkerSize(1.2);
47 hframe__21->GetXaxis()->SetTitle(
"#it{p}_{T} [GeV]");
48 hframe__21->GetXaxis()->SetLabelFont(42);
49 hframe__21->GetXaxis()->SetLabelSize(0.05);
50 hframe__21->GetXaxis()->SetTitleSize(0.05);
51 hframe__21->GetXaxis()->SetTitleOffset(1.4);
52 hframe__21->GetXaxis()->SetTitleFont(42);
53 hframe__21->GetYaxis()->SetTitle(
"#it{R}_{AA}");
54 hframe__21->GetYaxis()->SetLabelFont(42);
55 hframe__21->GetYaxis()->SetLabelSize(0.05);
56 hframe__21->GetYaxis()->SetTitleSize(0.05);
57 hframe__21->GetYaxis()->SetTitleOffset(1.4);
58 hframe__21->GetYaxis()->SetTitleFont(42);
59 hframe__21->GetZaxis()->SetLabelFont(42);
60 hframe__21->GetZaxis()->SetLabelSize(0.05);
61 hframe__21->GetZaxis()->SetTitleSize(0.05);
62 hframe__21->GetZaxis()->SetTitleOffset(1);
63 hframe__21->GetZaxis()->SetTitleFont(42);
64 hframe__21->Draw(
" ");
66 Double_t Graph0_fx1007[20] = {
87 Double_t Graph0_fy1007[20] = {
108 Double_t Graph0_fex1007[20] = {
129 Double_t Graph0_fey1007[20] = {
150 TGraphErrors *
gre =
new TGraphErrors(20,Graph0_fx1007,Graph0_fy1007,Graph0_fex1007,Graph0_fey1007);
151 gre->SetName(
"Graph0");
152 gre->SetTitle(
"Graph");
153 gre->SetFillStyle(1000);
157 ci = TColor::GetColor(
"#000000");
158 gre->SetLineColor(ci);
159 gre->SetLineWidth(4);
161 ci = TColor::GetColor(
"#000000");
162 gre->SetMarkerColor(ci);
163 gre->SetMarkerStyle(24);
164 gre->SetMarkerSize(2);
166 TH1F *Graph_Graph01007 =
new TH1F(
"Graph_Graph01007",
"Graph",100,0,10.9);
167 Graph_Graph01007->SetMinimum(0.6304398);
168 Graph_Graph01007->SetMaximum(0.7695602);
169 Graph_Graph01007->SetDirectory(0);
170 Graph_Graph01007->SetStats(0);
171 Graph_Graph01007->SetLineWidth(2);
172 Graph_Graph01007->SetMarkerStyle(20);
173 Graph_Graph01007->SetMarkerSize(1.2);
174 Graph_Graph01007->GetXaxis()->SetLabelFont(42);
175 Graph_Graph01007->GetXaxis()->SetLabelSize(0.05);
176 Graph_Graph01007->GetXaxis()->SetTitleSize(0.05);
177 Graph_Graph01007->GetXaxis()->SetTitleOffset(1.4);
178 Graph_Graph01007->GetXaxis()->SetTitleFont(42);
179 Graph_Graph01007->GetYaxis()->SetLabelFont(42);
180 Graph_Graph01007->GetYaxis()->SetLabelSize(0.05);
181 Graph_Graph01007->GetYaxis()->SetTitleSize(0.05);
182 Graph_Graph01007->GetYaxis()->SetTitleOffset(1.4);
183 Graph_Graph01007->GetYaxis()->SetTitleFont(42);
184 Graph_Graph01007->GetZaxis()->SetLabelFont(42);
185 Graph_Graph01007->GetZaxis()->SetLabelSize(0.05);
186 Graph_Graph01007->GetZaxis()->SetTitleSize(0.05);
187 Graph_Graph01007->GetZaxis()->SetTitleOffset(1);
188 Graph_Graph01007->GetZaxis()->SetTitleFont(42);
189 gre->SetHistogram(Graph_Graph01007);
193 Double_t Graph1_fx1008[8] = {
202 Double_t Graph1_fy1008[8] = {
211 Double_t Graph1_fex1008[8] = {
220 Double_t Graph1_fey1008[8] = {
229 gre =
new TGraphErrors(8,Graph1_fx1008,Graph1_fy1008,Graph1_fex1008,Graph1_fey1008);
230 gre->SetName(
"Graph1");
231 gre->SetTitle(
"Graph");
232 gre->SetFillStyle(1000);
234 ci = TColor::GetColor(
"#000099");
235 gre->SetLineColor(ci);
236 gre->SetLineWidth(4);
238 ci = TColor::GetColor(
"#000099");
239 gre->SetMarkerColor(ci);
240 gre->SetMarkerStyle(25);
241 gre->SetMarkerSize(2);
243 TH1F *Graph_Graph11008 =
new TH1F(
"Graph_Graph11008",
"Graph",100,2,10.4);
244 Graph_Graph11008->SetMinimum(0.7205529);
245 Graph_Graph11008->SetMaximum(1.279447);
246 Graph_Graph11008->SetDirectory(0);
247 Graph_Graph11008->SetStats(0);
248 Graph_Graph11008->SetLineWidth(2);
249 Graph_Graph11008->SetMarkerStyle(20);
250 Graph_Graph11008->SetMarkerSize(1.2);
251 Graph_Graph11008->GetXaxis()->SetLabelFont(42);
252 Graph_Graph11008->GetXaxis()->SetLabelSize(0.05);
253 Graph_Graph11008->GetXaxis()->SetTitleSize(0.05);
254 Graph_Graph11008->GetXaxis()->SetTitleOffset(1.4);
255 Graph_Graph11008->GetXaxis()->SetTitleFont(42);
256 Graph_Graph11008->GetYaxis()->SetLabelFont(42);
257 Graph_Graph11008->GetYaxis()->SetLabelSize(0.05);
258 Graph_Graph11008->GetYaxis()->SetTitleSize(0.05);
259 Graph_Graph11008->GetYaxis()->SetTitleOffset(1.4);
260 Graph_Graph11008->GetYaxis()->SetTitleFont(42);
261 Graph_Graph11008->GetZaxis()->SetLabelFont(42);
262 Graph_Graph11008->GetZaxis()->SetLabelSize(0.05);
263 Graph_Graph11008->GetZaxis()->SetTitleSize(0.05);
264 Graph_Graph11008->GetZaxis()->SetTitleOffset(1);
265 Graph_Graph11008->GetZaxis()->SetTitleFont(42);
266 gre->SetHistogram(Graph_Graph11008);
270 Double_t Graph2_fx1009[20] = {
291 Double_t Graph2_fy1009[20] = {
312 Double_t Graph2_fex1009[20] = {
333 Double_t Graph2_fey1009[20] = {
354 gre =
new TGraphErrors(20,Graph2_fx1009,Graph2_fy1009,Graph2_fex1009,Graph2_fey1009);
355 gre->SetName(
"Graph2");
356 gre->SetTitle(
"Graph");
357 gre->SetFillStyle(1000);
359 ci = TColor::GetColor(
"#000000");
360 gre->SetLineColor(ci);
361 gre->SetLineWidth(4);
363 ci = TColor::GetColor(
"#000000");
364 gre->SetMarkerColor(ci);
365 gre->SetMarkerStyle(20);
366 gre->SetMarkerSize(2);
368 TH1F *Graph_Graph21009 =
new TH1F(
"Graph_Graph21009",
"Graph",100,0,10.7);
369 Graph_Graph21009->SetMinimum(0.5558872);
370 Graph_Graph21009->SetMaximum(0.6441128);
371 Graph_Graph21009->SetDirectory(0);
372 Graph_Graph21009->SetStats(0);
373 Graph_Graph21009->SetLineWidth(2);
374 Graph_Graph21009->SetMarkerStyle(20);
375 Graph_Graph21009->SetMarkerSize(1.2);
376 Graph_Graph21009->GetXaxis()->SetLabelFont(42);
377 Graph_Graph21009->GetXaxis()->SetLabelSize(0.05);
378 Graph_Graph21009->GetXaxis()->SetTitleSize(0.05);
379 Graph_Graph21009->GetXaxis()->SetTitleOffset(1.4);
380 Graph_Graph21009->GetXaxis()->SetTitleFont(42);
381 Graph_Graph21009->GetYaxis()->SetLabelFont(42);
382 Graph_Graph21009->GetYaxis()->SetLabelSize(0.05);
383 Graph_Graph21009->GetYaxis()->SetTitleSize(0.05);
384 Graph_Graph21009->GetYaxis()->SetTitleOffset(1.4);
385 Graph_Graph21009->GetYaxis()->SetTitleFont(42);
386 Graph_Graph21009->GetZaxis()->SetLabelFont(42);
387 Graph_Graph21009->GetZaxis()->SetLabelSize(0.05);
388 Graph_Graph21009->GetZaxis()->SetTitleSize(0.05);
389 Graph_Graph21009->GetZaxis()->SetTitleOffset(1);
390 Graph_Graph21009->GetZaxis()->SetTitleFont(42);
391 gre->SetHistogram(Graph_Graph21009);
395 Double_t Graph3_fx1010[8] = {
404 Double_t Graph3_fy1010[8] = {
413 Double_t Graph3_fex1010[8] = {
422 Double_t Graph3_fey1010[8] = {
431 gre =
new TGraphErrors(8,Graph3_fx1010,Graph3_fy1010,Graph3_fex1010,Graph3_fey1010);
432 gre->SetName(
"Graph3");
433 gre->SetTitle(
"Graph");
434 gre->SetFillStyle(1000);
436 ci = TColor::GetColor(
"#000099");
437 gre->SetLineColor(ci);
438 gre->SetLineWidth(4);
440 ci = TColor::GetColor(
"#000099");
441 gre->SetMarkerColor(ci);
442 gre->SetMarkerStyle(21);
443 gre->SetMarkerSize(2);
445 TH1F *Graph_Graph31010 =
new TH1F(
"Graph_Graph31010",
"Graph",100,1.8,10.2);
446 Graph_Graph31010->SetMinimum(0.713923);
447 Graph_Graph31010->SetMaximum(1.086077);
448 Graph_Graph31010->SetDirectory(0);
449 Graph_Graph31010->SetStats(0);
450 Graph_Graph31010->SetLineWidth(2);
451 Graph_Graph31010->SetMarkerStyle(20);
452 Graph_Graph31010->SetMarkerSize(1.2);
453 Graph_Graph31010->GetXaxis()->SetLabelFont(42);
454 Graph_Graph31010->GetXaxis()->SetLabelSize(0.05);
455 Graph_Graph31010->GetXaxis()->SetTitleSize(0.05);
456 Graph_Graph31010->GetXaxis()->SetTitleOffset(1.4);
457 Graph_Graph31010->GetXaxis()->SetTitleFont(42);
458 Graph_Graph31010->GetYaxis()->SetLabelFont(42);
459 Graph_Graph31010->GetYaxis()->SetLabelSize(0.05);
460 Graph_Graph31010->GetYaxis()->SetTitleSize(0.05);
461 Graph_Graph31010->GetYaxis()->SetTitleOffset(1.4);
462 Graph_Graph31010->GetYaxis()->SetTitleFont(42);
463 Graph_Graph31010->GetZaxis()->SetLabelFont(42);
464 Graph_Graph31010->GetZaxis()->SetLabelSize(0.05);
465 Graph_Graph31010->GetZaxis()->SetTitleSize(0.05);
466 Graph_Graph31010->GetZaxis()->SetTitleOffset(1);
467 Graph_Graph31010->GetZaxis()->SetTitleFont(42);
468 gre->SetHistogram(Graph_Graph31010);
472 TLegend *
leg =
new TLegend(0.1,0.2,0.55,0.5,NULL,
"brNDC");
473 leg->SetBorderSize(0);
474 leg->SetLineColor(1);
475 leg->SetLineStyle(1);
476 leg->SetLineWidth(1);
477 leg->SetFillColor(0);
478 leg->SetFillStyle(0);
479 TLegendEntry *
entry=leg->AddEntry(
"NULL",
"#it{#bf{sPHENIX}} Projection, Years 1-5",
"");
480 entry->SetLineColor(1);
481 entry->SetLineStyle(1);
482 entry->SetLineWidth(1);
483 entry->SetMarkerColor(1);
484 entry->SetMarkerStyle(21);
485 entry->SetMarkerSize(1);
486 entry->SetTextFont(42);
487 entry=leg->AddEntry(
"NULL",
"37 nb^{-1} str. O+O",
"");
488 entry->SetLineColor(1);
489 entry->SetLineStyle(1);
490 entry->SetLineWidth(1);
491 entry->SetMarkerColor(1);
492 entry->SetMarkerStyle(21);
493 entry->SetMarkerSize(1);
494 entry->SetTextFont(42);
495 entry=leg->AddEntry(
"NULL",
"12 nb^{-1} str. Ar+Ar",
"");
496 entry->SetLineColor(1);
497 entry->SetLineStyle(1);
498 entry->SetLineWidth(1);
499 entry->SetMarkerColor(1);
500 entry->SetMarkerStyle(21);
501 entry->SetMarkerSize(1);
502 entry->SetTextFont(42);
503 entry=leg->AddEntry(
"NULL",
"86 pb^{-1} str. #it{p}+#it{p}",
"");
504 entry->SetLineColor(1);
505 entry->SetLineStyle(1);
506 entry->SetLineWidth(1);
507 entry->SetMarkerColor(1);
508 entry->SetMarkerStyle(21);
509 entry->SetMarkerSize(1);
510 entry->SetTextFont(42);
513 leg =
new TLegend(0.58,0.2,0.95,0.425,NULL,
"brNDC");
514 leg->SetBorderSize(0);
515 leg->SetLineColor(1);
516 leg->SetLineStyle(1);
517 leg->SetLineWidth(1);
518 leg->SetFillColor(0);
519 leg->SetFillStyle(0);
520 entry=leg->AddEntry(
"NULL",
"O+O",
"h");
521 entry->SetLineColor(1);
522 entry->SetLineStyle(1);
523 entry->SetLineWidth(1);
524 entry->SetMarkerColor(1);
525 entry->SetMarkerStyle(21);
526 entry->SetMarkerSize(1);
527 entry->SetTextFont(42);
528 entry=leg->AddEntry(
"Graph",
" ",
"p");
529 entry->SetLineColor(1);
530 entry->SetLineStyle(1);
531 entry->SetLineWidth(1);
533 ci = TColor::GetColor(
"#000000");
534 entry->SetMarkerColor(ci);
535 entry->SetMarkerStyle(24);
536 entry->SetMarkerSize(2);
537 entry->SetTextFont(42);
538 entry=leg->AddEntry(
"Graph",
" ",
"p");
539 entry->SetLineColor(1);
540 entry->SetLineStyle(1);
541 entry->SetLineWidth(1);
543 ci = TColor::GetColor(
"#000099");
544 entry->SetMarkerColor(ci);
545 entry->SetMarkerStyle(25);
546 entry->SetMarkerSize(2);
547 entry->SetTextFont(42);
550 leg =
new TLegend(0.68,0.2,0.95,0.425,NULL,
"brNDC");
551 leg->SetBorderSize(0);
552 leg->SetLineColor(1);
553 leg->SetLineStyle(1);
554 leg->SetLineWidth(1);
555 leg->SetFillColor(0);
556 leg->SetFillStyle(0);
557 entry=leg->AddEntry(
"NULL",
"Ar+Ar",
"h");
558 entry->SetLineColor(1);
559 entry->SetLineStyle(1);
560 entry->SetLineWidth(1);
561 entry->SetMarkerColor(1);
562 entry->SetMarkerStyle(21);
563 entry->SetMarkerSize(1);
564 entry->SetTextFont(42);
565 entry=leg->AddEntry(
"Graph",
"Prompt #it{D}^{0}",
"p");
566 entry->SetLineColor(1);
567 entry->SetLineStyle(1);
568 entry->SetLineWidth(1);
570 ci = TColor::GetColor(
"#000000");
571 entry->SetMarkerColor(ci);
572 entry->SetMarkerStyle(20);
573 entry->SetMarkerSize(2);
574 entry->SetTextFont(42);
575 entry=leg->AddEntry(
"Graph",
"#it{B}#rightarrow#it{D}^{0}",
"p");
576 entry->SetLineColor(1);
577 entry->SetLineStyle(1);
578 entry->SetLineWidth(1);
580 ci = TColor::GetColor(
"#000099");
581 entry->SetMarkerColor(ci);
582 entry->SetMarkerStyle(21);
583 entry->SetMarkerSize(2);
584 entry->SetTextFont(42);
586 D0_BUP2020OOArAr_RAA_flat_5yr_1->Modified();
587 D0_BUP2020OOArAr_RAA_flat_5yr->cd();
588 D0_BUP2020OOArAr_RAA_flat_5yr->Modified();
589 D0_BUP2020OOArAr_RAA_flat_5yr->cd();
590 D0_BUP2020OOArAr_RAA_flat_5yr->SetSelected(D0_BUP2020OOArAr_RAA_flat_5yr);