{ //=========Macro generated from canvas: c1/ //========= (Tue May 10 00:03:19 2011) by ROOT version5.28/00b TCanvas *c1 = new TCanvas("c1", "",10,32,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c1->Range(-6.075949,-0.2227848,31.89873,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); TH1F *hframe__7 = new TH1F("hframe__7","",1000,0,30); hframe__7->SetMinimum(0); hframe__7->SetMaximum(1.1); hframe__7->SetDirectory(0); hframe__7->SetStats(0); hframe__7->SetLineWidth(2); hframe__7->SetMarkerStyle(20); hframe__7->SetMarkerSize(1.2); hframe__7->GetXaxis()->SetTitle("#font[42]{p_{T} [GeV]}"); hframe__7->GetXaxis()->SetLabelFont(42); hframe__7->GetXaxis()->SetLabelSize(0.05); hframe__7->GetXaxis()->SetTitleSize(0.05); hframe__7->GetXaxis()->SetTitleOffset(1.4); hframe__7->GetXaxis()->SetTitleFont(42); hframe__7->GetYaxis()->SetTitle("efficiency"); hframe__7->GetYaxis()->SetLabelFont(42); hframe__7->GetYaxis()->SetLabelSize(0.05); hframe__7->GetYaxis()->SetTitleSize(0.05); hframe__7->GetYaxis()->SetTitleOffset(1.4); hframe__7->GetYaxis()->SetTitleFont(42); hframe__7->GetZaxis()->SetLabelFont(42); hframe__7->GetZaxis()->SetLabelSize(0.05); hframe__7->GetZaxis()->SetTitleSize(0.05); hframe__7->GetZaxis()->SetTitleFont(42); hframe__7->Draw(" "); TGraphAsymmErrors *grae = new TGraphAsymmErrors(9); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(2); grae->SetFillStyle(3001); grae->SetLineColor(2); grae->SetMarkerColor(2); grae->SetMarkerStyle(24); grae->SetMarkerSize(1.2); grae->SetPoint(0,2.25,0); grae->SetPointError(0,0.25,0.25,0,0.0586742); grae->SetPoint(1,2.75,0.02352941); grae->SetPointError(1,0.25,0.25,0.01318888,0.02105079); grae->SetPoint(2,3.5,0.06966292); grae->SetPointError(2,0.5,0.5,0.01143778,0.01272878); grae->SetPoint(3,4.5,0.3932292); grae->SetPointError(3,0.5,0.5,0.02469485,0.02506436); grae->SetPoint(4,5.5,0.6854839); grae->SetPointError(4,0.5,0.5,0.02988935,0.02889766); grae->SetPoint(5,7,0.7510373); grae->SetPointError(5,1,1,0.02846497,0.02708343); grae->SetPoint(6,9,0.7346939); grae->SetPointError(6,1,1,0.06511058,0.05892099); grae->SetPoint(7,11,0.9090909); grae->SetPointError(7,1,1,0.1098839,0.06240274); grae->SetPoint(8,21,1); grae->SetPointError(8,9,9,0.3181538,0); TH1F *Graph1725 = new TH1F("Graph1725","",100,0,32.8); Graph1725->SetMinimum(0); Graph1725->SetMaximum(1.1); Graph1725->SetDirectory(0); Graph1725->SetStats(0); Graph1725->SetLineWidth(2); Graph1725->SetMarkerStyle(20); Graph1725->SetMarkerSize(1.2); Graph1725->GetXaxis()->SetLabelFont(42); Graph1725->GetXaxis()->SetLabelSize(0.05); Graph1725->GetXaxis()->SetTitleSize(0.05); Graph1725->GetXaxis()->SetTitleOffset(1.4); Graph1725->GetXaxis()->SetTitleFont(42); Graph1725->GetYaxis()->SetLabelFont(42); Graph1725->GetYaxis()->SetLabelSize(0.05); Graph1725->GetYaxis()->SetTitleSize(0.05); Graph1725->GetYaxis()->SetTitleOffset(1.4); Graph1725->GetYaxis()->SetTitleFont(42); Graph1725->GetZaxis()->SetLabelFont(42); Graph1725->GetZaxis()->SetLabelSize(0.05); Graph1725->GetZaxis()->SetTitleSize(0.05); Graph1725->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph1725); grae->Draw("e3"); grae = new TGraphAsymmErrors(9); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(3); grae->SetFillStyle(3001); grae->SetLineColor(2); grae->SetMarkerColor(2); grae->SetMarkerStyle(24); grae->SetMarkerSize(1.2); grae->SetPoint(0,2.25,0.008008542); grae->SetPointError(0,0.25,0.25,0.001897736,0.002251636); grae->SetPoint(1,2.75,0.006876413); grae->SetPointError(1,0.25,0.25,0.0007726209,0.0008347558); grae->SetPoint(2,3.5,0.04641629); grae->SetPointError(2,0.5,0.5,0.0009220769,0.0009338437); grae->SetPoint(3,4.5,0.3217992); grae->SetPointError(3,0.5,0.5,0.002122831,0.002127747); grae->SetPoint(4,5.5,0.6530976); grae->SetPointError(4,0.5,0.5,0.00287633,0.002868892); grae->SetPoint(5,7,0.7328019); grae->SetPointError(5,1,1,0.002970065,0.00295614); grae->SetPoint(6,9,0.7449699); grae->SetPointError(6,1,1,0.005746914,0.005690679); grae->SetPoint(7,11,0.7383459); grae->SetPointError(7,1,1,0.01217158,0.01193263); grae->SetPoint(8,20.82278,0.7212186); grae->SetPointError(8,9,9,0.0254255,0.02465936); TH1F *Graph1826 = new TH1F("Graph1826","",100,0,32.8); Graph1826->SetMinimum(0); Graph1826->SetMaximum(0.8251163); Graph1826->SetDirectory(0); Graph1826->SetStats(0); Graph1826->SetLineWidth(2); Graph1826->SetMarkerStyle(20); Graph1826->SetMarkerSize(1.2); Graph1826->GetXaxis()->SetLabelFont(42); Graph1826->GetXaxis()->SetLabelSize(0.05); Graph1826->GetXaxis()->SetTitleSize(0.05); Graph1826->GetXaxis()->SetTitleOffset(1.4); Graph1826->GetXaxis()->SetTitleFont(42); Graph1826->GetYaxis()->SetLabelFont(42); Graph1826->GetYaxis()->SetLabelSize(0.05); Graph1826->GetYaxis()->SetTitleSize(0.05); Graph1826->GetYaxis()->SetTitleOffset(1.4); Graph1826->GetYaxis()->SetTitleFont(42); Graph1826->GetZaxis()->SetLabelFont(42); Graph1826->GetZaxis()->SetLabelSize(0.05); Graph1826->GetZaxis()->SetTitleSize(0.05); Graph1826->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph1826); grae->Draw("p"); grae = new TGraphAsymmErrors(7); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(4); grae->SetFillStyle(3001); grae->SetLineColor(4); grae->SetMarkerColor(4); grae->SetMarkerStyle(24); grae->SetMarkerSize(1.2); grae->SetPoint(0,4.5,0); grae->SetPointError(0,0.5,0.5,0,0.3181538); grae->SetPoint(1,5.5,0); grae->SetPointError(1,0.5,0.5,0,0.2052842); grae->SetPoint(2,7,0); grae->SetPointError(2,1,1,0,0.03757113); grae->SetPoint(3,9,0.1875); grae->SetPointError(3,1,1,0.05133396,0.05978086); grae->SetPoint(4,12.5,0.605042); grae->SetPointError(4,2.5,2.5,0.02252115,0.02222762); grae->SetPoint(5,17.5,0.6734813); grae->SetPointError(5,2.5,2.5,0.01140215,0.011267); grae->SetPoint(6,25,0.6488265); grae->SetPointError(6,5,5,0.004742634,0.004723118); TH1F *Graph1927 = new TH1F("Graph1927","",100,1.4,32.6); Graph1927->SetMinimum(0); Graph1927->SetMaximum(0.7532231); Graph1927->SetDirectory(0); Graph1927->SetStats(0); Graph1927->SetLineWidth(2); Graph1927->SetMarkerStyle(20); Graph1927->SetMarkerSize(1.2); Graph1927->GetXaxis()->SetLabelFont(42); Graph1927->GetXaxis()->SetLabelSize(0.05); Graph1927->GetXaxis()->SetTitleSize(0.05); Graph1927->GetXaxis()->SetTitleOffset(1.4); Graph1927->GetXaxis()->SetTitleFont(42); Graph1927->GetYaxis()->SetLabelFont(42); Graph1927->GetYaxis()->SetLabelSize(0.05); Graph1927->GetYaxis()->SetTitleSize(0.05); Graph1927->GetYaxis()->SetTitleOffset(1.4); Graph1927->GetYaxis()->SetTitleFont(42); Graph1927->GetZaxis()->SetLabelFont(42); Graph1927->GetZaxis()->SetLabelSize(0.05); Graph1927->GetZaxis()->SetTitleSize(0.05); Graph1927->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph1927); grae->Draw("e3"); grae = new TGraphAsymmErrors(7); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(4); grae->SetFillStyle(3001); grae->SetLineColor(4); grae->SetMarkerColor(4); grae->SetMarkerStyle(24); grae->SetMarkerSize(1.2); grae->SetPoint(0,3.5,0); grae->SetPointError(0,0.5,0.5,0,0.4369725); grae->SetPoint(1,4.5,0); grae->SetPointError(1,0.5,0.5,0,0.4369725); grae->SetPoint(2,7,0); grae->SetPointError(2,1,1,0,0.119839); grae->SetPoint(3,9,0.1); grae->SetPointError(3,1,1,0.05357914,0.07943508); grae->SetPoint(4,12.5,0.4964539); grae->SetPointError(4,2.5,2.5,0.04182096,0.04185412); grae->SetPoint(5,17.5,0.6023392); grae->SetPointError(5,2.5,2.5,0.02660457,0.02620714); grae->SetPoint(6,25,0.5932629); grae->SetPointError(6,5,5,0.01104735,0.0109848); TH1F *Graph2028 = new TH1F("Graph2028","",100,0.3,32.7); Graph2028->SetMinimum(0); Graph2028->SetMaximum(0.6914009); Graph2028->SetDirectory(0); Graph2028->SetStats(0); Graph2028->SetLineWidth(2); Graph2028->SetMarkerStyle(20); Graph2028->SetMarkerSize(1.2); Graph2028->GetXaxis()->SetLabelFont(42); Graph2028->GetXaxis()->SetLabelSize(0.05); Graph2028->GetXaxis()->SetTitleSize(0.05); Graph2028->GetXaxis()->SetTitleOffset(1.4); Graph2028->GetXaxis()->SetTitleFont(42); Graph2028->GetYaxis()->SetLabelFont(42); Graph2028->GetYaxis()->SetLabelSize(0.05); Graph2028->GetYaxis()->SetTitleSize(0.05); Graph2028->GetYaxis()->SetTitleOffset(1.4); Graph2028->GetYaxis()->SetTitleFont(42); Graph2028->GetZaxis()->SetLabelFont(42); Graph2028->GetZaxis()->SetLabelSize(0.05); Graph2028->GetZaxis()->SetTitleSize(0.05); Graph2028->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph2028); grae->Draw("p"); 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,24); marker->SetMarkerColor(2); marker->SetMarkerStyle(24); 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); }