{ //=========Macro generated from canvas: c1/ //========= (Thu May 26 20:50:27 2011) by ROOT version5.28/00b TCanvas *c1 = new TCanvas("c1", "",10,54,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c1->Range(-4.705882,-0.2025316,24.70588,1.063291); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetTickx(1); c1->SetTicky(1); c1->SetLeftMargin(0.16); c1->SetRightMargin(0.16); c1->SetTopMargin(0.05); c1->SetBottomMargin(0.16); c1->SetFrameBorderMode(0); c1->SetFrameBorderMode(0); TH1F *hframe__1__2 = new TH1F("hframe__1__2","",1000,0,20); hframe__1__2->SetMinimum(0); hframe__1__2->SetMaximum(1); hframe__1__2->SetDirectory(0); hframe__1__2->SetStats(0); hframe__1__2->SetLineWidth(2); hframe__1__2->SetMarkerStyle(20); hframe__1__2->SetMarkerSize(1.2); hframe__1__2->GetXaxis()->SetTitle("#font[42]{p_{T} [GeV]}"); hframe__1__2->GetXaxis()->SetLabelFont(42); hframe__1__2->GetXaxis()->SetLabelSize(0.05); hframe__1__2->GetXaxis()->SetTitleSize(0.05); hframe__1__2->GetXaxis()->SetTitleOffset(1.4); hframe__1__2->GetXaxis()->SetTitleFont(42); hframe__1__2->GetYaxis()->SetTitle("#font[42]{Efficiency}"); hframe__1__2->GetYaxis()->SetLabelFont(42); hframe__1__2->GetYaxis()->SetLabelSize(0.05); hframe__1__2->GetYaxis()->SetTitleSize(0.05); hframe__1__2->GetYaxis()->SetTitleOffset(1.4); hframe__1__2->GetYaxis()->SetTitleFont(42); hframe__1__2->GetZaxis()->SetLabelFont(42); hframe__1__2->GetZaxis()->SetLabelSize(0.05); hframe__1__2->GetZaxis()->SetTitleSize(0.05); hframe__1__2->GetZaxis()->SetTitleFont(42); hframe__1__2->Draw(" "); TGraphAsymmErrors *grae = new TGraphAsymmErrors(8); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(1); grae->SetFillStyle(3001); grae->SetLineColor(4); grae->SetMarkerStyle(20); grae->SetMarkerSize(1.2); grae->SetPoint(0,2.5,0.4166667); grae->SetPointError(0,0.5,0.5,0.09462261,0.0989366); grae->SetPoint(1,3.5,0.6658796); grae->SetPointError(1,0.5,0.5,0.01152647,0.01139588); grae->SetPoint(2,4.5,0.6818813); grae->SetPointError(2,0.5,0.5,0.002078058,0.002073228); grae->SetPoint(3,5.5,0.7030253); grae->SetPointError(3,0.5,0.5,0.002633445,0.002624475); grae->SetPoint(4,6.5,0.7221734); grae->SetPointError(4,0.5,0.5,0.003559441,0.003540833); grae->SetPoint(5,7.5,0.7310189); grae->SetPointError(5,0.5,0.5,0.005127431,0.005086573); grae->SetPoint(6,10,0.7516075); grae->SetPointError(6,2,2,0.006710858,0.006630887); grae->SetPoint(7,16,0.7507463); grae->SetPointError(7,4,4,0.04663358,0.03976617); TH1F *Graph17 = new TH1F("Graph17","",100,0.2,21.8); Graph17->SetMinimum(0.2651972); Graph17->SetMaximum(0.9473593); Graph17->SetDirectory(0); Graph17->SetStats(0); Graph17->SetLineWidth(2); Graph17->SetMarkerStyle(20); Graph17->SetMarkerSize(1.2); Graph17->GetXaxis()->SetLabelFont(42); Graph17->GetXaxis()->SetLabelSize(0.05); Graph17->GetXaxis()->SetTitleSize(0.05); Graph17->GetXaxis()->SetTitleOffset(1.4); Graph17->GetXaxis()->SetTitleFont(42); Graph17->GetYaxis()->SetLabelFont(42); Graph17->GetYaxis()->SetLabelSize(0.05); Graph17->GetYaxis()->SetTitleSize(0.05); Graph17->GetYaxis()->SetTitleOffset(1.4); Graph17->GetYaxis()->SetTitleFont(42); Graph17->GetZaxis()->SetLabelFont(42); Graph17->GetZaxis()->SetLabelSize(0.05); Graph17->GetZaxis()->SetTitleSize(0.05); Graph17->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph17); grae->Draw("e3"); grae = new TGraphAsymmErrors(8); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(2); grae->SetFillStyle(3001); grae->SetLineColor(2); grae->SetMarkerColor(2); grae->SetMarkerStyle(21); grae->SetMarkerSize(1.2); grae->SetPoint(0,2.5,0); grae->SetPointError(0,0.5,0.5,0,0.04491424); grae->SetPoint(1,3.5,0.188902); grae->SetPointError(1,0.5,0.5,0.009389968,0.00963494); grae->SetPoint(2,4.5,0.3779656); grae->SetPointError(2,0.5,0.5,0.002159292,0.002162528); grae->SetPoint(3,5.5,0.641263); grae->SetPointError(3,0.5,0.5,0.002762708,0.002756468); grae->SetPoint(4,6.5,0.712511); grae->SetPointError(4,0.5,0.5,0.003596002,0.003578199); grae->SetPoint(5,7.5,0.7269114); grae->SetPointError(5,0.5,0.5,0.005151427,0.005111308); grae->SetPoint(6,10,0.7482734); grae->SetPointError(6,2,2,0.006740029,0.006661119); grae->SetPoint(7,16,0.7507463); grae->SetPointError(7,4,4,0.04663358,0.03976617); TH1F *Graph28 = new TH1F("Graph28","",100,0.2,21.8); Graph28->SetMinimum(0); Graph28->SetMaximum(0.9795637); Graph28->SetDirectory(0); Graph28->SetStats(0); Graph28->SetLineWidth(2); Graph28->SetMarkerStyle(20); Graph28->SetMarkerSize(1.2); Graph28->GetXaxis()->SetLabelFont(42); Graph28->GetXaxis()->SetLabelSize(0.05); Graph28->GetXaxis()->SetTitleSize(0.05); Graph28->GetXaxis()->SetTitleOffset(1.4); Graph28->GetXaxis()->SetTitleFont(42); Graph28->GetYaxis()->SetLabelFont(42); Graph28->GetYaxis()->SetLabelSize(0.05); Graph28->GetYaxis()->SetTitleSize(0.05); Graph28->GetYaxis()->SetTitleOffset(1.4); Graph28->GetYaxis()->SetTitleFont(42); Graph28->GetZaxis()->SetLabelFont(42); Graph28->GetZaxis()->SetLabelSize(0.05); Graph28->GetZaxis()->SetTitleSize(0.05); Graph28->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph28); grae->Draw("e3"); grae = new TGraphAsymmErrors(8); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(4); grae->SetFillStyle(3001); grae->SetMarkerColor(4); grae->SetMarkerStyle(22); grae->SetMarkerSize(1.2); grae->SetPoint(0,2.5,0); grae->SetPointError(0,0.5,0.5,0,0.04491424); grae->SetPoint(1,3.5,0.0755608); grae->SetPointError(1,0.5,0.5,0.00625886,0.006593327); grae->SetPoint(2,4.5,0.1499841); grae->SetPointError(2,0.5,0.5,0.001586632,0.001595901); grae->SetPoint(3,5.5,0.3541081); grae->SetPointError(3,0.5,0.5,0.002748388,0.002754821); grae->SetPoint(4,6.5,0.5508219); grae->SetPointError(4,0.5,0.5,0.003944425,0.003940172); grae->SetPoint(5,7.5,0.6578773); grae->SetPointError(5,0.5,0.5,0.005477832,0.005449903); grae->SetPoint(6,10,0.7246964); grae->SetPointError(6,2,2,0.006931722,0.0068603); grae->SetPoint(7,16,0.7507463); grae->SetPointError(7,4,4,0.04663358,0.03976617); TH1F *Graph39 = new TH1F("Graph39","",100,0.2,21.8); Graph39->SetMinimum(0); Graph39->SetMaximum(0.9795637); Graph39->SetDirectory(0); Graph39->SetStats(0); Graph39->SetLineWidth(2); Graph39->SetMarkerStyle(20); Graph39->SetMarkerSize(1.2); Graph39->GetXaxis()->SetLabelFont(42); Graph39->GetXaxis()->SetLabelSize(0.05); Graph39->GetXaxis()->SetTitleSize(0.05); Graph39->GetXaxis()->SetTitleOffset(1.4); Graph39->GetXaxis()->SetTitleFont(42); Graph39->GetYaxis()->SetLabelFont(42); Graph39->GetYaxis()->SetLabelSize(0.05); Graph39->GetYaxis()->SetTitleSize(0.05); Graph39->GetYaxis()->SetTitleOffset(1.4); Graph39->GetYaxis()->SetTitleFont(42); Graph39->GetZaxis()->SetLabelFont(42); Graph39->GetZaxis()->SetLabelSize(0.05); Graph39->GetZaxis()->SetTitleSize(0.05); Graph39->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph39); grae->Draw("e3"); grae = new TGraphAsymmErrors(9); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(1); grae->SetFillStyle(3001); grae->SetMarkerStyle(20); grae->SetMarkerSize(1.2); grae->SetPoint(0,2.5,0.5058005); grae->SetPointError(0,0.5,0.5,0.02405119,0.0240333); grae->SetPoint(1,3.5,0.6360976); grae->SetPointError(1,0.5,0.5,0.01067228,0.01058373); grae->SetPoint(2,4.5,0.696477); grae->SetPointError(2,0.5,0.5,0.01077668,0.01063464); grae->SetPoint(3,5.5,0.7536998); grae->SetPointError(3,0.5,0.5,0.01418351,0.01382607); grae->SetPoint(4,6.5,0.7525355); grae->SetPointError(4,0.5,0.5,0.01975548,0.01907381); grae->SetPoint(5,7.5,0.7719298); grae->SetPointError(5,0.5,0.5,0.02543305,0.02416606); grae->SetPoint(6,10,0.7101449); grae->SetPointError(6,2,2,0.03208944,0.03074494); grae->SetPoint(7,16,0.75); grae->SetPointError(7,4,4,0.1007583,0.08529428); grae->SetPoint(8,25,1); grae->SetPointError(8,5,5,0.4369725,0); TH1F *Graph410 = new TH1F("Graph410","",100,0,32.8); Graph410->SetMinimum(0.4299242); Graph410->SetMaximum(1.051825); Graph410->SetDirectory(0); Graph410->SetStats(0); Graph410->SetLineWidth(2); Graph410->SetMarkerStyle(20); Graph410->SetMarkerSize(1.2); Graph410->GetXaxis()->SetLabelFont(42); Graph410->GetXaxis()->SetLabelSize(0.05); Graph410->GetXaxis()->SetTitleSize(0.05); Graph410->GetXaxis()->SetTitleOffset(1.4); Graph410->GetXaxis()->SetTitleFont(42); Graph410->GetYaxis()->SetLabelFont(42); Graph410->GetYaxis()->SetLabelSize(0.05); Graph410->GetYaxis()->SetTitleSize(0.05); Graph410->GetYaxis()->SetTitleOffset(1.4); Graph410->GetYaxis()->SetTitleFont(42); Graph410->GetZaxis()->SetLabelFont(42); Graph410->GetZaxis()->SetLabelSize(0.05); Graph410->GetZaxis()->SetTitleSize(0.05); Graph410->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph410); grae->Draw("p"); grae = new TGraphAsymmErrors(9); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(2); grae->SetFillStyle(3001); grae->SetLineColor(2); grae->SetMarkerColor(2); grae->SetMarkerStyle(21); grae->SetMarkerSize(1.2); grae->SetPoint(0,2.5,0.02088167); grae->SetPointError(0,0.5,0.5,0.00620515,0.007707116); grae->SetPoint(1,3.5,0.06829268); grae->SetPointError(1,0.5,0.5,0.00543504,0.005716185); grae->SetPoint(2,4.5,0.3192412); grae->SetPointError(2,0.5,0.5,0.01078934,0.01092001); grae->SetPoint(3,5.5,0.6659619); grae->SetPointError(3,0.5,0.5,0.01544619,0.0152124); grae->SetPoint(4,6.5,0.7383367); grae->SetPointError(4,0.5,0.5,0.02009541,0.0194521); grae->SetPoint(5,7.5,0.7649123); grae->SetPointError(5,0.5,0.5,0.02567944,0.02444522); grae->SetPoint(6,10,0.7101449); grae->SetPointError(6,2,2,0.03208944,0.03074494); grae->SetPoint(7,16,0.75); grae->SetPointError(7,4,4,0.1007583,0.08529428); grae->SetPoint(8,25,1); grae->SetPointError(8,5,5,0.4369725,0); TH1F *Graph511 = new TH1F("Graph511","",100,0,32.8); Graph511->SetMinimum(0); Graph511->SetMaximum(1.098532); Graph511->SetDirectory(0); Graph511->SetStats(0); Graph511->SetLineWidth(2); Graph511->SetMarkerStyle(20); Graph511->SetMarkerSize(1.2); Graph511->GetXaxis()->SetLabelFont(42); Graph511->GetXaxis()->SetLabelSize(0.05); Graph511->GetXaxis()->SetTitleSize(0.05); Graph511->GetXaxis()->SetTitleOffset(1.4); Graph511->GetXaxis()->SetTitleFont(42); Graph511->GetYaxis()->SetLabelFont(42); Graph511->GetYaxis()->SetLabelSize(0.05); Graph511->GetYaxis()->SetTitleSize(0.05); Graph511->GetYaxis()->SetTitleOffset(1.4); Graph511->GetYaxis()->SetTitleFont(42); Graph511->GetZaxis()->SetLabelFont(42); Graph511->GetZaxis()->SetLabelSize(0.05); Graph511->GetZaxis()->SetTitleSize(0.05); Graph511->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph511); grae->Draw("p"); grae = new TGraphAsymmErrors(9); 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.5,0.01392111); grae->SetPointError(0,0.5,0.5,0.004966769,0.006503602); grae->SetPoint(1,3.5,0.04536585); grae->SetPointError(1,0.5,0.5,0.004453621,0.004749867); grae->SetPoint(2,4.5,0.1051491); grae->SetPointError(2,0.5,0.5,0.007002109,0.007287703); grae->SetPoint(3,5.5,0.3245243); grae->SetPointError(3,0.5,0.5,0.01509349,0.01534068); grae->SetPoint(4,6.5,0.5598377); grae->SetPointError(4,0.5,0.5,0.02240713,0.02224568); grae->SetPoint(5,7.5,0.6701754); grae->SetPointError(5,0.5,0.5,0.02817163,0.02737925); grae->SetPoint(6,10,0.7004831); grae->SetPointError(6,2,2,0.03235826,0.03107565); grae->SetPoint(7,16,0.75); grae->SetPointError(7,4,4,0.1007583,0.08529428); grae->SetPoint(8,25,1); grae->SetPointError(8,5,5,0.4369725,0); TH1F *Graph612 = new TH1F("Graph612","",100,0,32.8); Graph612->SetMinimum(0); Graph612->SetMaximum(1.099105); Graph612->SetDirectory(0); Graph612->SetStats(0); Graph612->SetLineWidth(2); Graph612->SetMarkerStyle(20); Graph612->SetMarkerSize(1.2); Graph612->GetXaxis()->SetLabelFont(42); Graph612->GetXaxis()->SetLabelSize(0.05); Graph612->GetXaxis()->SetTitleSize(0.05); Graph612->GetXaxis()->SetTitleOffset(1.4); Graph612->GetXaxis()->SetTitleFont(42); Graph612->GetYaxis()->SetLabelFont(42); Graph612->GetYaxis()->SetLabelSize(0.05); Graph612->GetYaxis()->SetTitleSize(0.05); Graph612->GetYaxis()->SetTitleOffset(1.4); Graph612->GetYaxis()->SetTitleFont(42); Graph612->GetZaxis()->SetLabelFont(42); Graph612->GetZaxis()->SetLabelSize(0.05); Graph612->GetZaxis()->SetTitleSize(0.05); Graph612->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph612); 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(12.32421,0.2506973,20); marker->SetMarkerStyle(20); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.6,0.35,"L1_MU0"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); marker = new TMarker(12.36646,0.1890152,21); marker->SetMarkerColor(2); marker->SetMarkerStyle(21); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.6,0.3,"L1_MU6"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); marker = new TMarker(12.36646,0.1246514,22); marker->SetMarkerColor(4); marker->SetMarkerStyle(22); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.6,0.25,"L1_MU10"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); }