Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
D0_BUP2020_AuAu_RAA_3yr.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file D0_BUP2020_AuAu_RAA_3yr.C
2 {
3 //=========Macro generated from canvas: D0_BUP2020_AuAu_RAA_3yr/D0_BUP2020_AuAu_RAA_3yr
4 //========= (Wed May 12 23:46:24 2021) by ROOT version 6.22/02
5  TCanvas *D0_BUP2020_AuAu_RAA_3yr = new TCanvas("D0_BUP2020_AuAu_RAA_3yr", "D0_BUP2020_AuAu_RAA_3yr",0,0,1100,800);
6  gStyle->SetOptFit(1);
7  gStyle->SetOptStat(0);
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);
21 
22 // ------------>Primitives in pad: D0_BUP2020_AuAu_RAA_3yr_1
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);
38 
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(" ");
65 
66  Double_t RAA_pi_fx25[21] = {
67  1.25,
68  1.75,
69  2.25,
70  2.75,
71  3.25,
72  3.75,
73  4.25,
74  5.25,
75  5.75,
76  6.25,
77  7.5,
78  8.5,
79  9.5,
80  12.5,
81  17.5,
82  22.5,
83  27.5,
84  32.5,
85  37.5,
86  42.5,
87  47.5};
88  Double_t RAA_pi_fy25[21] = {
89  0.364,
90  0.4123,
91  0.3958,
92  0.3159,
93  0.2556,
94  0.2272,
95  0.2103,
96  0.1855,
97  0.1854,
98  0.1911,
99  0.2108347,
100  0.2248045,
101  0.2379755,
102  0.2730735,
103  0.3189244,
104  0.3522533,
105  0.376236,
106  0.3934406,
107  0.4059054,
108  0.4152112,
109  0.4225492};
110  TGraph *graph = new TGraph(21,RAA_pi_fx25,RAA_pi_fy25);
111  graph->SetName("RAA_pi");
112  graph->SetTitle("Graph");
113 
114  Int_t ci; // for color index setting
115  TColor *color; // for color definition with alpha
116  ci = TColor::GetColor("#009900");
117  graph->SetLineColor(ci);
118  graph->SetLineWidth(2);
119  graph->SetMarkerStyle(20);
120  graph->SetMarkerSize(1.2);
121 
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);
145 
146  graph->Draw("");
147 
148  Double_t RAA_B_fx26[23] = {
149  0.25,
150  0.75,
151  1.25,
152  1.75,
153  2.25,
154  2.75,
155  3.25,
156  3.75,
157  4.25,
158  4.75,
159  5.25,
160  6.25,
161  7.25,
162  8.25,
163  9.25,
164  12.5,
165  17.5,
166  22.5,
167  27.5,
168  32.5,
169  37.5,
170  42.5,
171  47.5};
172  Double_t RAA_B_fy26[23] = {
173  0.7919363,
174  0.8851137,
175  0.9790749,
176  1.034256,
177  1.085165,
178  1.075569,
179  1.047355,
180  0.9999001,
181  0.9357845,
182  0.8760597,
183  0.8136347,
184  0.7157307,
185  0.6335103,
186  0.5680183,
187  0.5241536,
188  0.4155918,
189  0.3573316,
190  0.3401377,
191  0.3305569,
192  0.3272414,
193  0.3282991,
194  0.332189,
195  0.337686};
196  graph = new TGraph(23,RAA_B_fx26,RAA_B_fy26);
197  graph->SetName("RAA_B");
198  graph->SetTitle("Graph");
199 
200  ci = TColor::GetColor("#3333ff");
201  graph->SetLineColor(ci);
202  graph->SetLineWidth(2);
203  graph->SetMarkerStyle(20);
204  graph->SetMarkerSize(1.2);
205 
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);
229 
230  graph->Draw("");
231 
232  Double_t RAA_D_fx27[23] = {
233  0.25,
234  0.75,
235  1.25,
236  1.75,
237  2.25,
238  2.75,
239  3.25,
240  3.75,
241  4.25,
242  4.75,
243  5.25,
244  6.25,
245  7.25,
246  8.25,
247  9.25,
248  12.5,
249  17.5,
250  22.5,
251  27.5,
252  32.5,
253  37.5,
254  42.5,
255  47.5};
256  Double_t RAA_D_fy27[23] = {
257  0.5375912,
258  0.7987257,
259  1.078158,
260  1.162469,
261  1.098154,
262  0.8777246,
263  0.6481578,
264  0.5014529,
265  0.3921144,
266  0.3353954,
267  0.3012415,
268  0.2515049,
269  0.2276756,
270  0.2284476,
271  0.2313802,
272  0.2505994,
273  0.2746772,
274  0.2927324,
275  0.306397,
276  0.3169513,
277  0.3253756,
278  0.3323967,
279  0.3385319};
280  graph = new TGraph(23,RAA_D_fx27,RAA_D_fy27);
281  graph->SetName("RAA_D");
282  graph->SetTitle("Graph");
283 
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);
290 
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);
314 
315  graph->Draw("");
316 
317  Double_t RAA_D0_B_fx28[27] = {
318  0.25,
319  0.75,
320  1.25,
321  1.75,
322  2.25,
323  2.75,
324  3.25,
325  3.75,
326  4.25,
327  4.75,
328  5.25,
329  5.75,
330  6.25,
331  6.75,
332  7.25,
333  7.75,
334  8.25,
335  8.75,
336  9.25,
337  9.75,
338  10.5,
339  11.5,
340  12.5,
341  13.5,
342  14.5,
343  15.5,
344  30};
345  Double_t RAA_D0_B_fy28[27] = {
346  0.9838097,
347  1.002943,
348  0.9880626,
349  0.9700977,
350  0.9535339,
351  0.9354688,
352  0.885242,
353  0.8401878,
354  0.7672503,
355  0.7206252,
356  0.6574549,
357  0.621044,
358  0.5733797,
359  0.5464847,
360  0.5120443,
361  0.4925487,
362  0.4675513,
363  0.453502,
364  0.4338281,
365  0.4226899,
366  0.4031777,
367  0.3852578,
368  0.3725463,
369  0.3635795,
370  0.3550752,
371  0.3492906,
372  0.3288992};
373  graph = new TGraph(27,RAA_D0_B_fx28,RAA_D0_B_fy28);
374  graph->SetName("RAA_D0_B");
375  graph->SetTitle("Graph");
376 
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);
383 
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);
407 
408  graph->Draw("");
409 
410  Double_t Graph0_fx1001[20] = {
411  0.25,
412  0.75,
413  1.25,
414  1.75,
415  2.25,
416  2.75,
417  3.25,
418  3.75,
419  4.25,
420  4.75,
421  5.25,
422  5.75,
423  6.25,
424  6.75,
425  7.25,
426  7.75,
427  8.25,
428  8.75,
429  9.25,
430  9.75};
431  Double_t Graph0_fy1001[20] = {
432  0.5375912,
433  0.7987257,
434  1.078158,
435  1.162469,
436  1.098154,
437  0.8777246,
438  0.6481578,
439  0.5014529,
440  0.3921144,
441  0.3353954,
442  0.3012415,
443  0.2763732,
444  0.2515049,
445  0.2395902,
446  0.2276756,
447  0.2280616,
448  0.2284476,
449  0.2299139,
450  0.2313802,
451  0.234337};
452  Double_t Graph0_fex1001[20] = {
453  0,
454  0,
455  0,
456  0,
457  0,
458  0,
459  0,
460  0,
461  0,
462  0,
463  0,
464  0,
465  0,
466  0,
467  0,
468  0,
469  0,
470  0,
471  0,
472  0};
473  Double_t Graph0_fey1001[20] = {
474  0.004402939,
475  0.004239807,
476  0.003898691,
477  0.00386979,
478  0.003895942,
479  0.00363414,
480  0.002995177,
481  0.002951778,
482  0.003009618,
483  0.00341761,
484  0.003906693,
485  0.004637783,
486  0.005466189,
487  0.006724237,
488  0.007231593,
489  0.009384692,
490  0.0120616,
491  0.01549817,
492  0.01971241,
493  0.02507147};
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);
498 
499  ci = TColor::GetColor("#000000");
500  gre->SetLineColor(ci);
501  gre->SetLineWidth(4);
502 
503  ci = TColor::GetColor("#000000");
504  gre->SetMarkerColor(ci);
505  gre->SetMarkerStyle(20);
506  gre->SetMarkerSize(2);
507 
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);
532 
533  gre->Draw("p");
534 
535  Double_t Graph1_fx1002[8] = {
536  2.5,
537  3.5,
538  4.5,
539  5.5,
540  6.5,
541  7.5,
542  8.5,
543  9.5};
544  Double_t Graph1_fy1002[8] = {
545  0.9445014,
546  0.8627149,
547  0.7439378,
548  0.6392494,
549  0.5599322,
550  0.5022965,
551  0.4605267,
552  0.428259};
553  Double_t Graph1_fex1002[8] = {
554  0,
555  0,
556  0,
557  0,
558  0,
559  0,
560  0,
561  0};
562  Double_t Graph1_fey1002[8] = {
563  0.07359554,
564  0.05559087,
565  0.04919221,
566  0.05251078,
567  0.06078421,
568  0.08041788,
569  0.09652157,
570  0.1194139};
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);
575 
576  ci = TColor::GetColor("#000099");
577  gre->SetLineColor(ci);
578  gre->SetLineWidth(4);
579 
580  ci = TColor::GetColor("#0000cc");
581  gre->SetMarkerColor(ci);
582  gre->SetMarkerStyle(21);
583  gre->SetMarkerSize(2);
584 
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);
609 
610  gre->Draw("p");
611 
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);
635  leg->Draw();
636 
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");
645 
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");
655 
656  ci = TColor::GetColor("#000099");
657  entry->SetLineColor(ci);
658  entry->SetLineStyle(1);
659  entry->SetLineWidth(4);
660 
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");
667 
668  ci = TColor::GetColor("#000000");
669  entry->SetLineColor(ci);
670  entry->SetLineStyle(1);
671  entry->SetLineWidth(4);
672 
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");
679 
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);
688  leg->Draw();
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);
694 }