{ //=========Macro generated from canvas: c2/ //========= (Tue May 10 00:02:37 2011) by ROOT version5.28/00b TCanvas *c2 = new TCanvas("c2", "",10,32,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c2->Range(-6.075949,-0.2227848,31.89873,1.16962); c2->SetFillColor(0); c2->SetBorderMode(0); c2->SetBorderSize(2); c2->SetTickx(1); c2->SetTicky(1); c2->SetLeftMargin(0.16); c2->SetRightMargin(0.05); c2->SetTopMargin(0.05); c2->SetBottomMargin(0.16); c2->SetFrameBorderMode(0); c2->SetFrameBorderMode(0); TH1F *hframe__6 = new TH1F("hframe__6","",1000,0,30); hframe__6->SetMinimum(0); hframe__6->SetMaximum(1.1); hframe__6->SetDirectory(0); hframe__6->SetStats(0); hframe__6->SetLineWidth(2); hframe__6->SetMarkerStyle(20); hframe__6->SetMarkerSize(1.2); hframe__6->GetXaxis()->SetTitle("#font[42]{p_{T} [GeV]}"); hframe__6->GetXaxis()->SetLabelFont(42); hframe__6->GetXaxis()->SetLabelSize(0.05); hframe__6->GetXaxis()->SetTitleSize(0.05); hframe__6->GetXaxis()->SetTitleOffset(1.4); hframe__6->GetXaxis()->SetTitleFont(42); hframe__6->GetYaxis()->SetTitle("efficiency"); hframe__6->GetYaxis()->SetLabelFont(42); hframe__6->GetYaxis()->SetLabelSize(0.05); hframe__6->GetYaxis()->SetTitleSize(0.05); hframe__6->GetYaxis()->SetTitleOffset(1.4); hframe__6->GetYaxis()->SetTitleFont(42); hframe__6->GetZaxis()->SetLabelFont(42); hframe__6->GetZaxis()->SetLabelSize(0.05); hframe__6->GetZaxis()->SetTitleSize(0.05); hframe__6->GetZaxis()->SetTitleFont(42); hframe__6->Draw(" "); TGraphAsymmErrors *grae = new TGraphAsymmErrors(11); 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,1.25,0); grae->SetPointError(0,0.25,0.25,0,0.04020013); grae->SetPoint(1,1.75,0); grae->SetPointError(1,0.25,0.25,0,0.005699386); grae->SetPoint(2,2.25,0.002610966); grae->SetPointError(2,0.25,0.25,0.001907889,0.00389621); grae->SetPoint(3,2.75,0.01162791); grae->SetPointError(3,0.25,0.25,0.004495493,0.006051041); grae->SetPoint(4,3.5,0.03432836); grae->SetPointError(4,0.5,0.5,0.006593107,0.007524152); grae->SetPoint(5,4.5,0.189781); grae->SetPointError(5,0.5,0.5,0.01881865,0.01982289); grae->SetPoint(6,5.5,0.6016598); grae->SetPointError(6,0.5,0.5,0.03170711,0.03114807); grae->SetPoint(7,7,0.8387097); grae->SetPointError(7,1,1,0.02810326,0.02568858); grae->SetPoint(8,9,0.9122807); grae->SetPointError(8,1,1,0.04225275,0.03267375); grae->SetPoint(9,11,0.7777778); grae->SetPointError(9,1,1,0.1456264,0.1102778); grae->SetPoint(10,21,1); grae->SetPointError(10,9,9,0.1742602,0); TH1F *Graph21 = new TH1F("Graph21","",100,0,32.9); Graph21->SetMinimum(0); Graph21->SetMaximum(1.1); Graph21->SetDirectory(0); Graph21->SetStats(0); Graph21->SetLineWidth(2); Graph21->SetMarkerStyle(20); Graph21->SetMarkerSize(1.2); Graph21->GetXaxis()->SetLabelFont(42); Graph21->GetXaxis()->SetLabelSize(0.05); Graph21->GetXaxis()->SetTitleSize(0.05); Graph21->GetXaxis()->SetTitleOffset(1.4); Graph21->GetXaxis()->SetTitleFont(42); Graph21->GetYaxis()->SetLabelFont(42); Graph21->GetYaxis()->SetLabelSize(0.05); Graph21->GetYaxis()->SetTitleSize(0.05); Graph21->GetYaxis()->SetTitleOffset(1.4); Graph21->GetYaxis()->SetTitleFont(42); Graph21->GetZaxis()->SetLabelFont(42); Graph21->GetZaxis()->SetLabelSize(0.05); Graph21->GetZaxis()->SetTitleSize(0.05); Graph21->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph21); grae->Draw("e3"); grae = new TGraphAsymmErrors(11); 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,1.25,0.003571429); grae->SetPointError(0,0.25,0.25,0.00202492,0.003295837); grae->SetPoint(1,1.75,0.007798332); grae->SetPointError(1,0.25,0.25,0.001128353,0.001247907); grae->SetPoint(2,2.25,0.01778725); grae->SetPointError(2,0.25,0.25,0.000705495,0.0007243009); grae->SetPoint(3,2.75,0.03050126); grae->SetPointError(3,0.25,0.25,0.0007542924,0.0007665323); grae->SetPoint(4,3.5,0.07586344); grae->SetPointError(4,0.5,0.5,0.0008785271,0.0008848003); grae->SetPoint(5,4.5,0.3501613); grae->SetPointError(5,0.5,0.5,0.001920253,0.001923505); grae->SetPoint(6,5.5,0.7690266); grae->SetPointError(6,0.5,0.5,0.00224612,0.002235976); grae->SetPoint(7,7,0.9121209); grae->SetPointError(7,1,1,0.001673572,0.001654595); grae->SetPoint(8,9,0.9350465); grae->SetPointError(8,1,1,0.002839936,0.002764934); grae->SetPoint(9,11,0.9481158); grae->SetPointError(9,1,1,0.005352342,0.005025477); grae->SetPoint(10,21,0.9637562); grae->SetPointError(10,9,9,0.008124233,0.007100827); TH1F *Graph22 = new TH1F("Graph22","",100,0,32.9); Graph22->SetMinimum(0); Graph22->SetMaximum(1.067788); Graph22->SetDirectory(0); Graph22->SetStats(0); Graph22->SetLineWidth(2); Graph22->SetMarkerStyle(20); Graph22->SetMarkerSize(1.2); Graph22->GetXaxis()->SetLabelFont(42); Graph22->GetXaxis()->SetLabelSize(0.05); Graph22->GetXaxis()->SetTitleSize(0.05); Graph22->GetXaxis()->SetTitleOffset(1.4); Graph22->GetXaxis()->SetTitleFont(42); Graph22->GetYaxis()->SetLabelFont(42); Graph22->GetYaxis()->SetLabelSize(0.05); Graph22->GetYaxis()->SetTitleSize(0.05); Graph22->GetYaxis()->SetTitleOffset(1.4); Graph22->GetYaxis()->SetTitleFont(42); Graph22->GetZaxis()->SetLabelFont(42); Graph22->GetZaxis()->SetLabelSize(0.05); Graph22->GetZaxis()->SetTitleSize(0.05); Graph22->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph22); grae->Draw("p"); grae = new TGraphAsymmErrors(11); 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,1.75,0); grae->SetPointError(0,0.25,0.25,0,0.2496484); grae->SetPoint(1,2.25,0); grae->SetPointError(1,0.25,0.25,0,0.1337716); grae->SetPoint(2,2.75,0); grae->SetPointError(2,0.25,0.25,0,0.1085317); grae->SetPoint(3,3.5,0); grae->SetPointError(3,0.5,0.5,0,0.04322466); grae->SetPoint(4,4.5,0); grae->SetPointError(4,0.5,0.5,0,0.02271511); grae->SetPoint(5,5.5,0); grae->SetPointError(5,0.5,0.5,0,0.01961293); grae->SetPoint(6,7,0.04897959); grae->SetPointError(6,1,1,0.01261725,0.01508415); grae->SetPoint(7,9,0.258547); grae->SetPointError(7,1,1,0.01987143,0.02055786); grae->SetPoint(8,12.5,0.8006873); grae->SetPointError(8,2.5,2.5,0.008952118,0.008755193); grae->SetPoint(9,17.5,0.8995961); grae->SetPointError(9,2.5,2.5,0.005184772,0.005030893); grae->SetPoint(10,25,0.9052379); grae->SetPointError(10,5,5,0.003018832,0.002962488); TH1F *Graph23 = new TH1F("Graph23","",100,0,32.85); Graph23->SetMinimum(0); Graph23->SetMaximum(0.9990205); Graph23->SetDirectory(0); Graph23->SetStats(0); Graph23->SetLineWidth(2); Graph23->SetMarkerStyle(20); Graph23->SetMarkerSize(1.2); Graph23->GetXaxis()->SetLabelFont(42); Graph23->GetXaxis()->SetLabelSize(0.05); Graph23->GetXaxis()->SetTitleSize(0.05); Graph23->GetXaxis()->SetTitleOffset(1.4); Graph23->GetXaxis()->SetTitleFont(42); Graph23->GetYaxis()->SetLabelFont(42); Graph23->GetYaxis()->SetLabelSize(0.05); Graph23->GetYaxis()->SetTitleSize(0.05); Graph23->GetYaxis()->SetTitleOffset(1.4); Graph23->GetYaxis()->SetTitleFont(42); Graph23->GetZaxis()->SetLabelFont(42); Graph23->GetZaxis()->SetLabelSize(0.05); Graph23->GetZaxis()->SetTitleSize(0.05); Graph23->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph23); grae->Draw("e3"); grae = new TGraphAsymmErrors(11); 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,1.75,0); grae->SetPointError(0,0.25,0.25,0,0.4369725); grae->SetPoint(1,2.25,0); grae->SetPointError(1,0.25,0.25,0,0.1337716); grae->SetPoint(2,2.75,0); grae->SetPointError(2,0.25,0.25,0,0.1337716); grae->SetPoint(3,3.5,0); grae->SetPointError(3,0.5,0.5,0,0.0586742); grae->SetPoint(4,4.5,0); grae->SetPointError(4,0.5,0.5,0,0.02902813); grae->SetPoint(5,5.5,0); grae->SetPointError(5,0.5,0.5,0,0.03526485); grae->SetPoint(6,7,0.05319149); grae->SetPointError(6,1,1,0.02015593,0.02654692); grae->SetPoint(7,9,0.2211538); grae->SetPointError(7,1,1,0.0386496,0.0421777); grae->SetPoint(8,12.5,0.8257081); grae->SetPointError(8,2.5,2.5,0.01816481,0.01722021); grae->SetPoint(9,17.5,0.8911175); grae->SetPointError(9,2.5,2.5,0.01216626,0.01141906); grae->SetPoint(10,25,0.9133594); grae->SetPointError(10,5,5,0.006809156,0.006500759); TH1F *Graph24 = new TH1F("Graph24","",100,0,32.85); Graph24->SetMinimum(0); Graph24->SetMaximum(1.011846); Graph24->SetDirectory(0); Graph24->SetStats(0); Graph24->SetLineWidth(2); Graph24->SetMarkerStyle(20); Graph24->SetMarkerSize(1.2); Graph24->GetXaxis()->SetLabelFont(42); Graph24->GetXaxis()->SetLabelSize(0.05); Graph24->GetXaxis()->SetTitleSize(0.05); Graph24->GetXaxis()->SetTitleOffset(1.4); Graph24->GetXaxis()->SetTitleFont(42); Graph24->GetYaxis()->SetLabelFont(42); Graph24->GetYaxis()->SetLabelSize(0.05); Graph24->GetYaxis()->SetTitleSize(0.05); Graph24->GetYaxis()->SetTitleOffset(1.4); Graph24->GetYaxis()->SetTitleFont(42); Graph24->GetZaxis()->SetLabelFont(42); Graph24->GetZaxis()->SetLabelSize(0.05); Graph24->GetZaxis()->SetTitleSize(0.05); Graph24->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph24); 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,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(); c2->Modified(); c2->cd(); c2->SetSelected(c2); }