{ //=========Macro generated from canvas: c2/ //========= (Mon May 9 20:44:55 2011) by ROOT version5.28/00b TCanvas *c2 = new TCanvas("c2", "",10,32,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c2->Range(-4.496202,-0.2227848,3.605063,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__2 = new TH1F("hframe__2","",1000,-3.2,3.2); hframe__2->SetMinimum(0); hframe__2->SetMaximum(1.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]{#eta}"); 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(24); 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.338333,0.8771396); grae->SetPointError(0,0.1016667,0.1016667,0.006501261,0.006309809); grae->SetPoint(1,-2.135,0.8877799); grae->SetPointError(1,0.1016667,0.1016667,0.005256818,0.005117196); grae->SetPoint(2,-1.931667,0.9096031); grae->SetPointError(2,0.1016667,0.1016667,0.004557887,0.004423945); grae->SetPoint(3,-1.728333,0.9328324); grae->SetPointError(3,0.1016667,0.1016667,0.003845523,0.003713953); grae->SetPoint(4,-1.525,0.9345577); grae->SetPointError(4,0.1016667,0.1016667,0.003657023,0.003534541); grae->SetPoint(5,-1.321667,0.9437003); grae->SetPointError(5,0.1016667,0.1016667,0.003271593,0.003156582); grae->SetPoint(6,-1.118333,0.7569508); grae->SetPointError(6,0.1016667,0.1016667,0.005854651,0.005791501); grae->SetPoint(7,-0.915,0.6252849); grae->SetPointError(7,0.1016667,0.1016667,0.006427387,0.006398063); grae->SetPoint(8,-0.7116667,0.6510731); grae->SetPointError(8,0.1016667,0.1016667,0.006191696,0.006157889); grae->SetPoint(9,-0.5083333,0.7144946); grae->SetPointError(9,0.1016667,0.1016667,0.005783537,0.005737008); grae->SetPoint(10,-0.305,0.6999071); grae->SetPointError(10,0.1016667,0.1016667,0.005726453,0.005685136); grae->SetPoint(11,-0.1016667,0.5358255); grae->SetPointError(11,0.1016667,0.1016667,0.007195194,0.007185268); grae->SetPoint(12,0.1016667,0.5602279); grae->SetPointError(12,0.1016667,0.1016667,0.006968936,0.006953135); grae->SetPoint(13,0.305,0.7191444); grae->SetPointError(13,0.1016667,0.1016667,0.005600509,0.005555494); grae->SetPoint(14,0.5083333,0.7375529); grae->SetPointError(14,0.1016667,0.1016667,0.005640646,0.005589059); grae->SetPoint(15,0.7116667,0.6630542); grae->SetPointError(15,0.1016667,0.1016667,0.006077652,0.006041912); grae->SetPoint(16,0.915,0.658363); grae->SetPointError(16,0.1016667,0.1016667,0.006194677,0.006158852); grae->SetPoint(17,1.118333,0.7715626); grae->SetPointError(17,0.1016667,0.1016667,0.005674929,0.00560953); grae->SetPoint(18,1.321667,0.9415545); grae->SetPointError(18,0.1016667,0.1016667,0.00338623,0.003267818); grae->SetPoint(19,1.525,0.9281549); grae->SetPointError(19,0.1016667,0.1016667,0.003788551,0.003669517); grae->SetPoint(20,1.728333,0.9335809); grae->SetPointError(20,0.1016667,0.1016667,0.003746594,0.003620115); grae->SetPoint(21,1.931667,0.9091804); grae->SetPointError(21,0.1016667,0.1016667,0.004578078,0.004443645); grae->SetPoint(22,2.135,0.906514); grae->SetPointError(22,0.1016667,0.1016667,0.004882891,0.004734992); grae->SetPoint(23,2.338333,0.8969697); grae->SetPointError(23,0.1016667,0.1016667,0.006020163,0.005819471); TH1F *Graph3 = new TH1F("Graph3","",100,-2.928,2.928); Graph3->SetMinimum(0.4868077); Graph3->SetMaximum(0.9886795); 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("e3"); grae = new TGraphAsymmErrors(13); 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.44,0.8765957); grae->SetPointError(0,0.2033333,0.2033333,0.01570112,0.01463361); grae->SetPoint(1,-2.033333,0.9141061); grae->SetPointError(1,0.2033333,0.2033333,0.007602286,0.007216334); grae->SetPoint(2,-1.626667,0.9377499); grae->SetPointError(2,0.2033333,0.2033333,0.005946044,0.005612237); grae->SetPoint(3,-1.22,0.8299389); grae->SetPointError(3,0.2033333,0.2033333,0.008591914,0.008367786); grae->SetPoint(4,-0.8133333,0.5949198); grae->SetPointError(4,0.2033333,0.2033333,0.01039338,0.01033697); grae->SetPoint(5,-0.4066667,0.6704167); grae->SetPointError(5,0.2033333,0.2033333,0.009644853,0.009550127); grae->SetPoint(6,-2.775558e-16,0.5214557); grae->SetPointError(6,0.2033333,0.2033333,0.01165134,0.01163579); grae->SetPoint(7,0.4066667,0.6800677); grae->SetPointError(7,0.2033333,0.2033333,0.009648816,0.009547165); grae->SetPoint(8,0.8133333,0.6071923); grae->SetPointError(8,0.2033333,0.2033333,0.01052128,0.01045536); grae->SetPoint(9,1.22,0.8428941); grae->SetPointError(9,0.2033333,0.2033333,0.008393539,0.008157114); grae->SetPoint(10,1.626667,0.9236071); grae->SetPointError(10,0.2033333,0.2033333,0.006533022,0.006208225); grae->SetPoint(11,2.033333,0.9235338); grae->SetPointError(11,0.2033333,0.2033333,0.007455848,0.007036135); grae->SetPoint(12,2.44,0.9115789); grae->SetPointError(12,0.2033333,0.2033333,0.0136109,0.0124553); TH1F *Graph4 = new TH1F("Graph4","",100,-3.172,3.172); Graph4->SetMinimum(0.4664486); Graph4->SetMaximum(0.9867179); 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.65,0.55,"ATLAS"); tex->SetNDC(); tex->SetTextFont(72); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.77,0.55,"Preliminary"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.7,0.5,"CB muons"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); TMarker *marker = new TMarker(0.676,0.45,24); marker->SetMarkerColor(2); marker->SetMarkerStyle(24); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.7,0.45,"Data 2010"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.7,0.38,"#sqrt{s}= 7 TeV"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); c2->Modified(); c2->cd(); c2->SetSelected(c2); }