{ //=========Macro generated from canvas: c1/c1 //========= (Thu Jan 1 22:38:12 2009) by ROOT version5.18/00 TCanvas *c1 = new TCanvas("c1", "c1",14,37,700,310); gStyle->SetOptStat(0); c1->Range(-0.3716337,-5.413333,3.37702,47.22667); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetFrameBorderMode(0); c1->SetFrameBorderMode(0); TH1 *tau = new TH1F("tau","b tagging of jets",3,0,3); tau->SetBinContent(1,40); tau->SetBinContent(2,10); tau->SetBinContent(3,1); tau->SetEntries(3); tau->SetLineWidth(3); tau->GetXaxis()->SetBinLabel(1,"b-jets"); tau->GetXaxis()->SetBinLabel(2,"c-jets"); tau->GetXaxis()->SetBinLabel(3,"light jets"); tau->GetXaxis()->SetLabelSize(0.1); tau->GetYaxis()->SetTitle("(mis)tagging efficiency (%)"); tau->GetYaxis()->SetLabelSize(0.06); tau->GetYaxis()->SetTitleSize(0.06); tau->GetYaxis()->SetTitleOffset(0.6); tau->Draw(""); TPaveText *pt = new TPaveText(0.01005747,0.9255319,0.8965517,0.9822695,"blNDC"); pt->SetName("title"); pt->SetBorderSize(1); pt->SetLineColor(0); pt->SetTextSize(0.08510639); TText *text = pt->AddText("b tagging of jets"); pt->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); }