Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:13:46

0001 void D0_BUP2020_AuAu_RAA_3yr()
0002 {
0003 //=========Macro generated from canvas: D0_BUP2020_AuAu_RAA_3yr/D0_BUP2020_AuAu_RAA_3yr
0004 //=========  (Wed May 12 23:46:24 2021) by ROOT version 6.22/02
0005    TCanvas *D0_BUP2020_AuAu_RAA_3yr = new TCanvas("D0_BUP2020_AuAu_RAA_3yr", "D0_BUP2020_AuAu_RAA_3yr",0,0,1100,800);
0006    gStyle->SetOptFit(1);
0007    gStyle->SetOptStat(0);
0008    gStyle->SetOptTitle(0);
0009    D0_BUP2020_AuAu_RAA_3yr->SetHighLightColor(2);
0010    D0_BUP2020_AuAu_RAA_3yr->Range(0,0,1,1);
0011    D0_BUP2020_AuAu_RAA_3yr->SetFillColor(0);
0012    D0_BUP2020_AuAu_RAA_3yr->SetBorderMode(0);
0013    D0_BUP2020_AuAu_RAA_3yr->SetBorderSize(2);
0014    D0_BUP2020_AuAu_RAA_3yr->SetTickx(1);
0015    D0_BUP2020_AuAu_RAA_3yr->SetTicky(1);
0016    D0_BUP2020_AuAu_RAA_3yr->SetLeftMargin(0.16);
0017    D0_BUP2020_AuAu_RAA_3yr->SetRightMargin(0.05);
0018    D0_BUP2020_AuAu_RAA_3yr->SetTopMargin(0.05);
0019    D0_BUP2020_AuAu_RAA_3yr->SetBottomMargin(0.16);
0020    D0_BUP2020_AuAu_RAA_3yr->SetFrameBorderMode(0);
0021   
0022 // ------------>Primitives in pad: D0_BUP2020_AuAu_RAA_3yr_1
0023    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);
0024    D0_BUP2020_AuAu_RAA_3yr_1->Draw();
0025    D0_BUP2020_AuAu_RAA_3yr_1->cd();
0026    D0_BUP2020_AuAu_RAA_3yr_1->Range(-2.227848,-0.3240506,11.6962,1.701266);
0027    D0_BUP2020_AuAu_RAA_3yr_1->SetFillColor(0);
0028    D0_BUP2020_AuAu_RAA_3yr_1->SetBorderMode(0);
0029    D0_BUP2020_AuAu_RAA_3yr_1->SetBorderSize(2);
0030    D0_BUP2020_AuAu_RAA_3yr_1->SetTickx(1);
0031    D0_BUP2020_AuAu_RAA_3yr_1->SetTicky(1);
0032    D0_BUP2020_AuAu_RAA_3yr_1->SetLeftMargin(0.16);
0033    D0_BUP2020_AuAu_RAA_3yr_1->SetRightMargin(0.05);
0034    D0_BUP2020_AuAu_RAA_3yr_1->SetTopMargin(0.05);
0035    D0_BUP2020_AuAu_RAA_3yr_1->SetBottomMargin(0.16);
0036    D0_BUP2020_AuAu_RAA_3yr_1->SetFrameBorderMode(0);
0037    D0_BUP2020_AuAu_RAA_3yr_1->SetFrameBorderMode(0);
0038    
0039    TH1F *hframe__19 = new TH1F("hframe__19","",1000,0,11);
0040    hframe__19->SetMinimum(0);
0041    hframe__19->SetMaximum(1.6);
0042    hframe__19->SetDirectory(0);
0043    hframe__19->SetStats(0);
0044    hframe__19->SetLineWidth(2);
0045    hframe__19->SetMarkerStyle(20);
0046    hframe__19->SetMarkerSize(1.2);
0047    hframe__19->GetXaxis()->SetTitle("#it{p}_{T} [GeV]");
0048    hframe__19->GetXaxis()->SetLabelFont(42);
0049    hframe__19->GetXaxis()->SetLabelSize(0.05);
0050    hframe__19->GetXaxis()->SetTitleSize(0.05);
0051    hframe__19->GetXaxis()->SetTitleOffset(1.4);
0052    hframe__19->GetXaxis()->SetTitleFont(42);
0053    hframe__19->GetYaxis()->SetTitle("#it{R}_{AA}");
0054    hframe__19->GetYaxis()->SetLabelFont(42);
0055    hframe__19->GetYaxis()->SetLabelSize(0.05);
0056    hframe__19->GetYaxis()->SetTitleSize(0.05);
0057    hframe__19->GetYaxis()->SetTitleOffset(1.4);
0058    hframe__19->GetYaxis()->SetTitleFont(42);
0059    hframe__19->GetZaxis()->SetLabelFont(42);
0060    hframe__19->GetZaxis()->SetLabelSize(0.05);
0061    hframe__19->GetZaxis()->SetTitleSize(0.05);
0062    hframe__19->GetZaxis()->SetTitleOffset(1);
0063    hframe__19->GetZaxis()->SetTitleFont(42);
0064    hframe__19->Draw(" ");
0065    
0066    Double_t RAA_pi_fx25[21] = {
0067    1.25,
0068    1.75,
0069    2.25,
0070    2.75,
0071    3.25,
0072    3.75,
0073    4.25,
0074    5.25,
0075    5.75,
0076    6.25,
0077    7.5,
0078    8.5,
0079    9.5,
0080    12.5,
0081    17.5,
0082    22.5,
0083    27.5,
0084    32.5,
0085    37.5,
0086    42.5,
0087    47.5};
0088    Double_t RAA_pi_fy25[21] = {
0089    0.364,
0090    0.4123,
0091    0.3958,
0092    0.3159,
0093    0.2556,
0094    0.2272,
0095    0.2103,
0096    0.1855,
0097    0.1854,
0098    0.1911,
0099    0.2108347,
0100    0.2248045,
0101    0.2379755,
0102    0.2730735,
0103    0.3189244,
0104    0.3522533,
0105    0.376236,
0106    0.3934406,
0107    0.4059054,
0108    0.4152112,
0109    0.4225492};
0110    TGraph *graph = new TGraph(21,RAA_pi_fx25,RAA_pi_fy25);
0111    graph->SetName("RAA_pi");
0112    graph->SetTitle("Graph");
0113 
0114    Int_t ci;      // for color index setting
0115    TColor *color; // for color definition with alpha
0116    ci = TColor::GetColor("#009900");
0117    graph->SetLineColor(ci);
0118    graph->SetLineWidth(2);
0119    graph->SetMarkerStyle(20);
0120    graph->SetMarkerSize(1.2);
0121    
0122    TH1F *Graph_RAA_pi25 = new TH1F("Graph_RAA_pi25","Graph",100,1.125,52.125);
0123    Graph_RAA_pi25->SetMinimum(0.1616851);
0124    Graph_RAA_pi25->SetMaximum(0.4462641);
0125    Graph_RAA_pi25->SetDirectory(0);
0126    Graph_RAA_pi25->SetLineWidth(2);
0127    Graph_RAA_pi25->SetMarkerStyle(20);
0128    Graph_RAA_pi25->SetMarkerSize(1.2);
0129    Graph_RAA_pi25->GetXaxis()->SetLabelFont(42);
0130    Graph_RAA_pi25->GetXaxis()->SetLabelSize(0.05);
0131    Graph_RAA_pi25->GetXaxis()->SetTitleSize(0.05);
0132    Graph_RAA_pi25->GetXaxis()->SetTitleOffset(1.4);
0133    Graph_RAA_pi25->GetXaxis()->SetTitleFont(42);
0134    Graph_RAA_pi25->GetYaxis()->SetLabelFont(42);
0135    Graph_RAA_pi25->GetYaxis()->SetLabelSize(0.05);
0136    Graph_RAA_pi25->GetYaxis()->SetTitleSize(0.05);
0137    Graph_RAA_pi25->GetYaxis()->SetTitleOffset(1.4);
0138    Graph_RAA_pi25->GetYaxis()->SetTitleFont(42);
0139    Graph_RAA_pi25->GetZaxis()->SetLabelFont(42);
0140    Graph_RAA_pi25->GetZaxis()->SetLabelSize(0.05);
0141    Graph_RAA_pi25->GetZaxis()->SetTitleSize(0.05);
0142    Graph_RAA_pi25->GetZaxis()->SetTitleOffset(1);
0143    Graph_RAA_pi25->GetZaxis()->SetTitleFont(42);
0144    graph->SetHistogram(Graph_RAA_pi25);
0145    
0146    graph->Draw("");
0147    
0148    Double_t RAA_B_fx26[23] = {
0149    0.25,
0150    0.75,
0151    1.25,
0152    1.75,
0153    2.25,
0154    2.75,
0155    3.25,
0156    3.75,
0157    4.25,
0158    4.75,
0159    5.25,
0160    6.25,
0161    7.25,
0162    8.25,
0163    9.25,
0164    12.5,
0165    17.5,
0166    22.5,
0167    27.5,
0168    32.5,
0169    37.5,
0170    42.5,
0171    47.5};
0172    Double_t RAA_B_fy26[23] = {
0173    0.7919363,
0174    0.8851137,
0175    0.9790749,
0176    1.034256,
0177    1.085165,
0178    1.075569,
0179    1.047355,
0180    0.9999001,
0181    0.9357845,
0182    0.8760597,
0183    0.8136347,
0184    0.7157307,
0185    0.6335103,
0186    0.5680183,
0187    0.5241536,
0188    0.4155918,
0189    0.3573316,
0190    0.3401377,
0191    0.3305569,
0192    0.3272414,
0193    0.3282991,
0194    0.332189,
0195    0.337686};
0196    graph = new TGraph(23,RAA_B_fx26,RAA_B_fy26);
0197    graph->SetName("RAA_B");
0198    graph->SetTitle("Graph");
0199 
0200    ci = TColor::GetColor("#3333ff");
0201    graph->SetLineColor(ci);
0202    graph->SetLineWidth(2);
0203    graph->SetMarkerStyle(20);
0204    graph->SetMarkerSize(1.2);
0205    
0206    TH1F *Graph_RAA_B26 = new TH1F("Graph_RAA_B26","Graph",100,0.225,52.225);
0207    Graph_RAA_B26->SetMinimum(0.2514491);
0208    Graph_RAA_B26->SetMaximum(1.160957);
0209    Graph_RAA_B26->SetDirectory(0);
0210    Graph_RAA_B26->SetLineWidth(2);
0211    Graph_RAA_B26->SetMarkerStyle(20);
0212    Graph_RAA_B26->SetMarkerSize(1.2);
0213    Graph_RAA_B26->GetXaxis()->SetLabelFont(42);
0214    Graph_RAA_B26->GetXaxis()->SetLabelSize(0.05);
0215    Graph_RAA_B26->GetXaxis()->SetTitleSize(0.05);
0216    Graph_RAA_B26->GetXaxis()->SetTitleOffset(1.4);
0217    Graph_RAA_B26->GetXaxis()->SetTitleFont(42);
0218    Graph_RAA_B26->GetYaxis()->SetLabelFont(42);
0219    Graph_RAA_B26->GetYaxis()->SetLabelSize(0.05);
0220    Graph_RAA_B26->GetYaxis()->SetTitleSize(0.05);
0221    Graph_RAA_B26->GetYaxis()->SetTitleOffset(1.4);
0222    Graph_RAA_B26->GetYaxis()->SetTitleFont(42);
0223    Graph_RAA_B26->GetZaxis()->SetLabelFont(42);
0224    Graph_RAA_B26->GetZaxis()->SetLabelSize(0.05);
0225    Graph_RAA_B26->GetZaxis()->SetTitleSize(0.05);
0226    Graph_RAA_B26->GetZaxis()->SetTitleOffset(1);
0227    Graph_RAA_B26->GetZaxis()->SetTitleFont(42);
0228    graph->SetHistogram(Graph_RAA_B26);
0229    
0230    graph->Draw("");
0231    
0232    Double_t RAA_D_fx27[23] = {
0233    0.25,
0234    0.75,
0235    1.25,
0236    1.75,
0237    2.25,
0238    2.75,
0239    3.25,
0240    3.75,
0241    4.25,
0242    4.75,
0243    5.25,
0244    6.25,
0245    7.25,
0246    8.25,
0247    9.25,
0248    12.5,
0249    17.5,
0250    22.5,
0251    27.5,
0252    32.5,
0253    37.5,
0254    42.5,
0255    47.5};
0256    Double_t RAA_D_fy27[23] = {
0257    0.5375912,
0258    0.7987257,
0259    1.078158,
0260    1.162469,
0261    1.098154,
0262    0.8777246,
0263    0.6481578,
0264    0.5014529,
0265    0.3921144,
0266    0.3353954,
0267    0.3012415,
0268    0.2515049,
0269    0.2276756,
0270    0.2284476,
0271    0.2313802,
0272    0.2505994,
0273    0.2746772,
0274    0.2927324,
0275    0.306397,
0276    0.3169513,
0277    0.3253756,
0278    0.3323967,
0279    0.3385319};
0280    graph = new TGraph(23,RAA_D_fx27,RAA_D_fy27);
0281    graph->SetName("RAA_D");
0282    graph->SetTitle("Graph");
0283 
0284    ci = TColor::GetColor("#000000");
0285    graph->SetLineColor(ci);
0286    graph->SetLineStyle(2);
0287    graph->SetLineWidth(2);
0288    graph->SetMarkerStyle(20);
0289    graph->SetMarkerSize(1.2);
0290    
0291    TH1F *Graph_RAA_D27 = new TH1F("Graph_RAA_D27","Graph",100,0.225,52.225);
0292    Graph_RAA_D27->SetMinimum(0.1341963);
0293    Graph_RAA_D27->SetMaximum(1.255948);
0294    Graph_RAA_D27->SetDirectory(0);
0295    Graph_RAA_D27->SetLineWidth(2);
0296    Graph_RAA_D27->SetMarkerStyle(20);
0297    Graph_RAA_D27->SetMarkerSize(1.2);
0298    Graph_RAA_D27->GetXaxis()->SetLabelFont(42);
0299    Graph_RAA_D27->GetXaxis()->SetLabelSize(0.05);
0300    Graph_RAA_D27->GetXaxis()->SetTitleSize(0.05);
0301    Graph_RAA_D27->GetXaxis()->SetTitleOffset(1.4);
0302    Graph_RAA_D27->GetXaxis()->SetTitleFont(42);
0303    Graph_RAA_D27->GetYaxis()->SetLabelFont(42);
0304    Graph_RAA_D27->GetYaxis()->SetLabelSize(0.05);
0305    Graph_RAA_D27->GetYaxis()->SetTitleSize(0.05);
0306    Graph_RAA_D27->GetYaxis()->SetTitleOffset(1.4);
0307    Graph_RAA_D27->GetYaxis()->SetTitleFont(42);
0308    Graph_RAA_D27->GetZaxis()->SetLabelFont(42);
0309    Graph_RAA_D27->GetZaxis()->SetLabelSize(0.05);
0310    Graph_RAA_D27->GetZaxis()->SetTitleSize(0.05);
0311    Graph_RAA_D27->GetZaxis()->SetTitleOffset(1);
0312    Graph_RAA_D27->GetZaxis()->SetTitleFont(42);
0313    graph->SetHistogram(Graph_RAA_D27);
0314    
0315    graph->Draw("");
0316    
0317    Double_t RAA_D0_B_fx28[27] = {
0318    0.25,
0319    0.75,
0320    1.25,
0321    1.75,
0322    2.25,
0323    2.75,
0324    3.25,
0325    3.75,
0326    4.25,
0327    4.75,
0328    5.25,
0329    5.75,
0330    6.25,
0331    6.75,
0332    7.25,
0333    7.75,
0334    8.25,
0335    8.75,
0336    9.25,
0337    9.75,
0338    10.5,
0339    11.5,
0340    12.5,
0341    13.5,
0342    14.5,
0343    15.5,
0344    30};
0345    Double_t RAA_D0_B_fy28[27] = {
0346    0.9838097,
0347    1.002943,
0348    0.9880626,
0349    0.9700977,
0350    0.9535339,
0351    0.9354688,
0352    0.885242,
0353    0.8401878,
0354    0.7672503,
0355    0.7206252,
0356    0.6574549,
0357    0.621044,
0358    0.5733797,
0359    0.5464847,
0360    0.5120443,
0361    0.4925487,
0362    0.4675513,
0363    0.453502,
0364    0.4338281,
0365    0.4226899,
0366    0.4031777,
0367    0.3852578,
0368    0.3725463,
0369    0.3635795,
0370    0.3550752,
0371    0.3492906,
0372    0.3288992};
0373    graph = new TGraph(27,RAA_D0_B_fx28,RAA_D0_B_fy28);
0374    graph->SetName("RAA_D0_B");
0375    graph->SetTitle("Graph");
0376 
0377    ci = TColor::GetColor("#0000cc");
0378    graph->SetLineColor(ci);
0379    graph->SetLineStyle(2);
0380    graph->SetLineWidth(2);
0381    graph->SetMarkerStyle(20);
0382    graph->SetMarkerSize(1.2);
0383    
0384    TH1F *Graph_RAA_D0_B28 = new TH1F("Graph_RAA_D0_B28","Graph",100,0,32.975);
0385    Graph_RAA_D0_B28->SetMinimum(0.2614948);
0386    Graph_RAA_D0_B28->SetMaximum(1.070347);
0387    Graph_RAA_D0_B28->SetDirectory(0);
0388    Graph_RAA_D0_B28->SetLineWidth(2);
0389    Graph_RAA_D0_B28->SetMarkerStyle(20);
0390    Graph_RAA_D0_B28->SetMarkerSize(1.2);
0391    Graph_RAA_D0_B28->GetXaxis()->SetLabelFont(42);
0392    Graph_RAA_D0_B28->GetXaxis()->SetLabelSize(0.05);
0393    Graph_RAA_D0_B28->GetXaxis()->SetTitleSize(0.05);
0394    Graph_RAA_D0_B28->GetXaxis()->SetTitleOffset(1.4);
0395    Graph_RAA_D0_B28->GetXaxis()->SetTitleFont(42);
0396    Graph_RAA_D0_B28->GetYaxis()->SetLabelFont(42);
0397    Graph_RAA_D0_B28->GetYaxis()->SetLabelSize(0.05);
0398    Graph_RAA_D0_B28->GetYaxis()->SetTitleSize(0.05);
0399    Graph_RAA_D0_B28->GetYaxis()->SetTitleOffset(1.4);
0400    Graph_RAA_D0_B28->GetYaxis()->SetTitleFont(42);
0401    Graph_RAA_D0_B28->GetZaxis()->SetLabelFont(42);
0402    Graph_RAA_D0_B28->GetZaxis()->SetLabelSize(0.05);
0403    Graph_RAA_D0_B28->GetZaxis()->SetTitleSize(0.05);
0404    Graph_RAA_D0_B28->GetZaxis()->SetTitleOffset(1);
0405    Graph_RAA_D0_B28->GetZaxis()->SetTitleFont(42);
0406    graph->SetHistogram(Graph_RAA_D0_B28);
0407    
0408    graph->Draw("");
0409    
0410    Double_t Graph0_fx1001[20] = {
0411    0.25,
0412    0.75,
0413    1.25,
0414    1.75,
0415    2.25,
0416    2.75,
0417    3.25,
0418    3.75,
0419    4.25,
0420    4.75,
0421    5.25,
0422    5.75,
0423    6.25,
0424    6.75,
0425    7.25,
0426    7.75,
0427    8.25,
0428    8.75,
0429    9.25,
0430    9.75};
0431    Double_t Graph0_fy1001[20] = {
0432    0.5375912,
0433    0.7987257,
0434    1.078158,
0435    1.162469,
0436    1.098154,
0437    0.8777246,
0438    0.6481578,
0439    0.5014529,
0440    0.3921144,
0441    0.3353954,
0442    0.3012415,
0443    0.2763732,
0444    0.2515049,
0445    0.2395902,
0446    0.2276756,
0447    0.2280616,
0448    0.2284476,
0449    0.2299139,
0450    0.2313802,
0451    0.234337};
0452    Double_t Graph0_fex1001[20] = {
0453    0,
0454    0,
0455    0,
0456    0,
0457    0,
0458    0,
0459    0,
0460    0,
0461    0,
0462    0,
0463    0,
0464    0,
0465    0,
0466    0,
0467    0,
0468    0,
0469    0,
0470    0,
0471    0,
0472    0};
0473    Double_t Graph0_fey1001[20] = {
0474    0.004402939,
0475    0.004239807,
0476    0.003898691,
0477    0.00386979,
0478    0.003895942,
0479    0.00363414,
0480    0.002995177,
0481    0.002951778,
0482    0.003009618,
0483    0.00341761,
0484    0.003906693,
0485    0.004637783,
0486    0.005466189,
0487    0.006724237,
0488    0.007231593,
0489    0.009384692,
0490    0.0120616,
0491    0.01549817,
0492    0.01971241,
0493    0.02507147};
0494    TGraphErrors *gre = new TGraphErrors(20,Graph0_fx1001,Graph0_fy1001,Graph0_fex1001,Graph0_fey1001);
0495    gre->SetName("Graph0");
0496    gre->SetTitle("Graph");
0497    gre->SetFillStyle(1000);
0498 
0499    ci = TColor::GetColor("#000000");
0500    gre->SetLineColor(ci);
0501    gre->SetLineWidth(4);
0502 
0503    ci = TColor::GetColor("#000000");
0504    gre->SetMarkerColor(ci);
0505    gre->SetMarkerStyle(20);
0506    gre->SetMarkerSize(2);
0507    
0508    TH1F *Graph_Graph01001 = new TH1F("Graph_Graph01001","Graph",100,0,10.7);
0509    Graph_Graph01001->SetMinimum(0.1135582);
0510    Graph_Graph01001->SetMaximum(1.262046);
0511    Graph_Graph01001->SetDirectory(0);
0512    Graph_Graph01001->SetStats(0);
0513    Graph_Graph01001->SetLineWidth(2);
0514    Graph_Graph01001->SetMarkerStyle(20);
0515    Graph_Graph01001->SetMarkerSize(1.2);
0516    Graph_Graph01001->GetXaxis()->SetLabelFont(42);
0517    Graph_Graph01001->GetXaxis()->SetLabelSize(0.05);
0518    Graph_Graph01001->GetXaxis()->SetTitleSize(0.05);
0519    Graph_Graph01001->GetXaxis()->SetTitleOffset(1.4);
0520    Graph_Graph01001->GetXaxis()->SetTitleFont(42);
0521    Graph_Graph01001->GetYaxis()->SetLabelFont(42);
0522    Graph_Graph01001->GetYaxis()->SetLabelSize(0.05);
0523    Graph_Graph01001->GetYaxis()->SetTitleSize(0.05);
0524    Graph_Graph01001->GetYaxis()->SetTitleOffset(1.4);
0525    Graph_Graph01001->GetYaxis()->SetTitleFont(42);
0526    Graph_Graph01001->GetZaxis()->SetLabelFont(42);
0527    Graph_Graph01001->GetZaxis()->SetLabelSize(0.05);
0528    Graph_Graph01001->GetZaxis()->SetTitleSize(0.05);
0529    Graph_Graph01001->GetZaxis()->SetTitleOffset(1);
0530    Graph_Graph01001->GetZaxis()->SetTitleFont(42);
0531    gre->SetHistogram(Graph_Graph01001);
0532    
0533    gre->Draw("p");
0534    
0535    Double_t Graph1_fx1002[8] = {
0536    2.5,
0537    3.5,
0538    4.5,
0539    5.5,
0540    6.5,
0541    7.5,
0542    8.5,
0543    9.5};
0544    Double_t Graph1_fy1002[8] = {
0545    0.9445014,
0546    0.8627149,
0547    0.7439378,
0548    0.6392494,
0549    0.5599322,
0550    0.5022965,
0551    0.4605267,
0552    0.428259};
0553    Double_t Graph1_fex1002[8] = {
0554    0,
0555    0,
0556    0,
0557    0,
0558    0,
0559    0,
0560    0,
0561    0};
0562    Double_t Graph1_fey1002[8] = {
0563    0.07359554,
0564    0.05559087,
0565    0.04919221,
0566    0.05251078,
0567    0.06078421,
0568    0.08041788,
0569    0.09652157,
0570    0.1194139};
0571    gre = new TGraphErrors(8,Graph1_fx1002,Graph1_fy1002,Graph1_fex1002,Graph1_fey1002);
0572    gre->SetName("Graph1");
0573    gre->SetTitle("Graph");
0574    gre->SetFillStyle(1000);
0575 
0576    ci = TColor::GetColor("#000099");
0577    gre->SetLineColor(ci);
0578    gre->SetLineWidth(4);
0579 
0580    ci = TColor::GetColor("#0000cc");
0581    gre->SetMarkerColor(ci);
0582    gre->SetMarkerStyle(21);
0583    gre->SetMarkerSize(2);
0584    
0585    TH1F *Graph_Graph11002 = new TH1F("Graph_Graph11002","Graph",100,1.8,10.2);
0586    Graph_Graph11002->SetMinimum(0.2379199);
0587    Graph_Graph11002->SetMaximum(1.089022);
0588    Graph_Graph11002->SetDirectory(0);
0589    Graph_Graph11002->SetStats(0);
0590    Graph_Graph11002->SetLineWidth(2);
0591    Graph_Graph11002->SetMarkerStyle(20);
0592    Graph_Graph11002->SetMarkerSize(1.2);
0593    Graph_Graph11002->GetXaxis()->SetLabelFont(42);
0594    Graph_Graph11002->GetXaxis()->SetLabelSize(0.05);
0595    Graph_Graph11002->GetXaxis()->SetTitleSize(0.05);
0596    Graph_Graph11002->GetXaxis()->SetTitleOffset(1.4);
0597    Graph_Graph11002->GetXaxis()->SetTitleFont(42);
0598    Graph_Graph11002->GetYaxis()->SetLabelFont(42);
0599    Graph_Graph11002->GetYaxis()->SetLabelSize(0.05);
0600    Graph_Graph11002->GetYaxis()->SetTitleSize(0.05);
0601    Graph_Graph11002->GetYaxis()->SetTitleOffset(1.4);
0602    Graph_Graph11002->GetYaxis()->SetTitleFont(42);
0603    Graph_Graph11002->GetZaxis()->SetLabelFont(42);
0604    Graph_Graph11002->GetZaxis()->SetLabelSize(0.05);
0605    Graph_Graph11002->GetZaxis()->SetTitleSize(0.05);
0606    Graph_Graph11002->GetZaxis()->SetTitleOffset(1);
0607    Graph_Graph11002->GetZaxis()->SetTitleFont(42);
0608    gre->SetHistogram(Graph_Graph11002);
0609    
0610    gre->Draw("p");
0611    
0612    TLegend *leg = new TLegend(0,0.78,0.85,0.9,NULL,"brNDC");
0613    leg->SetBorderSize(0);
0614    leg->SetLineColor(1);
0615    leg->SetLineStyle(1);
0616    leg->SetLineWidth(1);
0617    leg->SetFillColor(0);
0618    leg->SetFillStyle(0);
0619    TLegendEntry *entry=leg->AddEntry("NULL","#it{#bf{sPHENIX}} Projection, 0-10% Au+Au, Years 1-3","");
0620    entry->SetLineColor(1);
0621    entry->SetLineStyle(1);
0622    entry->SetLineWidth(1);
0623    entry->SetMarkerColor(1);
0624    entry->SetMarkerStyle(21);
0625    entry->SetMarkerSize(1);
0626    entry->SetTextFont(42);
0627    entry=leg->AddEntry("NULL","6.2 pb^{-1} str. #it{p}+#it{p}, 21 nb^{-1} rec. Au+Au","");
0628    entry->SetLineColor(1);
0629    entry->SetLineStyle(1);
0630    entry->SetLineWidth(1);
0631    entry->SetMarkerColor(1);
0632    entry->SetMarkerStyle(21);
0633    entry->SetMarkerSize(1);
0634    entry->SetTextFont(42);
0635    leg->Draw();
0636    
0637    leg = new TLegend(0.65,0.52,0.9,0.77,NULL,"brNDC");
0638    leg->SetBorderSize(0);
0639    leg->SetLineColor(1);
0640    leg->SetLineStyle(1);
0641    leg->SetLineWidth(1);
0642    leg->SetFillColor(0);
0643    leg->SetFillStyle(0);
0644    entry=leg->AddEntry("RAA_B","#it{B}-meson","l");
0645 
0646    ci = TColor::GetColor("#3333ff");
0647    entry->SetLineColor(ci);
0648    entry->SetLineStyle(1);
0649    entry->SetLineWidth(2);
0650    entry->SetMarkerColor(1);
0651    entry->SetMarkerStyle(21);
0652    entry->SetMarkerSize(1);
0653    entry->SetTextFont(42);
0654    entry=leg->AddEntry("Graph","#it{B}#rightarrow#it{D}^{0}","lp");
0655 
0656    ci = TColor::GetColor("#000099");
0657    entry->SetLineColor(ci);
0658    entry->SetLineStyle(1);
0659    entry->SetLineWidth(4);
0660 
0661    ci = TColor::GetColor("#0000cc");
0662    entry->SetMarkerColor(ci);
0663    entry->SetMarkerStyle(21);
0664    entry->SetMarkerSize(2);
0665    entry->SetTextFont(42);
0666    entry=leg->AddEntry("Graph","Prompt #it{D}^{0}","lp");
0667 
0668    ci = TColor::GetColor("#000000");
0669    entry->SetLineColor(ci);
0670    entry->SetLineStyle(1);
0671    entry->SetLineWidth(4);
0672 
0673    ci = TColor::GetColor("#000000");
0674    entry->SetMarkerColor(ci);
0675    entry->SetMarkerStyle(20);
0676    entry->SetMarkerSize(2);
0677    entry->SetTextFont(42);
0678    entry=leg->AddEntry("RAA_pi","#pi","l");
0679 
0680    ci = TColor::GetColor("#009900");
0681    entry->SetLineColor(ci);
0682    entry->SetLineStyle(1);
0683    entry->SetLineWidth(2);
0684    entry->SetMarkerColor(1);
0685    entry->SetMarkerStyle(21);
0686    entry->SetMarkerSize(1);
0687    entry->SetTextFont(42);
0688    leg->Draw();
0689    D0_BUP2020_AuAu_RAA_3yr_1->Modified();
0690    D0_BUP2020_AuAu_RAA_3yr->cd();
0691    D0_BUP2020_AuAu_RAA_3yr->Modified();
0692    D0_BUP2020_AuAu_RAA_3yr->cd();
0693    D0_BUP2020_AuAu_RAA_3yr->SetSelected(D0_BUP2020_AuAu_RAA_3yr);
0694 }