Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
D0_BUP2020_AuAu_v1_5y_compare.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file D0_BUP2020_AuAu_v1_5y_compare.C
2 {
3 //=========Macro generated from canvas: D0_BUP2020_AuAu_v1_5y_compare/D0_BUP2020_AuAu_v1_5y_compare
4 //========= (Thu Aug 27 18:01:29 2020) by ROOT version 6.16/00
5  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);
6  gStyle->SetOptStat(0);
7  gStyle->SetOptTitle(0);
8  D0_BUP2020_AuAu_v1_5y_compare->Range(0,0,1,1);
9  D0_BUP2020_AuAu_v1_5y_compare->SetFillColor(0);
10  D0_BUP2020_AuAu_v1_5y_compare->SetBorderMode(0);
11  D0_BUP2020_AuAu_v1_5y_compare->SetBorderSize(2);
12  D0_BUP2020_AuAu_v1_5y_compare->SetTickx(1);
13  D0_BUP2020_AuAu_v1_5y_compare->SetTicky(1);
14  D0_BUP2020_AuAu_v1_5y_compare->SetLeftMargin(0.16);
15  D0_BUP2020_AuAu_v1_5y_compare->SetRightMargin(0.05);
16  D0_BUP2020_AuAu_v1_5y_compare->SetTopMargin(0.05);
17  D0_BUP2020_AuAu_v1_5y_compare->SetBottomMargin(0.16);
18  D0_BUP2020_AuAu_v1_5y_compare->SetFrameBorderMode(0);
19 
20 // ------------>Primitives in pad: D0_BUP2020_AuAu_v1_5y_compare_1
21  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);
22  D0_BUP2020_AuAu_v1_5y_compare_1->Draw();
23  D0_BUP2020_AuAu_v1_5y_compare_1->cd();
24  D0_BUP2020_AuAu_v1_5y_compare_1->Range(-1.686076,-0.1405063,1.351899,0.1126582);
25  D0_BUP2020_AuAu_v1_5y_compare_1->SetFillColor(0);
26  D0_BUP2020_AuAu_v1_5y_compare_1->SetBorderMode(0);
27  D0_BUP2020_AuAu_v1_5y_compare_1->SetBorderSize(2);
28  D0_BUP2020_AuAu_v1_5y_compare_1->SetTickx(1);
29  D0_BUP2020_AuAu_v1_5y_compare_1->SetTicky(1);
30  D0_BUP2020_AuAu_v1_5y_compare_1->SetLeftMargin(0.16);
31  D0_BUP2020_AuAu_v1_5y_compare_1->SetRightMargin(0.05);
32  D0_BUP2020_AuAu_v1_5y_compare_1->SetTopMargin(0.05);
33  D0_BUP2020_AuAu_v1_5y_compare_1->SetBottomMargin(0.16);
34  D0_BUP2020_AuAu_v1_5y_compare_1->SetFrameBorderMode(0);
35  D0_BUP2020_AuAu_v1_5y_compare_1->SetFrameBorderMode(0);
36 
37  TH1D *d0__1 = new TH1D("d0__1","",1,-1.2,1.2);
38  d0__1->SetMinimum(-0.1);
39  d0__1->SetMaximum(0.1);
40  d0__1->SetStats(0);
41  d0__1->SetLineWidth(2);
42  d0__1->SetMarkerStyle(20);
43  d0__1->SetMarkerSize(1.2);
44  d0__1->GetXaxis()->SetTitle("Rapidity");
45  d0__1->GetXaxis()->SetLabelFont(42);
46  d0__1->GetXaxis()->SetLabelSize(0.05);
47  d0__1->GetXaxis()->SetTitleSize(0.05);
48  d0__1->GetXaxis()->SetTitleOffset(1.4);
49  d0__1->GetXaxis()->SetTitleFont(42);
50  d0__1->GetYaxis()->SetTitle("v_{1}");
51  d0__1->GetYaxis()->SetLabelFont(42);
52  d0__1->GetYaxis()->SetLabelSize(0.05);
53  d0__1->GetYaxis()->SetTitleSize(0.05);
54  d0__1->GetYaxis()->SetTitleOffset(1.4);
55  d0__1->GetYaxis()->SetTitleFont(42);
56  d0__1->GetZaxis()->SetLabelFont(42);
57  d0__1->GetZaxis()->SetLabelSize(0.05);
58  d0__1->GetZaxis()->SetTitleSize(0.05);
59  d0__1->GetZaxis()->SetTitleOffset(1);
60  d0__1->GetZaxis()->SetTitleFont(42);
61  d0__1->Draw("c");
62  TLine *line = new TLine(-1.2,0,1.2,0);
63  line->Draw();
64 
65  Double_t Graph0_fx1001[4] = {
66  -0.62,
67  -0.22,
68  0.18,
69  0.58};
70  Double_t Graph0_fy1001[4] = {
71  0.067,
72  0.029,
73  -0.032,
74  -0.029};
75  Double_t Graph0_fex1001[4] = {
76  0,
77  0,
78  0,
79  0};
80  Double_t Graph0_fey1001[4] = {
81  0.024,
82  0.02,
83  0.018,
84  0.021};
85  TGraphErrors *gre = new TGraphErrors(4,Graph0_fx1001,Graph0_fy1001,Graph0_fex1001,Graph0_fey1001);
86  gre->SetName("Graph0");
87  gre->SetTitle("Graph");
88  gre->SetFillStyle(1000);
89 
90  Int_t ci; // for color index setting
91  TColor *color; // for color definition with alpha
92  ci = TColor::GetColor("#cc6666");
93  gre->SetLineColor(ci);
94  gre->SetLineWidth(4);
95 
96  ci = TColor::GetColor("#cc6666");
97  gre->SetMarkerColor(ci);
98  gre->SetMarkerStyle(29);
99  gre->SetMarkerSize(2);
100 
101  TH1F *Graph_Graph01001 = new TH1F("Graph_Graph01001","Graph",100,-0.74,0.7);
102  Graph_Graph01001->SetMinimum(-0.0641);
103  Graph_Graph01001->SetMaximum(0.1051);
104  Graph_Graph01001->SetDirectory(0);
105  Graph_Graph01001->SetStats(0);
106  Graph_Graph01001->SetLineWidth(2);
107  Graph_Graph01001->SetMarkerStyle(20);
108  Graph_Graph01001->SetMarkerSize(1.2);
109  Graph_Graph01001->GetXaxis()->SetLabelFont(42);
110  Graph_Graph01001->GetXaxis()->SetLabelSize(0.05);
111  Graph_Graph01001->GetXaxis()->SetTitleSize(0.05);
112  Graph_Graph01001->GetXaxis()->SetTitleOffset(1.4);
113  Graph_Graph01001->GetXaxis()->SetTitleFont(42);
114  Graph_Graph01001->GetYaxis()->SetLabelFont(42);
115  Graph_Graph01001->GetYaxis()->SetLabelSize(0.05);
116  Graph_Graph01001->GetYaxis()->SetTitleSize(0.05);
117  Graph_Graph01001->GetYaxis()->SetTitleOffset(1.4);
118  Graph_Graph01001->GetYaxis()->SetTitleFont(42);
119  Graph_Graph01001->GetZaxis()->SetLabelFont(42);
120  Graph_Graph01001->GetZaxis()->SetLabelSize(0.05);
121  Graph_Graph01001->GetZaxis()->SetTitleSize(0.05);
122  Graph_Graph01001->GetZaxis()->SetTitleOffset(1);
123  Graph_Graph01001->GetZaxis()->SetTitleFont(42);
124  gre->SetHistogram(Graph_Graph01001);
125 
126  gre->Draw("p");
127 
128  Double_t Graph1_fx1002[4] = {
129  -0.58,
130  -0.18,
131  0.22,
132  0.62};
133  Double_t Graph1_fy1002[4] = {
134  0.07,
135  0.008,
136  -0.029,
137  -0.022};
138  Double_t Graph1_fex1002[4] = {
139  0,
140  0,
141  0,
142  0};
143  Double_t Graph1_fey1002[4] = {
144  0.024,
145  0.019,
146  0.018,
147  0.02};
148  gre = new TGraphErrors(4,Graph1_fx1002,Graph1_fy1002,Graph1_fex1002,Graph1_fey1002);
149  gre->SetName("Graph1");
150  gre->SetTitle("Graph");
151  gre->SetFillStyle(1000);
152 
153  ci = TColor::GetColor("#cc6666");
154  gre->SetLineColor(ci);
155  gre->SetLineWidth(4);
156 
157  ci = TColor::GetColor("#cc6666");
158  gre->SetMarkerColor(ci);
159  gre->SetMarkerStyle(30);
160  gre->SetMarkerSize(2);
161 
162  TH1F *Graph_Graph11002 = new TH1F("Graph_Graph11002","Graph",100,-0.7,0.74);
163  Graph_Graph11002->SetMinimum(-0.0611);
164  Graph_Graph11002->SetMaximum(0.1081);
165  Graph_Graph11002->SetDirectory(0);
166  Graph_Graph11002->SetStats(0);
167  Graph_Graph11002->SetLineWidth(2);
168  Graph_Graph11002->SetMarkerStyle(20);
169  Graph_Graph11002->SetMarkerSize(1.2);
170  Graph_Graph11002->GetXaxis()->SetLabelFont(42);
171  Graph_Graph11002->GetXaxis()->SetLabelSize(0.05);
172  Graph_Graph11002->GetXaxis()->SetTitleSize(0.05);
173  Graph_Graph11002->GetXaxis()->SetTitleOffset(1.4);
174  Graph_Graph11002->GetXaxis()->SetTitleFont(42);
175  Graph_Graph11002->GetYaxis()->SetLabelFont(42);
176  Graph_Graph11002->GetYaxis()->SetLabelSize(0.05);
177  Graph_Graph11002->GetYaxis()->SetTitleSize(0.05);
178  Graph_Graph11002->GetYaxis()->SetTitleOffset(1.4);
179  Graph_Graph11002->GetYaxis()->SetTitleFont(42);
180  Graph_Graph11002->GetZaxis()->SetLabelFont(42);
181  Graph_Graph11002->GetZaxis()->SetLabelSize(0.05);
182  Graph_Graph11002->GetZaxis()->SetTitleSize(0.05);
183  Graph_Graph11002->GetZaxis()->SetTitleOffset(1);
184  Graph_Graph11002->GetZaxis()->SetTitleFont(42);
185  gre->SetHistogram(Graph_Graph11002);
186 
187  gre->Draw("p");
188 
189  Double_t Graph2_fx1[8] = {
190  -0.875,
191  -0.625,
192  -0.375,
193  -0.125,
194  0.125,
195  0.375,
196  0.625,
197  0.875};
198  Double_t Graph2_fy1[8] = {
199  0.03942156,
200  0.03067408,
201  0.01988809,
202  0.008240108,
203  -0.00452453,
204  -0.01728107,
205  -0.03025653,
206  -0.03917671};
207  TGraph *graph = new TGraph(8,Graph2_fx1,Graph2_fy1);
208  graph->SetName("Graph2");
209  graph->SetTitle("Graph");
210  graph->SetFillStyle(1000);
211  graph->SetLineWidth(2);
212  graph->SetMarkerStyle(20);
213  graph->SetMarkerSize(2);
214 
215  TH1F *Graph_Graph21 = new TH1F("Graph_Graph21","Graph",100,-1.05,1.05);
216  Graph_Graph21->SetMinimum(-0.04703654);
217  Graph_Graph21->SetMaximum(0.04728138);
218  Graph_Graph21->SetDirectory(0);
219  Graph_Graph21->SetStats(0);
220  Graph_Graph21->SetLineWidth(2);
221  Graph_Graph21->SetMarkerStyle(20);
222  Graph_Graph21->SetMarkerSize(1.2);
223  Graph_Graph21->GetXaxis()->SetLabelFont(42);
224  Graph_Graph21->GetXaxis()->SetLabelSize(0.05);
225  Graph_Graph21->GetXaxis()->SetTitleSize(0.05);
226  Graph_Graph21->GetXaxis()->SetTitleOffset(1.4);
227  Graph_Graph21->GetXaxis()->SetTitleFont(42);
228  Graph_Graph21->GetYaxis()->SetLabelFont(42);
229  Graph_Graph21->GetYaxis()->SetLabelSize(0.05);
230  Graph_Graph21->GetYaxis()->SetTitleSize(0.05);
231  Graph_Graph21->GetYaxis()->SetTitleOffset(1.4);
232  Graph_Graph21->GetYaxis()->SetTitleFont(42);
233  Graph_Graph21->GetZaxis()->SetLabelFont(42);
234  Graph_Graph21->GetZaxis()->SetLabelSize(0.05);
235  Graph_Graph21->GetZaxis()->SetTitleSize(0.05);
236  Graph_Graph21->GetZaxis()->SetTitleOffset(1);
237  Graph_Graph21->GetZaxis()->SetTitleFont(42);
238  graph->SetHistogram(Graph_Graph21);
239 
240  graph->Draw("c");
241 
242  Double_t Graph3_fx2[8] = {
243  -0.875,
244  -0.625,
245  -0.375,
246  -0.125,
247  0.125,
248  0.375,
249  0.625,
250  0.875};
251  Double_t Graph3_fy2[8] = {
252  0.02645328,
253  0.02204966,
254  0.01529134,
255  0.006949292,
256  -0.00231199,
257  -0.01082532,
258  -0.0186751,
259  -0.02261987};
260  graph = new TGraph(8,Graph3_fx2,Graph3_fy2);
261  graph->SetName("Graph3");
262  graph->SetTitle("Graph");
263  graph->SetFillStyle(1000);
264  graph->SetLineColor(4);
265  graph->SetLineWidth(2);
266  graph->SetMarkerColor(4);
267  graph->SetMarkerStyle(24);
268  graph->SetMarkerSize(2);
269 
270  TH1F *Graph_Graph32 = new TH1F("Graph_Graph32","Graph",100,-1.05,1.05);
271  Graph_Graph32->SetMinimum(-0.02752718);
272  Graph_Graph32->SetMaximum(0.03136059);
273  Graph_Graph32->SetDirectory(0);
274  Graph_Graph32->SetStats(0);
275  Graph_Graph32->SetLineWidth(2);
276  Graph_Graph32->SetMarkerStyle(20);
277  Graph_Graph32->SetMarkerSize(1.2);
278  Graph_Graph32->GetXaxis()->SetLabelFont(42);
279  Graph_Graph32->GetXaxis()->SetLabelSize(0.05);
280  Graph_Graph32->GetXaxis()->SetTitleSize(0.05);
281  Graph_Graph32->GetXaxis()->SetTitleOffset(1.4);
282  Graph_Graph32->GetXaxis()->SetTitleFont(42);
283  Graph_Graph32->GetYaxis()->SetLabelFont(42);
284  Graph_Graph32->GetYaxis()->SetLabelSize(0.05);
285  Graph_Graph32->GetYaxis()->SetTitleSize(0.05);
286  Graph_Graph32->GetYaxis()->SetTitleOffset(1.4);
287  Graph_Graph32->GetYaxis()->SetTitleFont(42);
288  Graph_Graph32->GetZaxis()->SetLabelFont(42);
289  Graph_Graph32->GetZaxis()->SetLabelSize(0.05);
290  Graph_Graph32->GetZaxis()->SetTitleSize(0.05);
291  Graph_Graph32->GetZaxis()->SetTitleOffset(1);
292  Graph_Graph32->GetZaxis()->SetTitleFont(42);
293  graph->SetHistogram(Graph_Graph32);
294 
295  graph->Draw("c");
296 
297  Double_t Graph4_fx1003[4] = {
298  -0.825,
299  -0.575,
300  -0.325,
301  -0.075};
302  Double_t Graph4_fy1003[4] = {
303  0.03942156,
304  0.03067408,
305  0.01988809,
306  0.008240108};
307  Double_t Graph4_fex1003[4] = {
308  0,
309  0,
310  0,
311  0};
312  Double_t Graph4_fey1003[4] = {
313  0.005125373,
314  0.005127926,
315  0.005130196,
316  0.005131559};
317  gre = new TGraphErrors(4,Graph4_fx1003,Graph4_fy1003,Graph4_fex1003,Graph4_fey1003);
318  gre->SetName("Graph4");
319  gre->SetTitle("Graph");
320  gre->SetFillStyle(1000);
321 
322  ci = TColor::GetColor("#666666");
323  gre->SetLineColor(ci);
324  gre->SetLineWidth(4);
325 
326  ci = TColor::GetColor("#666666");
327  gre->SetMarkerColor(ci);
328  gre->SetMarkerStyle(24);
329  gre->SetMarkerSize(2);
330 
331  TH1F *Graph_Graph41003 = new TH1F("Graph_Graph41003","Graph",100,-0.9,0);
332  Graph_Graph41003->SetMinimum(0.002797694);
333  Graph_Graph41003->SetMaximum(0.04869077);
334  Graph_Graph41003->SetDirectory(0);
335  Graph_Graph41003->SetStats(0);
336  Graph_Graph41003->SetLineWidth(2);
337  Graph_Graph41003->SetMarkerStyle(20);
338  Graph_Graph41003->SetMarkerSize(1.2);
339  Graph_Graph41003->GetXaxis()->SetLabelFont(42);
340  Graph_Graph41003->GetXaxis()->SetLabelSize(0.05);
341  Graph_Graph41003->GetXaxis()->SetTitleSize(0.05);
342  Graph_Graph41003->GetXaxis()->SetTitleOffset(1.4);
343  Graph_Graph41003->GetXaxis()->SetTitleFont(42);
344  Graph_Graph41003->GetYaxis()->SetLabelFont(42);
345  Graph_Graph41003->GetYaxis()->SetLabelSize(0.05);
346  Graph_Graph41003->GetYaxis()->SetTitleSize(0.05);
347  Graph_Graph41003->GetYaxis()->SetTitleOffset(1.4);
348  Graph_Graph41003->GetYaxis()->SetTitleFont(42);
349  Graph_Graph41003->GetZaxis()->SetLabelFont(42);
350  Graph_Graph41003->GetZaxis()->SetLabelSize(0.05);
351  Graph_Graph41003->GetZaxis()->SetTitleSize(0.05);
352  Graph_Graph41003->GetZaxis()->SetTitleOffset(1);
353  Graph_Graph41003->GetZaxis()->SetTitleFont(42);
354  gre->SetHistogram(Graph_Graph41003);
355 
356  gre->Draw("p");
357 
358  Double_t Graph5_fx1004[4] = {
359  -0.825,
360  -0.575,
361  -0.325,
362  -0.075};
363  Double_t Graph5_fy1004[4] = {
364  0.02645328,
365  0.02204966,
366  0.01529134,
367  0.006949292};
368  Double_t Graph5_fex1004[4] = {
369  0,
370  0,
371  0,
372  0};
373  Double_t Graph5_fey1004[4] = {
374  0.00512893,
375  0.005129819,
376  0.005130869,
377  0.005131641};
378  gre = new TGraphErrors(4,Graph5_fx1004,Graph5_fy1004,Graph5_fex1004,Graph5_fey1004);
379  gre->SetName("Graph5");
380  gre->SetTitle("Graph");
381  gre->SetFillStyle(1000);
382 
383  ci = TColor::GetColor("#6666cc");
384  gre->SetLineColor(ci);
385  gre->SetLineWidth(4);
386 
387  ci = TColor::GetColor("#6666cc");
388  gre->SetMarkerColor(ci);
389  gre->SetMarkerStyle(24);
390  gre->SetMarkerSize(2);
391 
392  TH1F *Graph_Graph51004 = new TH1F("Graph_Graph51004","Graph",100,-0.9,0);
393  Graph_Graph51004->SetMinimum(0.001635886);
394  Graph_Graph51004->SetMaximum(0.03455866);
395  Graph_Graph51004->SetDirectory(0);
396  Graph_Graph51004->SetStats(0);
397  Graph_Graph51004->SetLineWidth(2);
398  Graph_Graph51004->SetMarkerStyle(20);
399  Graph_Graph51004->SetMarkerSize(1.2);
400  Graph_Graph51004->GetXaxis()->SetLabelFont(42);
401  Graph_Graph51004->GetXaxis()->SetLabelSize(0.05);
402  Graph_Graph51004->GetXaxis()->SetTitleSize(0.05);
403  Graph_Graph51004->GetXaxis()->SetTitleOffset(1.4);
404  Graph_Graph51004->GetXaxis()->SetTitleFont(42);
405  Graph_Graph51004->GetYaxis()->SetLabelFont(42);
406  Graph_Graph51004->GetYaxis()->SetLabelSize(0.05);
407  Graph_Graph51004->GetYaxis()->SetTitleSize(0.05);
408  Graph_Graph51004->GetYaxis()->SetTitleOffset(1.4);
409  Graph_Graph51004->GetYaxis()->SetTitleFont(42);
410  Graph_Graph51004->GetZaxis()->SetLabelFont(42);
411  Graph_Graph51004->GetZaxis()->SetLabelSize(0.05);
412  Graph_Graph51004->GetZaxis()->SetTitleSize(0.05);
413  Graph_Graph51004->GetZaxis()->SetTitleOffset(1);
414  Graph_Graph51004->GetZaxis()->SetTitleFont(42);
415  gre->SetHistogram(Graph_Graph51004);
416 
417  gre->Draw("p");
418 
419  Double_t Graph6_fx1005[4] = {
420  0.175,
421  0.425,
422  0.675,
423  0.925};
424  Double_t Graph6_fy1005[4] = {
425  -0.00452453,
426  -0.01728107,
427  -0.03025653,
428  -0.03917671};
429  Double_t Graph6_fex1005[4] = {
430  0,
431  0,
432  0,
433  0};
434  Double_t Graph6_fey1005[4] = {
435  0.005131757,
436  0.005130599,
437  0.005128032,
438  0.005125453};
439  gre = new TGraphErrors(4,Graph6_fx1005,Graph6_fy1005,Graph6_fex1005,Graph6_fey1005);
440  gre->SetName("Graph6");
441  gre->SetTitle("Graph");
442  gre->SetFillStyle(1000);
443 
444  ci = TColor::GetColor("#666666");
445  gre->SetLineColor(ci);
446  gre->SetLineWidth(4);
447 
448  ci = TColor::GetColor("#666666");
449  gre->SetMarkerColor(ci);
450  gre->SetMarkerStyle(24);
451  gre->SetMarkerSize(2);
452 
453  TH1F *Graph_Graph61005 = new TH1F("Graph_Graph61005","Graph",100,0.1,1);
454  Graph_Graph61005->SetMinimum(-0.0487931);
455  Graph_Graph61005->SetMaximum(0.005098165);
456  Graph_Graph61005->SetDirectory(0);
457  Graph_Graph61005->SetStats(0);
458  Graph_Graph61005->SetLineWidth(2);
459  Graph_Graph61005->SetMarkerStyle(20);
460  Graph_Graph61005->SetMarkerSize(1.2);
461  Graph_Graph61005->GetXaxis()->SetLabelFont(42);
462  Graph_Graph61005->GetXaxis()->SetLabelSize(0.05);
463  Graph_Graph61005->GetXaxis()->SetTitleSize(0.05);
464  Graph_Graph61005->GetXaxis()->SetTitleOffset(1.4);
465  Graph_Graph61005->GetXaxis()->SetTitleFont(42);
466  Graph_Graph61005->GetYaxis()->SetLabelFont(42);
467  Graph_Graph61005->GetYaxis()->SetLabelSize(0.05);
468  Graph_Graph61005->GetYaxis()->SetTitleSize(0.05);
469  Graph_Graph61005->GetYaxis()->SetTitleOffset(1.4);
470  Graph_Graph61005->GetYaxis()->SetTitleFont(42);
471  Graph_Graph61005->GetZaxis()->SetLabelFont(42);
472  Graph_Graph61005->GetZaxis()->SetLabelSize(0.05);
473  Graph_Graph61005->GetZaxis()->SetTitleSize(0.05);
474  Graph_Graph61005->GetZaxis()->SetTitleOffset(1);
475  Graph_Graph61005->GetZaxis()->SetTitleFont(42);
476  gre->SetHistogram(Graph_Graph61005);
477 
478  gre->Draw("p");
479 
480  Double_t Graph7_fx1006[4] = {
481  0.175,
482  0.425,
483  0.675,
484  0.925};
485  Double_t Graph7_fy1006[4] = {
486  -0.00231199,
487  -0.01082532,
488  -0.0186751,
489  -0.02261987};
490  Double_t Graph7_fex1006[4] = {
491  0,
492  0,
493  0,
494  0};
495  Double_t Graph7_fey1006[4] = {
496  0.00513182,
497  0.005131354,
498  0.005130391,
499  0.005129713};
500  gre = new TGraphErrors(4,Graph7_fx1006,Graph7_fy1006,Graph7_fex1006,Graph7_fey1006);
501  gre->SetName("Graph7");
502  gre->SetTitle("Graph");
503  gre->SetFillStyle(1000);
504 
505  ci = TColor::GetColor("#6666cc");
506  gre->SetLineColor(ci);
507  gre->SetLineWidth(4);
508 
509  ci = TColor::GetColor("#6666cc");
510  gre->SetMarkerColor(ci);
511  gre->SetMarkerStyle(24);
512  gre->SetMarkerSize(2);
513 
514  TH1F *Graph_Graph71006 = new TH1F("Graph_Graph71006","Graph",100,0.1,1);
515  Graph_Graph71006->SetMinimum(-0.03080652);
516  Graph_Graph71006->SetMaximum(0.00587677);
517  Graph_Graph71006->SetDirectory(0);
518  Graph_Graph71006->SetStats(0);
519  Graph_Graph71006->SetLineWidth(2);
520  Graph_Graph71006->SetMarkerStyle(20);
521  Graph_Graph71006->SetMarkerSize(1.2);
522  Graph_Graph71006->GetXaxis()->SetLabelFont(42);
523  Graph_Graph71006->GetXaxis()->SetLabelSize(0.05);
524  Graph_Graph71006->GetXaxis()->SetTitleSize(0.05);
525  Graph_Graph71006->GetXaxis()->SetTitleOffset(1.4);
526  Graph_Graph71006->GetXaxis()->SetTitleFont(42);
527  Graph_Graph71006->GetYaxis()->SetLabelFont(42);
528  Graph_Graph71006->GetYaxis()->SetLabelSize(0.05);
529  Graph_Graph71006->GetYaxis()->SetTitleSize(0.05);
530  Graph_Graph71006->GetYaxis()->SetTitleOffset(1.4);
531  Graph_Graph71006->GetYaxis()->SetTitleFont(42);
532  Graph_Graph71006->GetZaxis()->SetLabelFont(42);
533  Graph_Graph71006->GetZaxis()->SetLabelSize(0.05);
534  Graph_Graph71006->GetZaxis()->SetTitleSize(0.05);
535  Graph_Graph71006->GetZaxis()->SetTitleOffset(1);
536  Graph_Graph71006->GetZaxis()->SetTitleFont(42);
537  gre->SetHistogram(Graph_Graph71006);
538 
539  gre->Draw("p");
540 
541  Double_t Graph8_fx1007[4] = {
542  -0.875,
543  -0.625,
544  -0.375,
545  -0.125};
546  Double_t Graph8_fy1007[4] = {
547  0.03942156,
548  0.03067408,
549  0.01988809,
550  0.008240108};
551  Double_t Graph8_fex1007[4] = {
552  0,
553  0,
554  0,
555  0};
556  Double_t Graph8_fey1007[4] = {
557  0.003274965,
558  0.003276597,
559  0.003278047,
560  0.003278918};
561  gre = new TGraphErrors(4,Graph8_fx1007,Graph8_fy1007,Graph8_fex1007,Graph8_fey1007);
562  gre->SetName("Graph8");
563  gre->SetTitle("Graph");
564  gre->SetFillStyle(1000);
565  gre->SetLineWidth(4);
566  gre->SetMarkerStyle(20);
567  gre->SetMarkerSize(2);
568 
569  TH1F *Graph_Graph81007 = new TH1F("Graph_Graph81007","Graph",100,-0.95,-0.05);
570  Graph_Graph81007->SetMinimum(0.001187657);
571  Graph_Graph81007->SetMaximum(0.04647006);
572  Graph_Graph81007->SetDirectory(0);
573  Graph_Graph81007->SetStats(0);
574  Graph_Graph81007->SetLineWidth(2);
575  Graph_Graph81007->SetMarkerStyle(20);
576  Graph_Graph81007->SetMarkerSize(1.2);
577  Graph_Graph81007->GetXaxis()->SetLabelFont(42);
578  Graph_Graph81007->GetXaxis()->SetLabelSize(0.05);
579  Graph_Graph81007->GetXaxis()->SetTitleSize(0.05);
580  Graph_Graph81007->GetXaxis()->SetTitleOffset(1.4);
581  Graph_Graph81007->GetXaxis()->SetTitleFont(42);
582  Graph_Graph81007->GetYaxis()->SetLabelFont(42);
583  Graph_Graph81007->GetYaxis()->SetLabelSize(0.05);
584  Graph_Graph81007->GetYaxis()->SetTitleSize(0.05);
585  Graph_Graph81007->GetYaxis()->SetTitleOffset(1.4);
586  Graph_Graph81007->GetYaxis()->SetTitleFont(42);
587  Graph_Graph81007->GetZaxis()->SetLabelFont(42);
588  Graph_Graph81007->GetZaxis()->SetLabelSize(0.05);
589  Graph_Graph81007->GetZaxis()->SetTitleSize(0.05);
590  Graph_Graph81007->GetZaxis()->SetTitleOffset(1);
591  Graph_Graph81007->GetZaxis()->SetTitleFont(42);
592  gre->SetHistogram(Graph_Graph81007);
593 
594  gre->Draw("p");
595 
596  Double_t Graph9_fx1008[4] = {
597  -0.875,
598  -0.625,
599  -0.375,
600  -0.125};
601  Double_t Graph9_fy1008[4] = {
602  0.02645328,
603  0.02204966,
604  0.01529134,
605  0.006949292};
606  Double_t Graph9_fex1008[4] = {
607  0,
608  0,
609  0,
610  0};
611  Double_t Graph9_fey1008[4] = {
612  0.003277238,
613  0.003277806,
614  0.003278477,
615  0.00327897};
616  gre = new TGraphErrors(4,Graph9_fx1008,Graph9_fy1008,Graph9_fex1008,Graph9_fey1008);
617  gre->SetName("Graph9");
618  gre->SetTitle("Graph");
619  gre->SetFillStyle(1000);
620  gre->SetLineColor(4);
621  gre->SetLineWidth(4);
622  gre->SetMarkerColor(4);
623  gre->SetMarkerStyle(20);
624  gre->SetMarkerSize(2);
625 
626  TH1F *Graph_Graph91008 = new TH1F("Graph_Graph91008","Graph",100,-0.95,-0.05);
627  Graph_Graph91008->SetMinimum(0.001064302);
628  Graph_Graph91008->SetMaximum(0.03233654);
629  Graph_Graph91008->SetDirectory(0);
630  Graph_Graph91008->SetStats(0);
631  Graph_Graph91008->SetLineWidth(2);
632  Graph_Graph91008->SetMarkerStyle(20);
633  Graph_Graph91008->SetMarkerSize(1.2);
634  Graph_Graph91008->GetXaxis()->SetLabelFont(42);
635  Graph_Graph91008->GetXaxis()->SetLabelSize(0.05);
636  Graph_Graph91008->GetXaxis()->SetTitleSize(0.05);
637  Graph_Graph91008->GetXaxis()->SetTitleOffset(1.4);
638  Graph_Graph91008->GetXaxis()->SetTitleFont(42);
639  Graph_Graph91008->GetYaxis()->SetLabelFont(42);
640  Graph_Graph91008->GetYaxis()->SetLabelSize(0.05);
641  Graph_Graph91008->GetYaxis()->SetTitleSize(0.05);
642  Graph_Graph91008->GetYaxis()->SetTitleOffset(1.4);
643  Graph_Graph91008->GetYaxis()->SetTitleFont(42);
644  Graph_Graph91008->GetZaxis()->SetLabelFont(42);
645  Graph_Graph91008->GetZaxis()->SetLabelSize(0.05);
646  Graph_Graph91008->GetZaxis()->SetTitleSize(0.05);
647  Graph_Graph91008->GetZaxis()->SetTitleOffset(1);
648  Graph_Graph91008->GetZaxis()->SetTitleFont(42);
649  gre->SetHistogram(Graph_Graph91008);
650 
651  gre->Draw("p");
652 
653  Double_t Graph10_fx1009[4] = {
654  0.125,
655  0.375,
656  0.625,
657  0.875};
658  Double_t Graph10_fy1009[4] = {
659  -0.00452453,
660  -0.01728107,
661  -0.03025653,
662  -0.03917671};
663  Double_t Graph10_fex1009[4] = {
664  0,
665  0,
666  0,
667  0};
668  Double_t Graph10_fey1009[4] = {
669  0.003279044,
670  0.003278305,
671  0.003276664,
672  0.003275016};
673  gre = new TGraphErrors(4,Graph10_fx1009,Graph10_fy1009,Graph10_fex1009,Graph10_fey1009);
674  gre->SetName("Graph10");
675  gre->SetTitle("Graph");
676  gre->SetFillStyle(1000);
677  gre->SetLineWidth(4);
678  gre->SetMarkerStyle(20);
679  gre->SetMarkerSize(2);
680 
681  TH1F *Graph_Graph101009 = new TH1F("Graph_Graph101009","Graph",100,0.05,0.95);
682  Graph_Graph101009->SetMinimum(-0.04657235);
683  Graph_Graph101009->SetMaximum(0.002875138);
684  Graph_Graph101009->SetDirectory(0);
685  Graph_Graph101009->SetStats(0);
686  Graph_Graph101009->SetLineWidth(2);
687  Graph_Graph101009->SetMarkerStyle(20);
688  Graph_Graph101009->SetMarkerSize(1.2);
689  Graph_Graph101009->GetXaxis()->SetLabelFont(42);
690  Graph_Graph101009->GetXaxis()->SetLabelSize(0.05);
691  Graph_Graph101009->GetXaxis()->SetTitleSize(0.05);
692  Graph_Graph101009->GetXaxis()->SetTitleOffset(1.4);
693  Graph_Graph101009->GetXaxis()->SetTitleFont(42);
694  Graph_Graph101009->GetYaxis()->SetLabelFont(42);
695  Graph_Graph101009->GetYaxis()->SetLabelSize(0.05);
696  Graph_Graph101009->GetYaxis()->SetTitleSize(0.05);
697  Graph_Graph101009->GetYaxis()->SetTitleOffset(1.4);
698  Graph_Graph101009->GetYaxis()->SetTitleFont(42);
699  Graph_Graph101009->GetZaxis()->SetLabelFont(42);
700  Graph_Graph101009->GetZaxis()->SetLabelSize(0.05);
701  Graph_Graph101009->GetZaxis()->SetTitleSize(0.05);
702  Graph_Graph101009->GetZaxis()->SetTitleOffset(1);
703  Graph_Graph101009->GetZaxis()->SetTitleFont(42);
704  gre->SetHistogram(Graph_Graph101009);
705 
706  gre->Draw("p");
707 
708  Double_t Graph11_fx1010[4] = {
709  0.125,
710  0.375,
711  0.625,
712  0.875};
713  Double_t Graph11_fy1010[4] = {
714  -0.00231199,
715  -0.01082532,
716  -0.0186751,
717  -0.02261987};
718  Double_t Graph11_fex1010[4] = {
719  0,
720  0,
721  0,
722  0};
723  Double_t Graph11_fey1010[4] = {
724  0.003279084,
725  0.003278787,
726  0.003278171,
727  0.003277738};
728  gre = new TGraphErrors(4,Graph11_fx1010,Graph11_fy1010,Graph11_fex1010,Graph11_fey1010);
729  gre->SetName("Graph11");
730  gre->SetTitle("Graph");
731  gre->SetFillStyle(1000);
732  gre->SetLineColor(4);
733  gre->SetLineWidth(4);
734  gre->SetMarkerColor(4);
735  gre->SetMarkerStyle(20);
736  gre->SetMarkerSize(2);
737 
738  TH1F *Graph_Graph111010 = new TH1F("Graph_Graph111010","Graph",100,0.05,0.95);
739  Graph_Graph111010->SetMinimum(-0.02858408);
740  Graph_Graph111010->SetMaximum(0.003653564);
741  Graph_Graph111010->SetDirectory(0);
742  Graph_Graph111010->SetStats(0);
743  Graph_Graph111010->SetLineWidth(2);
744  Graph_Graph111010->SetMarkerStyle(20);
745  Graph_Graph111010->SetMarkerSize(1.2);
746  Graph_Graph111010->GetXaxis()->SetLabelFont(42);
747  Graph_Graph111010->GetXaxis()->SetLabelSize(0.05);
748  Graph_Graph111010->GetXaxis()->SetTitleSize(0.05);
749  Graph_Graph111010->GetXaxis()->SetTitleOffset(1.4);
750  Graph_Graph111010->GetXaxis()->SetTitleFont(42);
751  Graph_Graph111010->GetYaxis()->SetLabelFont(42);
752  Graph_Graph111010->GetYaxis()->SetLabelSize(0.05);
753  Graph_Graph111010->GetYaxis()->SetTitleSize(0.05);
754  Graph_Graph111010->GetYaxis()->SetTitleOffset(1.4);
755  Graph_Graph111010->GetYaxis()->SetTitleFont(42);
756  Graph_Graph111010->GetZaxis()->SetLabelFont(42);
757  Graph_Graph111010->GetZaxis()->SetLabelSize(0.05);
758  Graph_Graph111010->GetZaxis()->SetTitleSize(0.05);
759  Graph_Graph111010->GetZaxis()->SetTitleOffset(1);
760  Graph_Graph111010->GetZaxis()->SetTitleFont(42);
761  gre->SetHistogram(Graph_Graph111010);
762 
763  gre->Draw("p");
764 
765  TLegend *leg = new TLegend(0.3,0.77,0.9,0.9,NULL,"brNDC");
766  leg->SetBorderSize(0);
767  leg->SetLineColor(1);
768  leg->SetLineStyle(1);
769  leg->SetLineWidth(1);
770  leg->SetFillColor(0);
771  leg->SetFillStyle(0);
772  TLegendEntry *entry=leg->AddEntry("NULL","#it{#bf{sPHENIX}} Projection, Years 1-5","");
773  entry->SetLineColor(1);
774  entry->SetLineStyle(1);
775  entry->SetLineWidth(1);
776  entry->SetMarkerColor(1);
777  entry->SetMarkerStyle(21);
778  entry->SetMarkerSize(1);
779  entry->SetTextFont(42);
780  entry=leg->AddEntry("NULL","0-80% Au+Au, Res(#Psi_{1})=0.37","");
781  entry->SetLineColor(1);
782  entry->SetLineStyle(1);
783  entry->SetLineWidth(1);
784  entry->SetMarkerColor(1);
785  entry->SetMarkerStyle(21);
786  entry->SetMarkerSize(1);
787  entry->SetTextFont(42);
788  leg->Draw();
789 
790  leg = new TLegend(0.2,0.18,0.4,0.4,NULL,"brNDC");
791  leg->SetBorderSize(0);
792  leg->SetLineColor(1);
793  leg->SetLineStyle(1);
794  leg->SetLineWidth(1);
795  leg->SetFillColor(0);
796  leg->SetFillStyle(0);
797  entry=leg->AddEntry("NULL","D^{0}","h");
798  entry->SetLineColor(1);
799  entry->SetLineStyle(1);
800  entry->SetLineWidth(1);
801  entry->SetMarkerColor(1);
802  entry->SetMarkerStyle(21);
803  entry->SetMarkerSize(1);
804  entry->SetTextFont(42);
805  entry=leg->AddEntry("Graph6"," ","pe");
806 
807  ci = TColor::GetColor("#666666");
808  entry->SetLineColor(ci);
809  entry->SetLineStyle(1);
810  entry->SetLineWidth(4);
811 
812  ci = TColor::GetColor("#666666");
813  entry->SetMarkerColor(ci);
814  entry->SetMarkerStyle(24);
815  entry->SetMarkerSize(2);
816  entry->SetTextFont(42);
817  entry=leg->AddEntry("Graph10"," ","pe");
818  entry->SetLineColor(1);
819  entry->SetLineStyle(1);
820  entry->SetLineWidth(4);
821  entry->SetMarkerColor(1);
822  entry->SetMarkerStyle(20);
823  entry->SetMarkerSize(2);
824  entry->SetTextFont(42);
825  entry=leg->AddEntry("Graph0"," ","pe");
826 
827  ci = TColor::GetColor("#cc6666");
828  entry->SetLineColor(ci);
829  entry->SetLineStyle(1);
830  entry->SetLineWidth(4);
831 
832  ci = TColor::GetColor("#cc6666");
833  entry->SetMarkerColor(ci);
834  entry->SetMarkerStyle(29);
835  entry->SetMarkerSize(2);
836  entry->SetTextFont(42);
837  leg->Draw();
838 
839  leg = new TLegend(0.25,0.18,0.5,0.4,NULL,"brNDC");
840  leg->SetBorderSize(0);
841  leg->SetLineColor(1);
842  leg->SetLineStyle(1);
843  leg->SetLineWidth(1);
844  leg->SetFillColor(0);
845  leg->SetFillStyle(0);
846  entry=leg->AddEntry("NULL"," #bar{D}^{0}","h");
847  entry->SetLineColor(1);
848  entry->SetLineStyle(1);
849  entry->SetLineWidth(1);
850  entry->SetMarkerColor(1);
851  entry->SetMarkerStyle(21);
852  entry->SetMarkerSize(1);
853  entry->SetTextFont(42);
854  entry=leg->AddEntry("Graph7","sPHENIX, Year 1-3, 21nb^{-1} rec. Au+Au","pe");
855 
856  ci = TColor::GetColor("#6666cc");
857  entry->SetLineColor(ci);
858  entry->SetLineStyle(1);
859  entry->SetLineWidth(4);
860 
861  ci = TColor::GetColor("#6666cc");
862  entry->SetMarkerColor(ci);
863  entry->SetMarkerStyle(24);
864  entry->SetMarkerSize(2);
865  entry->SetTextFont(42);
866  entry=leg->AddEntry("Graph11","sPHENIX, Year 1-5, 51nb^{-1} rec.+str. Au+Au","pe");
867  entry->SetLineColor(4);
868  entry->SetLineStyle(1);
869  entry->SetLineWidth(4);
870  entry->SetMarkerColor(4);
871  entry->SetMarkerStyle(20);
872  entry->SetMarkerSize(2);
873  entry->SetTextFont(42);
874  entry=leg->AddEntry("Graph1","STAR, 10-80% Au+Au, PRL#bf{123}, 162301","pe");
875 
876  ci = TColor::GetColor("#cc6666");
877  entry->SetLineColor(ci);
878  entry->SetLineStyle(1);
879  entry->SetLineWidth(4);
880 
881  ci = TColor::GetColor("#cc6666");
882  entry->SetMarkerColor(ci);
883  entry->SetMarkerStyle(30);
884  entry->SetMarkerSize(2);
885  entry->SetTextFont(42);
886  leg->Draw();
887  D0_BUP2020_AuAu_v1_5y_compare_1->Modified();
888  D0_BUP2020_AuAu_v1_5y_compare->cd();
889  D0_BUP2020_AuAu_v1_5y_compare->Modified();
890  D0_BUP2020_AuAu_v1_5y_compare->cd();
891  D0_BUP2020_AuAu_v1_5y_compare->SetSelected(D0_BUP2020_AuAu_v1_5y_compare);
892 }