8 gStyle->SetOptTitle(0);
9 D0_BUP2020_AN_5yr_comparison->SetHighLightColor(2);
10 D0_BUP2020_AN_5yr_comparison->Range(0,0,1,1);
11 D0_BUP2020_AN_5yr_comparison->SetFillColor(0);
12 D0_BUP2020_AN_5yr_comparison->SetBorderMode(0);
13 D0_BUP2020_AN_5yr_comparison->SetBorderSize(2);
14 D0_BUP2020_AN_5yr_comparison->SetTickx(1);
15 D0_BUP2020_AN_5yr_comparison->SetTicky(1);
16 D0_BUP2020_AN_5yr_comparison->SetLeftMargin(0.16);
17 D0_BUP2020_AN_5yr_comparison->SetRightMargin(0.05);
18 D0_BUP2020_AN_5yr_comparison->SetTopMargin(0.05);
19 D0_BUP2020_AN_5yr_comparison->SetBottomMargin(0.16);
20 D0_BUP2020_AN_5yr_comparison->SetFrameBorderMode(0);
23 TPad *D0_BUP2020_AN_5yr_comparison_1 =
new TPad(
"D0_BUP2020_AN_5yr_comparison_1",
"D0_BUP2020_AN_5yr_comparison_1",0.01,0.01,0.99,0.99);
24 D0_BUP2020_AN_5yr_comparison_1->Draw();
25 D0_BUP2020_AN_5yr_comparison_1->cd();
26 D0_BUP2020_AN_5yr_comparison_1->Range(-1.012658,-0.0371519,5.316456,0.03879747);
27 D0_BUP2020_AN_5yr_comparison_1->SetFillColor(0);
28 D0_BUP2020_AN_5yr_comparison_1->SetBorderMode(0);
29 D0_BUP2020_AN_5yr_comparison_1->SetBorderSize(2);
30 D0_BUP2020_AN_5yr_comparison_1->SetTickx(1);
31 D0_BUP2020_AN_5yr_comparison_1->SetTicky(1);
32 D0_BUP2020_AN_5yr_comparison_1->SetLeftMargin(0.16);
33 D0_BUP2020_AN_5yr_comparison_1->SetRightMargin(0.05);
34 D0_BUP2020_AN_5yr_comparison_1->SetTopMargin(0.05);
35 D0_BUP2020_AN_5yr_comparison_1->SetBottomMargin(0.16);
36 D0_BUP2020_AN_5yr_comparison_1->SetFrameBorderMode(0);
37 D0_BUP2020_AN_5yr_comparison_1->SetFrameBorderMode(0);
39 TH1F *hframe__28 =
new TH1F(
"hframe__28",
"",1000,0,5);
40 hframe__28->SetMinimum(-0.025);
41 hframe__28->SetMaximum(0.035);
42 hframe__28->SetDirectory(0);
43 hframe__28->SetStats(0);
44 hframe__28->SetLineWidth(2);
45 hframe__28->SetMarkerStyle(20);
46 hframe__28->SetMarkerSize(1.2);
47 hframe__28->GetXaxis()->SetTitle(
"#it{p}_{T} [GeV]");
48 hframe__28->GetXaxis()->SetLabelFont(42);
49 hframe__28->GetXaxis()->SetLabelSize(0.05);
50 hframe__28->GetXaxis()->SetTitleSize(0.05);
51 hframe__28->GetXaxis()->SetTitleOffset(1.4);
52 hframe__28->GetXaxis()->SetTitleFont(42);
53 hframe__28->GetYaxis()->SetTitle(
"A_{N}");
54 hframe__28->GetYaxis()->SetLabelFont(42);
55 hframe__28->GetYaxis()->SetLabelSize(0.05);
56 hframe__28->GetYaxis()->SetTitleSize(0.05);
57 hframe__28->GetYaxis()->SetTitleOffset(1.4);
58 hframe__28->GetYaxis()->SetTitleFont(42);
59 hframe__28->GetZaxis()->SetLabelFont(42);
60 hframe__28->GetZaxis()->SetLabelSize(0.05);
61 hframe__28->GetZaxis()->SetTitleSize(0.05);
62 hframe__28->GetZaxis()->SetTitleOffset(1);
63 hframe__28->GetZaxis()->SetTitleFont(42);
64 hframe__28->Draw(
" ");
65 TLine *
line =
new TLine(0,-0,5,0);
68 Double_t Graph0_fx37[30] = {
99 Double_t Graph0_fy37[30] = {
130 TGraph *
graph =
new TGraph(30,Graph0_fx37,Graph0_fy37);
131 graph->SetName(
"Graph0");
132 graph->SetTitle(
"Graph");
133 graph->SetFillStyle(1000);
137 ci = TColor::GetColor(
"#006666");
138 graph->SetLineColor(ci);
139 graph->SetLineWidth(5);
140 graph->SetMarkerStyle(20);
141 graph->SetMarkerSize(1.2);
143 TH1F *Graph_Graph037 =
new TH1F(
"Graph_Graph037",
"Graph",100,0.71,4.19);
144 Graph_Graph037->SetMinimum(-0.0009172203);
145 Graph_Graph037->SetMaximum(-0.0002893771);
146 Graph_Graph037->SetDirectory(0);
147 Graph_Graph037->SetStats(0);
148 Graph_Graph037->SetLineWidth(2);
149 Graph_Graph037->SetMarkerStyle(20);
150 Graph_Graph037->SetMarkerSize(1.2);
151 Graph_Graph037->GetXaxis()->SetLabelFont(42);
152 Graph_Graph037->GetXaxis()->SetLabelSize(0.05);
153 Graph_Graph037->GetXaxis()->SetTitleSize(0.05);
154 Graph_Graph037->GetXaxis()->SetTitleOffset(1.4);
155 Graph_Graph037->GetXaxis()->SetTitleFont(42);
156 Graph_Graph037->GetYaxis()->SetLabelFont(42);
157 Graph_Graph037->GetYaxis()->SetLabelSize(0.05);
158 Graph_Graph037->GetYaxis()->SetTitleSize(0.05);
159 Graph_Graph037->GetYaxis()->SetTitleOffset(1.4);
160 Graph_Graph037->GetYaxis()->SetTitleFont(42);
161 Graph_Graph037->GetZaxis()->SetLabelFont(42);
162 Graph_Graph037->GetZaxis()->SetLabelSize(0.05);
163 Graph_Graph037->GetZaxis()->SetTitleSize(0.05);
164 Graph_Graph037->GetZaxis()->SetTitleOffset(1);
165 Graph_Graph037->GetZaxis()->SetTitleFont(42);
166 graph->SetHistogram(Graph_Graph037);
170 Double_t Graph1_fx38[30] = {
201 Double_t Graph1_fy38[30] = {
232 graph =
new TGraph(30,Graph1_fx38,Graph1_fy38);
233 graph->SetName(
"Graph1");
234 graph->SetTitle(
"Graph");
235 graph->SetFillStyle(1000);
237 ci = TColor::GetColor(
"#000099");
238 graph->SetLineColor(ci);
239 graph->SetLineStyle(2);
240 graph->SetLineWidth(5);
241 graph->SetMarkerStyle(20);
242 graph->SetMarkerSize(1.2);
244 TH1F *Graph_Graph138 =
new TH1F(
"Graph_Graph138",
"Graph",100,0.71,4.19);
245 Graph_Graph138->SetMinimum(-0.0196607);
246 Graph_Graph138->SetMaximum(-0.009327811);
247 Graph_Graph138->SetDirectory(0);
248 Graph_Graph138->SetStats(0);
249 Graph_Graph138->SetLineWidth(2);
250 Graph_Graph138->SetMarkerStyle(20);
251 Graph_Graph138->SetMarkerSize(1.2);
252 Graph_Graph138->GetXaxis()->SetLabelFont(42);
253 Graph_Graph138->GetXaxis()->SetLabelSize(0.05);
254 Graph_Graph138->GetXaxis()->SetTitleSize(0.05);
255 Graph_Graph138->GetXaxis()->SetTitleOffset(1.4);
256 Graph_Graph138->GetXaxis()->SetTitleFont(42);
257 Graph_Graph138->GetYaxis()->SetLabelFont(42);
258 Graph_Graph138->GetYaxis()->SetLabelSize(0.05);
259 Graph_Graph138->GetYaxis()->SetTitleSize(0.05);
260 Graph_Graph138->GetYaxis()->SetTitleOffset(1.4);
261 Graph_Graph138->GetYaxis()->SetTitleFont(42);
262 Graph_Graph138->GetZaxis()->SetLabelFont(42);
263 Graph_Graph138->GetZaxis()->SetLabelSize(0.05);
264 Graph_Graph138->GetZaxis()->SetTitleSize(0.05);
265 Graph_Graph138->GetZaxis()->SetTitleOffset(1);
266 Graph_Graph138->GetZaxis()->SetTitleFont(42);
267 graph->SetHistogram(Graph_Graph138);
271 Double_t Graph2_fx1023[10] = {
282 Double_t Graph2_fy1023[10] = {
293 Double_t Graph2_fex1023[10] = {
304 Double_t Graph2_fey1023[10] = {
315 TGraphErrors *
gre =
new TGraphErrors(10,Graph2_fx1023,Graph2_fy1023,Graph2_fex1023,Graph2_fey1023);
316 gre->SetName(
"Graph2");
317 gre->SetTitle(
"Graph");
318 gre->SetFillStyle(1000);
320 ci = TColor::GetColor(
"#999999");
321 gre->SetLineColor(ci);
322 gre->SetLineWidth(4);
324 ci = TColor::GetColor(
"#999999");
325 gre->SetMarkerColor(ci);
326 gre->SetMarkerStyle(24);
327 gre->SetMarkerSize(2);
329 TH1F *Graph_Graph21023 =
new TH1F(
"Graph_Graph21023",
"Graph",100,0,10.4);
330 Graph_Graph21023->SetMinimum(-0.0905336);
331 Graph_Graph21023->SetMaximum(0.0905336);
332 Graph_Graph21023->SetDirectory(0);
333 Graph_Graph21023->SetStats(0);
334 Graph_Graph21023->SetLineWidth(2);
335 Graph_Graph21023->SetMarkerStyle(20);
336 Graph_Graph21023->SetMarkerSize(1.2);
337 Graph_Graph21023->GetXaxis()->SetLabelFont(42);
338 Graph_Graph21023->GetXaxis()->SetLabelSize(0.05);
339 Graph_Graph21023->GetXaxis()->SetTitleSize(0.05);
340 Graph_Graph21023->GetXaxis()->SetTitleOffset(1.4);
341 Graph_Graph21023->GetXaxis()->SetTitleFont(42);
342 Graph_Graph21023->GetYaxis()->SetLabelFont(42);
343 Graph_Graph21023->GetYaxis()->SetLabelSize(0.05);
344 Graph_Graph21023->GetYaxis()->SetTitleSize(0.05);
345 Graph_Graph21023->GetYaxis()->SetTitleOffset(1.4);
346 Graph_Graph21023->GetYaxis()->SetTitleFont(42);
347 Graph_Graph21023->GetZaxis()->SetLabelFont(42);
348 Graph_Graph21023->GetZaxis()->SetLabelSize(0.05);
349 Graph_Graph21023->GetZaxis()->SetTitleSize(0.05);
350 Graph_Graph21023->GetZaxis()->SetTitleOffset(1);
351 Graph_Graph21023->GetZaxis()->SetTitleFont(42);
352 gre->SetHistogram(Graph_Graph21023);
356 Double_t Graph3_fx1024[20] = {
377 Double_t Graph3_fy1024[20] = {
398 Double_t Graph3_fex1024[20] = {
419 Double_t Graph3_fey1024[20] = {
440 gre =
new TGraphErrors(20,Graph3_fx1024,Graph3_fy1024,Graph3_fex1024,Graph3_fey1024);
441 gre->SetName(
"Graph3");
442 gre->SetTitle(
"Graph");
443 gre->SetFillStyle(1000);
445 ci = TColor::GetColor(
"#000000");
446 gre->SetLineColor(ci);
447 gre->SetLineWidth(4);
449 ci = TColor::GetColor(
"#000000");
450 gre->SetMarkerColor(ci);
451 gre->SetMarkerStyle(20);
452 gre->SetMarkerSize(2);
454 TH1F *Graph_Graph31024 =
new TH1F(
"Graph_Graph31024",
"Graph",100,0,10.7);
455 Graph_Graph31024->SetMinimum(-0.0388217);
456 Graph_Graph31024->SetMaximum(0.0388217);
457 Graph_Graph31024->SetDirectory(0);
458 Graph_Graph31024->SetStats(0);
459 Graph_Graph31024->SetLineWidth(2);
460 Graph_Graph31024->SetMarkerStyle(20);
461 Graph_Graph31024->SetMarkerSize(1.2);
462 Graph_Graph31024->GetXaxis()->SetLabelFont(42);
463 Graph_Graph31024->GetXaxis()->SetLabelSize(0.05);
464 Graph_Graph31024->GetXaxis()->SetTitleSize(0.05);
465 Graph_Graph31024->GetXaxis()->SetTitleOffset(1.4);
466 Graph_Graph31024->GetXaxis()->SetTitleFont(42);
467 Graph_Graph31024->GetYaxis()->SetLabelFont(42);
468 Graph_Graph31024->GetYaxis()->SetLabelSize(0.05);
469 Graph_Graph31024->GetYaxis()->SetTitleSize(0.05);
470 Graph_Graph31024->GetYaxis()->SetTitleOffset(1.4);
471 Graph_Graph31024->GetYaxis()->SetTitleFont(42);
472 Graph_Graph31024->GetZaxis()->SetLabelFont(42);
473 Graph_Graph31024->GetZaxis()->SetLabelSize(0.05);
474 Graph_Graph31024->GetZaxis()->SetTitleSize(0.05);
475 Graph_Graph31024->GetZaxis()->SetTitleOffset(1);
476 Graph_Graph31024->GetZaxis()->SetTitleFont(42);
477 gre->SetHistogram(Graph_Graph31024);
481 TLegend *
leg =
new TLegend(0,0.8,0.83,0.95,NULL,
"brNDC");
482 leg->SetBorderSize(0);
483 leg->SetLineColor(1);
484 leg->SetLineStyle(1);
485 leg->SetLineWidth(1);
486 leg->SetFillColor(0);
487 leg->SetFillStyle(0);
488 TLegendEntry *
entry=leg->AddEntry(
"NULL",
"#it{#bf{sPHENIX}} Projection, #it{p}^{#uparrow}+#it{p}#rightarrowD^{0}/#bar{D}^{0}+X, P=0.57",
"");
489 entry->SetLineColor(1);
490 entry->SetLineStyle(1);
491 entry->SetLineWidth(1);
492 entry->SetMarkerColor(1);
493 entry->SetMarkerStyle(21);
494 entry->SetMarkerSize(1);
495 entry->SetTextFont(42);
498 leg =
new TLegend(0.2,0.58,0.85,0.83,NULL,
"brNDC");
499 leg->SetBorderSize(0);
500 leg->SetLineColor(1);
501 leg->SetLineStyle(1);
502 leg->SetLineWidth(1);
503 leg->SetFillColor(0);
504 leg->SetFillStyle(0);
505 entry=leg->AddEntry(
"Graph",
"6.2 pb^{-1} str. #it{p}+#it{p}, Years 1-3",
"pl");
507 ci = TColor::GetColor(
"#999999");
508 entry->SetLineColor(ci);
509 entry->SetLineStyle(1);
510 entry->SetLineWidth(4);
512 ci = TColor::GetColor(
"#999999");
513 entry->SetMarkerColor(ci);
514 entry->SetMarkerStyle(24);
515 entry->SetMarkerSize(2);
516 entry->SetTextFont(42);
517 entry=leg->AddEntry(
"Graph",
"86 pb^{-1} str. #it{p}+#it{p}, Years 1-5",
"lp");
519 ci = TColor::GetColor(
"#000000");
520 entry->SetLineColor(ci);
521 entry->SetLineStyle(1);
522 entry->SetLineWidth(4);
524 ci = TColor::GetColor(
"#000000");
525 entry->SetMarkerColor(ci);
526 entry->SetMarkerStyle(20);
527 entry->SetMarkerSize(2);
528 entry->SetTextFont(42);
529 entry=leg->AddEntry(
"Graph0",
"Kang, PRD#bf{78}, #lambda_{f} = #lambda_{d} = 0",
"l");
531 ci = TColor::GetColor(
"#006666");
532 entry->SetLineColor(ci);
533 entry->SetLineStyle(1);
534 entry->SetLineWidth(5);
535 entry->SetMarkerColor(1);
536 entry->SetMarkerStyle(21);
537 entry->SetMarkerSize(1);
538 entry->SetTextFont(42);
539 entry=leg->AddEntry(
"Graph1",
"Kang, PRD#bf{78}, #lambda_{f} = -#lambda_{d} = 70 MeV",
"l");
541 ci = TColor::GetColor(
"#000099");
542 entry->SetLineColor(ci);
543 entry->SetLineStyle(2);
544 entry->SetLineWidth(5);
545 entry->SetMarkerColor(1);
546 entry->SetMarkerStyle(21);
547 entry->SetMarkerSize(1);
548 entry->SetTextFont(42);
550 D0_BUP2020_AN_5yr_comparison_1->Modified();
551 D0_BUP2020_AN_5yr_comparison->cd();
552 D0_BUP2020_AN_5yr_comparison->Modified();
553 D0_BUP2020_AN_5yr_comparison->cd();
554 D0_BUP2020_AN_5yr_comparison->SetSelected(D0_BUP2020_AN_5yr_comparison);