{ //=========Macro generated from canvas: c1_n161/c1_n161 //========= (Sun Jun 3 15:04:19 2012) by ROOT version5.28/00c TCanvas *c1_n161 = new TCanvas("c1_n161", "c1_n161",0,0,700,500); gStyle->SetOptStat(0); c1_n161->Range(-1.125,2.09806,5.125,6.181252); c1_n161->SetFillColor(0); c1_n161->SetBorderMode(0); c1_n161->SetBorderSize(2); c1_n161->SetLogy(); c1_n161->SetBottomMargin(0.18); c1_n161->SetFrameBorderMode(0); c1_n161->SetFrameBorderMode(0); TH1F *data_h_vtxTyp_p0__363 = new TH1F("data_h_vtxTyp_p0__363","",5,-0.5,4.5); data_h_vtxTyp_p0__363->SetBinContent(2,113728.4); data_h_vtxTyp_p0__363->SetBinContent(5,1399.066); data_h_vtxTyp_p0__363->SetBinError(2,337.3793); data_h_vtxTyp_p0__363->SetBinError(5,37.41844); data_h_vtxTyp_p0__363->SetMaximum(592833.2); data_h_vtxTyp_p0__363->SetEntries(115033); data_h_vtxTyp_p0__363->SetDirectory(0); data_h_vtxTyp_p0__363->SetMarkerStyle(20); data_h_vtxTyp_p0__363->GetXaxis()->SetTitle("VTX Type"); data_h_vtxTyp_p0__363->GetXaxis()->SetTitleSize(0.07); data_h_vtxTyp_p0__363->GetYaxis()->SetTitle("Entries"); data_h_vtxTyp_p0__363->Draw("e"); TH1F *elpom_h_vtxTyp_p0_sys0 = new TH1F("elpom_h_vtxTyp_p0_sys0","",5,-0.5,4.5); elpom_h_vtxTyp_p0_sys0->SetBinContent(2,115450.2); elpom_h_vtxTyp_p0_sys0->SetBinContent(5,1691.123); elpom_h_vtxTyp_p0_sys0->SetEntries(242119); Int_t ci; // for color index setting ci = TColor::GetColor("#0099ff"); elpom_h_vtxTyp_p0_sys0->SetFillColor(ci); elpom_h_vtxTyp_p0_sys0->SetFillStyle(0); elpom_h_vtxTyp_p0_sys0->SetLineWidth(2); elpom_h_vtxTyp_p0_sys0->GetXaxis()->SetTitleSize(0.07); elpom_h_vtxTyp_p0_sys0->Draw("hist same"); TH1F *elcha_h_vtxTyp_p0_sys0 = new TH1F("elcha_h_vtxTyp_p0_sys0","",5,-0.5,4.5); elcha_h_vtxTyp_p0_sys0->SetBinContent(2,26407.37); elcha_h_vtxTyp_p0_sys0->SetBinContent(5,83.94561); elcha_h_vtxTyp_p0_sys0->SetEntries(85271); elcha_h_vtxTyp_p0_sys0->SetFillColor(1); elcha_h_vtxTyp_p0_sys0->SetFillStyle(3005); elcha_h_vtxTyp_p0_sys0->GetXaxis()->SetTitleSize(0.07); elcha_h_vtxTyp_p0_sys0->Draw("hist same"); TH1F *elreg_h_vtxTyp_p0_sys0 = new TH1F("elreg_h_vtxTyp_p0_sys0","",5,-0.5,4.5); elreg_h_vtxTyp_p0_sys0->SetBinContent(2,8949.005); elreg_h_vtxTyp_p0_sys0->SetBinContent(5,81.92596); elreg_h_vtxTyp_p0_sys0->SetEntries(45792); elreg_h_vtxTyp_p0_sys0->SetFillColor(27); elreg_h_vtxTyp_p0_sys0->GetXaxis()->SetLabelSize(0.07); elreg_h_vtxTyp_p0_sys0->Draw("hist same"); TH1F *elpom_h_vtxTyp_p0_sys0__364 = new TH1F("elpom_h_vtxTyp_p0_sys0__364","",5,-0.5,4.5); elpom_h_vtxTyp_p0_sys0__364->SetBinContent(2,115450.2); elpom_h_vtxTyp_p0_sys0__364->SetBinContent(5,1691.123); elpom_h_vtxTyp_p0_sys0__364->SetEntries(242119); elpom_h_vtxTyp_p0_sys0__364->SetDirectory(0); ci = TColor::GetColor("#0099ff"); elpom_h_vtxTyp_p0_sys0__364->SetFillColor(ci); elpom_h_vtxTyp_p0_sys0__364->SetFillStyle(0); ci = TColor::GetColor("#cc00ff"); elpom_h_vtxTyp_p0_sys0__364->SetLineColor(ci); elpom_h_vtxTyp_p0_sys0__364->SetLineWidth(2); elpom_h_vtxTyp_p0_sys0__364->GetXaxis()->SetTitleSize(0.07); elpom_h_vtxTyp_p0_sys0__364->Draw("hist same"); TH1F *elpom_h_vtxTyp_p0_sys0__365 = new TH1F("elpom_h_vtxTyp_p0_sys0__365","",5,-0.5,4.5); elpom_h_vtxTyp_p0_sys0__365->SetBinContent(2,115450.2); elpom_h_vtxTyp_p0_sys0__365->SetBinContent(5,1691.123); elpom_h_vtxTyp_p0_sys0__365->SetEntries(242119); elpom_h_vtxTyp_p0_sys0__365->SetDirectory(0); ci = TColor::GetColor("#0099ff"); elpom_h_vtxTyp_p0_sys0__365->SetFillColor(ci); elpom_h_vtxTyp_p0_sys0__365->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); elpom_h_vtxTyp_p0_sys0__365->SetLineColor(ci); elpom_h_vtxTyp_p0_sys0__365->SetLineWidth(2); elpom_h_vtxTyp_p0_sys0__365->GetXaxis()->SetTitleSize(0.07); elpom_h_vtxTyp_p0_sys0__365->Draw("hist same"); TH1F *data_h_vtxTyp_p0__366 = new TH1F("data_h_vtxTyp_p0__366","",5,-0.5,4.5); data_h_vtxTyp_p0__366->SetBinContent(2,113728.4); data_h_vtxTyp_p0__366->SetBinContent(5,1399.066); data_h_vtxTyp_p0__366->SetBinError(2,337.3793); data_h_vtxTyp_p0__366->SetBinError(5,37.41844); data_h_vtxTyp_p0__366->SetMaximum(592833.2); data_h_vtxTyp_p0__366->SetEntries(115033); data_h_vtxTyp_p0__366->SetDirectory(0); data_h_vtxTyp_p0__366->SetMarkerStyle(20); data_h_vtxTyp_p0__366->GetXaxis()->SetTitle("VTX Type"); data_h_vtxTyp_p0__366->GetXaxis()->SetTitleSize(0.07); data_h_vtxTyp_p0__366->GetYaxis()->SetTitle("Entries"); data_h_vtxTyp_p0__366->Draw("e same"); c1_n161->Modified(); c1_n161->cd(); c1_n161->SetSelected(c1_n161); }