{ //=========Macro generated from canvas: c1/ //========= (Mon May 30 19:28:11 2011) by ROOT version5.28/00b TCanvas *c1 = new TCanvas("c1", "",10,32,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c1->Range(-10.58823,-0.2025316,55.58823,1.063291); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetTickx(1); c1->SetTicky(1); c1->SetLeftMargin(0.16); c1->SetRightMargin(0.16); c1->SetTopMargin(0.05); c1->SetBottomMargin(0.16); c1->SetFrameBorderMode(0); c1->SetFrameBorderMode(0); TH1F *hframe__1 = new TH1F("hframe__1","",1000,0,45); hframe__1->SetMinimum(0); hframe__1->SetMaximum(1); hframe__1->SetDirectory(0); hframe__1->SetStats(0); hframe__1->SetLineWidth(2); hframe__1->SetMarkerStyle(20); hframe__1->SetMarkerSize(1.2); hframe__1->GetXaxis()->SetTitle("#font[42]{p_{T} [GeV]}"); hframe__1->GetXaxis()->SetLabelFont(42); hframe__1->GetXaxis()->SetLabelSize(0.05); hframe__1->GetXaxis()->SetTitleSize(0.05); hframe__1->GetXaxis()->SetTitleOffset(1.4); hframe__1->GetXaxis()->SetTitleFont(42); hframe__1->GetYaxis()->SetTitle("#font[42]{Efficiency w.r.t. offline}"); hframe__1->GetYaxis()->SetLabelFont(42); hframe__1->GetYaxis()->SetLabelSize(0.05); hframe__1->GetYaxis()->SetTitleSize(0.05); hframe__1->GetYaxis()->SetTitleOffset(1.4); hframe__1->GetYaxis()->SetTitleFont(42); hframe__1->GetZaxis()->SetLabelFont(42); hframe__1->GetZaxis()->SetLabelSize(0.05); hframe__1->GetZaxis()->SetTitleSize(0.05); hframe__1->GetZaxis()->SetTitleFont(42); hframe__1->Draw(" "); TGraphAsymmErrors *grae = new TGraphAsymmErrors(11); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(2); grae->SetFillStyle(3001); grae->SetLineColor(2); grae->SetMarkerColor(2); grae->SetMarkerStyle(21); grae->SetMarkerSize(1.2); grae->SetPoint(0,3,0); grae->SetPointError(0,2,2,0,0.119839); grae->SetPoint(1,6,0.3103448); grae->SetPointError(1,1,1,0.07922055,0.0874693); grae->SetPoint(2,8.5,0.7085714); grae->SetPointError(2,1.5,1.5,0.03498438,0.03340825); grae->SetPoint(3,12,0.665874); grae->SetPointError(3,2,2,0.01638853,0.01612575); grae->SetPoint(4,16,0.6989066); grae->SetPointError(4,2,2,0.009465278,0.009353678); grae->SetPoint(5,21.5,0.7064735); grae->SetPointError(5,3.5,3.5,0.004181157,0.00415809); grae->SetPoint(6,27.5,0.7139188); grae->SetPointError(6,2.5,2.5,0.003544946,0.003527479); grae->SetPoint(7,32.5,0.7164378); grae->SetPointError(7,2.5,2.5,0.002872,0.002860328); grae->SetPoint(8,37.5,0.7075043); grae->SetPointError(8,2.5,2.5,0.002516776,0.002508328); grae->SetPoint(9,42.5,0.7060867); grae->SetPointError(9,2.5,2.5,0.002397095,0.0023895); grae->SetPoint(10,47.5,0.7075642); grae->SetPointError(10,2.5,2.5,0.003027138,0.003014937); TH1F *Graph1 = new TH1F("Graph1","",100,0,54.9); Graph1->SetMinimum(0); Graph1->SetMaximum(0.8161777); Graph1->SetDirectory(0); Graph1->SetStats(0); Graph1->SetLineWidth(2); Graph1->SetMarkerStyle(20); Graph1->SetMarkerSize(1.2); Graph1->GetXaxis()->SetLabelFont(42); Graph1->GetXaxis()->SetLabelSize(0.05); Graph1->GetXaxis()->SetTitleSize(0.05); Graph1->GetXaxis()->SetTitleOffset(1.4); Graph1->GetXaxis()->SetTitleFont(42); Graph1->GetYaxis()->SetLabelFont(42); Graph1->GetYaxis()->SetLabelSize(0.05); Graph1->GetYaxis()->SetTitleSize(0.05); Graph1->GetYaxis()->SetTitleOffset(1.4); Graph1->GetYaxis()->SetTitleFont(42); Graph1->GetZaxis()->SetLabelFont(42); Graph1->GetZaxis()->SetLabelSize(0.05); Graph1->GetZaxis()->SetTitleSize(0.05); Graph1->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph1); grae->Draw("e3"); grae = new TGraphAsymmErrors(11); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(4); grae->SetFillStyle(3001); grae->SetLineColor(4); grae->SetMarkerColor(4); grae->SetMarkerStyle(22); grae->SetMarkerSize(1.2); grae->SetPoint(0,3,0); grae->SetPointError(0,2,2,0,0.119839); grae->SetPoint(1,6,0); grae->SetPointError(1,1,1,0,0.03757113); grae->SetPoint(2,8.5,0.1542857); grae->SetPointError(2,1.5,1.5,0.02592208,0.02854112); grae->SetPoint(3,12,0.5636147); grae->SetPointError(3,2,2,0.01714246,0.01704167); grae->SetPoint(4,16,0.6942809); grae->SetPointError(4,2,2,0.009504536,0.009395535); grae->SetPoint(5,21.5,0.7047986); grae->SetPointError(5,3.5,3.5,0.004187995,0.00416509); grae->SetPoint(6,27.5,0.7133684); grae->SetPointError(6,2.5,2.5,0.003546965,0.00352953); grae->SetPoint(7,32.5,0.7156704); grae->SetPointError(7,2.5,2.5,0.002874317,0.002862686); grae->SetPoint(8,37.5,0.7066512); grae->SetPointError(8,2.5,2.5,0.002518899,0.002510493); grae->SetPoint(9,42.5,0.7051218); grae->SetPointError(9,2.5,2.5,0.002399364,0.002391805); grae->SetPoint(10,47.5,0.7066831); grae->SetPointError(10,2.5,2.5,0.003029776,0.003017626); TH1F *Graph2 = new TH1F("Graph2","",100,0,54.9); Graph2->SetMinimum(0); Graph2->SetMaximum(0.7903864); Graph2->SetDirectory(0); Graph2->SetStats(0); Graph2->SetLineWidth(2); Graph2->SetMarkerStyle(20); Graph2->SetMarkerSize(1.2); Graph2->GetXaxis()->SetLabelFont(42); Graph2->GetXaxis()->SetLabelSize(0.05); Graph2->GetXaxis()->SetTitleSize(0.05); Graph2->GetXaxis()->SetTitleOffset(1.4); Graph2->GetXaxis()->SetTitleFont(42); Graph2->GetYaxis()->SetLabelFont(42); Graph2->GetYaxis()->SetLabelSize(0.05); Graph2->GetYaxis()->SetTitleSize(0.05); Graph2->GetYaxis()->SetTitleOffset(1.4); Graph2->GetYaxis()->SetTitleFont(42); Graph2->GetZaxis()->SetLabelFont(42); Graph2->GetZaxis()->SetLabelSize(0.05); Graph2->GetZaxis()->SetTitleSize(0.05); Graph2->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph2); grae->Draw("e3"); grae = new TGraphAsymmErrors(11); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(1); grae->SetFillStyle(3001); grae->SetMarkerStyle(20); grae->SetMarkerSize(1.2); grae->SetPoint(0,3,0); grae->SetPointError(0,2,2,0,0.119839); grae->SetPoint(1,6,0); grae->SetPointError(1,1,1,0,0.03757113); grae->SetPoint(2,8.5,0.05714286); grae->SetPointError(2,1.5,1.5,0.01592626,0.01931379); grae->SetPoint(3,12,0.3793103); grae->SetPointError(3,2,2,0.01662737,0.01681857); grae->SetPoint(4,16,0.6480235); grae->SetPointError(4,2,2,0.009837555,0.009754504); grae->SetPoint(5,21.5,0.7011138); grae->SetPointError(5,3.5,3.5,0.004202766,0.004180288); grae->SetPoint(6,27.5,0.7131849); grae->SetPointError(6,2.5,2.5,0.003547627,0.003530223); grae->SetPoint(7,32.5,0.7155089); grae->SetPointError(7,2.5,2.5,0.002874803,0.002863182); grae->SetPoint(8,37.5,0.7064989); grae->SetPointError(8,2.5,2.5,0.00251928,0.002510875); grae->SetPoint(9,42.5,0.7050116); grae->SetPointError(9,2.5,2.5,0.002399618,0.002392072); grae->SetPoint(10,47.5,0.7065069); grae->SetPointError(10,2.5,2.5,0.003030295,0.003018168); TH1F *Graph3 = new TH1F("Graph3","",100,0,54.9); Graph3->SetMinimum(0); Graph3->SetMaximum(0.7902093); Graph3->SetDirectory(0); Graph3->SetStats(0); Graph3->SetLineWidth(2); Graph3->SetMarkerStyle(20); Graph3->SetMarkerSize(1.2); Graph3->GetXaxis()->SetLabelFont(42); Graph3->GetXaxis()->SetLabelSize(0.05); Graph3->GetXaxis()->SetTitleSize(0.05); Graph3->GetXaxis()->SetTitleOffset(1.4); Graph3->GetXaxis()->SetTitleFont(42); Graph3->GetYaxis()->SetLabelFont(42); Graph3->GetYaxis()->SetLabelSize(0.05); Graph3->GetYaxis()->SetTitleSize(0.05); Graph3->GetYaxis()->SetTitleOffset(1.4); Graph3->GetYaxis()->SetTitleFont(42); Graph3->GetZaxis()->SetLabelFont(42); Graph3->GetZaxis()->SetLabelSize(0.05); Graph3->GetZaxis()->SetTitleSize(0.05); Graph3->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph3); grae->Draw("e3"); grae = new TGraphAsymmErrors(11); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(3); grae->SetFillStyle(3001); grae->SetLineColor(2); grae->SetMarkerColor(2); grae->SetMarkerStyle(21); grae->SetMarkerSize(1.2); grae->SetPoint(0,3,0); grae->SetPointError(0,2,2,0,0.3181538); grae->SetPoint(1,6,0.25); grae->SetPointError(1,1,1,0.1520055,0.2121077); grae->SetPoint(2,8.5,0.5909091); grae->SetPointError(2,1.5,1.5,0.1030212,0.0979187); grae->SetPoint(3,12,0.6333333); grae->SetPointError(3,2,2,0.05126125,0.04932121); grae->SetPoint(4,16,0.6174863); grae->SetPointError(4,2,2,0.03618376,0.03533486); grae->SetPoint(5,21.5,0.6354045); grae->SetPointError(5,3.5,3.5,0.01657766,0.01636617); grae->SetPoint(6,27.5,0.6609053); grae->SetPointError(6,2.5,2.5,0.01366771,0.01349116); grae->SetPoint(7,32.5,0.6717641); grae->SetPointError(7,2.5,2.5,0.01103777,0.01091265); grae->SetPoint(8,37.5,0.6865424); grae->SetPointError(8,2.5,2.5,0.009493792,0.009390741); grae->SetPoint(9,42.5,0.6755623); grae->SetPointError(9,2.5,2.5,0.009188354,0.009099074); grae->SetPoint(10,47.5,0.6478611); grae->SetPointError(10,2.5,2.5,0.01195441,0.01183215); TH1F *Graph4 = new TH1F("Graph4","",100,0,54.9); Graph4->SetMinimum(0); Graph4->SetMaximum(0.7655265); Graph4->SetDirectory(0); Graph4->SetStats(0); Graph4->SetLineWidth(2); Graph4->SetMarkerStyle(20); Graph4->SetMarkerSize(1.2); Graph4->GetXaxis()->SetLabelFont(42); Graph4->GetXaxis()->SetLabelSize(0.05); Graph4->GetXaxis()->SetTitleSize(0.05); Graph4->GetXaxis()->SetTitleOffset(1.4); Graph4->GetXaxis()->SetTitleFont(42); Graph4->GetYaxis()->SetLabelFont(42); Graph4->GetYaxis()->SetLabelSize(0.05); Graph4->GetYaxis()->SetTitleSize(0.05); Graph4->GetYaxis()->SetTitleOffset(1.4); Graph4->GetYaxis()->SetTitleFont(42); Graph4->GetZaxis()->SetLabelFont(42); Graph4->GetZaxis()->SetLabelSize(0.05); Graph4->GetZaxis()->SetTitleSize(0.05); Graph4->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph4); grae->Draw("p"); grae = new TGraphAsymmErrors(11); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(4); grae->SetFillStyle(3001); grae->SetLineColor(4); grae->SetMarkerColor(4); grae->SetMarkerStyle(22); grae->SetMarkerSize(1.2); grae->SetPoint(0,3,0); grae->SetPointError(0,2,2,0,0.3181538); grae->SetPoint(1,6,0); grae->SetPointError(1,1,1,0,0.2052842); grae->SetPoint(2,8.5,0.1363636); grae->SetPointError(2,1.5,1.5,0.06113603,0.08218226); grae->SetPoint(3,12,0.5111111); grae->SetPointError(3,2,2,0.05222914,0.05206756); grae->SetPoint(4,16,0.6010929); grae->SetPointError(4,2,2,0.03639337,0.03566294); grae->SetPoint(5,21.5,0.6330598); grae->SetPointError(5,3.5,3.5,0.01659816,0.01639034); grae->SetPoint(6,27.5,0.6559671); grae->SetPointError(6,2.5,2.5,0.01371229,0.01354115); grae->SetPoint(7,32.5,0.6690333); grae->SetPointError(7,2.5,2.5,0.0110599,0.01093677); grae->SetPoint(8,37.5,0.6836439); grae->SetPointError(8,2.5,2.5,0.009516496,0.009415038); grae->SetPoint(9,42.5,0.6713687); grae->SetPointError(9,2.5,2.5,0.00921758,0.00913042); grae->SetPoint(10,47.5,0.6453813); grae->SetPointError(10,2.5,2.5,0.01197231,0.01185211); TH1F *Graph5 = new TH1F("Graph5","",100,0,54.9); Graph5->SetMinimum(0); Graph5->SetMaximum(0.7623648); Graph5->SetDirectory(0); Graph5->SetStats(0); Graph5->SetLineWidth(2); Graph5->SetMarkerStyle(20); Graph5->SetMarkerSize(1.2); Graph5->GetXaxis()->SetLabelFont(42); Graph5->GetXaxis()->SetLabelSize(0.05); Graph5->GetXaxis()->SetTitleSize(0.05); Graph5->GetXaxis()->SetTitleOffset(1.4); Graph5->GetXaxis()->SetTitleFont(42); Graph5->GetYaxis()->SetLabelFont(42); Graph5->GetYaxis()->SetLabelSize(0.05); Graph5->GetYaxis()->SetTitleSize(0.05); Graph5->GetYaxis()->SetTitleOffset(1.4); Graph5->GetYaxis()->SetTitleFont(42); Graph5->GetZaxis()->SetLabelFont(42); Graph5->GetZaxis()->SetLabelSize(0.05); Graph5->GetZaxis()->SetTitleSize(0.05); Graph5->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph5); grae->Draw("p"); grae = new TGraphAsymmErrors(11); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(1); grae->SetFillStyle(3001); grae->SetMarkerStyle(20); grae->SetMarkerSize(1.2); grae->SetPoint(0,3,0); grae->SetPointError(0,2,2,0,0.3181538); grae->SetPoint(1,6,0); grae->SetPointError(1,1,1,0,0.2052842); grae->SetPoint(2,8.5,0.1363636); grae->SetPointError(2,1.5,1.5,0.06113603,0.08218226); grae->SetPoint(3,12,0.3666667); grae->SetPointError(3,2,2,0.04932121,0.05126125); grae->SetPoint(4,16,0.5464481); grae->SetPointError(4,2,2,0.03679362,0.03645805); grae->SetPoint(5,21.5,0.6307151); grae->SetPointError(5,3.5,3.5,0.01661826,0.01641408); grae->SetPoint(6,27.5,0.655144); grae->SetPointError(6,2.5,2.5,0.01371955,0.01354933); grae->SetPoint(7,32.5,0.6690333); grae->SetPointError(7,2.5,2.5,0.0110599,0.01093677); grae->SetPoint(8,37.5,0.6832298); grae->SetPointError(8,2.5,2.5,0.009519701,0.009418478); grae->SetPoint(9,42.5,0.6713687); grae->SetPointError(9,2.5,2.5,0.00921758,0.00913042); grae->SetPoint(10,47.5,0.6453813); grae->SetPointError(10,2.5,2.5,0.01197231,0.01185211); TH1F *Graph6 = new TH1F("Graph6","",100,0,54.9); Graph6->SetMinimum(0); Graph6->SetMaximum(0.7619131); Graph6->SetDirectory(0); Graph6->SetStats(0); Graph6->SetLineWidth(2); Graph6->SetMarkerStyle(20); Graph6->SetMarkerSize(1.2); Graph6->GetXaxis()->SetLabelFont(42); Graph6->GetXaxis()->SetLabelSize(0.05); Graph6->GetXaxis()->SetTitleSize(0.05); Graph6->GetXaxis()->SetTitleOffset(1.4); Graph6->GetXaxis()->SetTitleFont(42); Graph6->GetYaxis()->SetLabelFont(42); Graph6->GetYaxis()->SetLabelSize(0.05); Graph6->GetYaxis()->SetTitleSize(0.05); Graph6->GetYaxis()->SetTitleOffset(1.4); Graph6->GetYaxis()->SetTitleFont(42); Graph6->GetZaxis()->SetLabelFont(42); Graph6->GetZaxis()->SetLabelSize(0.05); Graph6->GetZaxis()->SetTitleSize(0.05); Graph6->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph6); grae->Draw("p"); c1->Modified(); c1->cd(); c1->SetSelected(c1); }