]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGCF/FLOW/papers/arXiv_1205.5761/fig5.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / FLOW / papers / arXiv_1205.5761 / fig5.C
1 {
2 //=========Macro generated from canvas: cAll/cAll
3 //=========  (Thu Jun 14 00:16:31 2012) by ROOT version5.33/03
4    TCanvas *cAll = new TCanvas("cAll", "cAll",808,52,460,600);
5    gStyle->SetOptStat(0);
6    cAll->Range(0,0,1,1);
7    cAll->SetFillColor(0);
8    cAll->SetBorderMode(0);
9    cAll->SetBorderSize(2);
10    cAll->SetTopMargin(0.04761905);
11    cAll->SetBottomMargin(0.05);
12    cAll->SetFrameBorderMode(0);
13   
14 // ------------>Primitives in pad: cAll_1
15    TPad *cAll_1 = new TPad("cAll_1", "cAll_1",0,0.5011905,0.9,0.952381);
16    cAll_1->Draw();
17    cAll_1->cd();
18    cAll_1->Range(-2.915194,0.001,16.51943,0.3417035);
19    cAll_1->SetFillColor(0);
20    cAll_1->SetBorderMode(0);
21    cAll_1->SetBorderSize(2);
22    cAll_1->SetLeftMargin(0.15);
23    cAll_1->SetRightMargin(0.001);
24    cAll_1->SetTopMargin(0.005);
25    cAll_1->SetBottomMargin(0);
26    cAll_1->SetFrameBorderMode(0);
27    cAll_1->SetFrameBorderMode(0);
28    
29    TH1D *v2 = new TH1D("v2","",100,0,16.5);
30    v2->SetMinimum(0.001);
31    v2->SetMaximum(0.34);
32    v2->SetStats(0);
33    v2->SetLineStyle(2);
34    v2->GetXaxis()->SetTitle(" p_{t} (GeV/c)");
35    v2->GetYaxis()->SetTitle(" v_{2}");
36    v2->GetYaxis()->SetNdivisions(505);
37    v2->GetYaxis()->SetLabelSize(0.05);
38    v2->GetYaxis()->SetTitleSize(0.075);
39    v2->Draw("");
40    
41    TGraphAsymmErrors *grae = new TGraphAsymmErrors(3);
42    grae->SetName("v2_WHDG");
43    grae->SetTitle("Graph");
44
45    Int_t ci;   // for color index setting
46    ci = TColor::GetColor("#99cccc");
47    grae->SetFillColor(ci);
48
49    ci = TColor::GetColor("#0000ff");
50    grae->SetLineColor(ci);
51    grae->SetLineStyle(2);
52
53    ci = TColor::GetColor("#99cccc");
54    grae->SetMarkerColor(ci);
55    grae->SetPoint(0,4.5,0.07715528);
56    grae->SetPointError(0,0,0,0.00247886,0.0005557863);
57    grae->SetPoint(1,9.5,0.06954476);
58    grae->SetPointError(1,0,0,0.004220225,0.00141995);
59    grae->SetPoint(2,14.5,0.06224394);
60    grae->SetPointError(2,0,0,0.004793236,0.001829079);
61    
62    TH1F *Graph_v2_WHDG1 = new TH1F("Graph_v2_WHDG1","Graph",100,3.5,15.5);
63    Graph_v2_WHDG1->SetMinimum(0.05542467);
64    Graph_v2_WHDG1->SetMaximum(0.0797371);
65    Graph_v2_WHDG1->SetDirectory(0);
66    Graph_v2_WHDG1->SetStats(0);
67    Graph_v2_WHDG1->GetYaxis()->SetNdivisions(505);
68    grae->SetHistogram(Graph_v2_WHDG1);
69    
70    grae->Draw("3");
71    
72    TGraph *graph = new TGraph(3);
73    graph->SetName("v2b_WHDG");
74    graph->SetTitle("Graph");
75    graph->SetFillColor(1);
76
77    ci = TColor::GetColor("#0000ff");
78    graph->SetLineColor(ci);
79    graph->SetLineStyle(2);
80    graph->SetPoint(0,4.5,0.07715528139);
81    graph->SetPoint(1,9.5,0.06954475725);
82    graph->SetPoint(2,14.5,0.0622439414);
83    
84    TH1F *Graph_v2b_WHDG1 = new TH1F("Graph_v2b_WHDG1","Graph",100,3.5,15.5);
85    Graph_v2b_WHDG1->SetMinimum(0.06075281);
86    Graph_v2b_WHDG1->SetMaximum(0.07864642);
87    Graph_v2b_WHDG1->SetDirectory(0);
88    Graph_v2b_WHDG1->SetStats(0);
89    Graph_v2b_WHDG1->GetYaxis()->SetNdivisions(505);
90    graph->SetHistogram(Graph_v2b_WHDG1);
91    
92    graph->Draw(" l");
93    
94    grae = new TGraphAsymmErrors(29);
95    grae->SetName("v2_all_syst");
96    grae->SetTitle("Graph");
97
98    ci = TColor::GetColor("#999999");
99    grae->SetFillColor(ci);
100    grae->SetLineColor(0);
101    grae->SetLineWidth(-1);
102    grae->SetMarkerStyle(24);
103    grae->SetMarkerSize(1.05);
104    grae->SetPoint(0,0.4,0.0315661);
105    grae->SetPointError(0,0.1,0.1,0.0008913945,0.0008351604);
106    grae->SetPoint(1,0.5,0.04393777);
107    grae->SetPointError(1,0.1,0.1,0.001266534,0.001162484);
108    grae->SetPoint(2,0.6,0.05637685);
109    grae->SetPointError(2,0.1,0.1,0.001619482,0.001491591);
110    grae->SetPoint(3,0.7,0.06774809);
111    grae->SetPointError(3,0.1,0.1,0.001951431,0.001792446);
112    grae->SetPoint(4,0.8,0.07829438);
113    grae->SetPointError(4,0.1,0.1,0.002299364,0.002071475);
114    grae->SetPoint(5,0.9,0.08803726);
115    grae->SetPointError(5,0.1,0.1,0.002657573,0.002329247);
116    grae->SetPoint(6,1,0.09711054);
117    grae->SetPointError(6,0.1,0.1,0.002856927,0.002569303);
118    grae->SetPoint(7,1.1,0.1055969);
119    grae->SetPointError(7,0.1,0.1,0.00313896,0.002793832);
120    grae->SetPoint(8,1.25,0.116702);
121    grae->SetPointError(8,0.1,0.1,0.003448526,0.003087645);
122    grae->SetPoint(9,1.45,0.1313131);
123    grae->SetPointError(9,0.1,0.1,0.003878866,0.003474218);
124    grae->SetPoint(10,1.65,0.1447477);
125    grae->SetPointError(10,0.1,0.1,0.004364853,0.003829663);
126    grae->SetPoint(11,1.85,0.1574968);
127    grae->SetPointError(11,0.1,0.1,0.004822848,0.004166972);
128    grae->SetPoint(12,2.05,0.1691516);
129    grae->SetPointError(12,0.15,0.15,0.005255998,0.00447533);
130    grae->SetPoint(13,2.35,0.1831367);
131    grae->SetPointError(13,0.15,0.15,0.005752204,0.004845342);
132    grae->SetPoint(14,2.75,0.1970555);
133    grae->SetPointError(14,0.15,0.15,0.006766215,0.005213598);
134    grae->SetPoint(15,3.15,0.2045239);
135    grae->SetPointError(15,0.15,0.15,0.00711559,0.005411194);
136    grae->SetPoint(16,3.55,0.2047384);
137    grae->SetPointError(16,0.15,0.15,0.00732347,0.005416868);
138    grae->SetPoint(17,3.95,0.1975495);
139    grae->SetPointError(17,0.15,0.15,0.007398551,0.005226668);
140    grae->SetPoint(18,4.4,0.1845887);
141    grae->SetPointError(18,0.15,0.15,0.00741749,0.004883758);
142    grae->SetPoint(19,4.9,0.1682465);
143    grae->SetPointError(19,0.15,0.15,0.007445019,0.004451384);
144    grae->SetPoint(20,5.4,0.151929);
145    grae->SetPointError(20,0.15,0.15,0.007517502,0.004019662);
146    grae->SetPoint(21,5.9,0.1352188);
147    grae->SetPointError(21,0.15,0.15,0.007628363,0.003577552);
148    grae->SetPoint(22,6.65,0.1205582);
149    grae->SetPointError(22,0.15,0.15,0.007979934,0.003189671);
150    grae->SetPoint(23,7.65,0.1027149);
151    grae->SetPointError(23,0.15,0.15,0.008529001,0.00271758);
152    grae->SetPoint(24,8.65,0.09401538);
153    grae->SetPointError(24,0.15,0.15,0.00919696,0.002487413);
154    grae->SetPoint(25,9.65,0.09739738);
155    grae->SetPointError(25,0.15,0.15,0.009962954,0.002576893);
156    grae->SetPoint(26,11.15,0.07678936);
157    grae->SetPointError(26,0.15,0.15,0.01096833,0.002031656);
158    grae->SetPoint(27,13.15,0.07923373);
159    grae->SetPointError(27,0.15,0.15,0.0124951,0.002096327);
160    grae->SetPoint(28,15.15,0.07190784);
161    grae->SetPointError(28,0.15,0.15,0.01398745,0.001902503);
162    
163    TH1F *Graph_v2_all_syst2 = new TH1F("Graph_v2_all_syst2","Graph",100,0,16.8);
164    Graph_v2_all_syst2->SetMinimum(0.01272665);
165    Graph_v2_all_syst2->SetMaximum(0.2281033);
166    Graph_v2_all_syst2->SetDirectory(0);
167    Graph_v2_all_syst2->SetStats(0);
168    Graph_v2_all_syst2->GetYaxis()->SetNdivisions(505);
169    grae->SetHistogram(Graph_v2_all_syst2);
170    
171    grae->Draw(" 2");
172    
173    grae = new TGraphAsymmErrors(10);
174    grae->SetName("v2_pi_syst");
175    grae->SetTitle("Graph");
176
177    ci = TColor::GetColor("#ffcccc");
178    grae->SetFillColor(ci);
179    grae->SetLineColor(0);
180    grae->SetLineWidth(-1);
181    grae->SetMarkerColor(2);
182    grae->SetMarkerStyle(21);
183    grae->SetMarkerSize(1.05);
184    grae->SetPoint(0,3.25,0.1759305);
185    grae->SetPointError(0,0.15,0.15,0.01147184,0.009712627);
186    grae->SetPoint(1,3.75,0.1638199);
187    grae->SetPointError(1,0.15,0.15,0.01128133,0.009073474);
188    grae->SetPoint(2,4.25,0.1517369);
189    grae->SetPointError(2,0.15,0.15,0.01117761,0.008462166);
190    grae->SetPoint(3,4.75,0.1335186);
191    grae->SetPointError(3,0.15,0.15,0.01093977,0.007565704);
192    grae->SetPoint(4,5.5,0.1163096);
193    grae->SetPointError(4,0.15,0.15,0.01103177,0.006652352);
194    grae->SetPoint(5,6.5,0.0969678);
195    grae->SetPointError(5,0.15,0.15,0.01165513,0.005989494);
196    grae->SetPoint(6,7.5,0.08162528);
197    grae->SetPointError(6,0.15,0.15,0.01265158,0.005890821);
198    grae->SetPoint(7,9,0.08327436);
199    grae->SetPointError(7,0.15,0.15,0.01657779,0.01029521);
200    grae->SetPoint(8,10.8,0.06726301);
201    grae->SetPointError(8,0.15,0.15,0.01836536,0.01002227);
202    grae->SetPoint(9,13.8,0.05636174);
203    grae->SetPointError(9,0.15,0.15,0.02147995,0.01005009);
204    
205    TH1F *Graph_v2_pi_syst3 = new TH1F("Graph_v2_pi_syst3","Graph",100,2.015,15.035);
206    Graph_v2_pi_syst3->SetMinimum(0.01980566);
207    Graph_v2_pi_syst3->SetMaximum(0.2007192);
208    Graph_v2_pi_syst3->SetDirectory(0);
209    Graph_v2_pi_syst3->SetStats(0);
210    Graph_v2_pi_syst3->GetYaxis()->SetNdivisions(505);
211    grae->SetHistogram(Graph_v2_pi_syst3);
212    
213    grae->Draw(" 2");
214    
215    grae = new TGraphAsymmErrors(10);
216    grae->SetName("v2_p_syst");
217    grae->SetTitle("Graph");
218
219    ci = TColor::GetColor("#ccccff");
220    grae->SetFillColor(ci);
221    grae->SetLineColor(0);
222    grae->SetLineWidth(-1);
223    grae->SetMarkerColor(4);
224    grae->SetMarkerStyle(22);
225    grae->SetMarkerSize(1.05);
226    grae->SetPoint(0,3.25,0.2521631);
227    grae->SetPointError(0,0.15,0.15,0.01729927,0.01405343);
228    grae->SetPoint(1,3.75,0.2554621);
229    grae->SetPointError(1,0.15,0.15,0.01809827,0.01423729);
230    grae->SetPoint(2,4.25,0.249809);
231    grae->SetPointError(2,0.15,0.15,0.01855031,0.01392223);
232    grae->SetPoint(3,4.75,0.236384);
233    grae->SetPointError(3,0.15,0.15,0.01875196,0.01317404);
234    grae->SetPoint(4,5.5,0.2100063);
235    grae->SetPointError(4,0.15,0.15,0.01900463,0.01170397);
236    grae->SetPoint(5,6.5,0.178452);
237    grae->SetPointError(5,0.15,0.15,0.01982011,0.009945398);
238    grae->SetPoint(6,7.5,0.1469741);
239    grae->SetPointError(6,0.15,0.15,0.02098049,0.008191088);
240    grae->SetPoint(7,9,0.1410365);
241    grae->SetPointError(7,0.15,0.15,0.02859966,0.01756231);
242    grae->SetPoint(8,11.3,0.1046979);
243    grae->SetPointError(8,0.15,0.15,0.02990599,0.0130373);
244    grae->SetPoint(9,14.3,0.119398);
245    grae->SetPointError(9,0.15,0.15,0.03658546,0.0148678);
246    
247    TH1F *Graph_v2_p_syst4 = new TH1F("Graph_v2_p_syst4","Graph",100,1.965,15.585);
248    Graph_v2_p_syst4->SetMinimum(0.05530111);
249    Graph_v2_p_syst4->SetMaximum(0.2891902);
250    Graph_v2_p_syst4->SetDirectory(0);
251    Graph_v2_p_syst4->SetStats(0);
252    Graph_v2_p_syst4->GetYaxis()->SetNdivisions(505);
253    grae->SetHistogram(Graph_v2_p_syst4);
254    
255    grae->Draw(" 2");
256    
257    TGraphErrors *gre = new TGraphErrors(29);
258    gre->SetName("v2_all_stat_binsShift");
259    gre->SetTitle("");
260    gre->SetFillColor(1);
261    gre->SetMarkerStyle(24);
262    gre->SetMarkerSize(1.05);
263    gre->SetPoint(0,0.4,0.0315661);
264    gre->SetPointError(0,0,3.076286e-05);
265    gre->SetPoint(1,0.5,0.04393777);
266    gre->SetPointError(1,0,3.168067e-05);
267    gre->SetPoint(2,0.6,0.05637685);
268    gre->SetPointError(2,0,3.396242e-05);
269    gre->SetPoint(3,0.7,0.06774809);
270    gre->SetPointError(3,0,3.718468e-05);
271    gre->SetPoint(4,0.8,0.07829438);
272    gre->SetPointError(4,0,4.100237e-05);
273    gre->SetPoint(5,0.9,0.08803726);
274    gre->SetPointError(5,0,4.531731e-05);
275    gre->SetPoint(6,1,0.09711054);
276    gre->SetPointError(6,0,5.014179e-05);
277    gre->SetPoint(7,1.1,0.1055969);
278    gre->SetPointError(7,0,5.541353e-05);
279    gre->SetPoint(8,1.25,0.116702);
280    gre->SetPointError(8,0,4.533094e-05);
281    gre->SetPoint(9,1.45,0.1313131);
282    gre->SetPointError(9,0,5.49925e-05);
283    gre->SetPoint(10,1.65,0.1447477);
284    gre->SetPointError(10,0,6.670607e-05);
285    gre->SetPoint(11,1.85,0.1574968);
286    gre->SetPointError(11,0,8.109567e-05);
287    gre->SetPoint(12,2.05,0.1691516);
288    gre->SetPointError(12,0,9.890477e-05);
289    gre->SetPoint(13,2.35,0.1831367);
290    gre->SetPointError(13,0,9.348696e-05);
291    gre->SetPoint(14,2.75,0.1970555);
292    gre->SetPointError(14,0,0.0001386199);
293    gre->SetPoint(15,3.15,0.2045239);
294    gre->SetPointError(15,0,0.0002026489);
295    gre->SetPoint(16,3.55,0.2047384);
296    gre->SetPointError(16,0,0.0002907305);
297    gre->SetPoint(17,3.95,0.1975495);
298    gre->SetPointError(17,0,0.0004079602);
299    gre->SetPoint(18,4.4,0.1845887);
300    gre->SetPointError(18,0,0.0005148033);
301    gre->SetPoint(19,4.9,0.1682465);
302    gre->SetPointError(19,0,0.0007280612);
303    gre->SetPoint(20,5.4,0.151929);
304    gre->SetPointError(20,0,0.0009870261);
305    gre->SetPoint(21,5.9,0.1352188);
306    gre->SetPointError(21,0,0.001290595);
307    gre->SetPoint(22,6.65,0.1205582);
308    gre->SetPointError(22,0,0.001264976);
309    gre->SetPoint(23,7.65,0.1027149);
310    gre->SetPointError(23,0,0.001851868);
311    gre->SetPoint(24,8.65,0.09401538);
312    gre->SetPointError(24,0,0.002537586);
313    gre->SetPoint(25,9.65,0.09739738);
314    gre->SetPointError(25,0,0.00333335);
315    gre->SetPoint(26,11.15,0.07678936);
316    gre->SetPointError(26,0,0.003303052);
317    gre->SetPoint(27,13.15,0.07923373);
318    gre->SetPointError(27,0,0.004900405);
319    gre->SetPoint(28,15.15,0.07190784);
320    gre->SetPointError(28,0,0.006739271);
321
322    
323    TH1F *Graph_v2_all_stat_binsShift1 = new TH1F("Graph_v2_all_stat_binsShift1","",100,0,26.525);
324    Graph_v2_all_stat_binsShift1->SetMinimum(0.01418596);
325    Graph_v2_all_stat_binsShift1->SetMaximum(0.2223785);
326    Graph_v2_all_stat_binsShift1->SetDirectory(0);
327    Graph_v2_all_stat_binsShift1->SetStats(0);
328    Graph_v2_all_stat_binsShift1->GetYaxis()->SetNdivisions(505);
329    gre->SetHistogram(Graph_v2_all_stat_binsShift1);
330    
331    gre->Draw("p");
332    
333    gre = new TGraphErrors(10);
334    gre->SetName("v2_pi_stat");
335    gre->SetTitle("");
336    gre->SetFillColor(1);
337    gre->SetLineColor(2);
338    gre->SetMarkerColor(2);
339    gre->SetMarkerStyle(21);
340    gre->SetMarkerSize(1.05);
341    gre->SetPoint(0,3.25,0.1759305);
342    gre->SetPointError(0,0,0.0006543621);
343    gre->SetPoint(1,3.75,0.1638199);
344    gre->SetPointError(1,0,0.0009511035);
345    gre->SetPoint(2,4.25,0.1517369);
346    gre->SetPointError(2,0,0.001324072);
347    gre->SetPoint(3,4.75,0.1335186);
348    gre->SetPointError(3,0,0.001775408);
349    gre->SetPoint(4,5.5,0.1163096);
350    gre->SetPointError(4,0,0.001791662);
351    gre->SetPoint(5,6.5,0.0969678);
352    gre->SetPointError(5,0,0.002710365);
353    gre->SetPoint(6,7.5,0.08162528);
354    gre->SetPointError(6,0,0.003806203);
355    gre->SetPoint(7,9,0.08327436);
356    gre->SetPointError(7,0,0.004037187);
357    gre->SetPoint(8,10.8,0.06726301);
358    gre->SetPointError(8,0,0.006475216);
359    gre->SetPoint(9,13.8,0.05636174);
360    gre->SetPointError(9,0,0.007740646);
361
362    
363    TH1F *Graph_v2_pi_stat2 = new TH1F("Graph_v2_pi_stat2","",100,1.795,19.255);
364    Graph_v2_pi_stat2->SetMinimum(0.01768809);
365    Graph_v2_pi_stat2->SetMaximum(0.19103);
366    Graph_v2_pi_stat2->SetDirectory(0);
367    Graph_v2_pi_stat2->SetStats(0);
368    Graph_v2_pi_stat2->GetYaxis()->SetNdivisions(505);
369    gre->SetHistogram(Graph_v2_pi_stat2);
370    
371    gre->Draw("p");
372    
373    gre = new TGraphErrors(10);
374    gre->SetName("v2_p_stat");
375    gre->SetTitle("");
376    gre->SetFillColor(1);
377    gre->SetLineColor(4);
378    gre->SetMarkerColor(4);
379    gre->SetMarkerStyle(22);
380    gre->SetMarkerSize(1.05);
381    gre->SetPoint(0,3.25,0.2521631);
382    gre->SetPointError(0,0,0.0008938079);
383    gre->SetPoint(1,3.75,0.2554621);
384    gre->SetPointError(1,0,0.001185634);
385    gre->SetPoint(2,4.25,0.249809);
386    gre->SetPointError(2,0,0.001656074);
387    gre->SetPoint(3,4.75,0.236384);
388    gre->SetPointError(3,0,0.002334333);
389    gre->SetPoint(4,5.5,0.2100063);
390    gre->SetPointError(4,0,0.002624291);
391    gre->SetPoint(5,6.5,0.178452);
392    gre->SetPointError(5,0,0.004661741);
393    gre->SetPoint(6,7.5,0.1469741);
394    gre->SetPointError(6,0,0.007300028);
395    gre->SetPoint(7,9,0.1410365);
396    gre->SetPointError(7,0,0.00854546);
397    gre->SetPoint(8,11.3,0.1046979);
398    gre->SetPointError(8,0,0.01492831);
399    gre->SetPoint(9,14.3,0.119398);
400    gre->SetPointError(9,0,0.01802938);
401
402    
403    TH1F *Graph_v2_p_stat3 = new TH1F("Graph_v2_p_stat3","",100,1.745,19.805);
404    Graph_v2_p_stat3->SetMinimum(0.07308173);
405    Graph_v2_p_stat3->SetMaximum(0.2733356);
406    Graph_v2_p_stat3->SetDirectory(0);
407    Graph_v2_p_stat3->SetStats(0);
408    Graph_v2_p_stat3->GetYaxis()->SetNdivisions(505);
409    gre->SetHistogram(Graph_v2_p_stat3);
410    
411    gre->Draw("p");
412    
413    gre = new TGraphErrors(17);
414    gre->SetName("v2_pi0_phenix");
415    gre->SetTitle("");
416    gre->SetFillColor(1);
417
418    ci = TColor::GetColor("#009900");
419    gre->SetLineColor(ci);
420
421    ci = TColor::GetColor("#009900");
422    gre->SetMarkerColor(ci);
423    gre->SetMarkerStyle(23);
424    gre->SetMarkerSize(1.05);
425    gre->SetPoint(0,1.25,0.1377431);
426    gre->SetPointError(0,0,0.0009798069);
427    gre->SetPoint(1,1.75,0.1623196);
428    gre->SetPointError(1,0,0.0005578459);
429    gre->SetPoint(2,2.25,0.1714327);
430    gre->SetPointError(2,0,0.0005834693);
431    gre->SetPoint(3,2.75,0.1741325);
432    gre->SetPointError(3,0,0.0007301772);
433    gre->SetPoint(4,3.25,0.1710498);
434    gre->SetPointError(4,0,0.0009672976);
435    gre->SetPoint(5,3.75,0.1575147);
436    gre->SetPointError(5,0,0.001198296);
437    gre->SetPoint(6,4.25,0.1479495);
438    gre->SetPointError(6,0,0.001625641);
439    gre->SetPoint(7,4.75,0.1372344);
440    gre->SetPointError(7,0,0.002193576);
441    gre->SetPoint(8,5.5,0.1231874);
442    gre->SetPointError(8,0,0.002200416);
443    gre->SetPoint(9,6.5,0.1073113);
444    gre->SetPointError(9,0,0.003705768);
445    gre->SetPoint(10,7.5,0.1050585);
446    gre->SetPointError(10,0,0.005795953);
447    gre->SetPoint(11,8.5,0.08930212);
448    gre->SetPointError(11,0,0.008709258);
449    gre->SetPoint(12,9.5,0.09868819);
450    gre->SetPointError(12,0,0.01267215);
451    gre->SetPoint(13,11,0.0795046);
452    gre->SetPointError(13,0,0.01403806);
453    gre->SetPoint(14,13,0.08503899);
454    gre->SetPointError(14,0,0.02630569);
455    gre->SetPoint(15,15,0.09738688);
456    gre->SetPointError(15,0,0.04615637);
457    gre->SetPoint(16,17,0.05259072);
458    gre->SetPointError(16,0,0.08742975);
459    
460    TH1F *Graph_v2_pi0_phenix4 = new TH1F("Graph_v2_pi0_phenix4","",100,0,18.575);
461    Graph_v2_pi0_phenix4->SetMinimum(-0.0558092);
462    Graph_v2_pi0_phenix4->SetMaximum(0.1958328);
463    Graph_v2_pi0_phenix4->SetDirectory(0);
464    Graph_v2_pi0_phenix4->SetStats(0);
465    Graph_v2_pi0_phenix4->GetYaxis()->SetNdivisions(505);
466    gre->SetHistogram(Graph_v2_pi0_phenix4);
467    
468    gre->Draw("p");
469    
470    TLegend *leg = new TLegend(0.48,0.55,0.99,0.97,NULL,"brNDC");
471    leg->SetBorderSize(0);
472    leg->SetTextFont(132);
473    leg->SetLineColor(1);
474    leg->SetLineStyle(1);
475    leg->SetLineWidth(1);
476    leg->SetFillColor(0);
477    leg->SetFillStyle(1001);
478    TLegendEntry *entry=leg->AddEntry("v2_all_syst","h^{+}+h^{-} (10-50%)","PF");
479
480    ci = TColor::GetColor("#999999");
481    entry->SetFillColor(ci);
482    entry->SetFillStyle(1001);
483    entry->SetLineStyle(1);
484    entry->SetLineWidth(-1);
485    entry->SetMarkerColor(1);
486    entry->SetMarkerStyle(24);
487    entry->SetMarkerSize(1.05);
488    entry=leg->AddEntry("v2_pi_syst","#pi^{+}+#pi^{-} (10-50%)","PF");
489
490    ci = TColor::GetColor("#ffcccc");
491    entry->SetFillColor(ci);
492    entry->SetFillStyle(1001);
493    entry->SetLineStyle(1);
494    entry->SetLineWidth(-1);
495    entry->SetMarkerColor(2);
496    entry->SetMarkerStyle(21);
497    entry->SetMarkerSize(1.05);
498    entry=leg->AddEntry("v2_p_syst","p+#bar{p} (10-50%)","PF");
499
500    ci = TColor::GetColor("#ccccff");
501    entry->SetFillColor(ci);
502    entry->SetFillStyle(1001);
503    entry->SetLineStyle(1);
504    entry->SetLineWidth(-1);
505    entry->SetMarkerColor(4);
506    entry->SetMarkerStyle(22);
507    entry->SetMarkerSize(1.05);
508    entry=leg->AddEntry("v2_pi0_phenix","#pi^{0} PHENIX (10-50%)","P");
509    entry->SetLineColor(1);
510    entry->SetLineStyle(1);
511    entry->SetLineWidth(1);
512
513    ci = TColor::GetColor("#009900");
514    entry->SetMarkerColor(ci);
515    entry->SetMarkerStyle(23);
516    entry->SetMarkerSize(1.05);
517    entry=leg->AddEntry("v2_WHDG","#pi^{0} WHDG LHC","LF");
518
519    ci = TColor::GetColor("#99cccc");
520    entry->SetFillColor(ci);
521    entry->SetFillStyle(1001);
522
523    ci = TColor::GetColor("#0000ff");
524    entry->SetLineColor(ci);
525    entry->SetLineStyle(2);
526    entry->SetLineWidth(1);
527    entry->SetMarkerColor(1);
528    entry->SetMarkerStyle(21);
529    entry->SetMarkerSize(1);
530    entry=leg->AddEntry("v2_WHDG","Extrapolation (20-50%)","");
531    entry->SetLineColor(1);
532    entry->SetLineStyle(1);
533    entry->SetLineWidth(1);
534    entry->SetMarkerColor(1);
535    entry->SetMarkerStyle(21);
536    entry->SetMarkerSize(1);
537    leg->Draw();
538    TLatex *   tex = new TLatex(0.285,0.92,"ALICE");
539 tex->SetNDC();
540    tex->SetTextFont(132);
541    tex->SetTextSize(0.06);
542    tex->SetLineWidth(2);
543    tex->Draw();
544       tex = new TLatex(0.1875,0.85,"Pb-Pb #sqrt{s_{NN}}=2.76 TeV");
545 tex->SetNDC();
546    tex->SetTextFont(132);
547    tex->SetTextSize(0.06);
548    tex->SetLineWidth(2);
549    tex->Draw();
550    cAll_1->Modified();
551    cAll->cd();
552   
553 // ------------>Primitives in pad: cAll_2
554    cAll_2 = new TPad("cAll_2", "cAll_2",0,0,0.9,0.5011905);
555    cAll_2->Draw();
556    cAll_2->cd();
557    cAll_2->Range(-2.915194,-0.08764706,16.51943,0.17);
558    cAll_2->SetFillColor(0);
559    cAll_2->SetBorderMode(0);
560    cAll_2->SetBorderSize(2);
561    cAll_2->SetLeftMargin(0.15);
562    cAll_2->SetRightMargin(0.001);
563    cAll_2->SetTopMargin(0);
564    cAll_2->SetBottomMargin(0.15);
565    cAll_2->SetFrameBorderMode(0);
566    cAll_2->SetFrameBorderMode(0);
567    
568    TH1D *v3 = new TH1D("v3","",100,0,16.5);
569    v3->SetMinimum(-0.049);
570    v3->SetMaximum(0.17);
571    v3->SetStats(0);
572    v3->SetLineStyle(2);
573    v3->GetXaxis()->SetTitle(" p_{t} (GeV/c)");
574    v3->GetXaxis()->SetLabelSize(0.045);
575    v3->GetXaxis()->SetTitleSize(0.0575);
576    v3->GetYaxis()->SetTitle(" v_{3}");
577    v3->GetYaxis()->SetNdivisions(505);
578    v3->GetYaxis()->SetLabelSize(0.045);
579    v3->GetYaxis()->SetTitleSize(0.069);
580    v3->Draw("");
581    
582    gre = new TGraphErrors(29);
583    gre->SetName("v3_all_syst");
584    gre->SetTitle("Graph");
585
586    ci = TColor::GetColor("#999999");
587    gre->SetFillColor(ci);
588    gre->SetLineWidth(2);
589    gre->SetMarkerStyle(20);
590    gre->SetPoint(0,0.25,0.007203372);
591    gre->SetPointError(0,0.1,0.0002416586);
592    gre->SetPoint(1,0.35,0.01102627);
593    gre->SetPointError(1,0.1,0.0003719628);
594    gre->SetPoint(2,0.45,0.01592133);
595    gre->SetPointError(2,0.1,0.0005361234);
596    gre->SetPoint(3,0.55,0.02100488);
597    gre->SetPointError(3,0.1,0.0007237769);
598    gre->SetPoint(4,0.65,0.02604016);
599    gre->SetPointError(4,0.1,0.0008953794);
600    gre->SetPoint(5,0.75,0.03062521);
601    gre->SetPointError(5,0.1,0.001027201);
602    gre->SetPoint(6,0.85,0.03531019);
603    gre->SetPointError(6,0.1,0.001187528);
604    gre->SetPoint(7,0.95,0.04001956);
605    gre->SetPointError(7,0.1,0.001346234);
606    gre->SetPoint(8,1.1,0.04657155);
607    gre->SetPointError(8,0.1,0.001567293);
608    gre->SetPoint(9,1.3,0.05538479);
609    gre->SetPointError(9,0.1,0.00187023);
610    gre->SetPoint(10,1.5,0.06377175);
611    gre->SetPointError(10,0.1,0.00220676);
612    gre->SetPoint(11,1.7,0.07185095);
613    gre->SetPointError(11,0.1,0.002409972);
614    gre->SetPoint(12,1.9,0.08016296);
615    gre->SetPointError(12,0.15,0.002691185);
616    gre->SetPoint(13,2.2,0.09024685);
617    gre->SetPointError(13,0.15,0.003064038);
618    gre->SetPoint(14,2.6,0.1008168);
619    gre->SetPointError(14,0.15,0.003382939);
620    gre->SetPoint(15,3,0.1077454);
621    gre->SetPointError(15,0.15,0.003615056);
622    gre->SetPoint(16,3.4,0.109359);
623    gre->SetPointError(16,0.15,0.003678845);
624    gre->SetPoint(17,3.8,0.1048671);
625    gre->SetPointError(17,0.15,0.003548941);
626    gre->SetPoint(18,4.25,0.1003652);
627    gre->SetPointError(18,0.15,0.003435669);
628    gre->SetPoint(19,4.75,0.08968793);
629    gre->SetPointError(19,0.15,0.003147119);
630    gre->SetPoint(20,5.25,0.07599929);
631    gre->SetPointError(20,0.15,0.002801701);
632    gre->SetPoint(21,5.75,0.05584336);
633    gre->SetPointError(21,0.15,0.002338784);
634    gre->SetPoint(22,6.5,0.04995155);
635    gre->SetPointError(22,0.15,0.002428166);
636    gre->SetPoint(23,7.5,0.03676771);
637    gre->SetPointError(23,0.15,0.002551333);
638    gre->SetPoint(24,8.5,0.03312214);
639    gre->SetPointError(24,0.15,0.002928349);
640    gre->SetPoint(25,9.5,0.03262837);
641    gre->SetPointError(25,0.15,0.003368133);
642    gre->SetPoint(26,11,0.001527541);
643    gre->SetPointError(26,0.15,0.003899635);
644    gre->SetPoint(27,13,0.007058193);
645    gre->SetPointError(27,0.15,0.004856965);
646    gre->SetPoint(28,15,0.02192343);
647    gre->SetPointError(28,0.15,0.005849488);
648    
649    TH1F *Graph_v3_all_syst5 = new TH1F("Graph_v3_all_syst5","Graph",100,0,16.65);
650    Graph_v3_all_syst5->SetMinimum(-0.01391309);
651    Graph_v3_all_syst5->SetMaximum(0.1245788);
652    Graph_v3_all_syst5->SetDirectory(0);
653    Graph_v3_all_syst5->SetStats(0);
654    Graph_v3_all_syst5->GetYaxis()->SetNdivisions(505);
655    gre->SetHistogram(Graph_v3_all_syst5);
656    
657    gre->Draw(" 2");
658    
659    gre = new TGraphErrors(10);
660    gre->SetName("v3_pi_syst");
661    gre->SetTitle("Graph");
662
663    ci = TColor::GetColor("#ffcccc");
664    gre->SetFillColor(ci);
665    gre->SetLineColor(2);
666    gre->SetLineWidth(2);
667    gre->SetMarkerColor(2);
668    gre->SetMarkerStyle(21);
669    gre->SetPoint(0,3.25,0.09476774);
670    gre->SetPointError(0,0.15,0.007970987);
671    gre->SetPoint(1,3.75,0.08373556);
672    gre->SetPointError(1,0.15,0.007157892);
673    gre->SetPoint(2,4.25,0.08420756);
674    gre->SetPointError(2,0.15,0.007376837);
675    gre->SetPoint(3,4.75,0.07882463);
676    gre->SetPointError(3,0.15,0.00720906);
677    gre->SetPoint(4,5.5,0.05841717);
678    gre->SetPointError(4,0.15,0.006318263);
679    gre->SetPoint(5,6.5,0.03813243);
680    gre->SetPointError(5,0.15,0.006336611);
681    gre->SetPoint(6,7.3,0.02069528);
682    gre->SetPointError(6,0.15,0.00716288);
683    gre->SetPoint(7,8.8,0.02757808);
684    gre->SetPointError(7,0.15,0.009844002);
685    gre->SetPoint(8,10.8,0.007078061);
686    gre->SetPointError(8,0.15,0.01215811);
687    gre->SetPoint(9,13.8,0.01454102);
688    gre->SetPointError(9,0.15,0.01666534);
689    
690    TH1F *Graph_v3_pi_syst6 = new TH1F("Graph_v3_pi_syst6","Graph",100,2.015,15.035);
691    Graph_v3_pi_syst6->SetMinimum(-0.01586193);
692    Graph_v3_pi_syst6->SetMaximum(0.1135206);
693    Graph_v3_pi_syst6->SetDirectory(0);
694    Graph_v3_pi_syst6->SetStats(0);
695    Graph_v3_pi_syst6->GetYaxis()->SetNdivisions(505);
696    gre->SetHistogram(Graph_v3_pi_syst6);
697    
698    gre->Draw(" 2");
699    
700    gre = new TGraphErrors(10);
701    gre->SetName("v3_p_syst");
702    gre->SetTitle("Graph");
703
704    ci = TColor::GetColor("#ccccff");
705    gre->SetFillColor(ci);
706    gre->SetLineColor(4);
707    gre->SetLineWidth(2);
708    gre->SetMarkerColor(4);
709    gre->SetMarkerStyle(22);
710    gre->SetPoint(0,3.25,0.1311688);
711    gre->SetPointError(0,0.15,0.01193128);
712    gre->SetPoint(1,3.75,0.1407501);
713    gre->SetPointError(1,0.15,0.01276949);
714    gre->SetPoint(2,4.25,0.1385895);
715    gre->SetPointError(2,0.15,0.01257106);
716    gre->SetPoint(3,4.75,0.1235055);
717    gre->SetPointError(3,0.15,0.01122989);
718    gre->SetPoint(4,5.5,0.1371979);
719    gre->SetPointError(4,0.15,0.01255399);
720    gre->SetPoint(5,6.5,0.09759373);
721    gre->SetPointError(5,0.15,0.009288371);
722    gre->SetPoint(6,7.7,0.06856299);
723    gre->SetPointError(6,0.15,0.007375194);
724    gre->SetPoint(7,9.2,0.004994158);
725    gre->SetPointError(7,0.15,0.005729212);
726    gre->SetPoint(8,11.2,0.009008093);
727    gre->SetPointError(8,0.15,0.008079395);
728    gre->SetPoint(9,14.2,0.01596351);
729    gre->SetPointError(9,0.15,0.01163541);
730    
731    TH1F *Graph_v3_p_syst7 = new TH1F("Graph_v3_p_syst7","Graph",100,1.975,15.475);
732    Graph_v3_p_syst7->SetMinimum(-0.01616052);
733    Graph_v3_p_syst7->SetMaximum(0.1689451);
734    Graph_v3_p_syst7->SetDirectory(0);
735    Graph_v3_p_syst7->SetStats(0);
736    Graph_v3_p_syst7->GetYaxis()->SetNdivisions(505);
737    gre->SetHistogram(Graph_v3_p_syst7);
738    
739    gre->Draw(" 2");
740    
741    gre = new TGraphErrors(29);
742    gre->SetName("v3_all_stat");
743    gre->SetTitle("");
744    gre->SetFillColor(1);
745    gre->SetMarkerStyle(24);
746    gre->SetMarkerSize(1.05);
747    gre->SetPoint(0,0.25,0.007203372);
748    gre->SetPointError(0,0,9.378037e-05);
749    gre->SetPoint(1,0.35,0.01102627);
750    gre->SetPointError(1,0,9.647527e-05);
751    gre->SetPoint(2,0.45,0.01592133);
752    gre->SetPointError(2,0,0.0001033292);
753    gre->SetPoint(3,0.55,0.02100488);
754    gre->SetPointError(3,0,0.000113066);
755    gre->SetPoint(4,0.65,0.02604016);
756    gre->SetPointError(4,0,0.0001246423);
757    gre->SetPoint(5,0.75,0.03062521);
758    gre->SetPointError(5,0,0.0001377328);
759    gre->SetPoint(6,0.85,0.03531019);
760    gre->SetPointError(6,0,0.0001523686);
761    gre->SetPoint(7,0.95,0.04001956);
762    gre->SetPointError(7,0,0.0001683801);
763    gre->SetPoint(8,1.1,0.04657155);
764    gre->SetPointError(8,0,0.0001377352);
765    gre->SetPoint(9,1.3,0.05538479);
766    gre->SetPointError(9,0,0.0001671177);
767    gre->SetPoint(10,1.5,0.06377175);
768    gre->SetPointError(10,0,0.0002027724);
769    gre->SetPoint(11,1.7,0.07185095);
770    gre->SetPointError(11,0,0.0002466592);
771    gre->SetPoint(12,1.9,0.08016296);
772    gre->SetPointError(12,0,0.0003010491);
773    gre->SetPoint(13,2.2,0.09024685);
774    gre->SetPointError(13,0,0.0002849607);
775    gre->SetPoint(14,2.6,0.1008168);
776    gre->SetPointError(14,0,0.0004235465);
777    gre->SetPoint(15,3,0.1077454);
778    gre->SetPointError(15,0,0.0006210302);
779    gre->SetPoint(16,3.4,0.109359);
780    gre->SetPointError(16,0,0.0008935413);
781    gre->SetPoint(17,3.8,0.1048671);
782    gre->SetPointError(17,0,0.001256786);
783    gre->SetPoint(18,4.25,0.1003652);
784    gre->SetPointError(18,0,0.001590921);
785    gre->SetPoint(19,4.75,0.08968793);
786    gre->SetPointError(19,0,0.002254858);
787    gre->SetPoint(20,5.25,0.07599929);
788    gre->SetPointError(20,0,0.003059542);
789    gre->SetPoint(21,5.75,0.05584336);
790    gre->SetPointError(21,0,0.004001802);
791    gre->SetPoint(22,6.5,0.04995155);
792    gre->SetPointError(22,0,0.003923087);
793    gre->SetPoint(23,7.5,0.03676771);
794    gre->SetPointError(23,0,0.00574129);
795    gre->SetPoint(24,8.5,0.03312214);
796    gre->SetPointError(24,0,0.007879972);
797    gre->SetPoint(25,9.5,0.03262837);
798    gre->SetPointError(25,0,0.01031812);
799    gre->SetPoint(26,11,0.001527541);
800    gre->SetPointError(26,0,0.01019586);
801    gre->SetPoint(27,13,0.007058193);
802    gre->SetPointError(27,0,0.01510492);
803    gre->SetPoint(28,15,0.02192343);
804    gre->SetPointError(28,0,0.02078729);
805
806    
807    TH1F *Graph_v3_all_stat8 = new TH1F("Graph_v3_all_stat8","",100,0,26.375);
808    Graph_v3_all_stat8->SetMinimum(-0.03974985);
809    Graph_v3_all_stat8->SetMaximum(0.1238891);
810    Graph_v3_all_stat8->SetDirectory(0);
811    Graph_v3_all_stat8->SetStats(0);
812    Graph_v3_all_stat8->GetYaxis()->SetNdivisions(505);
813    gre->SetHistogram(Graph_v3_all_stat8);
814    
815    gre->Draw("p");
816    
817    gre = new TGraphErrors(10);
818    gre->SetName("v3_pi_stat");
819    gre->SetTitle("");
820    gre->SetFillColor(1);
821    gre->SetLineColor(2);
822    gre->SetMarkerColor(2);
823    gre->SetMarkerStyle(21);
824    gre->SetMarkerSize(1.05);
825    gre->SetPoint(0,3.25,0.09476774);
826    gre->SetPointError(0,0,0.002016292);
827    gre->SetPoint(1,3.75,0.08373556);
828    gre->SetPointError(1,0,0.002940651);
829    gre->SetPoint(2,4.25,0.08420756);
830    gre->SetPointError(2,0,0.004107664);
831    gre->SetPoint(3,4.75,0.07882463);
832    gre->SetPointError(3,0,0.005518836);
833    gre->SetPoint(4,5.5,0.05841717);
834    gre->SetPointError(4,0,0.005574929);
835    gre->SetPoint(5,6.5,0.03813243);
836    gre->SetPointError(5,0,0.00841639);
837    gre->SetPoint(6,7.3,0.02069528);
838    gre->SetPointError(6,0,0.01181653);
839    gre->SetPoint(7,8.8,0.02757808);
840    gre->SetPointError(7,0,0.01256746);
841    gre->SetPoint(8,10.8,0.007078061);
842    gre->SetPointError(8,0,0.02019066);
843    gre->SetPoint(9,13.8,0.01454102);
844    gre->SetPointError(9,0,0.02390406);
845
846    
847    TH1F *Graph_v3_pi_stat9 = new TH1F("Graph_v3_pi_stat9","",100,1.795,19.255);
848    Graph_v3_pi_stat9->SetMinimum(-0.02410226);
849    Graph_v3_pi_stat9->SetMaximum(0.1077737);
850    Graph_v3_pi_stat9->SetDirectory(0);
851    Graph_v3_pi_stat9->SetStats(0);
852    Graph_v3_pi_stat9->GetYaxis()->SetNdivisions(505);
853    gre->SetHistogram(Graph_v3_pi_stat9);
854    
855    gre->Draw("p");
856    
857    gre = new TGraphErrors(10);
858    gre->SetName("v3_p_stat");
859    gre->SetTitle("");
860    gre->SetFillColor(1);
861    gre->SetLineColor(4);
862    gre->SetMarkerColor(4);
863    gre->SetMarkerStyle(22);
864    gre->SetMarkerSize(1.05);
865    gre->SetPoint(0,3.25,0.1311688);
866    gre->SetPointError(0,0,0.002747457);
867    gre->SetPoint(1,3.75,0.1407501);
868    gre->SetPointError(1,0,0.003659508);
869    gre->SetPoint(2,4.25,0.1385895);
870    gre->SetPointError(2,0,0.005132472);
871    gre->SetPoint(3,4.75,0.1235055);
872    gre->SetPointError(3,0,0.007248159);
873    gre->SetPoint(4,5.5,0.1371979);
874    gre->SetPointError(4,0,0.008171366);
875    gre->SetPoint(5,6.5,0.09759373);
876    gre->SetPointError(5,0,0.01452533);
877    gre->SetPoint(6,7.7,0.06856299);
878    gre->SetPointError(6,0,0.02261461);
879    gre->SetPoint(7,9.2,0.004994158);
880    gre->SetPointError(7,0,0.02673725);
881    gre->SetPoint(8,11.2,0.009008093);
882    gre->SetPointError(8,0,0.04683552);
883    gre->SetPoint(9,14.2,0.01596351);
884    gre->SetPointError(9,0,0.05503085);
885
886    
887    TH1F *Graph_v3_p_stat10 = new TH1F("Graph_v3_p_stat10","",100,1.755,19.695);
888    Graph_v3_p_stat10->SetMinimum(-0.09915992);
889    Graph_v3_p_stat10->SetMaximum(0.1675992);
890    Graph_v3_p_stat10->SetDirectory(0);
891    Graph_v3_p_stat10->SetStats(0);
892    Graph_v3_p_stat10->GetYaxis()->SetNdivisions(505);
893    gre->SetHistogram(Graph_v3_p_stat10);
894    
895    gre->Draw("p");
896    cAll_2->Modified();
897    cAll->cd();
898    cAll->Modified();
899    cAll->cd();
900    cAll->SetSelected(cAll);
901 }