{ //=========Macro generated from canvas: c1/ //========= (Thu Apr 21 11:48:47 2011) by ROOT version5.28/00b TCanvas *c1 = new TCanvas("c1", "",10,32,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c1->Range(-4.174683,-0.2227848,23.16709,1.16962); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetTickx(1); c1->SetTicky(1); c1->SetLeftMargin(0.16); c1->SetRightMargin(0.05); c1->SetTopMargin(0.05); c1->SetBottomMargin(0.16); c1->SetFrameBorderMode(0); c1->SetFrameBorderMode(0); TGraphAsymmErrors *grae = new TGraphAsymmErrors(9); grae->SetName("Graph"); grae->SetTitle("BARREL"); grae->SetLineWidth(2); grae->SetMarkerStyle(20); grae->SetMarkerSize(1.2); grae->SetPoint(0,2.228634,0.001416014); grae->SetPointError(0,0.25,0.25,0,0.4369725); grae->SetPoint(1,2.739328,0.01616607); grae->SetPointError(1,0.25,0.25,0.01114341,0.02224953); grae->SetPoint(2,3.485727,0.01616607); grae->SetPointError(2,0.5,0.5,0.004463429,0.005727861); grae->SetPoint(3,4.467831,0.0250161); grae->SetPointError(3,0.5,0.5,0.004632995,0.005333932); grae->SetPoint(4,5.489219,0.1312165); grae->SetPointError(4,0.5,0.5,0.01247858,0.01320935); grae->SetPoint(5,6.982017,0.7802188); grae->SetPointError(5,1,1,0.01555765,0.01504794); grae->SetPoint(6,8.985509,0.7625188); grae->SetPointError(6,1,1,0.0259485,0.02473004); grae->SetPoint(7,10.989,0.7861189); grae->SetPointError(7,1,1,0.0343314,0.03187463); grae->SetPoint(8,16.25308,0.7182686); grae->SetPointError(8,4,4,0.03926082,0.03748644); TH1F *Graph13 = new TH1F("Graph13","BARREL",100,0.2,21.8); Graph13->SetMinimum(0); Graph13->SetMaximum(1.1); Graph13->SetDirectory(0); Graph13->SetStats(0); Graph13->SetLineWidth(2); Graph13->SetMarkerStyle(20); Graph13->SetMarkerSize(1.2); Graph13->GetXaxis()->SetTitle("p_{T} [GeV]"); Graph13->GetXaxis()->SetLabelFont(42); Graph13->GetXaxis()->SetLabelSize(0.05); Graph13->GetXaxis()->SetTitleSize(0.05); Graph13->GetXaxis()->SetTitleOffset(1.4); Graph13->GetXaxis()->SetTitleFont(42); Graph13->GetYaxis()->SetTitle("#font[42]{EF_MU6 efficiency w.r.t. to offline}"); Graph13->GetYaxis()->SetLabelFont(42); Graph13->GetYaxis()->SetLabelSize(0.05); Graph13->GetYaxis()->SetTitleSize(0.05); Graph13->GetYaxis()->SetTitleOffset(1.4); Graph13->GetYaxis()->SetTitleFont(42); Graph13->GetZaxis()->SetLabelFont(42); Graph13->GetZaxis()->SetLabelSize(0.05); Graph13->GetZaxis()->SetTitleSize(0.05); Graph13->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph13); grae->Draw("ap"); TLatex * tex = new TLatex(0.55,0.45,"ATLAS"); tex->SetNDC(); tex->SetTextFont(72); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.67,0.45,"Preliminary"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.6,0.4,"CB muons"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.6,0.35,"|#eta| < 1.05"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); TMarker *marker = new TMarker(0.576,0.3,20); marker->SetMarkerStyle(20); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.6,0.3,"Data 2010"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.6,0.23,"#sqrt{s}= 7 TeV"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); }