{ //=========Macro generated from canvas: c2/ //========= (Tue May 31 18:39:43 2011) by ROOT version5.28/00b TCanvas *c2 = new TCanvas("c2", "",10,32,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c2->Range(-9.411764,-0.2025316,49.41176,1.063291); c2->SetFillColor(0); c2->SetBorderMode(0); c2->SetBorderSize(2); c2->SetTickx(1); c2->SetTicky(1); c2->SetLeftMargin(0.16); c2->SetRightMargin(0.16); c2->SetTopMargin(0.05); c2->SetBottomMargin(0.16); c2->SetFrameBorderMode(0); c2->SetFrameBorderMode(0); TH1F *hframe__2 = new TH1F("hframe__2","",1000,0,40); hframe__2->SetMinimum(0); hframe__2->SetMaximum(1); hframe__2->SetDirectory(0); hframe__2->SetStats(0); hframe__2->SetLineWidth(2); hframe__2->SetMarkerStyle(20); hframe__2->SetMarkerSize(1.2); hframe__2->GetXaxis()->SetTitle("#font[42]{p_{T} [GeV]}"); hframe__2->GetXaxis()->SetLabelFont(42); hframe__2->GetXaxis()->SetLabelSize(0.05); hframe__2->GetXaxis()->SetTitleSize(0.05); hframe__2->GetXaxis()->SetTitleOffset(1.4); hframe__2->GetXaxis()->SetTitleFont(42); hframe__2->GetYaxis()->SetTitle("#font[42]{Efficiency}"); hframe__2->GetYaxis()->SetLabelFont(42); hframe__2->GetYaxis()->SetLabelSize(0.05); hframe__2->GetYaxis()->SetTitleSize(0.05); hframe__2->GetYaxis()->SetTitleOffset(1.4); hframe__2->GetYaxis()->SetTitleFont(42); hframe__2->GetZaxis()->SetLabelFont(42); hframe__2->GetZaxis()->SetLabelSize(0.05); hframe__2->GetZaxis()->SetTitleSize(0.05); hframe__2->GetZaxis()->SetTitleFont(42); hframe__2->Draw(" "); TGraphAsymmErrors *grae = new TGraphAsymmErrors(11); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(2); grae->SetFillStyle(3001); grae->SetLineColor(2); grae->SetMarkerColor(2); grae->SetMarkerStyle(20); grae->SetMarkerSize(1.2); grae->SetPoint(0,3,0); grae->SetPointError(0,2,2,0,0.4369725); grae->SetPoint(1,6,0); grae->SetPointError(1,1,1,0,0.2052842); grae->SetPoint(2,8.5,0.1428571); grae->SetPointError(2,1.5,1.5,0.09435654,0.1533797); grae->SetPoint(3,12,0.5111111); grae->SetPointError(3,2,2,0.07311543,0.0727985); grae->SetPoint(4,16,0.6276596); grae->SetPointError(4,2,2,0.05027666,0.04849686); grae->SetPoint(5,21.5,0.6270396); grae->SetPointError(5,3.5,3.5,0.02350724,0.02311351); grae->SetPoint(6,27.5,0.6629393); grae->SetPointError(6,2.5,2.5,0.01904997,0.01870343); grae->SetPoint(7,32.5,0.6677282); grae->SetPointError(7,2.5,2.5,0.01546005,0.01522276); grae->SetPoint(8,37.5,0.6935484); grae->SetPointError(8,2.5,2.5,0.01319479,0.01298671); grae->SetPoint(9,42.5,0.6505295); grae->SetPointError(9,2.5,2.5,0.01318849,0.01303666); grae->SetPoint(10,47.5,0.6315789); grae->SetPointError(10,2.5,2.5,0.01659139,0.01638635); TH1F *Graph3 = new TH1F("Graph3","",100,0,54.9); Graph3->SetMinimum(0); Graph3->SetMaximum(0.7771886); 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("p"); grae = new TGraphAsymmErrors(10); 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.4369725); grae->SetPoint(1,8.5,0.1333333); grae->SetPointError(1,1.5,1.5,0.07000057,0.1005408); grae->SetPoint(2,12,0.5111111); grae->SetPointError(2,2,2,0.07311543,0.0727985); grae->SetPoint(3,16,0.5730337); grae->SetPointError(3,2,2,0.052427,0.05135304); grae->SetPoint(4,21.5,0.6391509); grae->SetPointError(4,3.5,3.5,0.02350315,0.02306681); grae->SetPoint(5,27.5,0.6485569); grae->SetPointError(5,2.5,2.5,0.01982037,0.01948463); grae->SetPoint(6,32.5,0.6704162); grae->SetPointError(6,2.5,2.5,0.01588652,0.01563109); grae->SetPoint(7,37.5,0.6731915); grae->SetPointError(7,2.5,2.5,0.01377958,0.0135831); grae->SetPoint(8,42.5,0.6925442); grae->SetPointError(8,2.5,2.5,0.01289092,0.0126936); grae->SetPoint(9,47.5,0.6609499); grae->SetPointError(9,2.5,2.5,0.01732514,0.01704231); TH1F *Graph4 = new TH1F("Graph4","",100,0,54.9); Graph4->SetMinimum(0); Graph4->SetMaximum(0.7757616); 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"); TLatex * tex = new TLatex(0.5,0.5,"ATLAS"); tex->SetNDC(); tex->SetTextFont(72); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.62,0.5,"Preliminary"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5,0.45,"CB muons |#eta| < 1.05"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5,0.4,"Data 2010 #sqrt{s}= 7 TeV"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); TMarker *marker = new TMarker(0.526,0.35,20); marker->SetMarkerColor(2); marker->SetMarkerStyle(20); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.55,0.35,"L1_MU15 #mu+"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); marker = new TMarker(0.526,0.3,22); marker->SetMarkerColor(4); marker->SetMarkerStyle(22); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.55,0.3,"L1_MU15 #mu-"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); c2->Modified(); c2->cd(); c2->SetSelected(c2); }