5 TCanvas *
AN_dp_sPHENIX =
new TCanvas(
"AN_dp_sPHENIX",
"AN_dp_sPHENIX",621,585,1100,800);
7 gStyle->SetOptTitle(0);
8 AN_dp_sPHENIX->Range(0,0,1,1);
9 AN_dp_sPHENIX->SetFillColor(0);
10 AN_dp_sPHENIX->SetBorderMode(0);
11 AN_dp_sPHENIX->SetBorderSize(2);
12 AN_dp_sPHENIX->SetTickx(1);
13 AN_dp_sPHENIX->SetTicky(1);
14 AN_dp_sPHENIX->SetLeftMargin(0.16);
15 AN_dp_sPHENIX->SetRightMargin(0.05);
16 AN_dp_sPHENIX->SetTopMargin(0.05);
17 AN_dp_sPHENIX->SetBottomMargin(0.16);
18 AN_dp_sPHENIX->SetFrameBorderMode(0);
21 TPad *AN_dp_sPHENIX_1 =
new TPad(
"AN_dp_sPHENIX_1",
"AN_dp_sPHENIX_1",0.01,0.01,0.99,0.99);
22 AN_dp_sPHENIX_1->Draw();
23 AN_dp_sPHENIX_1->cd();
24 AN_dp_sPHENIX_1->Range(3.087975,-0.02107595,13.10063,0.01689873);
25 AN_dp_sPHENIX_1->SetFillColor(0);
26 AN_dp_sPHENIX_1->SetBorderMode(0);
27 AN_dp_sPHENIX_1->SetBorderSize(2);
28 AN_dp_sPHENIX_1->SetTickx(1);
29 AN_dp_sPHENIX_1->SetTicky(1);
30 AN_dp_sPHENIX_1->SetLeftMargin(0.16);
31 AN_dp_sPHENIX_1->SetRightMargin(0.05);
32 AN_dp_sPHENIX_1->SetTopMargin(0.05);
33 AN_dp_sPHENIX_1->SetBottomMargin(0.16);
34 AN_dp_sPHENIX_1->SetFrameBorderMode(0);
35 AN_dp_sPHENIX_1->SetFrameBorderMode(0);
37 TH1F *
hframe__1 =
new TH1F(
"hframe__1",
"",1000,4.69,12.6);
38 hframe__1->SetMinimum(-0.015);
39 hframe__1->SetMaximum(0.015);
40 hframe__1->SetDirectory(0);
41 hframe__1->SetStats(0);
42 hframe__1->SetLineWidth(2);
43 hframe__1->SetMarkerStyle(20);
44 hframe__1->SetMarkerSize(1.2);
45 hframe__1->GetXaxis()->SetTitle(
"#it{p}_{T} [GeV]");
46 hframe__1->GetXaxis()->SetLabelFont(42);
47 hframe__1->GetXaxis()->SetLabelSize(0.05);
48 hframe__1->GetXaxis()->SetTitleSize(0.05);
49 hframe__1->GetXaxis()->SetTitleOffset(1.4);
50 hframe__1->GetXaxis()->SetTitleFont(42);
51 hframe__1->GetYaxis()->SetTitle(
"A_{N}");
52 hframe__1->GetYaxis()->SetLabelFont(42);
53 hframe__1->GetYaxis()->SetLabelSize(0.05);
54 hframe__1->GetYaxis()->SetTitleSize(0.05);
55 hframe__1->GetYaxis()->SetTitleOffset(1.4);
56 hframe__1->GetYaxis()->SetTitleFont(42);
57 hframe__1->GetZaxis()->SetLabelFont(42);
58 hframe__1->GetZaxis()->SetLabelSize(0.05);
59 hframe__1->GetZaxis()->SetTitleSize(0.05);
60 hframe__1->GetZaxis()->SetTitleOffset(1);
61 hframe__1->GetZaxis()->SetTitleFont(42);
64 Double_t Graph0_fx1001[1001] = {
1066 Double_t Graph0_fy1001[1001] = {
2068 Double_t Graph0_fex1001[1001] = {
3070 Double_t Graph0_fey1001[1001] = {
4072 TGraphErrors *
gre =
new TGraphErrors(1001,Graph0_fx1001,Graph0_fy1001,Graph0_fex1001,Graph0_fey1001);
4073 gre->SetName(
"Graph0");
4074 gre->SetTitle(
"Model 1, p_{T} [GeV/c], A_{N}");
4078 ci = TColor::GetColor(
"#ff0000");
4079 gre->SetFillColor(ci);
4080 gre->SetFillStyle(3005);
4081 gre->SetLineColor(0);
4082 gre->SetLineWidth(2);
4083 gre->SetMarkerStyle(20);
4084 gre->SetMarkerSize(1.2);
4086 TH1F *Graph_Graph01001 =
new TH1F(
"Graph_Graph01001",
"Model 1, p_{T} [GeV/c], A_{N}",1001,4,16);
4087 Graph_Graph01001->SetMinimum(-0.004353577);
4088 Graph_Graph01001->SetMaximum(0.009285615);
4089 Graph_Graph01001->SetDirectory(0);
4090 Graph_Graph01001->SetStats(0);
4091 Graph_Graph01001->SetLineWidth(2);
4092 Graph_Graph01001->SetMarkerStyle(20);
4093 Graph_Graph01001->SetMarkerSize(1.2);
4094 Graph_Graph01001->GetXaxis()->SetLabelFont(42);
4095 Graph_Graph01001->GetXaxis()->SetLabelSize(0.05);
4096 Graph_Graph01001->GetXaxis()->SetTitleSize(0.05);
4097 Graph_Graph01001->GetXaxis()->SetTitleOffset(1.4);
4098 Graph_Graph01001->GetXaxis()->SetTitleFont(42);
4099 Graph_Graph01001->GetYaxis()->SetLabelFont(42);
4100 Graph_Graph01001->GetYaxis()->SetLabelSize(0.05);
4101 Graph_Graph01001->GetYaxis()->SetTitleSize(0.05);
4102 Graph_Graph01001->GetYaxis()->SetTitleOffset(1.4);
4103 Graph_Graph01001->GetYaxis()->SetTitleFont(42);
4104 Graph_Graph01001->GetZaxis()->SetLabelFont(42);
4105 Graph_Graph01001->GetZaxis()->SetLabelSize(0.05);
4106 Graph_Graph01001->GetZaxis()->SetTitleSize(0.05);
4107 Graph_Graph01001->GetZaxis()->SetTitleOffset(1);
4108 Graph_Graph01001->GetZaxis()->SetTitleFont(42);
4109 gre->SetHistogram(Graph_Graph01001);
4113 Double_t Graph1_fx1002[1001] = {
5115 Double_t Graph1_fy1002[1001] = {
6117 Double_t Graph1_fex1002[1001] = {
7119 Double_t Graph1_fey1002[1001] = {
8121 gre =
new TGraphErrors(1001,Graph1_fx1002,Graph1_fy1002,Graph1_fex1002,Graph1_fey1002);
8122 gre->SetName(
"Graph1");
8123 gre->SetTitle(
"Model 2, p_{T} [GeV/c], A_{N}");
8125 ci = TColor::GetColor(
"#0000ff");
8126 gre->SetFillColor(ci);
8127 gre->SetFillStyle(3004);
8128 gre->SetLineColor(0);
8129 gre->SetLineWidth(2);
8130 gre->SetMarkerStyle(20);
8131 gre->SetMarkerSize(1.2);
8133 TH1F *Graph_Graph11002 =
new TH1F(
"Graph_Graph11002",
"Model 2, p_{T} [GeV/c], A_{N}",1001,4,16);
8134 Graph_Graph11002->SetMinimum(-0.004796818);
8135 Graph_Graph11002->SetMaximum(0.01070198);
8136 Graph_Graph11002->SetDirectory(0);
8137 Graph_Graph11002->SetStats(0);
8138 Graph_Graph11002->SetLineWidth(2);
8139 Graph_Graph11002->SetMarkerStyle(20);
8140 Graph_Graph11002->SetMarkerSize(1.2);
8141 Graph_Graph11002->GetXaxis()->SetLabelFont(42);
8142 Graph_Graph11002->GetXaxis()->SetLabelSize(0.05);
8143 Graph_Graph11002->GetXaxis()->SetTitleSize(0.05);
8144 Graph_Graph11002->GetXaxis()->SetTitleOffset(1.4);
8145 Graph_Graph11002->GetXaxis()->SetTitleFont(42);
8146 Graph_Graph11002->GetYaxis()->SetLabelFont(42);
8147 Graph_Graph11002->GetYaxis()->SetLabelSize(0.05);
8148 Graph_Graph11002->GetYaxis()->SetTitleSize(0.05);
8149 Graph_Graph11002->GetYaxis()->SetTitleOffset(1.4);
8150 Graph_Graph11002->GetYaxis()->SetTitleFont(42);
8151 Graph_Graph11002->GetZaxis()->SetLabelFont(42);
8152 Graph_Graph11002->GetZaxis()->SetLabelSize(0.05);
8153 Graph_Graph11002->GetZaxis()->SetTitleSize(0.05);
8154 Graph_Graph11002->GetZaxis()->SetTitleOffset(1);
8155 Graph_Graph11002->GetZaxis()->SetTitleFont(42);
8156 gre->SetHistogram(Graph_Graph11002);
8160 Double_t Graph2_fx1003[12] = {
8173 Double_t Graph2_fy1003[12] = {
8186 Double_t Graph2_fex1003[12] = {
8199 Double_t Graph2_fey1003[12] = {
8212 gre =
new TGraphErrors(12,Graph2_fx1003,Graph2_fy1003,Graph2_fex1003,Graph2_fey1003);
8213 gre->SetName(
"Graph2");
8214 gre->SetTitle(
"Graph");
8216 ci = TColor::GetColor(
"#006600");
8217 gre->SetFillColor(ci);
8218 gre->SetFillStyle(3003);
8220 ci = TColor::GetColor(
"#009900");
8221 gre->SetLineColor(ci);
8222 gre->SetLineWidth(5);
8223 gre->SetMarkerStyle(20);
8224 gre->SetMarkerSize(1.2);
8226 TH1F *Graph_Graph21003 =
new TH1F(
"Graph_Graph21003",
"Graph",100,2.9,16.1);
8227 Graph_Graph21003->SetMinimum(-0.0008652);
8228 Graph_Graph21003->SetMaximum(0.0025932);
8229 Graph_Graph21003->SetDirectory(0);
8230 Graph_Graph21003->SetStats(0);
8231 Graph_Graph21003->SetLineWidth(2);
8232 Graph_Graph21003->SetMarkerStyle(20);
8233 Graph_Graph21003->SetMarkerSize(1.2);
8234 Graph_Graph21003->GetXaxis()->SetLabelFont(42);
8235 Graph_Graph21003->GetXaxis()->SetLabelSize(0.05);
8236 Graph_Graph21003->GetXaxis()->SetTitleSize(0.05);
8237 Graph_Graph21003->GetXaxis()->SetTitleOffset(1.4);
8238 Graph_Graph21003->GetXaxis()->SetTitleFont(42);
8239 Graph_Graph21003->GetYaxis()->SetLabelFont(42);
8240 Graph_Graph21003->GetYaxis()->SetLabelSize(0.05);
8241 Graph_Graph21003->GetYaxis()->SetTitleSize(0.05);
8242 Graph_Graph21003->GetYaxis()->SetTitleOffset(1.4);
8243 Graph_Graph21003->GetYaxis()->SetTitleFont(42);
8244 Graph_Graph21003->GetZaxis()->SetLabelFont(42);
8245 Graph_Graph21003->GetZaxis()->SetLabelSize(0.05);
8246 Graph_Graph21003->GetZaxis()->SetTitleSize(0.05);
8247 Graph_Graph21003->GetZaxis()->SetTitleOffset(1);
8248 Graph_Graph21003->GetZaxis()->SetTitleFont(42);
8249 gre->SetHistogram(Graph_Graph21003);
8253 Double_t Graph3_fx1004[4] = {
8258 Double_t Graph3_fy1004[4] = {
8263 Double_t Graph3_fex1004[4] = {
8268 Double_t Graph3_fey1004[4] = {
8273 gre =
new TGraphErrors(4,Graph3_fx1004,Graph3_fy1004,Graph3_fex1004,Graph3_fey1004);
8274 gre->SetName(
"Graph3");
8275 gre->SetTitle(
"Graph");
8276 gre->SetFillStyle(1000);
8278 ci = TColor::GetColor(
"#000000");
8279 gre->SetLineColor(ci);
8280 gre->SetLineWidth(4);
8281 gre->SetMarkerStyle(20);
8282 gre->SetMarkerSize(2);
8284 TH1F *Graph_Graph31004 =
new TH1F(
"Graph_Graph31004",
"Graph",100,4.739,12.551);
8285 Graph_Graph31004->SetMinimum(-0.005334005);
8286 Graph_Graph31004->SetMaximum(0.005334005);
8287 Graph_Graph31004->SetDirectory(0);
8288 Graph_Graph31004->SetStats(0);
8289 Graph_Graph31004->SetLineWidth(2);
8290 Graph_Graph31004->SetMarkerStyle(20);
8291 Graph_Graph31004->SetMarkerSize(1.2);
8292 Graph_Graph31004->GetXaxis()->SetLabelFont(42);
8293 Graph_Graph31004->GetXaxis()->SetLabelSize(0.05);
8294 Graph_Graph31004->GetXaxis()->SetTitleSize(0.05);
8295 Graph_Graph31004->GetXaxis()->SetTitleOffset(1.4);
8296 Graph_Graph31004->GetXaxis()->SetTitleFont(42);
8297 Graph_Graph31004->GetYaxis()->SetLabelFont(42);
8298 Graph_Graph31004->GetYaxis()->SetLabelSize(0.05);
8299 Graph_Graph31004->GetYaxis()->SetTitleSize(0.05);
8300 Graph_Graph31004->GetYaxis()->SetTitleOffset(1.4);
8301 Graph_Graph31004->GetYaxis()->SetTitleFont(42);
8302 Graph_Graph31004->GetZaxis()->SetLabelFont(42);
8303 Graph_Graph31004->GetZaxis()->SetLabelSize(0.05);
8304 Graph_Graph31004->GetZaxis()->SetTitleSize(0.05);
8305 Graph_Graph31004->GetZaxis()->SetTitleOffset(1);
8306 Graph_Graph31004->GetZaxis()->SetTitleFont(42);
8307 gre->SetHistogram(Graph_Graph31004);
8312 zeroLine1->SetFillColor(19);
8313 zeroLine1->SetFillStyle(0);
8314 zeroLine1->SetMarkerStyle(20);
8315 zeroLine1->SetMarkerSize(1.2);
8316 zeroLine1->SetLineWidth(3);
8317 zeroLine1->GetXaxis()->SetLabelFont(42);
8318 zeroLine1->GetXaxis()->SetLabelSize(0.05);
8319 zeroLine1->GetXaxis()->SetTitleSize(0.05);
8320 zeroLine1->GetXaxis()->SetTitleOffset(1.4);
8321 zeroLine1->GetXaxis()->SetTitleFont(42);
8322 zeroLine1->GetYaxis()->SetLabelFont(42);
8323 zeroLine1->GetYaxis()->SetLabelSize(0.05);
8324 zeroLine1->GetYaxis()->SetTitleSize(0.05);
8325 zeroLine1->GetYaxis()->SetTitleOffset(1.4);
8326 zeroLine1->GetYaxis()->SetTitleFont(42);
8327 zeroLine1->Draw(
"same");
8329 TLegend *
leg =
new TLegend(0.2,0.75,0.83,0.9,NULL,
"brNDC");
8330 leg->SetBorderSize(0);
8331 leg->SetLineColor(1);
8332 leg->SetLineStyle(1);
8333 leg->SetLineWidth(1);
8334 leg->SetFillColor(0);
8335 leg->SetFillStyle(0);
8336 TLegendEntry *
entry=leg->AddEntry(
"NULL",
"#it{#bf{sPHENIX}} Projection, Years 1-3",
"");
8337 entry->SetLineColor(1);
8338 entry->SetLineStyle(1);
8339 entry->SetLineWidth(1);
8340 entry->SetMarkerColor(1);
8341 entry->SetMarkerStyle(21);
8342 entry->SetMarkerSize(1);
8343 entry->SetTextFont(42);
8344 entry=leg->AddEntry(
"NULL",
"62 pb^{-1} samp. #it{p}^{#uparrow}+#it{p}#rightarrow #gamma + X, P=0.57",
"");
8345 entry->SetLineColor(1);
8346 entry->SetLineStyle(1);
8347 entry->SetLineWidth(1);
8348 entry->SetMarkerColor(1);
8349 entry->SetMarkerStyle(21);
8350 entry->SetMarkerSize(1);
8351 entry->SetTextFont(42);
8354 leg =
new TLegend(0.18,0.18,0.5,0.41,NULL,
"brNDC");
8355 leg->SetBorderSize(0);
8356 leg->SetLineColor(1);
8357 leg->SetLineStyle(1);
8358 leg->SetLineWidth(1);
8359 leg->SetFillColor(0);
8360 leg->SetFillStyle(1001);
8361 entry=leg->AddEntry(
"Graph2",
"qgq Contribution (D.Pitonyak)",
"l");
8363 ci = TColor::GetColor(
"#009900");
8364 entry->SetLineColor(ci);
8365 entry->SetLineStyle(1);
8366 entry->SetLineWidth(5);
8367 entry->SetMarkerColor(1);
8368 entry->SetMarkerStyle(21);
8369 entry->SetMarkerSize(1);
8370 entry->SetTextFont(42);
8371 entry=leg->AddEntry(
"Graph0",
"Trigluon Contribution Model 1 (S.Yoshida)",
"f");
8373 ci = TColor::GetColor(
"#ff0000");
8374 entry->SetFillColor(ci);
8375 entry->SetFillStyle(3005);
8376 entry->SetLineStyle(1);
8377 entry->SetLineWidth(2);
8378 entry->SetMarkerColor(1);
8379 entry->SetMarkerStyle(21);
8380 entry->SetMarkerSize(1);
8381 entry->SetTextFont(42);
8382 entry=leg->AddEntry(
"Graph1",
"Trigluon Contribution Model 2 (S.Yoshida)",
"f");
8384 ci = TColor::GetColor(
"#0000ff");
8385 entry->SetFillColor(ci);
8386 entry->SetFillStyle(3004);
8387 entry->SetLineStyle(1);
8388 entry->SetLineWidth(2);
8389 entry->SetMarkerColor(1);
8390 entry->SetMarkerStyle(21);
8391 entry->SetMarkerSize(1);
8392 entry->SetTextFont(42);
8394 AN_dp_sPHENIX_1->Modified();
8395 AN_dp_sPHENIX->cd();
8396 AN_dp_sPHENIX->Modified();
8397 AN_dp_sPHENIX->cd();
8398 AN_dp_sPHENIX->SetSelected(AN_dp_sPHENIX);