Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 void D0_BUP2020_AuAu_v1_5y_compare()
0002 {
0003 //=========Macro generated from canvas: D0_BUP2020_AuAu_v1_5y_compare/D0_BUP2020_AuAu_v1_5y_compare
0004 //=========  (Thu Aug 27 18:01:29 2020) by ROOT version 6.16/00
0005    TCanvas *D0_BUP2020_AuAu_v1_5y_compare = new TCanvas("D0_BUP2020_AuAu_v1_5y_compare", "D0_BUP2020_AuAu_v1_5y_compare",52,585,1100,800);
0006    gStyle->SetOptStat(0);
0007    gStyle->SetOptTitle(0);
0008    D0_BUP2020_AuAu_v1_5y_compare->Range(0,0,1,1);
0009    D0_BUP2020_AuAu_v1_5y_compare->SetFillColor(0);
0010    D0_BUP2020_AuAu_v1_5y_compare->SetBorderMode(0);
0011    D0_BUP2020_AuAu_v1_5y_compare->SetBorderSize(2);
0012    D0_BUP2020_AuAu_v1_5y_compare->SetTickx(1);
0013    D0_BUP2020_AuAu_v1_5y_compare->SetTicky(1);
0014    D0_BUP2020_AuAu_v1_5y_compare->SetLeftMargin(0.16);
0015    D0_BUP2020_AuAu_v1_5y_compare->SetRightMargin(0.05);
0016    D0_BUP2020_AuAu_v1_5y_compare->SetTopMargin(0.05);
0017    D0_BUP2020_AuAu_v1_5y_compare->SetBottomMargin(0.16);
0018    D0_BUP2020_AuAu_v1_5y_compare->SetFrameBorderMode(0);
0019   
0020 // ------------>Primitives in pad: D0_BUP2020_AuAu_v1_5y_compare_1
0021    TPad *D0_BUP2020_AuAu_v1_5y_compare_1 = new TPad("D0_BUP2020_AuAu_v1_5y_compare_1", "D0_BUP2020_AuAu_v1_5y_compare_1",0.01,0.01,0.99,0.99);
0022    D0_BUP2020_AuAu_v1_5y_compare_1->Draw();
0023    D0_BUP2020_AuAu_v1_5y_compare_1->cd();
0024    D0_BUP2020_AuAu_v1_5y_compare_1->Range(-1.686076,-0.1405063,1.351899,0.1126582);
0025    D0_BUP2020_AuAu_v1_5y_compare_1->SetFillColor(0);
0026    D0_BUP2020_AuAu_v1_5y_compare_1->SetBorderMode(0);
0027    D0_BUP2020_AuAu_v1_5y_compare_1->SetBorderSize(2);
0028    D0_BUP2020_AuAu_v1_5y_compare_1->SetTickx(1);
0029    D0_BUP2020_AuAu_v1_5y_compare_1->SetTicky(1);
0030    D0_BUP2020_AuAu_v1_5y_compare_1->SetLeftMargin(0.16);
0031    D0_BUP2020_AuAu_v1_5y_compare_1->SetRightMargin(0.05);
0032    D0_BUP2020_AuAu_v1_5y_compare_1->SetTopMargin(0.05);
0033    D0_BUP2020_AuAu_v1_5y_compare_1->SetBottomMargin(0.16);
0034    D0_BUP2020_AuAu_v1_5y_compare_1->SetFrameBorderMode(0);
0035    D0_BUP2020_AuAu_v1_5y_compare_1->SetFrameBorderMode(0);
0036    
0037    TH1D *d0__1 = new TH1D("d0__1","",1,-1.2,1.2);
0038    d0__1->SetMinimum(-0.1);
0039    d0__1->SetMaximum(0.1);
0040    d0__1->SetStats(0);
0041    d0__1->SetLineWidth(2);
0042    d0__1->SetMarkerStyle(20);
0043    d0__1->SetMarkerSize(1.2);
0044    d0__1->GetXaxis()->SetTitle("Rapidity");
0045    d0__1->GetXaxis()->SetLabelFont(42);
0046    d0__1->GetXaxis()->SetLabelSize(0.05);
0047    d0__1->GetXaxis()->SetTitleSize(0.05);
0048    d0__1->GetXaxis()->SetTitleOffset(1.4);
0049    d0__1->GetXaxis()->SetTitleFont(42);
0050    d0__1->GetYaxis()->SetTitle("v_{1}");
0051    d0__1->GetYaxis()->SetLabelFont(42);
0052    d0__1->GetYaxis()->SetLabelSize(0.05);
0053    d0__1->GetYaxis()->SetTitleSize(0.05);
0054    d0__1->GetYaxis()->SetTitleOffset(1.4);
0055    d0__1->GetYaxis()->SetTitleFont(42);
0056    d0__1->GetZaxis()->SetLabelFont(42);
0057    d0__1->GetZaxis()->SetLabelSize(0.05);
0058    d0__1->GetZaxis()->SetTitleSize(0.05);
0059    d0__1->GetZaxis()->SetTitleOffset(1);
0060    d0__1->GetZaxis()->SetTitleFont(42);
0061    d0__1->Draw("c");
0062    TLine *line = new TLine(-1.2,0,1.2,0);
0063    line->Draw();
0064    
0065    Double_t Graph0_fx1001[4] = {
0066    -0.62,
0067    -0.22,
0068    0.18,
0069    0.58};
0070    Double_t Graph0_fy1001[4] = {
0071    0.067,
0072    0.029,
0073    -0.032,
0074    -0.029};
0075    Double_t Graph0_fex1001[4] = {
0076    0,
0077    0,
0078    0,
0079    0};
0080    Double_t Graph0_fey1001[4] = {
0081    0.024,
0082    0.02,
0083    0.018,
0084    0.021};
0085    TGraphErrors *gre = new TGraphErrors(4,Graph0_fx1001,Graph0_fy1001,Graph0_fex1001,Graph0_fey1001);
0086    gre->SetName("Graph0");
0087    gre->SetTitle("Graph");
0088    gre->SetFillStyle(1000);
0089 
0090    Int_t ci;      // for color index setting
0091    TColor *color; // for color definition with alpha
0092    ci = TColor::GetColor("#cc6666");
0093    gre->SetLineColor(ci);
0094    gre->SetLineWidth(4);
0095 
0096    ci = TColor::GetColor("#cc6666");
0097    gre->SetMarkerColor(ci);
0098    gre->SetMarkerStyle(29);
0099    gre->SetMarkerSize(2);
0100    
0101    TH1F *Graph_Graph01001 = new TH1F("Graph_Graph01001","Graph",100,-0.74,0.7);
0102    Graph_Graph01001->SetMinimum(-0.0641);
0103    Graph_Graph01001->SetMaximum(0.1051);
0104    Graph_Graph01001->SetDirectory(0);
0105    Graph_Graph01001->SetStats(0);
0106    Graph_Graph01001->SetLineWidth(2);
0107    Graph_Graph01001->SetMarkerStyle(20);
0108    Graph_Graph01001->SetMarkerSize(1.2);
0109    Graph_Graph01001->GetXaxis()->SetLabelFont(42);
0110    Graph_Graph01001->GetXaxis()->SetLabelSize(0.05);
0111    Graph_Graph01001->GetXaxis()->SetTitleSize(0.05);
0112    Graph_Graph01001->GetXaxis()->SetTitleOffset(1.4);
0113    Graph_Graph01001->GetXaxis()->SetTitleFont(42);
0114    Graph_Graph01001->GetYaxis()->SetLabelFont(42);
0115    Graph_Graph01001->GetYaxis()->SetLabelSize(0.05);
0116    Graph_Graph01001->GetYaxis()->SetTitleSize(0.05);
0117    Graph_Graph01001->GetYaxis()->SetTitleOffset(1.4);
0118    Graph_Graph01001->GetYaxis()->SetTitleFont(42);
0119    Graph_Graph01001->GetZaxis()->SetLabelFont(42);
0120    Graph_Graph01001->GetZaxis()->SetLabelSize(0.05);
0121    Graph_Graph01001->GetZaxis()->SetTitleSize(0.05);
0122    Graph_Graph01001->GetZaxis()->SetTitleOffset(1);
0123    Graph_Graph01001->GetZaxis()->SetTitleFont(42);
0124    gre->SetHistogram(Graph_Graph01001);
0125    
0126    gre->Draw("p");
0127    
0128    Double_t Graph1_fx1002[4] = {
0129    -0.58,
0130    -0.18,
0131    0.22,
0132    0.62};
0133    Double_t Graph1_fy1002[4] = {
0134    0.07,
0135    0.008,
0136    -0.029,
0137    -0.022};
0138    Double_t Graph1_fex1002[4] = {
0139    0,
0140    0,
0141    0,
0142    0};
0143    Double_t Graph1_fey1002[4] = {
0144    0.024,
0145    0.019,
0146    0.018,
0147    0.02};
0148    gre = new TGraphErrors(4,Graph1_fx1002,Graph1_fy1002,Graph1_fex1002,Graph1_fey1002);
0149    gre->SetName("Graph1");
0150    gre->SetTitle("Graph");
0151    gre->SetFillStyle(1000);
0152 
0153    ci = TColor::GetColor("#cc6666");
0154    gre->SetLineColor(ci);
0155    gre->SetLineWidth(4);
0156 
0157    ci = TColor::GetColor("#cc6666");
0158    gre->SetMarkerColor(ci);
0159    gre->SetMarkerStyle(30);
0160    gre->SetMarkerSize(2);
0161    
0162    TH1F *Graph_Graph11002 = new TH1F("Graph_Graph11002","Graph",100,-0.7,0.74);
0163    Graph_Graph11002->SetMinimum(-0.0611);
0164    Graph_Graph11002->SetMaximum(0.1081);
0165    Graph_Graph11002->SetDirectory(0);
0166    Graph_Graph11002->SetStats(0);
0167    Graph_Graph11002->SetLineWidth(2);
0168    Graph_Graph11002->SetMarkerStyle(20);
0169    Graph_Graph11002->SetMarkerSize(1.2);
0170    Graph_Graph11002->GetXaxis()->SetLabelFont(42);
0171    Graph_Graph11002->GetXaxis()->SetLabelSize(0.05);
0172    Graph_Graph11002->GetXaxis()->SetTitleSize(0.05);
0173    Graph_Graph11002->GetXaxis()->SetTitleOffset(1.4);
0174    Graph_Graph11002->GetXaxis()->SetTitleFont(42);
0175    Graph_Graph11002->GetYaxis()->SetLabelFont(42);
0176    Graph_Graph11002->GetYaxis()->SetLabelSize(0.05);
0177    Graph_Graph11002->GetYaxis()->SetTitleSize(0.05);
0178    Graph_Graph11002->GetYaxis()->SetTitleOffset(1.4);
0179    Graph_Graph11002->GetYaxis()->SetTitleFont(42);
0180    Graph_Graph11002->GetZaxis()->SetLabelFont(42);
0181    Graph_Graph11002->GetZaxis()->SetLabelSize(0.05);
0182    Graph_Graph11002->GetZaxis()->SetTitleSize(0.05);
0183    Graph_Graph11002->GetZaxis()->SetTitleOffset(1);
0184    Graph_Graph11002->GetZaxis()->SetTitleFont(42);
0185    gre->SetHistogram(Graph_Graph11002);
0186    
0187    gre->Draw("p");
0188    
0189    Double_t Graph2_fx1[8] = {
0190    -0.875,
0191    -0.625,
0192    -0.375,
0193    -0.125,
0194    0.125,
0195    0.375,
0196    0.625,
0197    0.875};
0198    Double_t Graph2_fy1[8] = {
0199    0.03942156,
0200    0.03067408,
0201    0.01988809,
0202    0.008240108,
0203    -0.00452453,
0204    -0.01728107,
0205    -0.03025653,
0206    -0.03917671};
0207    TGraph *graph = new TGraph(8,Graph2_fx1,Graph2_fy1);
0208    graph->SetName("Graph2");
0209    graph->SetTitle("Graph");
0210    graph->SetFillStyle(1000);
0211    graph->SetLineWidth(2);
0212    graph->SetMarkerStyle(20);
0213    graph->SetMarkerSize(2);
0214    
0215    TH1F *Graph_Graph21 = new TH1F("Graph_Graph21","Graph",100,-1.05,1.05);
0216    Graph_Graph21->SetMinimum(-0.04703654);
0217    Graph_Graph21->SetMaximum(0.04728138);
0218    Graph_Graph21->SetDirectory(0);
0219    Graph_Graph21->SetStats(0);
0220    Graph_Graph21->SetLineWidth(2);
0221    Graph_Graph21->SetMarkerStyle(20);
0222    Graph_Graph21->SetMarkerSize(1.2);
0223    Graph_Graph21->GetXaxis()->SetLabelFont(42);
0224    Graph_Graph21->GetXaxis()->SetLabelSize(0.05);
0225    Graph_Graph21->GetXaxis()->SetTitleSize(0.05);
0226    Graph_Graph21->GetXaxis()->SetTitleOffset(1.4);
0227    Graph_Graph21->GetXaxis()->SetTitleFont(42);
0228    Graph_Graph21->GetYaxis()->SetLabelFont(42);
0229    Graph_Graph21->GetYaxis()->SetLabelSize(0.05);
0230    Graph_Graph21->GetYaxis()->SetTitleSize(0.05);
0231    Graph_Graph21->GetYaxis()->SetTitleOffset(1.4);
0232    Graph_Graph21->GetYaxis()->SetTitleFont(42);
0233    Graph_Graph21->GetZaxis()->SetLabelFont(42);
0234    Graph_Graph21->GetZaxis()->SetLabelSize(0.05);
0235    Graph_Graph21->GetZaxis()->SetTitleSize(0.05);
0236    Graph_Graph21->GetZaxis()->SetTitleOffset(1);
0237    Graph_Graph21->GetZaxis()->SetTitleFont(42);
0238    graph->SetHistogram(Graph_Graph21);
0239    
0240    graph->Draw("c");
0241    
0242    Double_t Graph3_fx2[8] = {
0243    -0.875,
0244    -0.625,
0245    -0.375,
0246    -0.125,
0247    0.125,
0248    0.375,
0249    0.625,
0250    0.875};
0251    Double_t Graph3_fy2[8] = {
0252    0.02645328,
0253    0.02204966,
0254    0.01529134,
0255    0.006949292,
0256    -0.00231199,
0257    -0.01082532,
0258    -0.0186751,
0259    -0.02261987};
0260    graph = new TGraph(8,Graph3_fx2,Graph3_fy2);
0261    graph->SetName("Graph3");
0262    graph->SetTitle("Graph");
0263    graph->SetFillStyle(1000);
0264    graph->SetLineColor(4);
0265    graph->SetLineWidth(2);
0266    graph->SetMarkerColor(4);
0267    graph->SetMarkerStyle(24);
0268    graph->SetMarkerSize(2);
0269    
0270    TH1F *Graph_Graph32 = new TH1F("Graph_Graph32","Graph",100,-1.05,1.05);
0271    Graph_Graph32->SetMinimum(-0.02752718);
0272    Graph_Graph32->SetMaximum(0.03136059);
0273    Graph_Graph32->SetDirectory(0);
0274    Graph_Graph32->SetStats(0);
0275    Graph_Graph32->SetLineWidth(2);
0276    Graph_Graph32->SetMarkerStyle(20);
0277    Graph_Graph32->SetMarkerSize(1.2);
0278    Graph_Graph32->GetXaxis()->SetLabelFont(42);
0279    Graph_Graph32->GetXaxis()->SetLabelSize(0.05);
0280    Graph_Graph32->GetXaxis()->SetTitleSize(0.05);
0281    Graph_Graph32->GetXaxis()->SetTitleOffset(1.4);
0282    Graph_Graph32->GetXaxis()->SetTitleFont(42);
0283    Graph_Graph32->GetYaxis()->SetLabelFont(42);
0284    Graph_Graph32->GetYaxis()->SetLabelSize(0.05);
0285    Graph_Graph32->GetYaxis()->SetTitleSize(0.05);
0286    Graph_Graph32->GetYaxis()->SetTitleOffset(1.4);
0287    Graph_Graph32->GetYaxis()->SetTitleFont(42);
0288    Graph_Graph32->GetZaxis()->SetLabelFont(42);
0289    Graph_Graph32->GetZaxis()->SetLabelSize(0.05);
0290    Graph_Graph32->GetZaxis()->SetTitleSize(0.05);
0291    Graph_Graph32->GetZaxis()->SetTitleOffset(1);
0292    Graph_Graph32->GetZaxis()->SetTitleFont(42);
0293    graph->SetHistogram(Graph_Graph32);
0294    
0295    graph->Draw("c");
0296    
0297    Double_t Graph4_fx1003[4] = {
0298    -0.825,
0299    -0.575,
0300    -0.325,
0301    -0.075};
0302    Double_t Graph4_fy1003[4] = {
0303    0.03942156,
0304    0.03067408,
0305    0.01988809,
0306    0.008240108};
0307    Double_t Graph4_fex1003[4] = {
0308    0,
0309    0,
0310    0,
0311    0};
0312    Double_t Graph4_fey1003[4] = {
0313    0.005125373,
0314    0.005127926,
0315    0.005130196,
0316    0.005131559};
0317    gre = new TGraphErrors(4,Graph4_fx1003,Graph4_fy1003,Graph4_fex1003,Graph4_fey1003);
0318    gre->SetName("Graph4");
0319    gre->SetTitle("Graph");
0320    gre->SetFillStyle(1000);
0321 
0322    ci = TColor::GetColor("#666666");
0323    gre->SetLineColor(ci);
0324    gre->SetLineWidth(4);
0325 
0326    ci = TColor::GetColor("#666666");
0327    gre->SetMarkerColor(ci);
0328    gre->SetMarkerStyle(24);
0329    gre->SetMarkerSize(2);
0330    
0331    TH1F *Graph_Graph41003 = new TH1F("Graph_Graph41003","Graph",100,-0.9,0);
0332    Graph_Graph41003->SetMinimum(0.002797694);
0333    Graph_Graph41003->SetMaximum(0.04869077);
0334    Graph_Graph41003->SetDirectory(0);
0335    Graph_Graph41003->SetStats(0);
0336    Graph_Graph41003->SetLineWidth(2);
0337    Graph_Graph41003->SetMarkerStyle(20);
0338    Graph_Graph41003->SetMarkerSize(1.2);
0339    Graph_Graph41003->GetXaxis()->SetLabelFont(42);
0340    Graph_Graph41003->GetXaxis()->SetLabelSize(0.05);
0341    Graph_Graph41003->GetXaxis()->SetTitleSize(0.05);
0342    Graph_Graph41003->GetXaxis()->SetTitleOffset(1.4);
0343    Graph_Graph41003->GetXaxis()->SetTitleFont(42);
0344    Graph_Graph41003->GetYaxis()->SetLabelFont(42);
0345    Graph_Graph41003->GetYaxis()->SetLabelSize(0.05);
0346    Graph_Graph41003->GetYaxis()->SetTitleSize(0.05);
0347    Graph_Graph41003->GetYaxis()->SetTitleOffset(1.4);
0348    Graph_Graph41003->GetYaxis()->SetTitleFont(42);
0349    Graph_Graph41003->GetZaxis()->SetLabelFont(42);
0350    Graph_Graph41003->GetZaxis()->SetLabelSize(0.05);
0351    Graph_Graph41003->GetZaxis()->SetTitleSize(0.05);
0352    Graph_Graph41003->GetZaxis()->SetTitleOffset(1);
0353    Graph_Graph41003->GetZaxis()->SetTitleFont(42);
0354    gre->SetHistogram(Graph_Graph41003);
0355    
0356    gre->Draw("p");
0357    
0358    Double_t Graph5_fx1004[4] = {
0359    -0.825,
0360    -0.575,
0361    -0.325,
0362    -0.075};
0363    Double_t Graph5_fy1004[4] = {
0364    0.02645328,
0365    0.02204966,
0366    0.01529134,
0367    0.006949292};
0368    Double_t Graph5_fex1004[4] = {
0369    0,
0370    0,
0371    0,
0372    0};
0373    Double_t Graph5_fey1004[4] = {
0374    0.00512893,
0375    0.005129819,
0376    0.005130869,
0377    0.005131641};
0378    gre = new TGraphErrors(4,Graph5_fx1004,Graph5_fy1004,Graph5_fex1004,Graph5_fey1004);
0379    gre->SetName("Graph5");
0380    gre->SetTitle("Graph");
0381    gre->SetFillStyle(1000);
0382 
0383    ci = TColor::GetColor("#6666cc");
0384    gre->SetLineColor(ci);
0385    gre->SetLineWidth(4);
0386 
0387    ci = TColor::GetColor("#6666cc");
0388    gre->SetMarkerColor(ci);
0389    gre->SetMarkerStyle(24);
0390    gre->SetMarkerSize(2);
0391    
0392    TH1F *Graph_Graph51004 = new TH1F("Graph_Graph51004","Graph",100,-0.9,0);
0393    Graph_Graph51004->SetMinimum(0.001635886);
0394    Graph_Graph51004->SetMaximum(0.03455866);
0395    Graph_Graph51004->SetDirectory(0);
0396    Graph_Graph51004->SetStats(0);
0397    Graph_Graph51004->SetLineWidth(2);
0398    Graph_Graph51004->SetMarkerStyle(20);
0399    Graph_Graph51004->SetMarkerSize(1.2);
0400    Graph_Graph51004->GetXaxis()->SetLabelFont(42);
0401    Graph_Graph51004->GetXaxis()->SetLabelSize(0.05);
0402    Graph_Graph51004->GetXaxis()->SetTitleSize(0.05);
0403    Graph_Graph51004->GetXaxis()->SetTitleOffset(1.4);
0404    Graph_Graph51004->GetXaxis()->SetTitleFont(42);
0405    Graph_Graph51004->GetYaxis()->SetLabelFont(42);
0406    Graph_Graph51004->GetYaxis()->SetLabelSize(0.05);
0407    Graph_Graph51004->GetYaxis()->SetTitleSize(0.05);
0408    Graph_Graph51004->GetYaxis()->SetTitleOffset(1.4);
0409    Graph_Graph51004->GetYaxis()->SetTitleFont(42);
0410    Graph_Graph51004->GetZaxis()->SetLabelFont(42);
0411    Graph_Graph51004->GetZaxis()->SetLabelSize(0.05);
0412    Graph_Graph51004->GetZaxis()->SetTitleSize(0.05);
0413    Graph_Graph51004->GetZaxis()->SetTitleOffset(1);
0414    Graph_Graph51004->GetZaxis()->SetTitleFont(42);
0415    gre->SetHistogram(Graph_Graph51004);
0416    
0417    gre->Draw("p");
0418    
0419    Double_t Graph6_fx1005[4] = {
0420    0.175,
0421    0.425,
0422    0.675,
0423    0.925};
0424    Double_t Graph6_fy1005[4] = {
0425    -0.00452453,
0426    -0.01728107,
0427    -0.03025653,
0428    -0.03917671};
0429    Double_t Graph6_fex1005[4] = {
0430    0,
0431    0,
0432    0,
0433    0};
0434    Double_t Graph6_fey1005[4] = {
0435    0.005131757,
0436    0.005130599,
0437    0.005128032,
0438    0.005125453};
0439    gre = new TGraphErrors(4,Graph6_fx1005,Graph6_fy1005,Graph6_fex1005,Graph6_fey1005);
0440    gre->SetName("Graph6");
0441    gre->SetTitle("Graph");
0442    gre->SetFillStyle(1000);
0443 
0444    ci = TColor::GetColor("#666666");
0445    gre->SetLineColor(ci);
0446    gre->SetLineWidth(4);
0447 
0448    ci = TColor::GetColor("#666666");
0449    gre->SetMarkerColor(ci);
0450    gre->SetMarkerStyle(24);
0451    gre->SetMarkerSize(2);
0452    
0453    TH1F *Graph_Graph61005 = new TH1F("Graph_Graph61005","Graph",100,0.1,1);
0454    Graph_Graph61005->SetMinimum(-0.0487931);
0455    Graph_Graph61005->SetMaximum(0.005098165);
0456    Graph_Graph61005->SetDirectory(0);
0457    Graph_Graph61005->SetStats(0);
0458    Graph_Graph61005->SetLineWidth(2);
0459    Graph_Graph61005->SetMarkerStyle(20);
0460    Graph_Graph61005->SetMarkerSize(1.2);
0461    Graph_Graph61005->GetXaxis()->SetLabelFont(42);
0462    Graph_Graph61005->GetXaxis()->SetLabelSize(0.05);
0463    Graph_Graph61005->GetXaxis()->SetTitleSize(0.05);
0464    Graph_Graph61005->GetXaxis()->SetTitleOffset(1.4);
0465    Graph_Graph61005->GetXaxis()->SetTitleFont(42);
0466    Graph_Graph61005->GetYaxis()->SetLabelFont(42);
0467    Graph_Graph61005->GetYaxis()->SetLabelSize(0.05);
0468    Graph_Graph61005->GetYaxis()->SetTitleSize(0.05);
0469    Graph_Graph61005->GetYaxis()->SetTitleOffset(1.4);
0470    Graph_Graph61005->GetYaxis()->SetTitleFont(42);
0471    Graph_Graph61005->GetZaxis()->SetLabelFont(42);
0472    Graph_Graph61005->GetZaxis()->SetLabelSize(0.05);
0473    Graph_Graph61005->GetZaxis()->SetTitleSize(0.05);
0474    Graph_Graph61005->GetZaxis()->SetTitleOffset(1);
0475    Graph_Graph61005->GetZaxis()->SetTitleFont(42);
0476    gre->SetHistogram(Graph_Graph61005);
0477    
0478    gre->Draw("p");
0479    
0480    Double_t Graph7_fx1006[4] = {
0481    0.175,
0482    0.425,
0483    0.675,
0484    0.925};
0485    Double_t Graph7_fy1006[4] = {
0486    -0.00231199,
0487    -0.01082532,
0488    -0.0186751,
0489    -0.02261987};
0490    Double_t Graph7_fex1006[4] = {
0491    0,
0492    0,
0493    0,
0494    0};
0495    Double_t Graph7_fey1006[4] = {
0496    0.00513182,
0497    0.005131354,
0498    0.005130391,
0499    0.005129713};
0500    gre = new TGraphErrors(4,Graph7_fx1006,Graph7_fy1006,Graph7_fex1006,Graph7_fey1006);
0501    gre->SetName("Graph7");
0502    gre->SetTitle("Graph");
0503    gre->SetFillStyle(1000);
0504 
0505    ci = TColor::GetColor("#6666cc");
0506    gre->SetLineColor(ci);
0507    gre->SetLineWidth(4);
0508 
0509    ci = TColor::GetColor("#6666cc");
0510    gre->SetMarkerColor(ci);
0511    gre->SetMarkerStyle(24);
0512    gre->SetMarkerSize(2);
0513    
0514    TH1F *Graph_Graph71006 = new TH1F("Graph_Graph71006","Graph",100,0.1,1);
0515    Graph_Graph71006->SetMinimum(-0.03080652);
0516    Graph_Graph71006->SetMaximum(0.00587677);
0517    Graph_Graph71006->SetDirectory(0);
0518    Graph_Graph71006->SetStats(0);
0519    Graph_Graph71006->SetLineWidth(2);
0520    Graph_Graph71006->SetMarkerStyle(20);
0521    Graph_Graph71006->SetMarkerSize(1.2);
0522    Graph_Graph71006->GetXaxis()->SetLabelFont(42);
0523    Graph_Graph71006->GetXaxis()->SetLabelSize(0.05);
0524    Graph_Graph71006->GetXaxis()->SetTitleSize(0.05);
0525    Graph_Graph71006->GetXaxis()->SetTitleOffset(1.4);
0526    Graph_Graph71006->GetXaxis()->SetTitleFont(42);
0527    Graph_Graph71006->GetYaxis()->SetLabelFont(42);
0528    Graph_Graph71006->GetYaxis()->SetLabelSize(0.05);
0529    Graph_Graph71006->GetYaxis()->SetTitleSize(0.05);
0530    Graph_Graph71006->GetYaxis()->SetTitleOffset(1.4);
0531    Graph_Graph71006->GetYaxis()->SetTitleFont(42);
0532    Graph_Graph71006->GetZaxis()->SetLabelFont(42);
0533    Graph_Graph71006->GetZaxis()->SetLabelSize(0.05);
0534    Graph_Graph71006->GetZaxis()->SetTitleSize(0.05);
0535    Graph_Graph71006->GetZaxis()->SetTitleOffset(1);
0536    Graph_Graph71006->GetZaxis()->SetTitleFont(42);
0537    gre->SetHistogram(Graph_Graph71006);
0538    
0539    gre->Draw("p");
0540    
0541    Double_t Graph8_fx1007[4] = {
0542    -0.875,
0543    -0.625,
0544    -0.375,
0545    -0.125};
0546    Double_t Graph8_fy1007[4] = {
0547    0.03942156,
0548    0.03067408,
0549    0.01988809,
0550    0.008240108};
0551    Double_t Graph8_fex1007[4] = {
0552    0,
0553    0,
0554    0,
0555    0};
0556    Double_t Graph8_fey1007[4] = {
0557    0.003274965,
0558    0.003276597,
0559    0.003278047,
0560    0.003278918};
0561    gre = new TGraphErrors(4,Graph8_fx1007,Graph8_fy1007,Graph8_fex1007,Graph8_fey1007);
0562    gre->SetName("Graph8");
0563    gre->SetTitle("Graph");
0564    gre->SetFillStyle(1000);
0565    gre->SetLineWidth(4);
0566    gre->SetMarkerStyle(20);
0567    gre->SetMarkerSize(2);
0568    
0569    TH1F *Graph_Graph81007 = new TH1F("Graph_Graph81007","Graph",100,-0.95,-0.05);
0570    Graph_Graph81007->SetMinimum(0.001187657);
0571    Graph_Graph81007->SetMaximum(0.04647006);
0572    Graph_Graph81007->SetDirectory(0);
0573    Graph_Graph81007->SetStats(0);
0574    Graph_Graph81007->SetLineWidth(2);
0575    Graph_Graph81007->SetMarkerStyle(20);
0576    Graph_Graph81007->SetMarkerSize(1.2);
0577    Graph_Graph81007->GetXaxis()->SetLabelFont(42);
0578    Graph_Graph81007->GetXaxis()->SetLabelSize(0.05);
0579    Graph_Graph81007->GetXaxis()->SetTitleSize(0.05);
0580    Graph_Graph81007->GetXaxis()->SetTitleOffset(1.4);
0581    Graph_Graph81007->GetXaxis()->SetTitleFont(42);
0582    Graph_Graph81007->GetYaxis()->SetLabelFont(42);
0583    Graph_Graph81007->GetYaxis()->SetLabelSize(0.05);
0584    Graph_Graph81007->GetYaxis()->SetTitleSize(0.05);
0585    Graph_Graph81007->GetYaxis()->SetTitleOffset(1.4);
0586    Graph_Graph81007->GetYaxis()->SetTitleFont(42);
0587    Graph_Graph81007->GetZaxis()->SetLabelFont(42);
0588    Graph_Graph81007->GetZaxis()->SetLabelSize(0.05);
0589    Graph_Graph81007->GetZaxis()->SetTitleSize(0.05);
0590    Graph_Graph81007->GetZaxis()->SetTitleOffset(1);
0591    Graph_Graph81007->GetZaxis()->SetTitleFont(42);
0592    gre->SetHistogram(Graph_Graph81007);
0593    
0594    gre->Draw("p");
0595    
0596    Double_t Graph9_fx1008[4] = {
0597    -0.875,
0598    -0.625,
0599    -0.375,
0600    -0.125};
0601    Double_t Graph9_fy1008[4] = {
0602    0.02645328,
0603    0.02204966,
0604    0.01529134,
0605    0.006949292};
0606    Double_t Graph9_fex1008[4] = {
0607    0,
0608    0,
0609    0,
0610    0};
0611    Double_t Graph9_fey1008[4] = {
0612    0.003277238,
0613    0.003277806,
0614    0.003278477,
0615    0.00327897};
0616    gre = new TGraphErrors(4,Graph9_fx1008,Graph9_fy1008,Graph9_fex1008,Graph9_fey1008);
0617    gre->SetName("Graph9");
0618    gre->SetTitle("Graph");
0619    gre->SetFillStyle(1000);
0620    gre->SetLineColor(4);
0621    gre->SetLineWidth(4);
0622    gre->SetMarkerColor(4);
0623    gre->SetMarkerStyle(20);
0624    gre->SetMarkerSize(2);
0625    
0626    TH1F *Graph_Graph91008 = new TH1F("Graph_Graph91008","Graph",100,-0.95,-0.05);
0627    Graph_Graph91008->SetMinimum(0.001064302);
0628    Graph_Graph91008->SetMaximum(0.03233654);
0629    Graph_Graph91008->SetDirectory(0);
0630    Graph_Graph91008->SetStats(0);
0631    Graph_Graph91008->SetLineWidth(2);
0632    Graph_Graph91008->SetMarkerStyle(20);
0633    Graph_Graph91008->SetMarkerSize(1.2);
0634    Graph_Graph91008->GetXaxis()->SetLabelFont(42);
0635    Graph_Graph91008->GetXaxis()->SetLabelSize(0.05);
0636    Graph_Graph91008->GetXaxis()->SetTitleSize(0.05);
0637    Graph_Graph91008->GetXaxis()->SetTitleOffset(1.4);
0638    Graph_Graph91008->GetXaxis()->SetTitleFont(42);
0639    Graph_Graph91008->GetYaxis()->SetLabelFont(42);
0640    Graph_Graph91008->GetYaxis()->SetLabelSize(0.05);
0641    Graph_Graph91008->GetYaxis()->SetTitleSize(0.05);
0642    Graph_Graph91008->GetYaxis()->SetTitleOffset(1.4);
0643    Graph_Graph91008->GetYaxis()->SetTitleFont(42);
0644    Graph_Graph91008->GetZaxis()->SetLabelFont(42);
0645    Graph_Graph91008->GetZaxis()->SetLabelSize(0.05);
0646    Graph_Graph91008->GetZaxis()->SetTitleSize(0.05);
0647    Graph_Graph91008->GetZaxis()->SetTitleOffset(1);
0648    Graph_Graph91008->GetZaxis()->SetTitleFont(42);
0649    gre->SetHistogram(Graph_Graph91008);
0650    
0651    gre->Draw("p");
0652    
0653    Double_t Graph10_fx1009[4] = {
0654    0.125,
0655    0.375,
0656    0.625,
0657    0.875};
0658    Double_t Graph10_fy1009[4] = {
0659    -0.00452453,
0660    -0.01728107,
0661    -0.03025653,
0662    -0.03917671};
0663    Double_t Graph10_fex1009[4] = {
0664    0,
0665    0,
0666    0,
0667    0};
0668    Double_t Graph10_fey1009[4] = {
0669    0.003279044,
0670    0.003278305,
0671    0.003276664,
0672    0.003275016};
0673    gre = new TGraphErrors(4,Graph10_fx1009,Graph10_fy1009,Graph10_fex1009,Graph10_fey1009);
0674    gre->SetName("Graph10");
0675    gre->SetTitle("Graph");
0676    gre->SetFillStyle(1000);
0677    gre->SetLineWidth(4);
0678    gre->SetMarkerStyle(20);
0679    gre->SetMarkerSize(2);
0680    
0681    TH1F *Graph_Graph101009 = new TH1F("Graph_Graph101009","Graph",100,0.05,0.95);
0682    Graph_Graph101009->SetMinimum(-0.04657235);
0683    Graph_Graph101009->SetMaximum(0.002875138);
0684    Graph_Graph101009->SetDirectory(0);
0685    Graph_Graph101009->SetStats(0);
0686    Graph_Graph101009->SetLineWidth(2);
0687    Graph_Graph101009->SetMarkerStyle(20);
0688    Graph_Graph101009->SetMarkerSize(1.2);
0689    Graph_Graph101009->GetXaxis()->SetLabelFont(42);
0690    Graph_Graph101009->GetXaxis()->SetLabelSize(0.05);
0691    Graph_Graph101009->GetXaxis()->SetTitleSize(0.05);
0692    Graph_Graph101009->GetXaxis()->SetTitleOffset(1.4);
0693    Graph_Graph101009->GetXaxis()->SetTitleFont(42);
0694    Graph_Graph101009->GetYaxis()->SetLabelFont(42);
0695    Graph_Graph101009->GetYaxis()->SetLabelSize(0.05);
0696    Graph_Graph101009->GetYaxis()->SetTitleSize(0.05);
0697    Graph_Graph101009->GetYaxis()->SetTitleOffset(1.4);
0698    Graph_Graph101009->GetYaxis()->SetTitleFont(42);
0699    Graph_Graph101009->GetZaxis()->SetLabelFont(42);
0700    Graph_Graph101009->GetZaxis()->SetLabelSize(0.05);
0701    Graph_Graph101009->GetZaxis()->SetTitleSize(0.05);
0702    Graph_Graph101009->GetZaxis()->SetTitleOffset(1);
0703    Graph_Graph101009->GetZaxis()->SetTitleFont(42);
0704    gre->SetHistogram(Graph_Graph101009);
0705    
0706    gre->Draw("p");
0707    
0708    Double_t Graph11_fx1010[4] = {
0709    0.125,
0710    0.375,
0711    0.625,
0712    0.875};
0713    Double_t Graph11_fy1010[4] = {
0714    -0.00231199,
0715    -0.01082532,
0716    -0.0186751,
0717    -0.02261987};
0718    Double_t Graph11_fex1010[4] = {
0719    0,
0720    0,
0721    0,
0722    0};
0723    Double_t Graph11_fey1010[4] = {
0724    0.003279084,
0725    0.003278787,
0726    0.003278171,
0727    0.003277738};
0728    gre = new TGraphErrors(4,Graph11_fx1010,Graph11_fy1010,Graph11_fex1010,Graph11_fey1010);
0729    gre->SetName("Graph11");
0730    gre->SetTitle("Graph");
0731    gre->SetFillStyle(1000);
0732    gre->SetLineColor(4);
0733    gre->SetLineWidth(4);
0734    gre->SetMarkerColor(4);
0735    gre->SetMarkerStyle(20);
0736    gre->SetMarkerSize(2);
0737    
0738    TH1F *Graph_Graph111010 = new TH1F("Graph_Graph111010","Graph",100,0.05,0.95);
0739    Graph_Graph111010->SetMinimum(-0.02858408);
0740    Graph_Graph111010->SetMaximum(0.003653564);
0741    Graph_Graph111010->SetDirectory(0);
0742    Graph_Graph111010->SetStats(0);
0743    Graph_Graph111010->SetLineWidth(2);
0744    Graph_Graph111010->SetMarkerStyle(20);
0745    Graph_Graph111010->SetMarkerSize(1.2);
0746    Graph_Graph111010->GetXaxis()->SetLabelFont(42);
0747    Graph_Graph111010->GetXaxis()->SetLabelSize(0.05);
0748    Graph_Graph111010->GetXaxis()->SetTitleSize(0.05);
0749    Graph_Graph111010->GetXaxis()->SetTitleOffset(1.4);
0750    Graph_Graph111010->GetXaxis()->SetTitleFont(42);
0751    Graph_Graph111010->GetYaxis()->SetLabelFont(42);
0752    Graph_Graph111010->GetYaxis()->SetLabelSize(0.05);
0753    Graph_Graph111010->GetYaxis()->SetTitleSize(0.05);
0754    Graph_Graph111010->GetYaxis()->SetTitleOffset(1.4);
0755    Graph_Graph111010->GetYaxis()->SetTitleFont(42);
0756    Graph_Graph111010->GetZaxis()->SetLabelFont(42);
0757    Graph_Graph111010->GetZaxis()->SetLabelSize(0.05);
0758    Graph_Graph111010->GetZaxis()->SetTitleSize(0.05);
0759    Graph_Graph111010->GetZaxis()->SetTitleOffset(1);
0760    Graph_Graph111010->GetZaxis()->SetTitleFont(42);
0761    gre->SetHistogram(Graph_Graph111010);
0762    
0763    gre->Draw("p");
0764    
0765    TLegend *leg = new TLegend(0.3,0.77,0.9,0.9,NULL,"brNDC");
0766    leg->SetBorderSize(0);
0767    leg->SetLineColor(1);
0768    leg->SetLineStyle(1);
0769    leg->SetLineWidth(1);
0770    leg->SetFillColor(0);
0771    leg->SetFillStyle(0);
0772    TLegendEntry *entry=leg->AddEntry("NULL","#it{#bf{sPHENIX}} Projection, Years 1-5","");
0773    entry->SetLineColor(1);
0774    entry->SetLineStyle(1);
0775    entry->SetLineWidth(1);
0776    entry->SetMarkerColor(1);
0777    entry->SetMarkerStyle(21);
0778    entry->SetMarkerSize(1);
0779    entry->SetTextFont(42);
0780    entry=leg->AddEntry("NULL","0-80% Au+Au, Res(#Psi_{1})=0.37","");
0781    entry->SetLineColor(1);
0782    entry->SetLineStyle(1);
0783    entry->SetLineWidth(1);
0784    entry->SetMarkerColor(1);
0785    entry->SetMarkerStyle(21);
0786    entry->SetMarkerSize(1);
0787    entry->SetTextFont(42);
0788    leg->Draw();
0789    
0790    leg = new TLegend(0.2,0.18,0.4,0.4,NULL,"brNDC");
0791    leg->SetBorderSize(0);
0792    leg->SetLineColor(1);
0793    leg->SetLineStyle(1);
0794    leg->SetLineWidth(1);
0795    leg->SetFillColor(0);
0796    leg->SetFillStyle(0);
0797    entry=leg->AddEntry("NULL","D^{0}","h");
0798    entry->SetLineColor(1);
0799    entry->SetLineStyle(1);
0800    entry->SetLineWidth(1);
0801    entry->SetMarkerColor(1);
0802    entry->SetMarkerStyle(21);
0803    entry->SetMarkerSize(1);
0804    entry->SetTextFont(42);
0805    entry=leg->AddEntry("Graph6"," ","pe");
0806 
0807    ci = TColor::GetColor("#666666");
0808    entry->SetLineColor(ci);
0809    entry->SetLineStyle(1);
0810    entry->SetLineWidth(4);
0811 
0812    ci = TColor::GetColor("#666666");
0813    entry->SetMarkerColor(ci);
0814    entry->SetMarkerStyle(24);
0815    entry->SetMarkerSize(2);
0816    entry->SetTextFont(42);
0817    entry=leg->AddEntry("Graph10"," ","pe");
0818    entry->SetLineColor(1);
0819    entry->SetLineStyle(1);
0820    entry->SetLineWidth(4);
0821    entry->SetMarkerColor(1);
0822    entry->SetMarkerStyle(20);
0823    entry->SetMarkerSize(2);
0824    entry->SetTextFont(42);
0825    entry=leg->AddEntry("Graph0"," ","pe");
0826 
0827    ci = TColor::GetColor("#cc6666");
0828    entry->SetLineColor(ci);
0829    entry->SetLineStyle(1);
0830    entry->SetLineWidth(4);
0831 
0832    ci = TColor::GetColor("#cc6666");
0833    entry->SetMarkerColor(ci);
0834    entry->SetMarkerStyle(29);
0835    entry->SetMarkerSize(2);
0836    entry->SetTextFont(42);
0837    leg->Draw();
0838    
0839    leg = new TLegend(0.25,0.18,0.5,0.4,NULL,"brNDC");
0840    leg->SetBorderSize(0);
0841    leg->SetLineColor(1);
0842    leg->SetLineStyle(1);
0843    leg->SetLineWidth(1);
0844    leg->SetFillColor(0);
0845    leg->SetFillStyle(0);
0846    entry=leg->AddEntry("NULL"," #bar{D}^{0}","h");
0847    entry->SetLineColor(1);
0848    entry->SetLineStyle(1);
0849    entry->SetLineWidth(1);
0850    entry->SetMarkerColor(1);
0851    entry->SetMarkerStyle(21);
0852    entry->SetMarkerSize(1);
0853    entry->SetTextFont(42);
0854    entry=leg->AddEntry("Graph7","sPHENIX, Year 1-3, 21nb^{-1} rec. Au+Au","pe");
0855 
0856    ci = TColor::GetColor("#6666cc");
0857    entry->SetLineColor(ci);
0858    entry->SetLineStyle(1);
0859    entry->SetLineWidth(4);
0860 
0861    ci = TColor::GetColor("#6666cc");
0862    entry->SetMarkerColor(ci);
0863    entry->SetMarkerStyle(24);
0864    entry->SetMarkerSize(2);
0865    entry->SetTextFont(42);
0866    entry=leg->AddEntry("Graph11","sPHENIX, Year 1-5, 51nb^{-1} rec.+str. Au+Au","pe");
0867    entry->SetLineColor(4);
0868    entry->SetLineStyle(1);
0869    entry->SetLineWidth(4);
0870    entry->SetMarkerColor(4);
0871    entry->SetMarkerStyle(20);
0872    entry->SetMarkerSize(2);
0873    entry->SetTextFont(42);
0874    entry=leg->AddEntry("Graph1","STAR, 10-80% Au+Au, PRL#bf{123}, 162301","pe");
0875 
0876    ci = TColor::GetColor("#cc6666");
0877    entry->SetLineColor(ci);
0878    entry->SetLineStyle(1);
0879    entry->SetLineWidth(4);
0880 
0881    ci = TColor::GetColor("#cc6666");
0882    entry->SetMarkerColor(ci);
0883    entry->SetMarkerStyle(30);
0884    entry->SetMarkerSize(2);
0885    entry->SetTextFont(42);
0886    leg->Draw();
0887    D0_BUP2020_AuAu_v1_5y_compare_1->Modified();
0888    D0_BUP2020_AuAu_v1_5y_compare->cd();
0889    D0_BUP2020_AuAu_v1_5y_compare->Modified();
0890    D0_BUP2020_AuAu_v1_5y_compare->cd();
0891    D0_BUP2020_AuAu_v1_5y_compare->SetSelected(D0_BUP2020_AuAu_v1_5y_compare);
0892 }