{ //=========Macro generated from canvas: c2/ //========= (Tue May 31 19:20:51 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.5939394); grae->SetPointError(0,0.314,0.314,0.02715997,0.02678197); grae->SetPoint(1,-2.198,0.7236842); grae->SetPointError(1,0.314,0.314,0.03016923,0.02886883); grae->SetPoint(2,-1.57,0.5036765); grae->SetPointError(2,0.314,0.314,0.03023356,0.03021563); grae->SetPoint(3,-0.942,0.6086957); grae->SetPointError(3,0.314,0.314,0.03237812,0.031752); grae->SetPoint(4,-0.314,0.7292994); grae->SetPointError(4,0.314,0.314,0.02550539,0.02453553); grae->SetPoint(5,0.314,0.7355372); grae->SetPointError(5,0.314,0.314,0.02353949,0.02267707); grae->SetPoint(6,0.942,0.7409326); grae->SetPointError(6,0.314,0.314,0.02267922,0.02184937); grae->SetPoint(7,1.57,0.6342183); grae->SetPointError(7,0.314,0.314,0.02636501,0.02583916); grae->SetPoint(8,2.198,0.6886792); grae->SetPointError(8,0.314,0.314,0.02630089,0.02551297); grae->SetPoint(9,2.826,0.6942675); grae->SetPointError(9,0.314,0.314,0.02635123,0.02552968); TH1F *Graph3 = new TH1F("Graph3","",100,-3.768,3.768); Graph3->SetMinimum(0.444509); Graph3->SetMaximum(0.7917159); 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.715625); grae->SetPointError(0,0.314,0.314,0.02561126,0.02471631); grae->SetPoint(1,-2.198,0.6300813); grae->SetPointError(1,0.314,0.314,0.03103078,0.03032983); grae->SetPoint(2,-1.57,0.5584906); grae->SetPointError(2,0.314,0.314,0.03055587,0.03026319); grae->SetPoint(3,-0.942,0.7453875); grae->SetPointError(3,0.314,0.314,0.02699778,0.02579601); grae->SetPoint(4,-0.314,0.7563739); grae->SetPointError(4,0.314,0.314,0.02329072,0.02232544); grae->SetPoint(5,0.314,0.7821229); grae->SetPointError(5,0.314,0.314,0.02230703,0.02125936); grae->SetPoint(6,0.942,0.6405229); grae->SetPointError(6,0.314,0.314,0.02766752,0.02705792); grae->SetPoint(7,1.57,0.7085561); grae->SetPointError(7,0.314,0.314,0.02382676,0.02308559); grae->SetPoint(8,2.198,0.7110482); grae->SetPointError(8,0.314,0.314,0.02447655,0.02368211); grae->SetPoint(9,2.826,0.6179104); grae->SetPointError(9,0.314,0.314,0.02672128,0.02625385); TH1F *Graph4 = new TH1F("Graph4","",100,-3.768,3.768); Graph4->SetMinimum(0.5003899); Graph4->SetMaximum(0.830927); 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); }