{ //=========Macro generated from canvas: c1/c1 //========= (Thu Jul 31 08:47:57 2014) by ROOT version5.32/00 TCanvas *c1 = new TCanvas("c1", "c1",400,185,600,810); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c1->Range(-0.001315808,-0.002877876,0.001057026,0.002247788); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetTickx(1); c1->SetTicky(1); c1->SetLeftMargin(0.1963087); c1->SetRightMargin(0.08724833); c1->SetTopMargin(0.04834254); c1->SetBottomMargin(0.1712707); c1->SetFrameFillStyle(0); c1->SetFrameBorderMode(0); c1->SetFrameFillStyle(0); c1->SetFrameBorderMode(0); TH2F *h2 = new TH2F("h2","h2",2,-0.00085,0.00085,2,-0.004,0.004); // TH2F *h2 = new TH2F("h2","h2",2,-0.00085,0.00085,2,-0.002,0.002); // TH2F *h2 = new TH2F("h2","h2",2,-0.00001,0.00001,2,-0.00002,0.00002); Int_t ci; // for color index setting ci = TColor::GetColor("#000099"); h2->SetLineColor(ci); h2->SetLineStyle(0); h2->SetMarkerStyle(20); h2->GetXaxis()->SetTitle("a^{W}_{0}/#Lambda^{2} [GeV^{-2}]"); h2->GetXaxis()->SetLabelFont(42); h2->GetXaxis()->SetLabelOffset(0.007); h2->GetXaxis()->SetLabelSize(0.05); h2->GetXaxis()->SetTitleSize(0.06); h2->GetXaxis()->SetTitleOffset(0.9); h2->GetXaxis()->SetTitleFont(42); h2->GetYaxis()->SetTitle("a^{W}_{c}/#Lambda^{2} [GeV^{-2}]"); h2->GetYaxis()->SetLabelFont(42); h2->GetYaxis()->SetLabelOffset(0.007); h2->GetYaxis()->SetLabelSize(0.05); h2->GetYaxis()->SetTitleSize(0.06); h2->GetYaxis()->SetTitleOffset(1.5); h2->GetYaxis()->SetTitleFont(42); h2->GetZaxis()->SetLabelFont(42); h2->GetZaxis()->SetLabelOffset(0.007); h2->GetZaxis()->SetLabelSize(0.05); h2->GetZaxis()->SetTitleSize(0.06); h2->GetZaxis()->SetTitleFont(42); h2->Draw(""); TEllipse *ellipse1 = new TEllipse(0,0,2.2e-06,1e-05,0,360,14); ellipse1->SetFillStyle(0); ellipse1->SetLineColor(2); ellipse1->SetLineStyle(3); ellipse1->SetLineWidth(5); ellipse1->Draw(); TEllipse *ellipse2 = new TEllipse(9.913899e-13,6.228895e-08,3e-06,1.5e-05,0,360,14); ellipse2->SetFillStyle(0); ellipse2->SetLineColor(4); ellipse2->SetLineStyle(2); ellipse2->SetLineWidth(5); ellipse2->Draw(); TEllipse *ellipse3 = new TEllipse(3.77721e-06,-5.8776e-06,0.000175,0.00157,0,360,14); ellipse3->SetFillStyle(0); ellipse3->SetLineWidth(5); ellipse3->Draw(); TLegend *leg = new TLegend(0.6,0.6,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetLineColor(0); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->AddEntry(ellipse1,"100fb^{-1}, 13 TeV, #sigma=10 ps","lf"); leg->AddEntry(ellipse2,"100fb^{-1}, 13 TeV, #sigma=30 ps","lf"); leg->AddEntry(ellipse3,"5fb^{-1}, 7 TeV, #Lambda_{cutoff} = 500 GeV","lf"); leg->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); c1->ToggleToolBar(); }