{ //=========Macro generated from canvas: c2/ //========= (Tue May 31 18:48:47 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.3030303); grae->SetPointError(0,0.314,0.314,0.02484805,0.02564087); grae->SetPoint(1,-2.198,0.3421053); grae->SetPointError(1,0.314,0.314,0.0308499,0.03176747); grae->SetPoint(2,-1.57,0.2242647); grae->SetPointError(2,0.314,0.314,0.02455895,0.02590477); grae->SetPoint(3,-0.942,0.3608696); grae->SetPointError(3,0.314,0.314,0.03115462,0.03195612); grae->SetPoint(4,-0.314,0.343949); grae->SetPointError(4,0.314,0.314,0.02641345,0.0270733); grae->SetPoint(5,0.314,0.3581267); grae->SetPointError(5,0.314,0.314,0.02485465,0.02537394); grae->SetPoint(6,0.942,0.3445596); grae->SetPointError(6,0.314,0.314,0.02387668,0.02441189); grae->SetPoint(7,1.57,0.3421829); grae->SetPointError(7,0.314,0.314,0.02540338,0.02602173); grae->SetPoint(8,2.198,0.336478); grae->SetPointError(8,0.314,0.314,0.02609372,0.02677652); grae->SetPoint(9,2.826,0.3407643); grae->SetPointError(9,0.314,0.314,0.02634734,0.02702066); TH1F *Graph3 = new TH1F("Graph3","",100,-3.768,3.768); Graph3->SetMinimum(0.1803938); Graph3->SetMaximum(0.4121377); 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.346875); grae->SetPointError(0,0.314,0.314,0.02622816,0.02686356); grae->SetPoint(1,-2.198,0.3292683); grae->SetPointError(1,0.314,0.314,0.0294078,0.03032793); grae->SetPoint(2,-1.57,0.2830189); grae->SetPointError(2,0.314,0.314,0.02705321,0.02813955); grae->SetPoint(3,-0.942,0.3763838); grae->SetPointError(3,0.314,0.314,0.02904129,0.02964634); grae->SetPoint(4,-0.314,0.3739377); grae->SetPointError(4,0.314,0.314,0.02546138,0.02593578); grae->SetPoint(5,0.314,0.3743017); grae->SetPointError(5,0.314,0.314,0.02529122,0.02575768); grae->SetPoint(6,0.942,0.3300654); grae->SetPointError(6,0.314,0.314,0.02644778,0.02718505); grae->SetPoint(7,1.57,0.3475936); grae->SetPointError(7,0.314,0.314,0.02430641,0.02484792); grae->SetPoint(8,2.198,0.3201133); grae->SetPointError(8,0.314,0.314,0.02444226,0.02511931); grae->SetPoint(9,2.826,0.3283582); grae->SetPointError(9,0.314,0.314,0.02526223,0.02594278); TH1F *Graph4 = new TH1F("Graph4","",100,-3.768,3.768); Graph4->SetMinimum(0.2409592); Graph4->SetMaximum(0.4210365); 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.9,"ATLAS"); tex->SetNDC(); tex->SetTextFont(72); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.62,0.9,"Preliminary"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5,0.85,"CB muons |#eta| < 1.05"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5,0.8,"Data 2010 #sqrt{s}= 7 TeV"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); TMarker *marker = new TMarker(0.526,0.75,20); marker->SetMarkerColor(2); marker->SetMarkerStyle(20); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.55,0.75,"L1_MU6 #mu+"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); marker = new TMarker(0.526,0.7,22); marker->SetMarkerColor(4); marker->SetMarkerStyle(22); 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(); c2->Modified(); c2->cd(); c2->SetSelected(c2); }