{ //=========Macro generated from canvas: c2/ //========= (Tue May 31 19:40:02 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.5767918); grae->SetPointError(0,0.314,0.314,0.02895907,0.02861129); grae->SetPoint(1,-2.198,0.6968326); grae->SetPointError(1,0.314,0.314,0.0313999,0.03021985); grae->SetPoint(2,-1.57,0.495935); grae->SetPointError(2,0.314,0.314,0.03175831,0.03178021); grae->SetPoint(3,-0.942,0.5706806); grae->SetPointError(3,0.314,0.314,0.03589848,0.03540902); grae->SetPoint(4,-0.314,0.7168459); grae->SetPointError(4,0.314,0.314,0.02741925,0.02638775); grae->SetPoint(5,0.314,0.7091988); grae->SetPointError(5,0.314,0.314,0.02510008,0.02427541); grae->SetPoint(6,0.942,0.7361111); grae->SetPointError(6,0.314,0.314,0.02362364,0.02275196); grae->SetPoint(7,1.57,0.6129032); grae->SetPointError(7,0.314,0.314,0.02783731,0.02735385); grae->SetPoint(8,2.198,0.6819788); grae->SetPointError(8,0.314,0.314,0.02803706,0.02718372); grae->SetPoint(9,2.826,0.6830986); grae->SetPointError(9,0.314,0.314,0.02796396,0.02710837); TH1F *Graph3 = new TH1F("Graph3","",100,-3.768,3.768); Graph3->SetMinimum(0.434708); Graph3->SetMaximum(0.7883317); 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.7037037); grae->SetPointError(0,0.314,0.314,0.02688722,0.02597669); grae->SetPoint(1,-2.198,0.6448598); grae->SetPointError(1,0.314,0.314,0.03303676,0.03214035); grae->SetPoint(2,-1.57,0.5375494); grae->SetPointError(2,0.314,0.314,0.03134142,0.03114467); grae->SetPoint(3,-0.942,0.7233202); grae->SetPointError(3,0.314,0.314,0.02863013,0.02745931); grae->SetPoint(4,-0.314,0.7459807); grae->SetPointError(4,0.314,0.314,0.02515732,0.02410679); grae->SetPoint(5,0.314,0.7546012); grae->SetPointError(5,0.314,0.314,0.02430598,0.02326837); grae->SetPoint(6,0.942,0.6241379); grae->SetPointError(6,0.314,0.314,0.02864911,0.02808109); grae->SetPoint(7,1.57,0.699422); grae->SetPointError(7,0.314,0.314,0.02498325,0.02421752); grae->SetPoint(8,2.198,0.7040498); grae->SetPointError(8,0.314,0.314,0.02584399,0.02499975); grae->SetPoint(9,2.826,0.5980392); grae->SetPointError(9,0.314,0.314,0.02816922,0.02774395); TH1F *Graph4 = new TH1F("Graph4","",100,-3.768,3.768); Graph4->SetMinimum(0.4790418); Graph4->SetMaximum(0.8050358); 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.45,"ATLAS"); tex->SetNDC(); tex->SetTextFont(72); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.62,0.45,"Preliminary"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5,0.4,"CB muons |#eta| < 1.05"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5,0.35,"Data 2010 #sqrt{s}= 7 TeV"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); TMarker *marker = new TMarker(0.526,0.3,20); marker->SetMarkerColor(2); marker->SetMarkerStyle(20); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.55,0.3,"L1_MU6 #mu+"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); marker = new TMarker(0.526,0.25,22); marker->SetMarkerColor(4); marker->SetMarkerStyle(22); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.55,0.25,"L1_MU6 #mu-"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); c2->Modified(); c2->cd(); c2->SetSelected(c2); }