{ //=========Macro generated from canvas: c/c //========= (Fri Dec 28 05:22:13 2012) by ROOT version5.34/03 TCanvas *c = new TCanvas("c", "c",66,52,700,500); gStyle->SetOptStat(0); c->Range(-1.268293,-0.1585366,8.487805,1.060976); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetLeftMargin(0.13); c->SetRightMargin(0.05); c->SetTopMargin(0.05); c->SetBottomMargin(0.13); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *v2r = new TH1D("v2r","",100,0,8); v2r->SetMinimum(0); v2r->SetMaximum(1); v2r->SetStats(0); v2r->GetXaxis()->SetTitle(" p_{T} (GeV/c)"); v2r->GetXaxis()->SetTitleSize(0.05); v2r->GetYaxis()->SetTitle(" [(v_{2}{EP}^{2}-v_{2}{4}^{2})/(v_{2}{EP}^{2}+v_{2}{4}^{2})]^{1/2}"); v2r->GetYaxis()->SetNdivisions(505); v2r->GetYaxis()->SetTitleSize(0.05); v2r->Draw(""); TGraphErrors *gre = new TGraphErrors(12); gre->SetName("r05_sys"); gre->SetTitle("Graph"); Int_t ci; // for color index setting ci = TColor::GetColor("#999999"); gre->SetFillColor(ci); gre->SetLineColor(0); gre->SetLineWidth(-1); gre->SetMarkerStyle(24); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.3,0.6748473); gre->SetPointError(0,0.1,0.03506676); gre->SetPoint(1,0.5,0.7153645); gre->SetPointError(1,0.1,0.03717335); gre->SetPoint(2,0.7,0.6894158); gre->SetPointError(2,0.1,0.03582837); gre->SetPoint(3,0.9,0.7067432); gre->SetPointError(3,0.1,0.03673067); gre->SetPoint(4,1.1,0.6619021); gre->SetPointError(4,0.1,0.0344042); gre->SetPoint(5,1.3,0.7315017); gre->SetPointError(5,0.1,0.03802222); gre->SetPoint(6,1.5,0.7692662); gre->SetPointError(6,0.1,0.03998946); gre->SetPoint(7,1.7,0.773759); gre->SetPointError(7,0.1,0.0402287); gre->SetPoint(8,1.9,0.7819388); gre->SetPointError(8,0.1,0.04066006); gre->SetPoint(9,2.2,0.8313226); gre->SetPointError(9,0.1,0.04323168); gre->SetPoint(10,2.6,0.8435357); gre->SetPointError(10,0.1,0.04387509); gre->SetPoint(11,3,0.9023416); gre->SetPointError(11,0.1,0.04692273); TH1F *Graph_r05_sys1 = new TH1F("Graph_r05_sys1","Graph",100,0,3.39); Graph_r05_sys1->SetMinimum(0.5953213); Graph_r05_sys1->SetMaximum(0.981441); Graph_r05_sys1->SetDirectory(0); Graph_r05_sys1->SetStats(0); Graph_r05_sys1->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r05_sys1); gre->Draw(" 2"); gre = new TGraphErrors(17); gre->SetName("r510_sys"); gre->SetTitle("Graph"); ci = TColor::GetColor("#999999"); gre->SetFillColor(ci); gre->SetLineColor(0); gre->SetLineWidth(-1); gre->SetMarkerStyle(20); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.3,0.44644); gre->SetPointError(0,0.1,0.0231989); gre->SetPoint(1,0.5,0.4564487); gre->SetPointError(1,0.1,0.02372133); gre->SetPoint(2,0.7,0.4576472); gre->SetPointError(2,0.1,0.02378944); gre->SetPoint(3,0.9,0.4569544); gre->SetPointError(3,0.1,0.02375723); gre->SetPoint(4,1.1,0.4639343); gre->SetPointError(4,0.1,0.02412487); gre->SetPoint(5,1.3,0.4524788); gre->SetPointError(5,0.1,0.02353494); gre->SetPoint(6,1.5,0.4601832); gre->SetPointError(6,0.1,0.0239458); gre->SetPoint(7,1.7,0.4494307); gre->SetPointError(7,0.1,0.02339987); gre->SetPoint(8,1.9,0.4671303); gre->SetPointError(8,0.1,0.02433077); gre->SetPoint(9,2.2,0.4448711); gre->SetPointError(9,0.1,0.02319315); gre->SetPoint(10,2.6,0.4543129); gre->SetPointError(10,0.1,0.02370251); gre->SetPoint(11,3,0.4671294); gre->SetPointError(11,0.1,0.02435411); gre->SetPoint(12,3.4,0.4954824); gre->SetPointError(12,0.15,0.02591331); gre->SetPoint(13,3.8,0.4930006); gre->SetPointError(13,0.15,0.02580389); gre->SetPoint(14,4.5,0.4130483); gre->SetPointError(14,0.15,0.02172697); gre->SetPoint(15,5.5,0.4051466); gre->SetPointError(15,0.15,0.02138839); gre->SetPoint(16,7,0.5804674); gre->SetPointError(16,0.15,0.03047794); TH1F *Graph_r510_sys2 = new TH1F("Graph_r510_sys2","Graph",100,0,7.845); Graph_r510_sys2->SetMinimum(0.3610395); Graph_r510_sys2->SetMaximum(0.6336641); Graph_r510_sys2->SetDirectory(0); Graph_r510_sys2->SetStats(0); Graph_r510_sys2->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r510_sys2); gre->Draw(" 2"); gre = new TGraphErrors(17); gre->SetName("r1020_sys"); gre->SetTitle("Graph"); ci = TColor::GetColor("#ffcccc"); gre->SetFillColor(ci); gre->SetLineColor(0); gre->SetLineWidth(-1); gre->SetMarkerColor(2); gre->SetMarkerStyle(21); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.2,0.3407224); gre->SetPointError(0,0.1,0.01770654); gre->SetPoint(1,0.4,0.3326557); gre->SetPointError(1,0.1,0.01729182); gre->SetPoint(2,0.6,0.3346482); gre->SetPointError(2,0.1,0.01740599); gre->SetPoint(3,0.8,0.327928); gre->SetPointError(3,0.1,0.01706417); gre->SetPoint(4,1,0.3329076); gre->SetPointError(4,0.1,0.01733213); gre->SetPoint(5,1.2,0.3319818); gre->SetPointError(5,0.1,0.01729295); gre->SetPoint(6,1.4,0.3277389); gre->SetPointError(6,0.1,0.01709348); gre->SetPoint(7,1.6,0.3323081); gre->SetPointError(7,0.1,0.0173516); gre->SetPoint(8,1.8,0.3371822); gre->SetPointError(8,0.1,0.01762757); gre->SetPoint(9,2.1,0.3415145); gre->SetPointError(9,0.1,0.01787925); gre->SetPoint(10,2.5,0.3461332); gre->SetPointError(10,0.1,0.01815297); gre->SetPoint(11,2.9,0.3578573); gre->SetPointError(11,0.1,0.01873635); gre->SetPoint(12,3.3,0.3635437); gre->SetPointError(12,0.15,0.01919337); gre->SetPoint(13,3.7,0.3782009); gre->SetPointError(13,0.15,0.01997569); gre->SetPoint(14,4.4,0.3472841); gre->SetPointError(14,0.15,0.01846312); gre->SetPoint(15,5.4,0.3577505); gre->SetPointError(15,0.15,0.01909523); gre->SetPoint(16,6.9,0.306972); gre->SetPointError(16,0.15,0.01673372); TH1F *Graph_r1020_sys3 = new TH1F("Graph_r1020_sys3","Graph",100,0,7.745); Graph_r1020_sys3->SetMinimum(0.2794444); Graph_r1020_sys3->SetMaximum(0.4089704); Graph_r1020_sys3->SetDirectory(0); Graph_r1020_sys3->SetStats(0); Graph_r1020_sys3->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r1020_sys3); gre->Draw(" 2"); gre = new TGraphErrors(17); gre->SetName("r2030_sys"); gre->SetTitle("Graph"); ci = TColor::GetColor("#99ff99"); gre->SetFillColor(ci); gre->SetLineColor(0); gre->SetLineWidth(-1); ci = TColor::GetColor("#009900"); gre->SetMarkerColor(ci); gre->SetMarkerStyle(22); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.15,0.3240791); gre->SetPointError(0,0.1,0.01684292); gre->SetPoint(1,0.35,0.3169302); gre->SetPointError(1,0.1,0.01647839); gre->SetPoint(2,0.55,0.3090327); gre->SetPointError(2,0.1,0.01608553); gre->SetPoint(3,0.75,0.3132036); gre->SetPointError(3,0.1,0.01631284); gre->SetPoint(4,0.95,0.3101932); gre->SetPointError(4,0.1,0.01617211); gre->SetPoint(5,1.15,0.313574); gre->SetPointError(5,0.1,0.01636114); gre->SetPoint(6,1.35,0.3170921); gre->SetPointError(6,0.1,0.01657468); gre->SetPoint(7,1.55,0.3122068); gre->SetPointError(7,0.1,0.01635652); gre->SetPoint(8,1.75,0.3183214); gre->SetPointError(8,0.1,0.01670936); gre->SetPoint(9,2.05,0.3294594); gre->SetPointError(9,0.1,0.01732546); gre->SetPoint(10,2.45,0.3406282); gre->SetPointError(10,0.1,0.01795272); gre->SetPoint(11,2.85,0.3413139); gre->SetPointError(11,0.1,0.01795611); gre->SetPoint(12,3.25,0.3738371); gre->SetPointError(12,0.15,0.01986356); gre->SetPoint(13,3.65,0.343724); gre->SetPointError(13,0.15,0.01838864); gre->SetPoint(14,4.35,0.3644709); gre->SetPointError(14,0.15,0.01953003); gre->SetPoint(15,5.35,0.3806446); gre->SetPointError(15,0.15,0.02048553); gre->SetPoint(16,6.85,0.2581946); gre->SetPointError(16,0.15,0.01477103); TH1F *Graph_r2030_sys4 = new TH1F("Graph_r2030_sys4","Graph",100,0,7.695); Graph_r2030_sys4->SetMinimum(0.2276529); Graph_r2030_sys4->SetMaximum(0.4169008); Graph_r2030_sys4->SetDirectory(0); Graph_r2030_sys4->SetStats(0); Graph_r2030_sys4->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r2030_sys4); gre->Draw(" 2"); gre = new TGraphErrors(17); gre->SetName("r3040_sys"); gre->SetTitle("Graph"); ci = TColor::GetColor("#ccccff"); gre->SetFillColor(ci); gre->SetLineColor(0); gre->SetLineWidth(-1); gre->SetMarkerColor(4); gre->SetMarkerStyle(24); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.4,0.3320041); gre->SetPointError(0,0.1,0.01725638); gre->SetPoint(1,0.6,0.3303634); gre->SetPointError(1,0.1,0.01718134); gre->SetPoint(2,0.8,0.3298087); gre->SetPointError(2,0.1,0.01717751); gre->SetPoint(3,1,0.3302648); gre->SetPointError(3,0.1,0.01721721); gre->SetPoint(4,1.2,0.332734); gre->SetPointError(4,0.1,0.01736717); gre->SetPoint(5,1.4,0.3350483); gre->SetPointError(5,0.1,0.01750703); gre->SetPoint(6,1.6,0.3369883); gre->SetPointError(6,0.1,0.01765299); gre->SetPoint(7,1.8,0.3433422); gre->SetPointError(7,0.1,0.01802849); gre->SetPoint(8,2,0.3496964); gre->SetPointError(8,0.1,0.01840816); gre->SetPoint(9,2.3,0.3604492); gre->SetPointError(9,0.1,0.0190205); gre->SetPoint(10,2.7,0.3717494); gre->SetPointError(10,0.1,0.01967462); gre->SetPoint(11,3.1,0.3951951); gre->SetPointError(11,0.1,0.02082971); gre->SetPoint(12,3.5,0.4127565); gre->SetPointError(12,0.15,0.02205968); gre->SetPoint(13,3.9,0.3893044); gre->SetPointError(13,0.15,0.02094793); gre->SetPoint(14,4.6,0.4139472); gre->SetPointError(14,0.15,0.02231237); gre->SetPoint(15,5.6,0.4383394); gre->SetPointError(15,0.15,0.02372301); gre->SetPoint(16,7.1,0.2444724); gre->SetPointError(16,0.15,0.01484675); TH1F *Graph_r3040_sys5 = new TH1F("Graph_r3040_sys5","Graph",100,0,7.945); Graph_r3040_sys5->SetMinimum(0.206382); Graph_r3040_sys5->SetMaximum(0.485306); Graph_r3040_sys5->SetDirectory(0); Graph_r3040_sys5->SetStats(0); Graph_r3040_sys5->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r3040_sys5); gre->Draw(" 2"); gre = new TGraphErrors(17); gre->SetName("r4050_sys"); gre->SetTitle("Graph"); ci = TColor::GetColor("#ffccff"); gre->SetFillColor(ci); gre->SetLineColor(0); gre->SetLineWidth(-1); gre->SetMarkerColor(6); gre->SetMarkerStyle(25); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.45,0.3799203); gre->SetPointError(0,0.1,0.0197483); gre->SetPoint(1,0.65,0.377501); gre->SetPointError(1,0.1,0.01963721); gre->SetPoint(2,0.85,0.3723609); gre->SetPointError(2,0.1,0.01940658); gre->SetPoint(3,1.05,0.372532); gre->SetPointError(3,0.1,0.0194387); gre->SetPoint(4,1.25,0.3807197); gre->SetPointError(4,0.1,0.01989391); gre->SetPoint(5,1.45,0.387165); gre->SetPointError(5,0.1,0.02025545); gre->SetPoint(6,1.65,0.3958039); gre->SetPointError(6,0.1,0.02076494); gre->SetPoint(7,1.85,0.3945525); gre->SetPointError(7,0.1,0.02076863); gre->SetPoint(8,2.05,0.4098273); gre->SetPointError(8,0.1,0.02162613); gre->SetPoint(9,2.35,0.423768); gre->SetPointError(9,0.1,0.02242387); gre->SetPoint(10,2.75,0.4506007); gre->SetPointError(10,0.1,0.02389636); gre->SetPoint(11,3.15,0.4575396); gre->SetPointError(11,0.1,0.02419019); gre->SetPoint(12,3.55,0.4917795); gre->SetPointError(12,0.15,0.02639219); gre->SetPoint(13,3.95,0.4730434); gre->SetPointError(13,0.15,0.02554607); gre->SetPoint(14,4.65,0.507539); gre->SetPointError(14,0.15,0.02744192); gre->SetPoint(15,5.65,0.4897249); gre->SetPointError(15,0.15,0.02682346); gre->SetPoint(16,7.15,0.2249193); gre->SetPointError(16,0.15,0.01526983); TH1F *Graph_r4050_sys6 = new TH1F("Graph_r4050_sys6","Graph",100,0,7.995); Graph_r4050_sys6->SetMinimum(0.1771163); Graph_r4050_sys6->SetMaximum(0.5675141); Graph_r4050_sys6->SetDirectory(0); Graph_r4050_sys6->SetStats(0); Graph_r4050_sys6->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r4050_sys6); gre->Draw(" 2"); gre = new TGraphErrors(12); gre->SetName("r05_stat"); gre->SetTitle("Graph"); gre->SetFillColor(1); gre->SetMarkerStyle(24); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.3,0.6748473); gre->SetPointError(0,0,0.06645783); gre->SetPoint(1,0.5,0.7153645); gre->SetPointError(1,0,0.04553507); gre->SetPoint(2,0.7,0.6894158); gre->SetPointError(2,0,0.04441004); gre->SetPoint(3,0.9,0.7067432); gre->SetPointError(3,0,0.04247559); gre->SetPoint(4,1.1,0.6619021); gre->SetPointError(4,0,0.04782525); gre->SetPoint(5,1.3,0.7315017); gre->SetPointError(5,0,0.04408115); gre->SetPoint(6,1.5,0.7692662); gre->SetPointError(6,0,0.04368821); gre->SetPoint(7,1.7,0.773759); gre->SetPointError(7,0,0.0479055); gre->SetPoint(8,1.9,0.7819388); gre->SetPointError(8,0,0.05398935); gre->SetPoint(9,2.2,0.8313226); gre->SetPointError(9,0,0.04193379); gre->SetPoint(10,2.6,0.8435357); gre->SetPointError(10,0,0.05862111); gre->SetPoint(11,3,0.9023416); gre->SetPointError(11,0,0.07004816); TH1F *Graph_r05_stat7 = new TH1F("Graph_r05_stat7","Graph",100,0.03,3.27); Graph_r05_stat7->SetMinimum(0.5719895); Graph_r05_stat7->SetMaximum(1.00879); Graph_r05_stat7->SetDirectory(0); Graph_r05_stat7->SetStats(0); Graph_r05_stat7->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r05_stat7); gre->Draw(" p"); gre = new TGraphErrors(17); gre->SetName("r510_stat"); gre->SetTitle("Graph"); gre->SetFillColor(1); gre->SetLineWidth(0); gre->SetMarkerStyle(20); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.3,0.44644); gre->SetPointError(0,0,0.01134621); gre->SetPoint(1,0.5,0.4564487); gre->SetPointError(1,0,0.008282536); gre->SetPoint(2,0.7,0.4576472); gre->SetPointError(2,0,0.00767089); gre->SetPoint(3,0.9,0.4569544); gre->SetPointError(3,0,0.007551065); gre->SetPoint(4,1.1,0.4639343); gre->SetPointError(4,0,0.007654322); gre->SetPoint(5,1.3,0.4524788); gre->SetPointError(5,0,0.00824761); gre->SetPoint(6,1.5,0.4601832); gre->SetPointError(6,0,0.008707149); gre->SetPoint(7,1.7,0.4494307); gre->SetPointError(7,0,0.009890012); gre->SetPoint(8,1.9,0.4671303); gre->SetPointError(8,0,0.01069284); gre->SetPoint(9,2.2,0.4448711); gre->SetPointError(9,0,0.009938726); gre->SetPoint(10,2.6,0.4543129); gre->SetPointError(10,0,0.01408005); gre->SetPoint(11,3,0.4671294); gre->SetPointError(11,0,0.01931901); gre->SetPoint(12,3.4,0.4954824); gre->SetPointError(12,0,0.02470873); gre->SetPoint(13,3.8,0.4930006); gre->SetPointError(13,0,0.03346144); gre->SetPoint(14,4.5,0.4130483); gre->SetPointError(14,0,0.04228761); gre->SetPoint(15,5.5,0.4051466); gre->SetPointError(15,0,0.09256968); gre->SetPoint(16,7,0.5804674); gre->SetPointError(16,0,0.1151339); TH1F *Graph_r510_stat8 = new TH1F("Graph_r510_stat8","Graph",100,0,7.67); Graph_r510_stat8->SetMinimum(0.2742745); Graph_r510_stat8->SetMaximum(0.7339037); Graph_r510_stat8->SetDirectory(0); Graph_r510_stat8->SetStats(0); Graph_r510_stat8->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r510_stat8); gre->Draw(" p"); gre = new TGraphErrors(17); gre->SetName("r1020_stat"); gre->SetTitle("Graph"); gre->SetFillColor(1); gre->SetLineColor(2); gre->SetMarkerColor(2); gre->SetMarkerStyle(21); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.2,0.3407224); gre->SetPointError(0,0,0.006269571); gre->SetPoint(1,0.4,0.3326557); gre->SetPointError(1,0,0.005095899); gre->SetPoint(2,0.6,0.3346482); gre->SetPointError(2,0,0.00475975); gre->SetPoint(3,0.8,0.327928); gre->SetPointError(3,0,0.004846848); gre->SetPoint(4,1,0.3329076); gre->SetPointError(4,0,0.004836721); gre->SetPoint(5,1.2,0.3319818); gre->SetPointError(5,0,0.005014924); gre->SetPoint(6,1.4,0.3277389); gre->SetPointError(6,0,0.005372178); gre->SetPoint(7,1.6,0.3323081); gre->SetPointError(7,0,0.005669545); gre->SetPoint(8,1.8,0.3371822); gre->SetPointError(8,0,0.006159689); gre->SetPoint(9,2.1,0.3415145); gre->SetPointError(9,0,0.005232986); gre->SetPoint(10,2.5,0.3461332); gre->SetPointError(10,0,0.007082508); gre->SetPoint(11,2.9,0.3578573); gre->SetPointError(11,0,0.009127337); gre->SetPoint(12,3.3,0.3635437); gre->SetPointError(12,0,0.01174489); gre->SetPoint(13,3.7,0.3782009); gre->SetPointError(13,0,0.01503212); gre->SetPoint(14,4.4,0.3472841); gre->SetPointError(14,0,0.01732568); gre->SetPoint(15,5.4,0.3577505); gre->SetPointError(15,0,0.03756251); gre->SetPoint(16,6.9,0.306972); gre->SetPointError(16,0,0.07385011); TH1F *Graph_r1020_stat9 = new TH1F("Graph_r1020_stat9","Graph",100,0,7.57); Graph_r1020_stat9->SetMinimum(0.2169027); Graph_r1020_stat9->SetMaximum(0.4115321); Graph_r1020_stat9->SetDirectory(0); Graph_r1020_stat9->SetStats(0); Graph_r1020_stat9->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r1020_stat9); gre->Draw(" p"); gre = new TGraphErrors(17); gre->SetName("r2030_stat"); gre->SetTitle("Graph"); gre->SetFillColor(1); ci = TColor::GetColor("#009900"); gre->SetLineColor(ci); ci = TColor::GetColor("#009900"); gre->SetMarkerColor(ci); gre->SetMarkerStyle(22); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.15,0.3240791); gre->SetPointError(0,0,0.005070983); gre->SetPoint(1,0.35,0.3169302); gre->SetPointError(1,0,0.00398262); gre->SetPoint(2,0.55,0.3090327); gre->SetPointError(2,0,0.003829831); gre->SetPoint(3,0.75,0.3132036); gre->SetPointError(3,0,0.003770332); gre->SetPoint(4,0.95,0.3101932); gre->SetPointError(4,0,0.003889472); gre->SetPoint(5,1.15,0.313574); gre->SetPointError(5,0,0.004029796); gre->SetPoint(6,1.35,0.3170921); gre->SetPointError(6,0,0.004263597); gre->SetPoint(7,1.55,0.3122068); gre->SetPointError(7,0,0.004769844); gre->SetPoint(8,1.75,0.3183214); gre->SetPointError(8,0,0.005329835); gre->SetPoint(9,2.05,0.3294594); gre->SetPointError(9,0,0.004552813); gre->SetPoint(10,2.45,0.3406282); gre->SetPointError(10,0,0.006017791); gre->SetPoint(11,2.85,0.3413139); gre->SetPointError(11,0,0.007865838); gre->SetPoint(12,3.25,0.3738371); gre->SetPointError(12,0,0.009414885); gre->SetPoint(13,3.65,0.343724); gre->SetPointError(13,0,0.01385386); gre->SetPoint(14,4.35,0.3644709); gre->SetPointError(14,0,0.01377863); gre->SetPoint(15,5.35,0.3806446); gre->SetPointError(15,0,0.02892134); gre->SetPoint(16,6.85,0.2581946); gre->SetPointError(16,0,0.07023577); TH1F *Graph_r2030_stat10 = new TH1F("Graph_r2030_stat10","Graph",100,0,7.52); Graph_r2030_stat10->SetMinimum(0.1657981); Graph_r2030_stat10->SetMaximum(0.4317267); Graph_r2030_stat10->SetDirectory(0); Graph_r2030_stat10->SetStats(0); Graph_r2030_stat10->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r2030_stat10); gre->Draw(" p"); gre = new TGraphErrors(17); gre->SetName("r3040_stat"); gre->SetTitle("Graph"); gre->SetFillColor(1); gre->SetLineColor(4); gre->SetMarkerColor(4); gre->SetMarkerStyle(24); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.4,0.3320041); gre->SetPointError(0,0,0.005582416); gre->SetPoint(1,0.6,0.3303634); gre->SetPointError(1,0,0.004179192); gre->SetPoint(2,0.8,0.3298087); gre->SetPointError(2,0,0.003882172); gre->SetPoint(3,1,0.3302648); gre->SetPointError(3,0,0.00386505); gre->SetPoint(4,1.2,0.332734); gre->SetPointError(4,0,0.003968026); gre->SetPoint(5,1.4,0.3350483); gre->SetPointError(5,0,0.004196567); gre->SetPoint(6,1.6,0.3369883); gre->SetPointError(6,0,0.004586863); gre->SetPoint(7,1.8,0.3433422); gre->SetPointError(7,0,0.005112142); gre->SetPoint(8,2,0.3496964); gre->SetPointError(8,0,0.005859968); gre->SetPoint(9,2.3,0.3604492); gre->SetPointError(9,0,0.005062223); gre->SetPoint(10,2.7,0.3717494); gre->SetPointError(10,0,0.006508291); gre->SetPoint(11,3.1,0.3951951); gre->SetPointError(11,0,0.008005596); gre->SetPoint(12,3.5,0.4127565); gre->SetPointError(12,0,0.01012939); gre->SetPoint(13,3.9,0.3893044); gre->SetPointError(13,0,0.01463339); gre->SetPoint(14,4.6,0.4139472); gre->SetPointError(14,0,0.0148973); gre->SetPoint(15,5.6,0.4383394); gre->SetPointError(15,0,0.03022365); gre->SetPoint(16,7.1,0.2444724); gre->SetPointError(16,0,0.0872529); TH1F *Graph_r3040_stat11 = new TH1F("Graph_r3040_stat11","Graph",100,0,7.77); Graph_r3040_stat11->SetMinimum(0.1260852); Graph_r3040_stat11->SetMaximum(0.4996974); Graph_r3040_stat11->SetDirectory(0); Graph_r3040_stat11->SetStats(0); Graph_r3040_stat11->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r3040_stat11); gre->Draw(" p"); gre = new TGraphErrors(17); gre->SetName("r4050_stat"); gre->SetTitle("Graph"); gre->SetFillColor(1); gre->SetLineColor(6); gre->SetMarkerColor(6); gre->SetMarkerStyle(25); gre->SetMarkerSize(1.1); gre->SetPoint(0,0.45,0.3799203); gre->SetPointError(0,0,0.007577153); gre->SetPoint(1,0.65,0.377501); gre->SetPointError(1,0,0.005425836); gre->SetPoint(2,0.85,0.3723609); gre->SetPointError(2,0,0.005059822); gre->SetPoint(3,1.05,0.372532); gre->SetPointError(3,0,0.005079179); gre->SetPoint(4,1.25,0.3807197); gre->SetPointError(4,0,0.005252409); gre->SetPoint(5,1.45,0.387165); gre->SetPointError(5,0,0.005661623); gre->SetPoint(6,1.65,0.3958039); gre->SetPointError(6,0,0.006302184); gre->SetPoint(7,1.85,0.3945525); gre->SetPointError(7,0,0.007322575); gre->SetPoint(8,2.05,0.4098273); gre->SetPointError(8,0,0.008218229); gre->SetPoint(9,2.35,0.423768); gre->SetPointError(9,0,0.006990749); gre->SetPoint(10,2.75,0.4506007); gre->SetPointError(10,0,0.008620785); gre->SetPoint(11,3.15,0.4575396); gre->SetPointError(11,0,0.01116411); gre->SetPoint(12,3.55,0.4917795); gre->SetPointError(12,0,0.01425129); gre->SetPoint(13,3.95,0.4730434); gre->SetPointError(13,0,0.02036735); gre->SetPoint(14,4.65,0.507539); gre->SetPointError(14,0,0.02062779); gre->SetPoint(15,5.65,0.4897249); gre->SetPointError(15,0,0.0448024); gre->SetPoint(16,7.15,0.2249193); gre->SetPointError(16,0,0.1488881); TH1F *Graph_r4050_stat12 = new TH1F("Graph_r4050_stat12","Graph",100,0,7.82); Graph_r4050_stat12->SetMinimum(0.03018159); Graph_r4050_stat12->SetMaximum(0.5803769); Graph_r4050_stat12->SetDirectory(0); Graph_r4050_stat12->SetStats(0); Graph_r4050_stat12->GetYaxis()->SetNdivisions(505); gre->SetHistogram(Graph_r4050_stat12); gre->Draw(" p"); TLegend *leg = new TLegend(0.6,0.74,0.93,0.94,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("r05_sys","0-5%","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.1); entry=leg->AddEntry("r2030_sys","20-30%","PF"); ci = TColor::GetColor("#99ff99"); entry->SetFillColor(ci); entry->SetFillStyle(1001); entry->SetLineStyle(1); entry->SetLineWidth(-1); ci = TColor::GetColor("#009900"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(22); entry->SetMarkerSize(1.1); entry=leg->AddEntry("r510_sys","5-10%","PF"); ci = TColor::GetColor("#999999"); entry->SetFillColor(ci); entry->SetFillStyle(1001); entry->SetLineStyle(1); entry->SetLineWidth(-1); entry->SetMarkerColor(1); entry->SetMarkerStyle(20); entry->SetMarkerSize(1.1); entry=leg->AddEntry("r3040_sys","30-40%","PF"); ci = TColor::GetColor("#ccccff"); entry->SetFillColor(ci); entry->SetFillStyle(1001); entry->SetLineStyle(1); entry->SetLineWidth(-1); entry->SetMarkerColor(4); entry->SetMarkerStyle(24); entry->SetMarkerSize(1.1); entry=leg->AddEntry("r1020_sys","10-20%","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.1); entry=leg->AddEntry("r4050_sys","40-50%","PF"); ci = TColor::GetColor("#ffccff"); entry->SetFillColor(ci); entry->SetFillStyle(1001); entry->SetLineStyle(1); entry->SetLineWidth(-1); entry->SetMarkerColor(6); entry->SetMarkerStyle(25); entry->SetMarkerSize(1.1); leg->Draw(); TLatex * tex = new TLatex(0.17,0.2,"ALICE Pb-Pb #sqrt{s_{NN}} = 2.76 TeV"); tex->SetNDC(); tex->SetTextFont(132); tex->SetTextSize(0.048); tex->SetLineWidth(2); tex->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }