5 TCanvas *
D0_BUP2020_AN_3yr =
new TCanvas(
"D0_BUP2020_AN_3yr",
"D0_BUP2020OOArArO_AN_3yr",0,0,1100,800);
8 gStyle->SetOptTitle(0);
9 D0_BUP2020_AN_3yr->SetHighLightColor(2);
10 D0_BUP2020_AN_3yr->Range(0,0,1,1);
11 D0_BUP2020_AN_3yr->SetFillColor(0);
12 D0_BUP2020_AN_3yr->SetBorderMode(0);
13 D0_BUP2020_AN_3yr->SetBorderSize(2);
14 D0_BUP2020_AN_3yr->SetTickx(1);
15 D0_BUP2020_AN_3yr->SetTicky(1);
16 D0_BUP2020_AN_3yr->SetLeftMargin(0.16);
17 D0_BUP2020_AN_3yr->SetRightMargin(0.05);
18 D0_BUP2020_AN_3yr->SetTopMargin(0.05);
19 D0_BUP2020_AN_3yr->SetBottomMargin(0.16);
20 D0_BUP2020_AN_3yr->SetFrameBorderMode(0);
23 TPad *D0_BUP2020_AN_3yr_1 =
new TPad(
"D0_BUP2020_AN_3yr_1",
"D0_BUP2020_AN_3yr_1",0.01,0.01,0.99,0.99);
24 D0_BUP2020_AN_3yr_1->Draw();
25 D0_BUP2020_AN_3yr_1->cd();
26 D0_BUP2020_AN_3yr_1->Range(-1.012658,-0.0371519,5.316456,0.03879747);
27 D0_BUP2020_AN_3yr_1->SetFillColor(0);
28 D0_BUP2020_AN_3yr_1->SetBorderMode(0);
29 D0_BUP2020_AN_3yr_1->SetBorderSize(2);
30 D0_BUP2020_AN_3yr_1->SetTickx(1);
31 D0_BUP2020_AN_3yr_1->SetTicky(1);
32 D0_BUP2020_AN_3yr_1->SetLeftMargin(0.16);
33 D0_BUP2020_AN_3yr_1->SetRightMargin(0.05);
34 D0_BUP2020_AN_3yr_1->SetTopMargin(0.05);
35 D0_BUP2020_AN_3yr_1->SetBottomMargin(0.16);
36 D0_BUP2020_AN_3yr_1->SetFrameBorderMode(0);
37 D0_BUP2020_AN_3yr_1->SetFrameBorderMode(0);
39 TH1F *hframe__27 =
new TH1F(
"hframe__27",
"",1000,0,5);
40 hframe__27->SetMinimum(-0.025);
41 hframe__27->SetMaximum(0.035);
42 hframe__27->SetDirectory(0);
43 hframe__27->SetStats(0);
44 hframe__27->SetLineWidth(2);
45 hframe__27->SetMarkerStyle(20);
46 hframe__27->SetMarkerSize(1.2);
47 hframe__27->GetXaxis()->SetTitle(
"#it{p}_{T} [GeV]");
48 hframe__27->GetXaxis()->SetLabelFont(42);
49 hframe__27->GetXaxis()->SetLabelSize(0.05);
50 hframe__27->GetXaxis()->SetTitleSize(0.05);
51 hframe__27->GetXaxis()->SetTitleOffset(1.4);
52 hframe__27->GetXaxis()->SetTitleFont(42);
53 hframe__27->GetYaxis()->SetTitle(
"A_{N}");
54 hframe__27->GetYaxis()->SetLabelFont(42);
55 hframe__27->GetYaxis()->SetLabelSize(0.05);
56 hframe__27->GetYaxis()->SetTitleSize(0.05);
57 hframe__27->GetYaxis()->SetTitleOffset(1.4);
58 hframe__27->GetYaxis()->SetTitleFont(42);
59 hframe__27->GetZaxis()->SetLabelFont(42);
60 hframe__27->GetZaxis()->SetLabelSize(0.05);
61 hframe__27->GetZaxis()->SetTitleSize(0.05);
62 hframe__27->GetZaxis()->SetTitleOffset(1);
63 hframe__27->GetZaxis()->SetTitleFont(42);
64 hframe__27->Draw(
" ");
65 TLine *
line =
new TLine(0,-0,5,0);
68 Double_t Graph0_fx35[30] = {
99 Double_t Graph0_fy35[30] = {
130 TGraph *
graph =
new TGraph(30,Graph0_fx35,Graph0_fy35);
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_Graph035 =
new TH1F(
"Graph_Graph035",
"Graph",100,0.71,4.19);
144 Graph_Graph035->SetMinimum(-0.0009172203);
145 Graph_Graph035->SetMaximum(-0.0002893771);
146 Graph_Graph035->SetDirectory(0);
147 Graph_Graph035->SetStats(0);
148 Graph_Graph035->SetLineWidth(2);
149 Graph_Graph035->SetMarkerStyle(20);
150 Graph_Graph035->SetMarkerSize(1.2);
151 Graph_Graph035->GetXaxis()->SetLabelFont(42);
152 Graph_Graph035->GetXaxis()->SetLabelSize(0.05);
153 Graph_Graph035->GetXaxis()->SetTitleSize(0.05);
154 Graph_Graph035->GetXaxis()->SetTitleOffset(1.4);
155 Graph_Graph035->GetXaxis()->SetTitleFont(42);
156 Graph_Graph035->GetYaxis()->SetLabelFont(42);
157 Graph_Graph035->GetYaxis()->SetLabelSize(0.05);
158 Graph_Graph035->GetYaxis()->SetTitleSize(0.05);
159 Graph_Graph035->GetYaxis()->SetTitleOffset(1.4);
160 Graph_Graph035->GetYaxis()->SetTitleFont(42);
161 Graph_Graph035->GetZaxis()->SetLabelFont(42);
162 Graph_Graph035->GetZaxis()->SetLabelSize(0.05);
163 Graph_Graph035->GetZaxis()->SetTitleSize(0.05);
164 Graph_Graph035->GetZaxis()->SetTitleOffset(1);
165 Graph_Graph035->GetZaxis()->SetTitleFont(42);
166 graph->SetHistogram(Graph_Graph035);
170 Double_t Graph1_fx36[30] = {
201 Double_t Graph1_fy36[30] = {
232 graph =
new TGraph(30,Graph1_fx36,Graph1_fy36);
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_Graph136 =
new TH1F(
"Graph_Graph136",
"Graph",100,0.71,4.19);
245 Graph_Graph136->SetMinimum(-0.0196607);
246 Graph_Graph136->SetMaximum(-0.009327811);
247 Graph_Graph136->SetDirectory(0);
248 Graph_Graph136->SetStats(0);
249 Graph_Graph136->SetLineWidth(2);
250 Graph_Graph136->SetMarkerStyle(20);
251 Graph_Graph136->SetMarkerSize(1.2);
252 Graph_Graph136->GetXaxis()->SetLabelFont(42);
253 Graph_Graph136->GetXaxis()->SetLabelSize(0.05);
254 Graph_Graph136->GetXaxis()->SetTitleSize(0.05);
255 Graph_Graph136->GetXaxis()->SetTitleOffset(1.4);
256 Graph_Graph136->GetXaxis()->SetTitleFont(42);
257 Graph_Graph136->GetYaxis()->SetLabelFont(42);
258 Graph_Graph136->GetYaxis()->SetLabelSize(0.05);
259 Graph_Graph136->GetYaxis()->SetTitleSize(0.05);
260 Graph_Graph136->GetYaxis()->SetTitleOffset(1.4);
261 Graph_Graph136->GetYaxis()->SetTitleFont(42);
262 Graph_Graph136->GetZaxis()->SetLabelFont(42);
263 Graph_Graph136->GetZaxis()->SetLabelSize(0.05);
264 Graph_Graph136->GetZaxis()->SetTitleSize(0.05);
265 Graph_Graph136->GetZaxis()->SetTitleOffset(1);
266 Graph_Graph136->GetZaxis()->SetTitleFont(42);
267 graph->SetHistogram(Graph_Graph136);
271 Double_t Graph2_fx1022[10] = {
282 Double_t Graph2_fy1022[10] = {
293 Double_t Graph2_fex1022[10] = {
304 Double_t Graph2_fey1022[10] = {
315 TGraphErrors *
gre =
new TGraphErrors(10,Graph2_fx1022,Graph2_fy1022,Graph2_fex1022,Graph2_fey1022);
316 gre->SetName(
"Graph2");
317 gre->SetTitle(
"Graph");
318 gre->SetFillStyle(1000);
320 ci = TColor::GetColor(
"#000000");
321 gre->SetLineColor(ci);
322 gre->SetLineWidth(4);
324 ci = TColor::GetColor(
"#000000");
325 gre->SetMarkerColor(ci);
326 gre->SetMarkerStyle(20);
327 gre->SetMarkerSize(2);
329 TH1F *Graph_Graph21022 =
new TH1F(
"Graph_Graph21022",
"Graph",100,0,10.4);
330 Graph_Graph21022->SetMinimum(-0.0905336);
331 Graph_Graph21022->SetMaximum(0.0905336);
332 Graph_Graph21022->SetDirectory(0);
333 Graph_Graph21022->SetStats(0);
334 Graph_Graph21022->SetLineWidth(2);
335 Graph_Graph21022->SetMarkerStyle(20);
336 Graph_Graph21022->SetMarkerSize(1.2);
337 Graph_Graph21022->GetXaxis()->SetLabelFont(42);
338 Graph_Graph21022->GetXaxis()->SetLabelSize(0.05);
339 Graph_Graph21022->GetXaxis()->SetTitleSize(0.05);
340 Graph_Graph21022->GetXaxis()->SetTitleOffset(1.4);
341 Graph_Graph21022->GetXaxis()->SetTitleFont(42);
342 Graph_Graph21022->GetYaxis()->SetLabelFont(42);
343 Graph_Graph21022->GetYaxis()->SetLabelSize(0.05);
344 Graph_Graph21022->GetYaxis()->SetTitleSize(0.05);
345 Graph_Graph21022->GetYaxis()->SetTitleOffset(1.4);
346 Graph_Graph21022->GetYaxis()->SetTitleFont(42);
347 Graph_Graph21022->GetZaxis()->SetLabelFont(42);
348 Graph_Graph21022->GetZaxis()->SetLabelSize(0.05);
349 Graph_Graph21022->GetZaxis()->SetTitleSize(0.05);
350 Graph_Graph21022->GetZaxis()->SetTitleOffset(1);
351 Graph_Graph21022->GetZaxis()->SetTitleFont(42);
352 gre->SetHistogram(Graph_Graph21022);
356 TLegend *
leg =
new TLegend(0,0.8,0.83,0.95,NULL,
"brNDC");
357 leg->SetBorderSize(0);
358 leg->SetLineColor(1);
359 leg->SetLineStyle(1);
360 leg->SetLineWidth(1);
361 leg->SetFillColor(0);
362 leg->SetFillStyle(0);
363 TLegendEntry *
entry=leg->AddEntry(
"NULL",
"#it{#bf{sPHENIX}} Projection, #it{p}^{#uparrow}+#it{p}#rightarrowD^{0}/#bar{D}^{0}+X, P=0.57",
"");
364 entry->SetLineColor(1);
365 entry->SetLineStyle(1);
366 entry->SetLineWidth(1);
367 entry->SetMarkerColor(1);
368 entry->SetMarkerStyle(21);
369 entry->SetMarkerSize(1);
370 entry->SetTextFont(42);
373 leg =
new TLegend(0.2,0.58,0.85,0.83,NULL,
"brNDC");
374 leg->SetBorderSize(0);
375 leg->SetLineColor(1);
376 leg->SetLineStyle(1);
377 leg->SetLineWidth(1);
378 leg->SetFillColor(0);
379 leg->SetFillStyle(0);
380 entry=leg->AddEntry(
"Graph",
"6.2 pb^{-1} str. #it{p}+#it{p}, Years 1-3",
"pl");
382 ci = TColor::GetColor(
"#000000");
383 entry->SetLineColor(ci);
384 entry->SetLineStyle(1);
385 entry->SetLineWidth(4);
387 ci = TColor::GetColor(
"#000000");
388 entry->SetMarkerColor(ci);
389 entry->SetMarkerStyle(20);
390 entry->SetMarkerSize(2);
391 entry->SetTextFont(42);
392 entry=leg->AddEntry(
"Graph0",
"Kang, PRD#bf{78}, #lambda_{f} = #lambda_{d} = 0",
"l");
394 ci = TColor::GetColor(
"#006666");
395 entry->SetLineColor(ci);
396 entry->SetLineStyle(1);
397 entry->SetLineWidth(5);
398 entry->SetMarkerColor(1);
399 entry->SetMarkerStyle(21);
400 entry->SetMarkerSize(1);
401 entry->SetTextFont(42);
402 entry=leg->AddEntry(
"Graph1",
"Kang, PRD#bf{78}, #lambda_{f} = -#lambda_{d} = 70 MeV",
"l");
404 ci = TColor::GetColor(
"#000099");
405 entry->SetLineColor(ci);
406 entry->SetLineStyle(2);
407 entry->SetLineWidth(5);
408 entry->SetMarkerColor(1);
409 entry->SetMarkerStyle(21);
410 entry->SetMarkerSize(1);
411 entry->SetTextFont(42);
413 D0_BUP2020_AN_3yr_1->Modified();
414 D0_BUP2020_AN_3yr->cd();
415 D0_BUP2020_AN_3yr->Modified();
416 D0_BUP2020_AN_3yr->cd();
417 D0_BUP2020_AN_3yr->SetSelected(D0_BUP2020_AN_3yr);