File indexing completed on 2025-08-06 08:13:47
0001 void D0_BUP2020OOArAr_v2_5yr()
0002 {
0003
0004
0005 TCanvas *D0_BUP2020OOArAr_v2_5yr = new TCanvas("D0_BUP2020OOArAr_v2_5yr", "D0_BUP2020OOArArO_v2_5yr",0,0,1100,800);
0006 gStyle->SetOptFit(1);
0007 gStyle->SetOptStat(0);
0008 gStyle->SetOptTitle(0);
0009 D0_BUP2020OOArAr_v2_5yr->SetHighLightColor(2);
0010 D0_BUP2020OOArAr_v2_5yr->Range(0,0,1,1);
0011 D0_BUP2020OOArAr_v2_5yr->SetFillColor(0);
0012 D0_BUP2020OOArAr_v2_5yr->SetBorderMode(0);
0013 D0_BUP2020OOArAr_v2_5yr->SetBorderSize(2);
0014 D0_BUP2020OOArAr_v2_5yr->SetTickx(1);
0015 D0_BUP2020OOArAr_v2_5yr->SetTicky(1);
0016 D0_BUP2020OOArAr_v2_5yr->SetLeftMargin(0.16);
0017 D0_BUP2020OOArAr_v2_5yr->SetRightMargin(0.05);
0018 D0_BUP2020OOArAr_v2_5yr->SetTopMargin(0.05);
0019 D0_BUP2020OOArAr_v2_5yr->SetBottomMargin(0.16);
0020 D0_BUP2020OOArAr_v2_5yr->SetFrameBorderMode(0);
0021
0022
0023 TPad *D0_BUP2020OOArAr_v2_5yr_1 = new TPad("D0_BUP2020OOArAr_v2_5yr_1", "D0_BUP2020OOArAr_v2_5yr_1",0.01,0.01,0.99,0.99);
0024 D0_BUP2020OOArAr_v2_5yr_1->Draw();
0025 D0_BUP2020OOArAr_v2_5yr_1->cd();
0026 D0_BUP2020OOArAr_v2_5yr_1->Range(-2.227848,-0.3512658,11.6962,0.2816456);
0027 D0_BUP2020OOArAr_v2_5yr_1->SetFillColor(0);
0028 D0_BUP2020OOArAr_v2_5yr_1->SetBorderMode(0);
0029 D0_BUP2020OOArAr_v2_5yr_1->SetBorderSize(2);
0030 D0_BUP2020OOArAr_v2_5yr_1->SetTickx(1);
0031 D0_BUP2020OOArAr_v2_5yr_1->SetTicky(1);
0032 D0_BUP2020OOArAr_v2_5yr_1->SetLeftMargin(0.16);
0033 D0_BUP2020OOArAr_v2_5yr_1->SetRightMargin(0.05);
0034 D0_BUP2020OOArAr_v2_5yr_1->SetTopMargin(0.05);
0035 D0_BUP2020OOArAr_v2_5yr_1->SetBottomMargin(0.16);
0036 D0_BUP2020OOArAr_v2_5yr_1->SetFrameBorderMode(0);
0037 D0_BUP2020OOArAr_v2_5yr_1->SetFrameBorderMode(0);
0038
0039 TH1F *hframe__24 = new TH1F("hframe__24","",1000,0,11);
0040 hframe__24->SetMinimum(-0.25);
0041 hframe__24->SetMaximum(0.25);
0042 hframe__24->SetDirectory(0);
0043 hframe__24->SetStats(0);
0044 hframe__24->SetLineWidth(2);
0045 hframe__24->SetMarkerStyle(20);
0046 hframe__24->SetMarkerSize(1.2);
0047 hframe__24->GetXaxis()->SetTitle("#it{p}_{T} [GeV]");
0048 hframe__24->GetXaxis()->SetLabelFont(42);
0049 hframe__24->GetXaxis()->SetLabelSize(0.05);
0050 hframe__24->GetXaxis()->SetTitleSize(0.05);
0051 hframe__24->GetXaxis()->SetTitleOffset(1.4);
0052 hframe__24->GetXaxis()->SetTitleFont(42);
0053 hframe__24->GetYaxis()->SetTitle("v_{2}");
0054 hframe__24->GetYaxis()->SetLabelFont(42);
0055 hframe__24->GetYaxis()->SetLabelSize(0.05);
0056 hframe__24->GetYaxis()->SetTitleSize(0.05);
0057 hframe__24->GetYaxis()->SetTitleOffset(1.4);
0058 hframe__24->GetYaxis()->SetTitleFont(42);
0059 hframe__24->GetZaxis()->SetLabelFont(42);
0060 hframe__24->GetZaxis()->SetLabelSize(0.05);
0061 hframe__24->GetZaxis()->SetTitleSize(0.05);
0062 hframe__24->GetZaxis()->SetTitleOffset(1);
0063 hframe__24->GetZaxis()->SetTitleFont(42);
0064 hframe__24->Draw(" ");
0065
0066 Double_t Graph0_fx1015[10] = {
0067 0.7,
0068 1.7,
0069 2.7,
0070 3.7,
0071 4.7,
0072 5.7,
0073 6.7,
0074 7.7,
0075 8.7,
0076 9.7};
0077 Double_t Graph0_fy1015[10] = {
0078 0,
0079 0,
0080 0,
0081 0,
0082 0,
0083 0,
0084 0,
0085 0,
0086 0,
0087 0};
0088 Double_t Graph0_fex1015[10] = {
0089 0,
0090 0,
0091 0,
0092 0,
0093 0,
0094 0,
0095 0,
0096 0,
0097 0,
0098 0};
0099 Double_t Graph0_fey1015[10] = {
0100 0.00907488,
0101 0.005029957,
0102 0.00556875,
0103 0.007419596,
0104 0.01246273,
0105 0.02079894,
0106 0.03464166,
0107 0.04951089,
0108 0.08124443,
0109 0.1286908};
0110 TGraphErrors *gre = new TGraphErrors(10,Graph0_fx1015,Graph0_fy1015,Graph0_fex1015,Graph0_fey1015);
0111 gre->SetName("Graph0");
0112 gre->SetTitle("Graph");
0113 gre->SetFillStyle(1000);
0114
0115 Int_t ci;
0116 TColor *color;
0117 ci = TColor::GetColor("#000000");
0118 gre->SetLineColor(ci);
0119 gre->SetLineWidth(4);
0120
0121 ci = TColor::GetColor("#000000");
0122 gre->SetMarkerColor(ci);
0123 gre->SetMarkerStyle(24);
0124 gre->SetMarkerSize(2);
0125
0126 TH1F *Graph_Graph01015 = new TH1F("Graph_Graph01015","Graph",100,0,10.6);
0127 Graph_Graph01015->SetMinimum(-0.154429);
0128 Graph_Graph01015->SetMaximum(0.154429);
0129 Graph_Graph01015->SetDirectory(0);
0130 Graph_Graph01015->SetStats(0);
0131 Graph_Graph01015->SetLineWidth(2);
0132 Graph_Graph01015->SetMarkerStyle(20);
0133 Graph_Graph01015->SetMarkerSize(1.2);
0134 Graph_Graph01015->GetXaxis()->SetLabelFont(42);
0135 Graph_Graph01015->GetXaxis()->SetLabelSize(0.05);
0136 Graph_Graph01015->GetXaxis()->SetTitleSize(0.05);
0137 Graph_Graph01015->GetXaxis()->SetTitleOffset(1.4);
0138 Graph_Graph01015->GetXaxis()->SetTitleFont(42);
0139 Graph_Graph01015->GetYaxis()->SetLabelFont(42);
0140 Graph_Graph01015->GetYaxis()->SetLabelSize(0.05);
0141 Graph_Graph01015->GetYaxis()->SetTitleSize(0.05);
0142 Graph_Graph01015->GetYaxis()->SetTitleOffset(1.4);
0143 Graph_Graph01015->GetYaxis()->SetTitleFont(42);
0144 Graph_Graph01015->GetZaxis()->SetLabelFont(42);
0145 Graph_Graph01015->GetZaxis()->SetLabelSize(0.05);
0146 Graph_Graph01015->GetZaxis()->SetTitleSize(0.05);
0147 Graph_Graph01015->GetZaxis()->SetTitleOffset(1);
0148 Graph_Graph01015->GetZaxis()->SetTitleFont(42);
0149 gre->SetHistogram(Graph_Graph01015);
0150
0151 gre->Draw("p");
0152
0153 Double_t Graph1_fx1016[2] = {
0154 2.3,
0155 7.3};
0156 Double_t Graph1_fy1016[2] = {
0157 0,
0158 0};
0159 Double_t Graph1_fex1016[2] = {
0160 0,
0161 0};
0162 Double_t Graph1_fey1016[2] = {
0163 0.07649507,
0164 0.1178262};
0165 gre = new TGraphErrors(2,Graph1_fx1016,Graph1_fy1016,Graph1_fex1016,Graph1_fey1016);
0166 gre->SetName("Graph1");
0167 gre->SetTitle("Graph");
0168 gre->SetFillStyle(1000);
0169
0170 ci = TColor::GetColor("#000099");
0171 gre->SetLineColor(ci);
0172 gre->SetLineWidth(4);
0173
0174 ci = TColor::GetColor("#000099");
0175 gre->SetMarkerColor(ci);
0176 gre->SetMarkerStyle(25);
0177 gre->SetMarkerSize(2);
0178
0179 TH1F *Graph_Graph11016 = new TH1F("Graph_Graph11016","Graph",100,1.8,7.8);
0180 Graph_Graph11016->SetMinimum(-0.1413914);
0181 Graph_Graph11016->SetMaximum(0.1413914);
0182 Graph_Graph11016->SetDirectory(0);
0183 Graph_Graph11016->SetStats(0);
0184 Graph_Graph11016->SetLineWidth(2);
0185 Graph_Graph11016->SetMarkerStyle(20);
0186 Graph_Graph11016->SetMarkerSize(1.2);
0187 Graph_Graph11016->GetXaxis()->SetLabelFont(42);
0188 Graph_Graph11016->GetXaxis()->SetLabelSize(0.05);
0189 Graph_Graph11016->GetXaxis()->SetTitleSize(0.05);
0190 Graph_Graph11016->GetXaxis()->SetTitleOffset(1.4);
0191 Graph_Graph11016->GetXaxis()->SetTitleFont(42);
0192 Graph_Graph11016->GetYaxis()->SetLabelFont(42);
0193 Graph_Graph11016->GetYaxis()->SetLabelSize(0.05);
0194 Graph_Graph11016->GetYaxis()->SetTitleSize(0.05);
0195 Graph_Graph11016->GetYaxis()->SetTitleOffset(1.4);
0196 Graph_Graph11016->GetYaxis()->SetTitleFont(42);
0197 Graph_Graph11016->GetZaxis()->SetLabelFont(42);
0198 Graph_Graph11016->GetZaxis()->SetLabelSize(0.05);
0199 Graph_Graph11016->GetZaxis()->SetTitleSize(0.05);
0200 Graph_Graph11016->GetZaxis()->SetTitleOffset(1);
0201 Graph_Graph11016->GetZaxis()->SetTitleFont(42);
0202 gre->SetHistogram(Graph_Graph11016);
0203
0204 gre->Draw("p");
0205
0206 Double_t Graph2_fx1017[10] = {
0207 0.5,
0208 1.5,
0209 2.5,
0210 3.5,
0211 4.5,
0212 5.5,
0213 6.5,
0214 7.5,
0215 8.5,
0216 9.5};
0217 Double_t Graph2_fy1017[10] = {
0218 0,
0219 0,
0220 0,
0221 0,
0222 0,
0223 0,
0224 0,
0225 0,
0226 0,
0227 0};
0228 Double_t Graph2_fex1017[10] = {
0229 0,
0230 0,
0231 0,
0232 0,
0233 0,
0234 0,
0235 0,
0236 0,
0237 0,
0238 0};
0239 Double_t Graph2_fey1017[10] = {
0240 0.004800957,
0241 0.002661039,
0242 0.002946081,
0243 0.003925249,
0244 0.006593259,
0245 0.01100343,
0246 0.01832676,
0247 0.02619315,
0248 0.0429814,
0249 0.06808234};
0250 gre = new TGraphErrors(10,Graph2_fx1017,Graph2_fy1017,Graph2_fex1017,Graph2_fey1017);
0251 gre->SetName("Graph2");
0252 gre->SetTitle("Graph");
0253 gre->SetFillStyle(1000);
0254
0255 ci = TColor::GetColor("#000000");
0256 gre->SetLineColor(ci);
0257 gre->SetLineWidth(4);
0258
0259 ci = TColor::GetColor("#000000");
0260 gre->SetMarkerColor(ci);
0261 gre->SetMarkerStyle(20);
0262 gre->SetMarkerSize(2);
0263
0264 TH1F *Graph_Graph21017 = new TH1F("Graph_Graph21017","Graph",100,0,10.4);
0265 Graph_Graph21017->SetMinimum(-0.0816988);
0266 Graph_Graph21017->SetMaximum(0.0816988);
0267 Graph_Graph21017->SetDirectory(0);
0268 Graph_Graph21017->SetStats(0);
0269 Graph_Graph21017->SetLineWidth(2);
0270 Graph_Graph21017->SetMarkerStyle(20);
0271 Graph_Graph21017->SetMarkerSize(1.2);
0272 Graph_Graph21017->GetXaxis()->SetLabelFont(42);
0273 Graph_Graph21017->GetXaxis()->SetLabelSize(0.05);
0274 Graph_Graph21017->GetXaxis()->SetTitleSize(0.05);
0275 Graph_Graph21017->GetXaxis()->SetTitleOffset(1.4);
0276 Graph_Graph21017->GetXaxis()->SetTitleFont(42);
0277 Graph_Graph21017->GetYaxis()->SetLabelFont(42);
0278 Graph_Graph21017->GetYaxis()->SetLabelSize(0.05);
0279 Graph_Graph21017->GetYaxis()->SetTitleSize(0.05);
0280 Graph_Graph21017->GetYaxis()->SetTitleOffset(1.4);
0281 Graph_Graph21017->GetYaxis()->SetTitleFont(42);
0282 Graph_Graph21017->GetZaxis()->SetLabelFont(42);
0283 Graph_Graph21017->GetZaxis()->SetLabelSize(0.05);
0284 Graph_Graph21017->GetZaxis()->SetTitleSize(0.05);
0285 Graph_Graph21017->GetZaxis()->SetTitleOffset(1);
0286 Graph_Graph21017->GetZaxis()->SetTitleFont(42);
0287 gre->SetHistogram(Graph_Graph21017);
0288
0289 gre->Draw("p");
0290
0291 Double_t Graph3_fx1018[2] = {
0292 2.1,
0293 7.1};
0294 Double_t Graph3_fy1018[2] = {
0295 0,
0296 0};
0297 Double_t Graph3_fex1018[2] = {
0298 0,
0299 0};
0300 Double_t Graph3_fey1018[2] = {
0301 0.04046881,
0302 0.06233454};
0303 gre = new TGraphErrors(2,Graph3_fx1018,Graph3_fy1018,Graph3_fex1018,Graph3_fey1018);
0304 gre->SetName("Graph3");
0305 gre->SetTitle("Graph");
0306 gre->SetFillStyle(1000);
0307
0308 ci = TColor::GetColor("#000099");
0309 gre->SetLineColor(ci);
0310 gre->SetLineWidth(4);
0311
0312 ci = TColor::GetColor("#000099");
0313 gre->SetMarkerColor(ci);
0314 gre->SetMarkerStyle(21);
0315 gre->SetMarkerSize(2);
0316
0317 TH1F *Graph_Graph31018 = new TH1F("Graph_Graph31018","Graph",100,1.6,7.6);
0318 Graph_Graph31018->SetMinimum(-0.07480145);
0319 Graph_Graph31018->SetMaximum(0.07480145);
0320 Graph_Graph31018->SetDirectory(0);
0321 Graph_Graph31018->SetStats(0);
0322 Graph_Graph31018->SetLineWidth(2);
0323 Graph_Graph31018->SetMarkerStyle(20);
0324 Graph_Graph31018->SetMarkerSize(1.2);
0325 Graph_Graph31018->GetXaxis()->SetLabelFont(42);
0326 Graph_Graph31018->GetXaxis()->SetLabelSize(0.05);
0327 Graph_Graph31018->GetXaxis()->SetTitleSize(0.05);
0328 Graph_Graph31018->GetXaxis()->SetTitleOffset(1.4);
0329 Graph_Graph31018->GetXaxis()->SetTitleFont(42);
0330 Graph_Graph31018->GetYaxis()->SetLabelFont(42);
0331 Graph_Graph31018->GetYaxis()->SetLabelSize(0.05);
0332 Graph_Graph31018->GetYaxis()->SetTitleSize(0.05);
0333 Graph_Graph31018->GetYaxis()->SetTitleOffset(1.4);
0334 Graph_Graph31018->GetYaxis()->SetTitleFont(42);
0335 Graph_Graph31018->GetZaxis()->SetLabelFont(42);
0336 Graph_Graph31018->GetZaxis()->SetLabelSize(0.05);
0337 Graph_Graph31018->GetZaxis()->SetTitleSize(0.05);
0338 Graph_Graph31018->GetZaxis()->SetTitleOffset(1);
0339 Graph_Graph31018->GetZaxis()->SetTitleFont(42);
0340 gre->SetHistogram(Graph_Graph31018);
0341
0342 gre->Draw("p");
0343
0344 TLegend *leg = new TLegend(0.1,0.8,0.55,0.9,NULL,"brNDC");
0345 leg->SetBorderSize(0);
0346 leg->SetLineColor(1);
0347 leg->SetLineStyle(1);
0348 leg->SetLineWidth(1);
0349 leg->SetFillColor(0);
0350 leg->SetFillStyle(0);
0351 TLegendEntry *entry=leg->AddEntry("NULL","#it{#bf{sPHENIX}} Projection, Years 1-5","");
0352 entry->SetLineColor(1);
0353 entry->SetLineStyle(1);
0354 entry->SetLineWidth(1);
0355 entry->SetMarkerColor(1);
0356 entry->SetMarkerStyle(21);
0357 entry->SetMarkerSize(1);
0358 entry->SetTextFont(42);
0359 leg->Draw();
0360
0361 leg = new TLegend(0.2,0.2,1,0.4,NULL,"brNDC");
0362 leg->SetBorderSize(0);
0363 leg->SetLineColor(1);
0364 leg->SetLineStyle(1);
0365 leg->SetLineWidth(1);
0366 leg->SetFillColor(0);
0367 leg->SetFillStyle(0);
0368 entry=leg->AddEntry("NULL","Prompt #it{D}^{0}","h");
0369 entry->SetLineColor(1);
0370 entry->SetLineStyle(1);
0371 entry->SetLineWidth(1);
0372 entry->SetMarkerColor(1);
0373 entry->SetMarkerStyle(21);
0374 entry->SetMarkerSize(1);
0375 entry->SetTextFont(42);
0376 entry=leg->AddEntry("Graph"," ","p");
0377 entry->SetLineColor(1);
0378 entry->SetLineStyle(1);
0379 entry->SetLineWidth(1);
0380
0381 ci = TColor::GetColor("#000000");
0382 entry->SetMarkerColor(ci);
0383 entry->SetMarkerStyle(24);
0384 entry->SetMarkerSize(2);
0385 entry->SetTextFont(42);
0386 entry=leg->AddEntry("Graph"," ","p");
0387 entry->SetLineColor(1);
0388 entry->SetLineStyle(1);
0389 entry->SetLineWidth(1);
0390
0391 ci = TColor::GetColor("#000000");
0392 entry->SetMarkerColor(ci);
0393 entry->SetMarkerStyle(20);
0394 entry->SetMarkerSize(2);
0395 entry->SetTextFont(42);
0396 leg->Draw();
0397
0398 leg = new TLegend(0.4,0.2,0.65,0.4,NULL,"brNDC");
0399 leg->SetBorderSize(0);
0400 leg->SetLineColor(1);
0401 leg->SetLineStyle(1);
0402 leg->SetLineWidth(1);
0403 leg->SetFillColor(0);
0404 leg->SetFillStyle(0);
0405 entry=leg->AddEntry("NULL","#it{B}#rightarrow#it{D}^{0}","h");
0406 entry->SetLineColor(1);
0407 entry->SetLineStyle(1);
0408 entry->SetLineWidth(1);
0409 entry->SetMarkerColor(1);
0410 entry->SetMarkerStyle(21);
0411 entry->SetMarkerSize(1);
0412 entry->SetTextFont(42);
0413 entry=leg->AddEntry("Graph","37 nb^{-1} str. O+O, Res(#Psi_{2})=0.3","p");
0414 entry->SetLineColor(1);
0415 entry->SetLineStyle(1);
0416 entry->SetLineWidth(1);
0417
0418 ci = TColor::GetColor("#000099");
0419 entry->SetMarkerColor(ci);
0420 entry->SetMarkerStyle(25);
0421 entry->SetMarkerSize(2);
0422 entry->SetTextFont(42);
0423 entry=leg->AddEntry("Graph","12 nb^{-1} str. Ar+Ar, Res(#Psi_{2})=0.4","p");
0424 entry->SetLineColor(1);
0425 entry->SetLineStyle(1);
0426 entry->SetLineWidth(1);
0427
0428 ci = TColor::GetColor("#000099");
0429 entry->SetMarkerColor(ci);
0430 entry->SetMarkerStyle(21);
0431 entry->SetMarkerSize(2);
0432 entry->SetTextFont(42);
0433 leg->Draw();
0434 D0_BUP2020OOArAr_v2_5yr_1->Modified();
0435 D0_BUP2020OOArAr_v2_5yr->cd();
0436 D0_BUP2020OOArAr_v2_5yr->Modified();
0437 D0_BUP2020OOArAr_v2_5yr->cd();
0438 D0_BUP2020OOArAr_v2_5yr->SetSelected(D0_BUP2020OOArAr_v2_5yr);
0439 }