{ //=========Macro generated from canvas: c2/ //========= (Tue May 31 19:03:49 2011) by ROOT version5.28/00b TCanvas *c2 = new TCanvas("c2", "",10,32,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c2->Range(-4.705882,-0.2025316,4.705882,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,-3.2,3.2); 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]{#phi}"); 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("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(10); 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,-2.826,0.221843); grae->SetPointError(0,0.314,0.314,0.02359201,0.02485289); grae->SetPoint(1,-2.198,0.2895928); grae->SetPointError(1,0.314,0.314,0.02977526,0.0310368); grae->SetPoint(2,-1.57,0.1626016); grae->SetPointError(2,0.314,0.314,0.02257121,0.02439281); grae->SetPoint(3,-0.942,0.2617801); grae->SetPointError(3,0.314,0.314,0.03085956,0.03251068); grae->SetPoint(4,-0.314,0.265233); grae->SetPointError(4,0.314,0.314,0.02580538,0.02692227); grae->SetPoint(5,0.314,0.2789318); grae->SetPointError(5,0.314,0.314,0.02394539,0.0248169); grae->SetPoint(6,0.942,0.2777778); grae->SetPointError(6,0.314,0.314,0.02315332,0.02397367); grae->SetPoint(7,1.57,0.2580645); grae->SetPointError(7,0.314,0.314,0.02428094,0.02531748); grae->SetPoint(8,2.198,0.2579505); grae->SetPointError(8,0.314,0.314,0.02537698,0.02651238); grae->SetPoint(9,2.826,0.2605634); grae->SetPointError(9,0.314,0.314,0.02542427,0.02654346); TH1F *Graph3 = new TH1F("Graph3","",100,-3.768,3.768); Graph3->SetMinimum(0.1219705); Graph3->SetMaximum(0.3386895); 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,-2.826,0.2861953); grae->SetPointError(0,0.314,0.314,0.02568638,0.02664211); grae->SetPoint(1,-2.198,0.2850467); grae->SetPointError(1,0.314,0.314,0.03008508,0.03141576); grae->SetPoint(2,-1.57,0.2173913); grae->SetPointError(2,0.314,0.314,0.02512651,0.02660897); grae->SetPoint(3,-0.942,0.2806324); grae->SetPointError(3,0.314,0.314,0.02759149,0.02874155); grae->SetPoint(4,-0.314,0.2990354); grae->SetPointError(4,0.314,0.314,0.02547303,0.02633109); grae->SetPoint(5,0.314,0.291411); grae->SetPointError(5,0.314,0.314,0.02468905,0.02553893); grae->SetPoint(6,0.942,0.2517241); grae->SetPointError(6,0.314,0.314,0.02485876,0.02599547); grae->SetPoint(7,1.57,0.2803468); grae->SetPointError(7,0.314,0.314,0.02367902,0.02452253); grae->SetPoint(8,2.198,0.2523364); grae->SetPointError(8,0.314,0.314,0.02368193,0.02470688); grae->SetPoint(9,2.826,0.2647059); grae->SetPointError(9,0.314,0.314,0.02465425,0.02567539); TH1F *Graph4 = new TH1F("Graph4","",100,-3.768,3.768); Graph4->SetMinimum(0.1789546); Graph4->SetMaximum(0.3386766); 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.85,"ATLAS"); tex->SetNDC(); tex->SetTextFont(72); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.62,0.85,"Preliminary"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5,0.8,"CB muons |#eta| < 1.05"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5,0.75,"Data 2010 #sqrt{s}= 7 TeV"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); TMarker *marker = new TMarker(0.526,0.7,20); marker->SetMarkerColor(2); marker->SetMarkerStyle(20); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.55,0.7,"L1_MU6 #mu+"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); marker = new TMarker(0.526,0.65,22); marker->SetMarkerColor(4); marker->SetMarkerStyle(22); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.55,0.65,"L1_MU6 #mu-"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); c2->Modified(); c2->cd(); c2->SetSelected(c2); }