{ //=========Macro generated from canvas: c1/ //========= (Mon May 9 20:44:55 2011) by ROOT version5.28/00b TCanvas *c1 = new TCanvas("c1", "",10,32,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c1->Range(-4.496202,-0.2227848,3.605063,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__1 = new TH1F("hframe__1","",1000,-3.2,3.2); hframe__1->SetMinimum(0); hframe__1->SetMaximum(1.1); hframe__1->SetDirectory(0); hframe__1->SetStats(0); hframe__1->SetLineWidth(2); hframe__1->SetMarkerStyle(20); hframe__1->SetMarkerSize(1.2); hframe__1->GetXaxis()->SetTitle("#font[42]{#phi}"); hframe__1->GetXaxis()->SetLabelFont(42); hframe__1->GetXaxis()->SetLabelSize(0.05); hframe__1->GetXaxis()->SetTitleSize(0.05); hframe__1->GetXaxis()->SetTitleOffset(1.4); hframe__1->GetXaxis()->SetTitleFont(42); hframe__1->GetYaxis()->SetTitle("efficiency"); hframe__1->GetYaxis()->SetLabelFont(42); hframe__1->GetYaxis()->SetLabelSize(0.05); hframe__1->GetYaxis()->SetTitleSize(0.05); hframe__1->GetYaxis()->SetTitleOffset(1.4); hframe__1->GetYaxis()->SetTitleFont(42); hframe__1->GetZaxis()->SetLabelFont(42); hframe__1->GetZaxis()->SetLabelSize(0.05); hframe__1->GetZaxis()->SetTitleSize(0.05); hframe__1->GetZaxis()->SetTitleFont(42); hframe__1->Draw(" "); TGraphAsymmErrors *grae = new TGraphAsymmErrors(20); 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.983,0.8160324); grae->SetPointError(0,0.157,0.157,0.00496743,0.004899113); grae->SetPoint(1,-2.669,0.7742715); grae->SetPointError(1,0.157,0.157,0.00533687,0.005277915); grae->SetPoint(2,-2.355,0.8760291); grae->SetPointError(2,0.157,0.157,0.004229871,0.004148848); grae->SetPoint(3,-2.041,0.6226669); grae->SetPointError(3,0.157,0.157,0.006302292,0.006274766); grae->SetPoint(4,-1.727,0.6928211); grae->SetPointError(4,0.157,0.157,0.005909776,0.005867895); grae->SetPoint(5,-1.413,0.6919757); grae->SetPointError(5,0.157,0.157,0.005860361,0.005819403); grae->SetPoint(6,-1.099,0.6163615); grae->SetPointError(6,0.157,0.157,0.006260856,0.006235227); grae->SetPoint(7,-0.785,0.8501835); grae->SetPointError(7,0.157,0.157,0.004651267,0.004573278); grae->SetPoint(8,-0.471,0.7857026); grae->SetPointError(8,0.157,0.157,0.005288175,0.005225656); grae->SetPoint(9,-0.157,0.8455191); grae->SetPointError(9,0.157,0.157,0.004683583,0.004607466); grae->SetPoint(10,0.157,0.8500737); grae->SetPointError(10,0.157,0.157,0.004610568,0.004534003); grae->SetPoint(11,0.471,0.7593231); grae->SetPointError(11,0.157,0.157,0.005510542,0.005453679); grae->SetPoint(12,0.785,0.8355035); grae->SetPointError(12,0.157,0.157,0.004799009,0.004725192); grae->SetPoint(13,1.099,0.7599188); grae->SetPointError(13,0.157,0.157,0.005837178,0.005773157); grae->SetPoint(14,1.413,0.8128171); grae->SetPointError(14,0.157,0.157,0.005389225,0.00531076); grae->SetPoint(15,1.727,0.8242026); grae->SetPointError(15,0.157,0.157,0.005257148,0.005175943); grae->SetPoint(16,2.041,0.7561791); grae->SetPointError(16,0.157,0.157,0.005888118,0.005824581); grae->SetPoint(17,2.355,0.8248672); grae->SetPointError(17,0.157,0.157,0.00493562,0.004863639); grae->SetPoint(18,2.669,0.7616452); grae->SetPointError(18,0.157,0.157,0.005507651,0.005449964); grae->SetPoint(19,2.983,0.8163003); grae->SetPointError(19,0.157,0.157,0.004941366,0.004873632); TH1F *Graph1 = new TH1F("Graph1","",100,-3.768,3.768); Graph1->SetMinimum(0.583093); Graph1->SetMaximum(0.9071856); Graph1->SetDirectory(0); Graph1->SetStats(0); Graph1->SetLineWidth(2); Graph1->SetMarkerStyle(20); Graph1->SetMarkerSize(1.2); Graph1->GetXaxis()->SetLabelFont(42); Graph1->GetXaxis()->SetLabelSize(0.05); Graph1->GetXaxis()->SetTitleSize(0.05); Graph1->GetXaxis()->SetTitleOffset(1.4); Graph1->GetXaxis()->SetTitleFont(42); Graph1->GetYaxis()->SetLabelFont(42); Graph1->GetYaxis()->SetLabelSize(0.05); Graph1->GetYaxis()->SetTitleSize(0.05); Graph1->GetYaxis()->SetTitleOffset(1.4); Graph1->GetYaxis()->SetTitleFont(42); Graph1->GetZaxis()->SetLabelFont(42); Graph1->GetZaxis()->SetLabelSize(0.05); Graph1->GetZaxis()->SetTitleSize(0.05); Graph1->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph1); grae->Draw("e3"); grae = new TGraphAsymmErrors(20); 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.983,0.8548951); grae->SetPointError(0,0.157,0.157,0.01062177,0.01020803); grae->SetPoint(1,-2.669,0.7462947); grae->SetPointError(1,0.157,0.157,0.01298986,0.01270359); grae->SetPoint(2,-2.355,0.8404605); grae->SetPointError(2,0.157,0.157,0.01068901,0.01031561); grae->SetPoint(3,-2.041,0.6253659); grae->SetPointError(3,0.157,0.157,0.01519541,0.0150324); grae->SetPoint(4,-1.727,0.6721154); grae->SetPointError(4,0.157,0.157,0.01466327,0.01444269); grae->SetPoint(5,-1.413,0.6588235); grae->SetPointError(5,0.157,0.157,0.0143551,0.01416351); grae->SetPoint(6,-1.099,0.6355476); grae->SetPointError(6,0.157,0.157,0.01449742,0.01433523); grae->SetPoint(7,-0.785,0.8720379); grae->SetPointError(7,0.157,0.157,0.01052187,0.01005154); grae->SetPoint(8,-0.471,0.7674024); grae->SetPointError(8,0.157,0.157,0.01246017,0.01215752); grae->SetPoint(9,-0.157,0.8366125); grae->SetPointError(9,0.157,0.157,0.01100655,0.01062255); grae->SetPoint(10,0.157,0.8228719); grae->SetPointError(10,0.157,0.157,0.01138062,0.01101041); grae->SetPoint(11,0.471,0.7810488); grae->SetPointError(11,0.157,0.157,0.01271414,0.01236943); grae->SetPoint(12,0.785,0.8053173); grae->SetPointError(12,0.157,0.157,0.01177043,0.01142127); grae->SetPoint(13,1.099,0.6776938); grae->SetPointError(13,0.157,0.157,0.01447685,0.01425298); grae->SetPoint(14,1.413,0.6924686); grae->SetPointError(14,0.157,0.157,0.01505439,0.01478607); grae->SetPoint(15,1.727,0.7333333); grae->SetPointError(15,0.157,0.157,0.0139958,0.01369088); grae->SetPoint(16,2.041,0.7515091); grae->SetPointError(16,0.157,0.157,0.01387231,0.01353504); grae->SetPoint(17,2.355,0.7585253); grae->SetPointError(17,0.157,0.157,0.01315003,0.01283238); grae->SetPoint(18,2.669,0.7375713); grae->SetPointError(18,0.157,0.157,0.0126881,0.01242996); grae->SetPoint(19,2.983,0.808547); grae->SetPointError(19,0.157,0.157,0.01167852,0.01132688); TH1F *Graph2 = new TH1F("Graph2","",100,-3.768,3.768); Graph2->SetMinimum(0.5829785); Graph2->SetMaximum(0.9092814); Graph2->SetDirectory(0); Graph2->SetStats(0); Graph2->SetLineWidth(2); Graph2->SetMarkerStyle(20); Graph2->SetMarkerSize(1.2); Graph2->GetXaxis()->SetLabelFont(42); Graph2->GetXaxis()->SetLabelSize(0.05); Graph2->GetXaxis()->SetTitleSize(0.05); Graph2->GetXaxis()->SetTitleOffset(1.4); Graph2->GetXaxis()->SetTitleFont(42); Graph2->GetYaxis()->SetLabelFont(42); Graph2->GetYaxis()->SetLabelSize(0.05); Graph2->GetYaxis()->SetTitleSize(0.05); Graph2->GetYaxis()->SetTitleOffset(1.4); Graph2->GetYaxis()->SetTitleFont(42); Graph2->GetZaxis()->SetLabelFont(42); Graph2->GetZaxis()->SetLabelSize(0.05); Graph2->GetZaxis()->SetTitleSize(0.05); Graph2->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph2); 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(); c1->Modified(); c1->cd(); c1->SetSelected(c1); }