{ //=========Macro generated from canvas: c2/ //========= (Tue May 31 18:58:27 2011) by ROOT version5.28/00b TCanvas *c2 = new TCanvas("c2", "",10,32,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c2->Range(-4.705882,-0.2025316,4.705882,1.063291); c2->SetFillColor(0); c2->SetBorderMode(0); c2->SetBorderSize(2); c2->SetTickx(1); c2->SetTicky(1); c2->SetLeftMargin(0.16); c2->SetRightMargin(0.16); 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); 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]{#phi}"); 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(10); grae->SetName(""); grae->SetTitle(""); grae->SetFillColor(2); grae->SetFillStyle(3001); grae->SetLineColor(2); grae->SetMarkerColor(2); grae->SetMarkerStyle(20); grae->SetMarkerSize(1.2); grae->SetPoint(0,-2.826,0.75); grae->SetPointError(0,0.314,0.314,0.05787074,0.05245162); grae->SetPoint(1,-2.198,0.8076923); grae->SetPointError(1,0.314,0.314,0.08278035,0.06779015); grae->SetPoint(2,-1.57,0.5777778); grae->SetPointError(2,0.314,0.314,0.07321348,0.07099421); grae->SetPoint(3,-0.942,0.6909091); grae->SetPointError(3,0.314,0.314,0.06357749,0.0590819); grae->SetPoint(4,-0.314,0.7142857); grae->SetPointError(4,0.314,0.314,0.06193998,0.05697838); grae->SetPoint(5,0.314,0.8163265); grae->SetPointError(5,0.314,0.314,0.05877214,0.05038871); grae->SetPoint(6,0.942,0.7627119); grae->SetPointError(6,0.314,0.314,0.05755406,0.05176247); grae->SetPoint(7,1.57,0.7678571); grae->SetPointError(7,0.314,0.314,0.05875434,0.05254005); grae->SetPoint(8,2.198,0.8); grae->SetPointError(8,0.314,0.314,0.05680106,0.0497051); grae->SetPoint(9,2.826,0.8); grae->SetPointError(9,0.314,0.314,0.05967201,0.05188625); TH1F *Graph3 = new TH1F("Graph3","",100,-3.768,3.768); Graph3->SetMinimum(0.4674725); Graph3->SetMaximum(0.9125743); 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("p"); grae = new TGraphAsymmErrors(10); 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.826,0.7727273); grae->SetPointError(0,0.314,0.314,0.06608562,0.05808866); grae->SetPoint(1,-2.198,0.4888889); grae->SetPointError(1,0.314,0.314,0.0727985,0.07311543); grae->SetPoint(2,-1.57,0.6578947); grae->SetPointError(2,0.314,0.314,0.07780223,0.07249689); grae->SetPoint(3,-0.942,0.8222222); grae->SetPointError(3,0.314,0.314,0.06083117,0.05154922); grae->SetPoint(4,-0.314,0.7121212); grae->SetPointError(4,0.314,0.314,0.05711397,0.05292863); grae->SetPoint(5,0.314,0.9019608); grae->SetPointError(5,0.314,0.314,0.04671869,0.03632743); grae->SetPoint(6,0.942,0.7021277); grae->SetPointError(6,0.314,0.314,0.06826173,0.06271815); grae->SetPoint(7,1.57,0.7962963); grae->SetPointError(7,0.314,0.314,0.05765749,0.05052446); grae->SetPoint(8,2.198,0.74); grae->SetPointError(8,0.314,0.314,0.06412867,0.05792046); grae->SetPoint(9,2.826,0.7090909); grae->SetPointError(9,0.314,0.314,0.06275935,0.05783331); TH1F *Graph4 = new TH1F("Graph4","",100,-3.768,3.768); Graph4->SetMinimum(0.3638706); Graph4->SetMaximum(0.990508); 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.5,0.45,"ATLAS"); tex->SetNDC(); tex->SetTextFont(72); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.62,0.45,"Preliminary"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5,0.4,"CB muons |#eta| < 1.05"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5,0.35,"Data 2010 #sqrt{s}= 7 TeV"); tex->SetNDC(); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); TMarker *marker = new TMarker(0.526,0.3,20); marker->SetMarkerColor(2); marker->SetMarkerStyle(20); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.55,0.3,"L1_MU6 #mu+"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); marker = new TMarker(0.526,0.25,22); marker->SetMarkerColor(4); marker->SetMarkerStyle(22); marker->SetMarkerSize(1.3); marker->Draw(); tex = new TLatex(0.55,0.25,"L1_MU6 #mu-"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); c2->Modified(); c2->cd(); c2->SetSelected(c2); }