{ //=========Macro generated from canvas: cAll/cAll //========= (Thu Jun 14 00:16:31 2012) by ROOT version5.33/03 TCanvas *cAll = new TCanvas("cAll", "cAll",808,52,460,600); gStyle->SetOptStat(0); cAll->Range(0,0,1,1); cAll->SetFillColor(0); cAll->SetBorderMode(0); cAll->SetBorderSize(2); cAll->SetTopMargin(0.04761905); cAll->SetBottomMargin(0.05); cAll->SetFrameBorderMode(0); // ------------>Primitives in pad: cAll_1 TPad *cAll_1 = new TPad("cAll_1", "cAll_1",0,0.5011905,0.9,0.952381); cAll_1->Draw(); cAll_1->cd(); cAll_1->Range(-2.915194,0.001,16.51943,0.3417035); cAll_1->SetFillColor(0); cAll_1->SetBorderMode(0); cAll_1->SetBorderSize(2); cAll_1->SetLeftMargin(0.15); cAll_1->SetRightMargin(0.001); cAll_1->SetTopMargin(0.005); cAll_1->SetBottomMargin(0); cAll_1->SetFrameBorderMode(0); cAll_1->SetFrameBorderMode(0); TH1D *v2 = new TH1D("v2","",100,0,16.5); v2->SetMinimum(0.001); v2->SetMaximum(0.34); v2->SetStats(0); v2->SetLineStyle(2); v2->GetXaxis()->SetTitle(" p_{t} (GeV/c)"); v2->GetYaxis()->SetTitle(" v_{2}"); v2->GetYaxis()->SetNdivisions(505); v2->GetYaxis()->SetLabelSize(0.05); v2->GetYaxis()->SetTitleSize(0.075); v2->Draw(""); TGraphAsymmErrors *grae = new TGraphAsymmErrors(3); grae->SetName("v2_WHDG"); grae->SetTitle("Graph"); Int_t ci; // for color index setting ci = TColor::GetColor("#99cccc"); grae->SetFillColor(ci); ci = TColor::GetColor("#0000ff"); grae->SetLineColor(ci); grae->SetLineStyle(2); ci = TColor::GetColor("#99cccc"); grae->SetMarkerColor(ci); grae->SetPoint(0,4.5,0.07715528); grae->SetPointError(0,0,0,0.00247886,0.0005557863); grae->SetPoint(1,9.5,0.06954476); grae->SetPointError(1,0,0,0.004220225,0.00141995); grae->SetPoint(2,14.5,0.06224394); grae->SetPointError(2,0,0,0.004793236,0.001829079); TH1F *Graph_v2_WHDG1 = new TH1F("Graph_v2_WHDG1","Graph",100,3.5,15.5); Graph_v2_WHDG1->SetMinimum(0.05542467); Graph_v2_WHDG1->SetMaximum(0.0797371); Graph_v2_WHDG1->SetDirectory(0); Graph_v2_WHDG1->SetStats(0); Graph_v2_WHDG1->GetYaxis()->SetNdivisions(505); grae->SetHistogram(Graph_v2_WHDG1); grae->Draw("3"); TGraph *graph = new TGraph(3); graph->SetName("v2b_WHDG"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#0000ff"); graph->SetLineColor(ci); graph->SetLineStyle(2); graph->SetPoint(0,4.5,0.07715528139); graph->SetPoint(1,9.5,0.06954475725); graph->SetPoint(2,14.5,0.0622439414); TH1F *Graph_v2b_WHDG1 = new TH1F("Graph_v2b_WHDG1","Graph",100,3.5,15.5); Graph_v2b_WHDG1->SetMinimum(0.06075281); Graph_v2b_WHDG1->SetMaximum(0.07864642); Graph_v2b_WHDG1->SetDirectory(0); Graph_v2b_WHDG1->SetStats(0); Graph_v2b_WHDG1->GetYaxis()->SetNdivisions(505); graph->SetHistogram(Graph_v2b_WHDG1); graph->Draw(" l"); grae = new TGraphAsymmErrors(29); grae->SetName("v2_all_syst"); grae->SetTitle("Graph"); ci = TColor::GetColor("#999999"); grae->SetFillColor(ci); grae->SetLineColor(0); grae->SetLineWidth(-1); grae->SetMarkerStyle(24); grae->SetMarkerSize(1.05); grae->SetPoint(0,0.4,0.0315661); grae->SetPointError(0,0.1,0.1,0.0008913945,0.0008351604); grae->SetPoint(1,0.5,0.04393777); grae->SetPointError(1,0.1,0.1,0.001266534,0.001162484); grae->SetPoint(2,0.6,0.05637685); grae->SetPointError(2,0.1,0.1,0.001619482,0.001491591); grae->SetPoint(3,0.7,0.06774809); grae->SetPointError(3,0.1,0.1,0.001951431,0.001792446); grae->SetPoint(4,0.8,0.07829438); grae->SetPointError(4,0.1,0.1,0.002299364,0.002071475); grae->SetPoint(5,0.9,0.08803726); grae->SetPointError(5,0.1,0.1,0.002657573,0.002329247); grae->SetPoint(6,1,0.09711054); grae->SetPointError(6,0.1,0.1,0.002856927,0.002569303); grae->SetPoint(7,1.1,0.1055969); grae->SetPointError(7,0.1,0.1,0.00313896,0.002793832); grae->SetPoint(8,1.25,0.116702); grae->SetPointError(8,0.1,0.1,0.003448526,0.003087645); grae->SetPoint(9,1.45,0.1313131); grae->SetPointError(9,0.1,0.1,0.003878866,0.003474218); grae->SetPoint(10,1.65,0.1447477); grae->SetPointError(10,0.1,0.1,0.004364853,0.003829663); grae->SetPoint(11,1.85,0.1574968); grae->SetPointError(11,0.1,0.1,0.004822848,0.004166972); grae->SetPoint(12,2.05,0.1691516); grae->SetPointError(12,0.15,0.15,0.005255998,0.00447533); grae->SetPoint(13,2.35,0.1831367); grae->SetPointError(13,0.15,0.15,0.005752204,0.004845342); grae->SetPoint(14,2.75,0.1970555); grae->SetPointError(14,0.15,0.15,0.006766215,0.005213598); grae->SetPoint(15,3.15,0.2045239); grae->SetPointError(15,0.15,0.15,0.00711559,0.005411194); grae->SetPoint(16,3.55,0.2047384); grae->SetPointError(16,0.15,0.15,0.00732347,0.005416868); grae->SetPoint(17,3.95,0.1975495); grae->SetPointError(17,0.15,0.15,0.007398551,0.005226668); grae->SetPoint(18,4.4,0.1845887); grae->SetPointError(18,0.15,0.15,0.00741749,0.004883758); grae->SetPoint(19,4.9,0.1682465); grae->SetPointError(19,0.15,0.15,0.007445019,0.004451384); grae->SetPoint(20,5.4,0.151929); grae->SetPointError(20,0.15,0.15,0.007517502,0.004019662); grae->SetPoint(21,5.9,0.1352188); grae->SetPointError(21,0.15,0.15,0.007628363,0.003577552); grae->SetPoint(22,6.65,0.1205582); grae->SetPointError(22,0.15,0.15,0.007979934,0.003189671); grae->SetPoint(23,7.65,0.1027149); grae->SetPointError(23,0.15,0.15,0.008529001,0.00271758); grae->SetPoint(24,8.65,0.09401538); grae->SetPointError(24,0.15,0.15,0.00919696,0.002487413); grae->SetPoint(25,9.65,0.09739738); grae->SetPointError(25,0.15,0.15,0.009962954,0.002576893); grae->SetPoint(26,11.15,0.07678936); grae->SetPointError(26,0.15,0.15,0.01096833,0.002031656); grae->SetPoint(27,13.15,0.07923373); grae->SetPointError(27,0.15,0.15,0.0124951,0.002096327); grae->SetPoint(28,15.15,0.07190784); grae->SetPointError(28,0.15,0.15,0.01398745,0.001902503); TH1F *Graph_v2_all_syst2 = new TH1F("Graph_v2_all_syst2","Graph",100,0,16.8); Graph_v2_all_syst2->SetMinimum(0.01272665); Graph_v2_all_syst2->SetMaximum(0.2281033); Graph_v2_all_syst2->SetDirectory(0); Graph_v2_all_syst2->SetStats(0); Graph_v2_all_syst2->GetYaxis()->SetNdivisions(505); grae->SetHistogram(Graph_v2_all_syst2); grae->Draw(" 2"); grae = new TGraphAsymmErrors(10); grae->SetName("v2_pi_syst"); grae->SetTitle("Graph"); ci = TColor::GetColor("#ffcccc"); grae->SetFillColor(ci); grae->SetLineColor(0); grae->SetLineWidth(-1); grae->SetMarkerColor(2); grae->SetMarkerStyle(21); grae->SetMarkerSize(1.05); grae->SetPoint(0,3.25,0.1759305); grae->SetPointError(0,0.15,0.15,0.01147184,0.009712627); grae->SetPoint(1,3.75,0.1638199); grae->SetPointError(1,0.15,0.15,0.01128133,0.009073474); grae->SetPoint(2,4.25,0.1517369); grae->SetPointError(2,0.15,0.15,0.01117761,0.008462166); grae->SetPoint(3,4.75,0.1335186); grae->SetPointError(3,0.15,0.15,0.01093977,0.007565704); grae->SetPoint(4,5.5,0.1163096); grae->SetPointError(4,0.15,0.15,0.01103177,0.006652352); grae->SetPoint(5,6.5,0.0969678); grae->SetPointError(5,0.15,0.15,0.01165513,0.005989494); grae->SetPoint(6,7.5,0.08162528); grae->SetPointError(6,0.15,0.15,0.01265158,0.005890821); grae->SetPoint(7,9,0.08327436); grae->SetPointError(7,0.15,0.15,0.01657779,0.01029521); grae->SetPoint(8,10.8,0.06726301); grae->SetPointError(8,0.15,0.15,0.01836536,0.01002227); grae->SetPoint(9,13.8,0.05636174); grae->SetPointError(9,0.15,0.15,0.02147995,0.01005009); TH1F *Graph_v2_pi_syst3 = new TH1F("Graph_v2_pi_syst3","Graph",100,2.015,15.035); Graph_v2_pi_syst3->SetMinimum(0.01980566); Graph_v2_pi_syst3->SetMaximum(0.2007192); Graph_v2_pi_syst3->SetDirectory(0); Graph_v2_pi_syst3->SetStats(0); Graph_v2_pi_syst3->GetYaxis()->SetNdivisions(505); grae->SetHistogram(Graph_v2_pi_syst3); grae->Draw(" 2"); grae = new TGraphAsymmErrors(10); grae->SetName("v2_p_syst"); grae->SetTitle("Graph"); ci = TColor::GetColor("#ccccff"); grae->SetFillColor(ci); grae->SetLineColor(0); grae->SetLineWidth(-1); grae->SetMarkerColor(4); grae->SetMarkerStyle(22); grae->SetMarkerSize(1.05); grae->SetPoint(0,3.25,0.2521631); grae->SetPointError(0,0.15,0.15,0.01729927,0.01405343); grae->SetPoint(1,3.75,0.2554621); grae->SetPointError(1,0.15,0.15,0.01809827,0.01423729); grae->SetPoint(2,4.25,0.249809); grae->SetPointError(2,0.15,0.15,0.01855031,0.01392223); grae->SetPoint(3,4.75,0.236384); grae->SetPointError(3,0.15,0.15,0.01875196,0.01317404); grae->SetPoint(4,5.5,0.2100063); grae->SetPointError(4,0.15,0.15,0.01900463,0.01170397); grae->SetPoint(5,6.5,0.178452); grae->SetPointError(5,0.15,0.15,0.01982011,0.009945398); grae->SetPoint(6,7.5,0.1469741); grae->SetPointError(6,0.15,0.15,0.02098049,0.008191088); grae->SetPoint(7,9,0.1410365); grae->SetPointError(7,0.15,0.15,0.02859966,0.01756231); grae->SetPoint(8,11.3,0.1046979); grae->SetPointError(8,0.15,0.15,0.02990599,0.0130373); grae->SetPoint(9,14.3,0.119398); grae->SetPointError(9,0.15,0.15,0.03658546,0.0148678); TH1F *Graph_v2_p_syst4 = new TH1F("Graph_v2_p_syst4","Graph",100,1.965,15.585); Graph_v2_p_syst4->SetMinimum(0.05530111); Graph_v2_p_syst4->SetMaximum(0.2891902); Graph_v2_p_syst4->SetDirectory(0); Graph_v2_p_syst4->SetStats(0); Graph_v2_p_syst4->GetYaxis()->SetNdivisions(505); grae->SetHistogram(Graph_v2_p_syst4); grae->Draw(" 2"); TGraphErrors *gre = new TGraphErrors(29); gre->SetName("v2_all_stat_binsShift"); gre->SetTitle(""); gre->SetFillColor(1); gre->SetMarkerStyle(24); gre->SetMarkerSize(1.05); gre->SetPoint(0,0.4,0.0315661); gre->SetPointError(0,0,3.076286e-05); gre->SetPoint(1,0.5,0.04393777); gre->SetPointError(1,0,3.168067e-05); gre->SetPoint(2,0.6,0.05637685); gre->SetPointError(2,0,3.396242e-05); gre->SetPoint(3,0.7,0.06774809); gre->SetPointError(3,0,3.718468e-05); gre->SetPoint(4,0.8,0.07829438); gre->SetPointError(4,0,4.100237e-05); gre->SetPoint(5,0.9,0.08803726); gre->SetPointError(5,0,4.531731e-05); gre->SetPoint(6,1,0.09711054); gre->SetPointError(6,0,5.014179e-05); gre->SetPoint(7,1.1,0.1055969); gre->SetPointError(7,0,5.541353e-05); gre->SetPoint(8,1.25,0.116702); gre->SetPointError(8,0,4.533094e-05); gre->SetPoint(9,1.45,0.1313131); gre->SetPointError(9,0,5.49925e-05); gre->SetPoint(10,1.65,0.1447477); gre->SetPointError(10,0,6.670607e-05); gre->SetPoint(11,1.85,0.1574968); gre->SetPointError(11,0,8.109567e-05); gre->SetPoint(12,2.05,0.1691516); gre->SetPointError(12,0,9.890477e-05); gre->SetPoint(13,2.35,0.1831367); gre->SetPointError(13,0,9.348696e-05); gre->SetPoint(14,2.75,0.1970555); gre->SetPointError(14,0,0.0001386199); gre->SetPoint(15,3.15,0.2045239); gre->SetPointError(15,0,0.0002026489); gre->SetPoint(16,3.55,0.2047384); gre->SetPointError(16,0,0.0002907305); gre->SetPoint(17,3.95,0.1975495); gre->SetPointError(17,0,0.0004079602); gre->SetPoint(18,4.4,0.1845887); gre->SetPointError(18,0,0.0005148033); gre->SetPoint(19,4.9,0.1682465); gre->SetPointError(19,0,0.0007280612); gre->SetPoint(20,5.4,0.151929); gre->SetPointError(20,0,0.0009870261); gre->SetPoint(21,5.9,0.1352188); gre->SetPointError(21,0,0.001290595); gre->SetPoint(22,6.65,0.1205582); gre->SetPointError(22,0,0.001264976); gre->SetPoint(23,7.65,0.1027149); gre->SetPointError(23,0,0.001851868); gre->SetPoint(24,8.65,0.09401538); gre->SetPointError(24,0,0.002537586); gre->SetPoint(25,9.65,0.09739738); gre->SetPointError(25,0,0.00333335); gre->SetPoint(26,11.15,0.07678936); gre->SetPointError(26,0,0.003303052); gre->SetPoint(27,13.15,0.07923373); gre->SetPointError(27,0,0.004900405); gre->SetPoint(28,15.15,0.07190784); gre->SetPointError(28,0,0.006739271); TH1F *Graph_v2_all_stat_binsShift1 = new TH1F("Graph_v2_all_stat_binsShift1","",100,0,26.525); Graph_v2_all_stat_binsShift1->SetMinimum(0.01418596); Graph_v2_all_stat_binsShift1->SetMaximum(0.2223785); Graph_v2_all_stat_binsShift1->SetDirectory(0); Graph_v2_all_stat_binsShift1->SetStats(0); Graph_v2_all_stat_binsShift1->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_v2_all_stat_binsShift1); gre->Draw("p"); gre = new TGraphErrors(10); gre->SetName("v2_pi_stat"); gre->SetTitle(""); gre->SetFillColor(1); gre->SetLineColor(2); gre->SetMarkerColor(2); gre->SetMarkerStyle(21); gre->SetMarkerSize(1.05); gre->SetPoint(0,3.25,0.1759305); gre->SetPointError(0,0,0.0006543621); gre->SetPoint(1,3.75,0.1638199); gre->SetPointError(1,0,0.0009511035); gre->SetPoint(2,4.25,0.1517369); gre->SetPointError(2,0,0.001324072); gre->SetPoint(3,4.75,0.1335186); gre->SetPointError(3,0,0.001775408); gre->SetPoint(4,5.5,0.1163096); gre->SetPointError(4,0,0.001791662); gre->SetPoint(5,6.5,0.0969678); gre->SetPointError(5,0,0.002710365); gre->SetPoint(6,7.5,0.08162528); gre->SetPointError(6,0,0.003806203); gre->SetPoint(7,9,0.08327436); gre->SetPointError(7,0,0.004037187); gre->SetPoint(8,10.8,0.06726301); gre->SetPointError(8,0,0.006475216); gre->SetPoint(9,13.8,0.05636174); gre->SetPointError(9,0,0.007740646); TH1F *Graph_v2_pi_stat2 = new TH1F("Graph_v2_pi_stat2","",100,1.795,19.255); Graph_v2_pi_stat2->SetMinimum(0.01768809); Graph_v2_pi_stat2->SetMaximum(0.19103); Graph_v2_pi_stat2->SetDirectory(0); Graph_v2_pi_stat2->SetStats(0); Graph_v2_pi_stat2->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_v2_pi_stat2); gre->Draw("p"); gre = new TGraphErrors(10); gre->SetName("v2_p_stat"); gre->SetTitle(""); gre->SetFillColor(1); gre->SetLineColor(4); gre->SetMarkerColor(4); gre->SetMarkerStyle(22); gre->SetMarkerSize(1.05); gre->SetPoint(0,3.25,0.2521631); gre->SetPointError(0,0,0.0008938079); gre->SetPoint(1,3.75,0.2554621); gre->SetPointError(1,0,0.001185634); gre->SetPoint(2,4.25,0.249809); gre->SetPointError(2,0,0.001656074); gre->SetPoint(3,4.75,0.236384); gre->SetPointError(3,0,0.002334333); gre->SetPoint(4,5.5,0.2100063); gre->SetPointError(4,0,0.002624291); gre->SetPoint(5,6.5,0.178452); gre->SetPointError(5,0,0.004661741); gre->SetPoint(6,7.5,0.1469741); gre->SetPointError(6,0,0.007300028); gre->SetPoint(7,9,0.1410365); gre->SetPointError(7,0,0.00854546); gre->SetPoint(8,11.3,0.1046979); gre->SetPointError(8,0,0.01492831); gre->SetPoint(9,14.3,0.119398); gre->SetPointError(9,0,0.01802938); TH1F *Graph_v2_p_stat3 = new TH1F("Graph_v2_p_stat3","",100,1.745,19.805); Graph_v2_p_stat3->SetMinimum(0.07308173); Graph_v2_p_stat3->SetMaximum(0.2733356); Graph_v2_p_stat3->SetDirectory(0); Graph_v2_p_stat3->SetStats(0); Graph_v2_p_stat3->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_v2_p_stat3); gre->Draw("p"); gre = new TGraphErrors(17); gre->SetName("v2_pi0_phenix"); gre->SetTitle(""); gre->SetFillColor(1); ci = TColor::GetColor("#009900"); gre->SetLineColor(ci); ci = TColor::GetColor("#009900"); gre->SetMarkerColor(ci); gre->SetMarkerStyle(23); gre->SetMarkerSize(1.05); gre->SetPoint(0,1.25,0.1377431); gre->SetPointError(0,0,0.0009798069); gre->SetPoint(1,1.75,0.1623196); gre->SetPointError(1,0,0.0005578459); gre->SetPoint(2,2.25,0.1714327); gre->SetPointError(2,0,0.0005834693); gre->SetPoint(3,2.75,0.1741325); gre->SetPointError(3,0,0.0007301772); gre->SetPoint(4,3.25,0.1710498); gre->SetPointError(4,0,0.0009672976); gre->SetPoint(5,3.75,0.1575147); gre->SetPointError(5,0,0.001198296); gre->SetPoint(6,4.25,0.1479495); gre->SetPointError(6,0,0.001625641); gre->SetPoint(7,4.75,0.1372344); gre->SetPointError(7,0,0.002193576); gre->SetPoint(8,5.5,0.1231874); gre->SetPointError(8,0,0.002200416); gre->SetPoint(9,6.5,0.1073113); gre->SetPointError(9,0,0.003705768); gre->SetPoint(10,7.5,0.1050585); gre->SetPointError(10,0,0.005795953); gre->SetPoint(11,8.5,0.08930212); gre->SetPointError(11,0,0.008709258); gre->SetPoint(12,9.5,0.09868819); gre->SetPointError(12,0,0.01267215); gre->SetPoint(13,11,0.0795046); gre->SetPointError(13,0,0.01403806); gre->SetPoint(14,13,0.08503899); gre->SetPointError(14,0,0.02630569); gre->SetPoint(15,15,0.09738688); gre->SetPointError(15,0,0.04615637); gre->SetPoint(16,17,0.05259072); gre->SetPointError(16,0,0.08742975); TH1F *Graph_v2_pi0_phenix4 = new TH1F("Graph_v2_pi0_phenix4","",100,0,18.575); Graph_v2_pi0_phenix4->SetMinimum(-0.0558092); Graph_v2_pi0_phenix4->SetMaximum(0.1958328); Graph_v2_pi0_phenix4->SetDirectory(0); Graph_v2_pi0_phenix4->SetStats(0); Graph_v2_pi0_phenix4->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_v2_pi0_phenix4); gre->Draw("p"); TLegend *leg = new TLegend(0.48,0.55,0.99,0.97,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextFont(132); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("v2_all_syst","h^{+}+h^{-} (10-50%)","PF"); ci = TColor::GetColor("#999999"); entry->SetFillColor(ci); entry->SetFillStyle(1001); entry->SetLineStyle(1); entry->SetLineWidth(-1); entry->SetMarkerColor(1); entry->SetMarkerStyle(24); entry->SetMarkerSize(1.05); entry=leg->AddEntry("v2_pi_syst","#pi^{+}+#pi^{-} (10-50%)","PF"); ci = TColor::GetColor("#ffcccc"); entry->SetFillColor(ci); entry->SetFillStyle(1001); entry->SetLineStyle(1); entry->SetLineWidth(-1); entry->SetMarkerColor(2); entry->SetMarkerStyle(21); entry->SetMarkerSize(1.05); entry=leg->AddEntry("v2_p_syst","p+#bar{p} (10-50%)","PF"); ci = TColor::GetColor("#ccccff"); entry->SetFillColor(ci); entry->SetFillStyle(1001); entry->SetLineStyle(1); entry->SetLineWidth(-1); entry->SetMarkerColor(4); entry->SetMarkerStyle(22); entry->SetMarkerSize(1.05); entry=leg->AddEntry("v2_pi0_phenix","#pi^{0} PHENIX (10-50%)","P"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#009900"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(23); entry->SetMarkerSize(1.05); entry=leg->AddEntry("v2_WHDG","#pi^{0} WHDG LHC","LF"); ci = TColor::GetColor("#99cccc"); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(2); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry=leg->AddEntry("v2_WHDG","Extrapolation (20-50%)",""); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); leg->Draw(); TLatex * tex = new TLatex(0.285,0.92,"ALICE"); tex->SetNDC(); tex->SetTextFont(132); tex->SetTextSize(0.06); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.1875,0.85,"Pb-Pb #sqrt{s_{NN}}=2.76 TeV"); tex->SetNDC(); tex->SetTextFont(132); tex->SetTextSize(0.06); tex->SetLineWidth(2); tex->Draw(); cAll_1->Modified(); cAll->cd(); // ------------>Primitives in pad: cAll_2 cAll_2 = new TPad("cAll_2", "cAll_2",0,0,0.9,0.5011905); cAll_2->Draw(); cAll_2->cd(); cAll_2->Range(-2.915194,-0.08764706,16.51943,0.17); cAll_2->SetFillColor(0); cAll_2->SetBorderMode(0); cAll_2->SetBorderSize(2); cAll_2->SetLeftMargin(0.15); cAll_2->SetRightMargin(0.001); cAll_2->SetTopMargin(0); cAll_2->SetBottomMargin(0.15); cAll_2->SetFrameBorderMode(0); cAll_2->SetFrameBorderMode(0); TH1D *v3 = new TH1D("v3","",100,0,16.5); v3->SetMinimum(-0.049); v3->SetMaximum(0.17); v3->SetStats(0); v3->SetLineStyle(2); v3->GetXaxis()->SetTitle(" p_{t} (GeV/c)"); v3->GetXaxis()->SetLabelSize(0.045); v3->GetXaxis()->SetTitleSize(0.0575); v3->GetYaxis()->SetTitle(" v_{3}"); v3->GetYaxis()->SetNdivisions(505); v3->GetYaxis()->SetLabelSize(0.045); v3->GetYaxis()->SetTitleSize(0.069); v3->Draw(""); gre = new TGraphErrors(29); gre->SetName("v3_all_syst"); gre->SetTitle("Graph"); ci = TColor::GetColor("#999999"); gre->SetFillColor(ci); gre->SetLineWidth(2); gre->SetMarkerStyle(20); gre->SetPoint(0,0.25,0.007203372); gre->SetPointError(0,0.1,0.0002416586); gre->SetPoint(1,0.35,0.01102627); gre->SetPointError(1,0.1,0.0003719628); gre->SetPoint(2,0.45,0.01592133); gre->SetPointError(2,0.1,0.0005361234); gre->SetPoint(3,0.55,0.02100488); gre->SetPointError(3,0.1,0.0007237769); gre->SetPoint(4,0.65,0.02604016); gre->SetPointError(4,0.1,0.0008953794); gre->SetPoint(5,0.75,0.03062521); gre->SetPointError(5,0.1,0.001027201); gre->SetPoint(6,0.85,0.03531019); gre->SetPointError(6,0.1,0.001187528); gre->SetPoint(7,0.95,0.04001956); gre->SetPointError(7,0.1,0.001346234); gre->SetPoint(8,1.1,0.04657155); gre->SetPointError(8,0.1,0.001567293); gre->SetPoint(9,1.3,0.05538479); gre->SetPointError(9,0.1,0.00187023); gre->SetPoint(10,1.5,0.06377175); gre->SetPointError(10,0.1,0.00220676); gre->SetPoint(11,1.7,0.07185095); gre->SetPointError(11,0.1,0.002409972); gre->SetPoint(12,1.9,0.08016296); gre->SetPointError(12,0.15,0.002691185); gre->SetPoint(13,2.2,0.09024685); gre->SetPointError(13,0.15,0.003064038); gre->SetPoint(14,2.6,0.1008168); gre->SetPointError(14,0.15,0.003382939); gre->SetPoint(15,3,0.1077454); gre->SetPointError(15,0.15,0.003615056); gre->SetPoint(16,3.4,0.109359); gre->SetPointError(16,0.15,0.003678845); gre->SetPoint(17,3.8,0.1048671); gre->SetPointError(17,0.15,0.003548941); gre->SetPoint(18,4.25,0.1003652); gre->SetPointError(18,0.15,0.003435669); gre->SetPoint(19,4.75,0.08968793); gre->SetPointError(19,0.15,0.003147119); gre->SetPoint(20,5.25,0.07599929); gre->SetPointError(20,0.15,0.002801701); gre->SetPoint(21,5.75,0.05584336); gre->SetPointError(21,0.15,0.002338784); gre->SetPoint(22,6.5,0.04995155); gre->SetPointError(22,0.15,0.002428166); gre->SetPoint(23,7.5,0.03676771); gre->SetPointError(23,0.15,0.002551333); gre->SetPoint(24,8.5,0.03312214); gre->SetPointError(24,0.15,0.002928349); gre->SetPoint(25,9.5,0.03262837); gre->SetPointError(25,0.15,0.003368133); gre->SetPoint(26,11,0.001527541); gre->SetPointError(26,0.15,0.003899635); gre->SetPoint(27,13,0.007058193); gre->SetPointError(27,0.15,0.004856965); gre->SetPoint(28,15,0.02192343); gre->SetPointError(28,0.15,0.005849488); TH1F *Graph_v3_all_syst5 = new TH1F("Graph_v3_all_syst5","Graph",100,0,16.65); Graph_v3_all_syst5->SetMinimum(-0.01391309); Graph_v3_all_syst5->SetMaximum(0.1245788); Graph_v3_all_syst5->SetDirectory(0); Graph_v3_all_syst5->SetStats(0); Graph_v3_all_syst5->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_v3_all_syst5); gre->Draw(" 2"); gre = new TGraphErrors(10); gre->SetName("v3_pi_syst"); gre->SetTitle("Graph"); ci = TColor::GetColor("#ffcccc"); gre->SetFillColor(ci); gre->SetLineColor(2); gre->SetLineWidth(2); gre->SetMarkerColor(2); gre->SetMarkerStyle(21); gre->SetPoint(0,3.25,0.09476774); gre->SetPointError(0,0.15,0.007970987); gre->SetPoint(1,3.75,0.08373556); gre->SetPointError(1,0.15,0.007157892); gre->SetPoint(2,4.25,0.08420756); gre->SetPointError(2,0.15,0.007376837); gre->SetPoint(3,4.75,0.07882463); gre->SetPointError(3,0.15,0.00720906); gre->SetPoint(4,5.5,0.05841717); gre->SetPointError(4,0.15,0.006318263); gre->SetPoint(5,6.5,0.03813243); gre->SetPointError(5,0.15,0.006336611); gre->SetPoint(6,7.3,0.02069528); gre->SetPointError(6,0.15,0.00716288); gre->SetPoint(7,8.8,0.02757808); gre->SetPointError(7,0.15,0.009844002); gre->SetPoint(8,10.8,0.007078061); gre->SetPointError(8,0.15,0.01215811); gre->SetPoint(9,13.8,0.01454102); gre->SetPointError(9,0.15,0.01666534); TH1F *Graph_v3_pi_syst6 = new TH1F("Graph_v3_pi_syst6","Graph",100,2.015,15.035); Graph_v3_pi_syst6->SetMinimum(-0.01586193); Graph_v3_pi_syst6->SetMaximum(0.1135206); Graph_v3_pi_syst6->SetDirectory(0); Graph_v3_pi_syst6->SetStats(0); Graph_v3_pi_syst6->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_v3_pi_syst6); gre->Draw(" 2"); gre = new TGraphErrors(10); gre->SetName("v3_p_syst"); gre->SetTitle("Graph"); ci = TColor::GetColor("#ccccff"); gre->SetFillColor(ci); gre->SetLineColor(4); gre->SetLineWidth(2); gre->SetMarkerColor(4); gre->SetMarkerStyle(22); gre->SetPoint(0,3.25,0.1311688); gre->SetPointError(0,0.15,0.01193128); gre->SetPoint(1,3.75,0.1407501); gre->SetPointError(1,0.15,0.01276949); gre->SetPoint(2,4.25,0.1385895); gre->SetPointError(2,0.15,0.01257106); gre->SetPoint(3,4.75,0.1235055); gre->SetPointError(3,0.15,0.01122989); gre->SetPoint(4,5.5,0.1371979); gre->SetPointError(4,0.15,0.01255399); gre->SetPoint(5,6.5,0.09759373); gre->SetPointError(5,0.15,0.009288371); gre->SetPoint(6,7.7,0.06856299); gre->SetPointError(6,0.15,0.007375194); gre->SetPoint(7,9.2,0.004994158); gre->SetPointError(7,0.15,0.005729212); gre->SetPoint(8,11.2,0.009008093); gre->SetPointError(8,0.15,0.008079395); gre->SetPoint(9,14.2,0.01596351); gre->SetPointError(9,0.15,0.01163541); TH1F *Graph_v3_p_syst7 = new TH1F("Graph_v3_p_syst7","Graph",100,1.975,15.475); Graph_v3_p_syst7->SetMinimum(-0.01616052); Graph_v3_p_syst7->SetMaximum(0.1689451); Graph_v3_p_syst7->SetDirectory(0); Graph_v3_p_syst7->SetStats(0); Graph_v3_p_syst7->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_v3_p_syst7); gre->Draw(" 2"); gre = new TGraphErrors(29); gre->SetName("v3_all_stat"); gre->SetTitle(""); gre->SetFillColor(1); gre->SetMarkerStyle(24); gre->SetMarkerSize(1.05); gre->SetPoint(0,0.25,0.007203372); gre->SetPointError(0,0,9.378037e-05); gre->SetPoint(1,0.35,0.01102627); gre->SetPointError(1,0,9.647527e-05); gre->SetPoint(2,0.45,0.01592133); gre->SetPointError(2,0,0.0001033292); gre->SetPoint(3,0.55,0.02100488); gre->SetPointError(3,0,0.000113066); gre->SetPoint(4,0.65,0.02604016); gre->SetPointError(4,0,0.0001246423); gre->SetPoint(5,0.75,0.03062521); gre->SetPointError(5,0,0.0001377328); gre->SetPoint(6,0.85,0.03531019); gre->SetPointError(6,0,0.0001523686); gre->SetPoint(7,0.95,0.04001956); gre->SetPointError(7,0,0.0001683801); gre->SetPoint(8,1.1,0.04657155); gre->SetPointError(8,0,0.0001377352); gre->SetPoint(9,1.3,0.05538479); gre->SetPointError(9,0,0.0001671177); gre->SetPoint(10,1.5,0.06377175); gre->SetPointError(10,0,0.0002027724); gre->SetPoint(11,1.7,0.07185095); gre->SetPointError(11,0,0.0002466592); gre->SetPoint(12,1.9,0.08016296); gre->SetPointError(12,0,0.0003010491); gre->SetPoint(13,2.2,0.09024685); gre->SetPointError(13,0,0.0002849607); gre->SetPoint(14,2.6,0.1008168); gre->SetPointError(14,0,0.0004235465); gre->SetPoint(15,3,0.1077454); gre->SetPointError(15,0,0.0006210302); gre->SetPoint(16,3.4,0.109359); gre->SetPointError(16,0,0.0008935413); gre->SetPoint(17,3.8,0.1048671); gre->SetPointError(17,0,0.001256786); gre->SetPoint(18,4.25,0.1003652); gre->SetPointError(18,0,0.001590921); gre->SetPoint(19,4.75,0.08968793); gre->SetPointError(19,0,0.002254858); gre->SetPoint(20,5.25,0.07599929); gre->SetPointError(20,0,0.003059542); gre->SetPoint(21,5.75,0.05584336); gre->SetPointError(21,0,0.004001802); gre->SetPoint(22,6.5,0.04995155); gre->SetPointError(22,0,0.003923087); gre->SetPoint(23,7.5,0.03676771); gre->SetPointError(23,0,0.00574129); gre->SetPoint(24,8.5,0.03312214); gre->SetPointError(24,0,0.007879972); gre->SetPoint(25,9.5,0.03262837); gre->SetPointError(25,0,0.01031812); gre->SetPoint(26,11,0.001527541); gre->SetPointError(26,0,0.01019586); gre->SetPoint(27,13,0.007058193); gre->SetPointError(27,0,0.01510492); gre->SetPoint(28,15,0.02192343); gre->SetPointError(28,0,0.02078729); TH1F *Graph_v3_all_stat8 = new TH1F("Graph_v3_all_stat8","",100,0,26.375); Graph_v3_all_stat8->SetMinimum(-0.03974985); Graph_v3_all_stat8->SetMaximum(0.1238891); Graph_v3_all_stat8->SetDirectory(0); Graph_v3_all_stat8->SetStats(0); Graph_v3_all_stat8->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_v3_all_stat8); gre->Draw("p"); gre = new TGraphErrors(10); gre->SetName("v3_pi_stat"); gre->SetTitle(""); gre->SetFillColor(1); gre->SetLineColor(2); gre->SetMarkerColor(2); gre->SetMarkerStyle(21); gre->SetMarkerSize(1.05); gre->SetPoint(0,3.25,0.09476774); gre->SetPointError(0,0,0.002016292); gre->SetPoint(1,3.75,0.08373556); gre->SetPointError(1,0,0.002940651); gre->SetPoint(2,4.25,0.08420756); gre->SetPointError(2,0,0.004107664); gre->SetPoint(3,4.75,0.07882463); gre->SetPointError(3,0,0.005518836); gre->SetPoint(4,5.5,0.05841717); gre->SetPointError(4,0,0.005574929); gre->SetPoint(5,6.5,0.03813243); gre->SetPointError(5,0,0.00841639); gre->SetPoint(6,7.3,0.02069528); gre->SetPointError(6,0,0.01181653); gre->SetPoint(7,8.8,0.02757808); gre->SetPointError(7,0,0.01256746); gre->SetPoint(8,10.8,0.007078061); gre->SetPointError(8,0,0.02019066); gre->SetPoint(9,13.8,0.01454102); gre->SetPointError(9,0,0.02390406); TH1F *Graph_v3_pi_stat9 = new TH1F("Graph_v3_pi_stat9","",100,1.795,19.255); Graph_v3_pi_stat9->SetMinimum(-0.02410226); Graph_v3_pi_stat9->SetMaximum(0.1077737); Graph_v3_pi_stat9->SetDirectory(0); Graph_v3_pi_stat9->SetStats(0); Graph_v3_pi_stat9->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_v3_pi_stat9); gre->Draw("p"); gre = new TGraphErrors(10); gre->SetName("v3_p_stat"); gre->SetTitle(""); gre->SetFillColor(1); gre->SetLineColor(4); gre->SetMarkerColor(4); gre->SetMarkerStyle(22); gre->SetMarkerSize(1.05); gre->SetPoint(0,3.25,0.1311688); gre->SetPointError(0,0,0.002747457); gre->SetPoint(1,3.75,0.1407501); gre->SetPointError(1,0,0.003659508); gre->SetPoint(2,4.25,0.1385895); gre->SetPointError(2,0,0.005132472); gre->SetPoint(3,4.75,0.1235055); gre->SetPointError(3,0,0.007248159); gre->SetPoint(4,5.5,0.1371979); gre->SetPointError(4,0,0.008171366); gre->SetPoint(5,6.5,0.09759373); gre->SetPointError(5,0,0.01452533); gre->SetPoint(6,7.7,0.06856299); gre->SetPointError(6,0,0.02261461); gre->SetPoint(7,9.2,0.004994158); gre->SetPointError(7,0,0.02673725); gre->SetPoint(8,11.2,0.009008093); gre->SetPointError(8,0,0.04683552); gre->SetPoint(9,14.2,0.01596351); gre->SetPointError(9,0,0.05503085); TH1F *Graph_v3_p_stat10 = new TH1F("Graph_v3_p_stat10","",100,1.755,19.695); Graph_v3_p_stat10->SetMinimum(-0.09915992); Graph_v3_p_stat10->SetMaximum(0.1675992); Graph_v3_p_stat10->SetDirectory(0); Graph_v3_p_stat10->SetStats(0); Graph_v3_p_stat10->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_v3_p_stat10); gre->Draw("p"); cAll_2->Modified(); cAll->cd(); cAll->Modified(); cAll->cd(); cAll->SetSelected(cAll); }