void atlasEstimation_inc() { //=========Macro generated from canvas: atlasEstimation/atlasEstimation_inc/atlasEstimation/atlasEstimation_inc //========= (Thu Jul 28 14:10:34 2016) by ROOT version6.06/01 TCanvas *atlasEstimation/atlasEstimation_inc = new TCanvas("atlasEstimation/atlasEstimation_inc", "atlasEstimation/atlasEstimation_inc",0,0,600,600); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); atlasEstimation/atlasEstimation_inc->SetHighLightColor(2); atlasEstimation/atlasEstimation_inc->Range(0,0,1,1); atlasEstimation/atlasEstimation_inc->SetFillColor(0); atlasEstimation/atlasEstimation_inc->SetBorderMode(0); atlasEstimation/atlasEstimation_inc->SetBorderSize(2); atlasEstimation/atlasEstimation_inc->SetTickx(1); atlasEstimation/atlasEstimation_inc->SetTicky(1); atlasEstimation/atlasEstimation_inc->SetLeftMargin(0.13); atlasEstimation/atlasEstimation_inc->SetTopMargin(0.08); atlasEstimation/atlasEstimation_inc->SetBottomMargin(0.13); atlasEstimation/atlasEstimation_inc->SetFrameFillStyle(0); atlasEstimation/atlasEstimation_inc->SetFrameBorderMode(0); // ------------>Primitives in pad: pad1 TPad *pad1 = new TPad("pad1", "pad1",0,0.25,1,1); pad1->Draw(); pad1->cd(); pad1->Range(-47.56097,0.3391997,318.2927,3.739033); pad1->SetFillColor(0); pad1->SetBorderMode(0); pad1->SetBorderSize(2); pad1->SetLogy(); pad1->SetTickx(1); pad1->SetTicky(1); pad1->SetLeftMargin(0.13); pad1->SetRightMargin(0.05); pad1->SetTopMargin(0.08); pad1->SetFrameFillStyle(0); pad1->SetFrameBorderMode(0); pad1->SetFrameFillStyle(0); pad1->SetFrameBorderMode(0); THStack * = new THStack(); ->SetName(""); ->SetTitle(""); Double_t xAxis1[9] = {0, 15, 30, 45, 60, 100, 150, 225, 300}; TH1F *_stack_1 = new TH1F("_stack_1","",8, xAxis1); _stack_1->SetMinimum(4.777306); _stack_1->SetMaximum(2931.204); _stack_1->SetDirectory(0); _stack_1->SetStats(0); _stack_1->SetMarkerStyle(20); _stack_1->GetXaxis()->SetTitle("JZB [GeV]"); _stack_1->GetXaxis()->SetLabelFont(42); _stack_1->GetXaxis()->SetLabelOffset(0.007); _stack_1->GetXaxis()->SetTitleSize(0.05); _stack_1->GetXaxis()->SetTitleFont(42); _stack_1->GetYaxis()->SetTitle("Events"); _stack_1->GetYaxis()->SetLabelFont(42); _stack_1->GetYaxis()->SetLabelOffset(0.007); _stack_1->GetYaxis()->SetTitleSize(0.05); _stack_1->GetYaxis()->SetTitleOffset(1.1); _stack_1->GetYaxis()->SetTitleFont(42); _stack_1->GetZaxis()->SetLabelFont(42); _stack_1->GetZaxis()->SetLabelOffset(0.007); _stack_1->GetZaxis()->SetTitleSize(0.05); _stack_1->GetZaxis()->SetTitleFont(42); ->SetHistogram(_stack_1); Double_t xAxis2[9] = {0, 15, 30, 45, 60, 100, 150, 225, 300}; TH1F *atlas_pos_ofCentral_treeHisto__1 = new TH1F("atlas_pos_ofCentral_treeHisto__1","TT+Jets",8, xAxis2); atlas_pos_ofCentral_treeHisto__1->SetBinContent(1,19.12945); atlas_pos_ofCentral_treeHisto__1->SetBinContent(2,20.4236); atlas_pos_ofCentral_treeHisto__1->SetBinContent(3,19.77846); atlas_pos_ofCentral_treeHisto__1->SetBinContent(4,16.70578); atlas_pos_ofCentral_treeHisto__1->SetBinContent(5,39.19983); atlas_pos_ofCentral_treeHisto__1->SetBinContent(6,29.70206); atlas_pos_ofCentral_treeHisto__1->SetBinContent(7,21.00315); atlas_pos_ofCentral_treeHisto__1->SetBinContent(8,9.302406); atlas_pos_ofCentral_treeHisto__1->SetBinError(1,1.103436); atlas_pos_ofCentral_treeHisto__1->SetBinError(2,1.20314); atlas_pos_ofCentral_treeHisto__1->SetBinError(3,1.366638); atlas_pos_ofCentral_treeHisto__1->SetBinError(4,1.003893); atlas_pos_ofCentral_treeHisto__1->SetBinError(5,1.83553); atlas_pos_ofCentral_treeHisto__1->SetBinError(6,1.633435); atlas_pos_ofCentral_treeHisto__1->SetBinError(7,1.576535); atlas_pos_ofCentral_treeHisto__1->SetBinError(8,0.8720189); atlas_pos_ofCentral_treeHisto__1->SetEntries(176); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = 1435; color = new TColor(ci, 0.8, 0.8, 0.8, " ", 0.5); atlas_pos_ofCentral_treeHisto__1->SetFillColor(ci); atlas_pos_ofCentral_treeHisto__1->SetMarkerColor(ci); atlas_pos_ofCentral_treeHisto__1->SetMarkerStyle(20); atlas_pos_ofCentral_treeHisto__1->GetXaxis()->SetTitle("JZB [GeV]"); atlas_pos_ofCentral_treeHisto__1->GetXaxis()->SetLabelFont(42); atlas_pos_ofCentral_treeHisto__1->GetXaxis()->SetLabelOffset(0.007); atlas_pos_ofCentral_treeHisto__1->GetXaxis()->SetTitleSize(0.05); atlas_pos_ofCentral_treeHisto__1->GetXaxis()->SetTitleFont(42); atlas_pos_ofCentral_treeHisto__1->GetYaxis()->SetTitle("# events"); atlas_pos_ofCentral_treeHisto__1->GetYaxis()->SetLabelFont(42); atlas_pos_ofCentral_treeHisto__1->GetYaxis()->SetLabelOffset(0.007); atlas_pos_ofCentral_treeHisto__1->GetYaxis()->SetTitleSize(0.05); atlas_pos_ofCentral_treeHisto__1->GetYaxis()->SetTitleOffset(1.1); atlas_pos_ofCentral_treeHisto__1->GetYaxis()->SetTitleFont(42); atlas_pos_ofCentral_treeHisto__1->GetZaxis()->SetLabelFont(42); atlas_pos_ofCentral_treeHisto__1->GetZaxis()->SetLabelOffset(0.007); atlas_pos_ofCentral_treeHisto__1->GetZaxis()->SetTitleSize(0.05); atlas_pos_ofCentral_treeHisto__1->GetZaxis()->SetTitleFont(42); ->Add(atlas_pos_ofCentral_treeHisto,""); Double_t xAxis3[9] = {0, 15, 30, 45, 60, 100, 150, 225, 300}; TH1F *atlas_neg_sfCentral_treeHisto__2 = new TH1F("atlas_neg_sfCentral_treeHisto__2","TT+Jets",8, xAxis3); atlas_neg_sfCentral_treeHisto__2->SetBinContent(1,1977.743); atlas_neg_sfCentral_treeHisto__2->SetBinContent(2,1152.605); atlas_neg_sfCentral_treeHisto__2->SetBinContent(3,527.3142); atlas_neg_sfCentral_treeHisto__2->SetBinContent(4,197.8171); atlas_neg_sfCentral_treeHisto__2->SetBinContent(5,93.50227); atlas_neg_sfCentral_treeHisto__2->SetBinContent(6,5.023025); atlas_neg_sfCentral_treeHisto__2->SetBinContent(7,0.4831392); atlas_neg_sfCentral_treeHisto__2->SetBinContent(8,0.3516298); atlas_neg_sfCentral_treeHisto__2->SetBinError(1,455.254); atlas_neg_sfCentral_treeHisto__2->SetBinError(2,263.6012); atlas_neg_sfCentral_treeHisto__2->SetBinError(3,119.4059); atlas_neg_sfCentral_treeHisto__2->SetBinError(4,44.95187); atlas_neg_sfCentral_treeHisto__2->SetBinError(5,21.16037); atlas_neg_sfCentral_treeHisto__2->SetBinError(6,1.163908); atlas_neg_sfCentral_treeHisto__2->SetBinError(7,2.61725); atlas_neg_sfCentral_treeHisto__2->SetBinError(8,2.61725); atlas_neg_sfCentral_treeHisto__2->SetEntries(157193); ci = 1436; color = new TColor(ci, 0, 0, 0.8, " ", 0.7); atlas_neg_sfCentral_treeHisto__2->SetFillColor(ci); ci = TColor::GetColor("#0000cc"); atlas_neg_sfCentral_treeHisto__2->SetLineColor(ci); atlas_neg_sfCentral_treeHisto__2->SetMarkerColor(ci); atlas_neg_sfCentral_treeHisto__2->SetMarkerStyle(20); atlas_neg_sfCentral_treeHisto__2->GetXaxis()->SetTitle("JZB [GeV]"); atlas_neg_sfCentral_treeHisto__2->GetXaxis()->SetLabelFont(42); atlas_neg_sfCentral_treeHisto__2->GetXaxis()->SetLabelOffset(0.007); atlas_neg_sfCentral_treeHisto__2->GetXaxis()->SetTitleSize(0.05); atlas_neg_sfCentral_treeHisto__2->GetXaxis()->SetTitleFont(42); atlas_neg_sfCentral_treeHisto__2->GetYaxis()->SetTitle("# events"); atlas_neg_sfCentral_treeHisto__2->GetYaxis()->SetLabelFont(42); atlas_neg_sfCentral_treeHisto__2->GetYaxis()->SetLabelOffset(0.007); atlas_neg_sfCentral_treeHisto__2->GetYaxis()->SetTitleSize(0.05); atlas_neg_sfCentral_treeHisto__2->GetYaxis()->SetTitleOffset(1.1); atlas_neg_sfCentral_treeHisto__2->GetYaxis()->SetTitleFont(42); atlas_neg_sfCentral_treeHisto__2->GetZaxis()->SetLabelFont(42); atlas_neg_sfCentral_treeHisto__2->GetZaxis()->SetLabelOffset(0.007); atlas_neg_sfCentral_treeHisto__2->GetZaxis()->SetTitleSize(0.05); atlas_neg_sfCentral_treeHisto__2->GetZaxis()->SetTitleFont(42); ->Add(atlas_neg_sfCentral_treeHisto,""); Double_t xAxis4[9] = {0, 15, 30, 45, 60, 100, 150, 225, 300}; TH1F *others_sfCentral_treeHisto__3 = new TH1F("others_sfCentral_treeHisto__3","ZZ",8, xAxis4); others_sfCentral_treeHisto__3->SetBinContent(1,12.91973); others_sfCentral_treeHisto__3->SetBinContent(2,11.8073); others_sfCentral_treeHisto__3->SetBinContent(3,4.419935); others_sfCentral_treeHisto__3->SetBinContent(4,3.776441); others_sfCentral_treeHisto__3->SetBinContent(5,3.664648); others_sfCentral_treeHisto__3->SetBinContent(6,2.206265); others_sfCentral_treeHisto__3->SetBinContent(7,1.706158); others_sfCentral_treeHisto__3->SetBinContent(8,1.737999); others_sfCentral_treeHisto__3->SetBinError(1,5.404824); others_sfCentral_treeHisto__3->SetBinError(2,5.151725); others_sfCentral_treeHisto__3->SetBinError(3,1.785759); others_sfCentral_treeHisto__3->SetBinError(4,1.643923); others_sfCentral_treeHisto__3->SetBinError(5,1.601736); others_sfCentral_treeHisto__3->SetBinError(6,0.950081); others_sfCentral_treeHisto__3->SetBinError(7,0.7059188); others_sfCentral_treeHisto__3->SetBinError(8,0.7512765); others_sfCentral_treeHisto__3->SetEntries(32); ci = TColor::GetColor("#990000"); others_sfCentral_treeHisto__3->SetFillColor(ci); ci = TColor::GetColor("#cc6600"); others_sfCentral_treeHisto__3->SetLineColor(ci); ci = TColor::GetColor("#cc6600"); others_sfCentral_treeHisto__3->SetMarkerColor(ci); others_sfCentral_treeHisto__3->SetMarkerStyle(20); others_sfCentral_treeHisto__3->GetXaxis()->SetTitle("JZB [GeV]"); others_sfCentral_treeHisto__3->GetXaxis()->SetLabelFont(42); others_sfCentral_treeHisto__3->GetXaxis()->SetLabelOffset(0.007); others_sfCentral_treeHisto__3->GetXaxis()->SetTitleSize(0.05); others_sfCentral_treeHisto__3->GetXaxis()->SetTitleFont(42); others_sfCentral_treeHisto__3->GetYaxis()->SetTitle("# events"); others_sfCentral_treeHisto__3->GetYaxis()->SetLabelFont(42); others_sfCentral_treeHisto__3->GetYaxis()->SetLabelOffset(0.007); others_sfCentral_treeHisto__3->GetYaxis()->SetTitleSize(0.05); others_sfCentral_treeHisto__3->GetYaxis()->SetTitleOffset(1.1); others_sfCentral_treeHisto__3->GetYaxis()->SetTitleFont(42); others_sfCentral_treeHisto__3->GetZaxis()->SetLabelFont(42); others_sfCentral_treeHisto__3->GetZaxis()->SetLabelOffset(0.007); others_sfCentral_treeHisto__3->GetZaxis()->SetTitleSize(0.05); others_sfCentral_treeHisto__3->GetZaxis()->SetTitleFont(42); ->Add(others_sfCentral_treeHisto,""); ->Draw("hist"); Double_t xAxis5[9] = {0, 15, 30, 45, 60, 100, 150, 225, 300}; TH1F *atlas_pos_sfCentral_treeHisto__4 = new TH1F("atlas_pos_sfCentral_treeHisto__4","TT+Jets",8, xAxis5); atlas_pos_sfCentral_treeHisto__4->SetBinContent(1,1903.433); atlas_pos_sfCentral_treeHisto__4->SetBinContent(2,1219.51); atlas_pos_sfCentral_treeHisto__4->SetBinContent(3,589.4923); atlas_pos_sfCentral_treeHisto__4->SetBinContent(4,240.4925); atlas_pos_sfCentral_treeHisto__4->SetBinContent(5,134.3994); atlas_pos_sfCentral_treeHisto__4->SetBinContent(6,37.46371); atlas_pos_sfCentral_treeHisto__4->SetBinContent(7,19.92099); atlas_pos_sfCentral_treeHisto__4->SetBinContent(8,11.46842); atlas_pos_sfCentral_treeHisto__4->SetBinError(1,6.933088); atlas_pos_sfCentral_treeHisto__4->SetBinError(2,5.562907); atlas_pos_sfCentral_treeHisto__4->SetBinError(3,3.589202); atlas_pos_sfCentral_treeHisto__4->SetBinError(4,2.385511); atlas_pos_sfCentral_treeHisto__4->SetBinError(5,1.948903); atlas_pos_sfCentral_treeHisto__4->SetBinError(6,1.862409); atlas_pos_sfCentral_treeHisto__4->SetBinError(7,1.053828); atlas_pos_sfCentral_treeHisto__4->SetBinError(8,1.302837); atlas_pos_sfCentral_treeHisto__4->SetEntries(160); atlas_pos_sfCentral_treeHisto__4->SetMarkerStyle(20); atlas_pos_sfCentral_treeHisto__4->GetXaxis()->SetTitle("JZB [GeV]"); atlas_pos_sfCentral_treeHisto__4->GetXaxis()->SetLabelFont(42); atlas_pos_sfCentral_treeHisto__4->GetXaxis()->SetLabelOffset(0.007); atlas_pos_sfCentral_treeHisto__4->GetXaxis()->SetTitleSize(0.05); atlas_pos_sfCentral_treeHisto__4->GetXaxis()->SetTitleFont(42); atlas_pos_sfCentral_treeHisto__4->GetYaxis()->SetTitle("# events"); atlas_pos_sfCentral_treeHisto__4->GetYaxis()->SetLabelFont(42); atlas_pos_sfCentral_treeHisto__4->GetYaxis()->SetLabelOffset(0.007); atlas_pos_sfCentral_treeHisto__4->GetYaxis()->SetTitleSize(0.05); atlas_pos_sfCentral_treeHisto__4->GetYaxis()->SetTitleOffset(1.1); atlas_pos_sfCentral_treeHisto__4->GetYaxis()->SetTitleFont(42); atlas_pos_sfCentral_treeHisto__4->GetZaxis()->SetLabelFont(42); atlas_pos_sfCentral_treeHisto__4->GetZaxis()->SetLabelOffset(0.007); atlas_pos_sfCentral_treeHisto__4->GetZaxis()->SetTitleSize(0.05); atlas_pos_sfCentral_treeHisto__4->GetZaxis()->SetTitleFont(42); atlas_pos_sfCentral_treeHisto__4->Draw("E,SAME"); TLegend *leg = new TLegend(0.7,0.55,0.9,0.87,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.04); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(0); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("atlas_pos_sfCentral_treeHisto","Observed","P"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(20); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("atlas_pos_ofCentral_treeHisto","FS background","F"); ci = 1435; color = new TColor(ci, 0.8, 0.8, 0.8, " ", 0.5); entry->SetFillColor(ci); entry->SetFillStyle(1001); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("atlas_neg_sfCentral_treeHisto","Drell-Yan","F"); ci = 1436; color = new TColor(ci, 0, 0, 0.8, " ", 0.7); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#0000cc"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("others_sfCentral_treeHisto","Other SM","F"); ci = TColor::GetColor("#990000"); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#cc6600"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TLatex * tex = new TLatex(0.21,0.93,"CMS"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.33,0.93,"Simulation"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(42); tex->SetTextSize(0.03); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.9,0.93,"12.9 fb^{-1} (13 TeV)"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); pad1->Modified(); atlasEstimation/atlasEstimation_inc->cd(); // ------------>Primitives in pad: pad2 TPad *pad2 = new TPad("pad2", "pad2",0,0.05,1,0.25); pad2->Draw(); pad2->cd(); pad2->Range(-47.56097,-1,318.2927,2.333333); pad2->SetFillColor(0); pad2->SetBorderMode(0); pad2->SetBorderSize(2); pad2->SetTickx(1); pad2->SetTicky(1); pad2->SetLeftMargin(0.13); pad2->SetRightMargin(0.05); pad2->SetBottomMargin(0.3); pad2->SetFrameFillStyle(0); pad2->SetFrameBorderMode(0); pad2->SetFrameFillStyle(0); pad2->SetFrameBorderMode(0); Double_t xAxis6[9] = {0, 15, 30, 45, 60, 100, 150, 225, 300}; TH1F *atlas_pos_ofCentral_treeHisto_ratio__5 = new TH1F("atlas_pos_ofCentral_treeHisto_ratio__5","",8, xAxis6); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinContent(1,0.9470797); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinContent(2,1.029265); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinContent(3,1.068865); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinContent(4,1.101664); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinContent(5,0.9855729); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinContent(6,1.014415); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinContent(7,0.858943); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinContent(8,1.006705); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinError(1,0.214574); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinError(2,0.2290841); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinError(3,0.2315483); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinError(4,0.2273239); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinError(5,0.154606); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinError(6,0.07911493); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinError(7,0.1247113); atlas_pos_ofCentral_treeHisto_ratio__5->SetBinError(8,0.2773397); atlas_pos_ofCentral_treeHisto_ratio__5->SetMinimum(0); atlas_pos_ofCentral_treeHisto_ratio__5->SetMaximum(2); atlas_pos_ofCentral_treeHisto_ratio__5->SetEntries(196.6651); ci = TColor::GetColor("#666699"); atlas_pos_ofCentral_treeHisto_ratio__5->SetFillColor(ci); atlas_pos_ofCentral_treeHisto_ratio__5->SetMarkerColor(ci); atlas_pos_ofCentral_treeHisto_ratio__5->SetMarkerStyle(20); atlas_pos_ofCentral_treeHisto_ratio__5->SetMarkerSize(0); atlas_pos_ofCentral_treeHisto_ratio__5->GetXaxis()->SetLabelFont(42); atlas_pos_ofCentral_treeHisto_ratio__5->GetXaxis()->SetLabelOffset(0.007); atlas_pos_ofCentral_treeHisto_ratio__5->GetXaxis()->SetLabelSize(0.12); atlas_pos_ofCentral_treeHisto_ratio__5->GetXaxis()->SetTitleSize(0.14); atlas_pos_ofCentral_treeHisto_ratio__5->GetXaxis()->SetTitleFont(42); atlas_pos_ofCentral_treeHisto_ratio__5->GetYaxis()->SetTitle("Ratio"); atlas_pos_ofCentral_treeHisto_ratio__5->GetYaxis()->CenterTitle(true); atlas_pos_ofCentral_treeHisto_ratio__5->GetYaxis()->SetNdivisions(4); atlas_pos_ofCentral_treeHisto_ratio__5->GetYaxis()->SetLabelFont(42); atlas_pos_ofCentral_treeHisto_ratio__5->GetYaxis()->SetLabelOffset(0.007); atlas_pos_ofCentral_treeHisto_ratio__5->GetYaxis()->SetLabelSize(0.12); atlas_pos_ofCentral_treeHisto_ratio__5->GetYaxis()->SetTitleSize(0.14); atlas_pos_ofCentral_treeHisto_ratio__5->GetYaxis()->SetTitleOffset(0.3); atlas_pos_ofCentral_treeHisto_ratio__5->GetYaxis()->SetTitleFont(42); atlas_pos_ofCentral_treeHisto_ratio__5->GetZaxis()->SetLabelFont(42); atlas_pos_ofCentral_treeHisto_ratio__5->GetZaxis()->SetLabelOffset(0.007); atlas_pos_ofCentral_treeHisto_ratio__5->GetZaxis()->SetTitleSize(0.05); atlas_pos_ofCentral_treeHisto_ratio__5->GetZaxis()->SetTitleFont(42); atlas_pos_ofCentral_treeHisto_ratio__5->Draw("P,E2,"); Double_t xAxis7[9] = {0, 15, 30, 45, 60, 100, 150, 225, 300}; TH1F *atlas_pos_ofCentral_treeHisto_ratio__6 = new TH1F("atlas_pos_ofCentral_treeHisto_ratio__6","",8, xAxis7); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinContent(1,0.9470797); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinContent(2,1.029265); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinContent(3,1.068865); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinContent(4,1.101664); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinContent(5,0.9855729); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinContent(6,1.014415); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinContent(7,0.858943); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinContent(8,1.006705); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinError(1,0.214574); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinError(2,0.2290841); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinError(3,0.2315483); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinError(4,0.2273239); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinError(5,0.154606); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinError(6,0.07911493); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinError(7,0.1247113); atlas_pos_ofCentral_treeHisto_ratio__6->SetBinError(8,0.2773397); atlas_pos_ofCentral_treeHisto_ratio__6->SetMinimum(0); atlas_pos_ofCentral_treeHisto_ratio__6->SetMaximum(2); atlas_pos_ofCentral_treeHisto_ratio__6->SetEntries(196.6651); ci = TColor::GetColor("#666699"); atlas_pos_ofCentral_treeHisto_ratio__6->SetFillColor(ci); atlas_pos_ofCentral_treeHisto_ratio__6->SetMarkerColor(ci); atlas_pos_ofCentral_treeHisto_ratio__6->SetMarkerStyle(20); atlas_pos_ofCentral_treeHisto_ratio__6->SetMarkerSize(0); atlas_pos_ofCentral_treeHisto_ratio__6->GetXaxis()->SetLabelFont(42); atlas_pos_ofCentral_treeHisto_ratio__6->GetXaxis()->SetLabelOffset(0.007); atlas_pos_ofCentral_treeHisto_ratio__6->GetXaxis()->SetLabelSize(0.12); atlas_pos_ofCentral_treeHisto_ratio__6->GetXaxis()->SetTitleSize(0.14); atlas_pos_ofCentral_treeHisto_ratio__6->GetXaxis()->SetTitleFont(42); atlas_pos_ofCentral_treeHisto_ratio__6->GetYaxis()->SetTitle("Ratio"); atlas_pos_ofCentral_treeHisto_ratio__6->GetYaxis()->CenterTitle(true); atlas_pos_ofCentral_treeHisto_ratio__6->GetYaxis()->SetNdivisions(4); atlas_pos_ofCentral_treeHisto_ratio__6->GetYaxis()->SetLabelFont(42); atlas_pos_ofCentral_treeHisto_ratio__6->GetYaxis()->SetLabelOffset(0.007); atlas_pos_ofCentral_treeHisto_ratio__6->GetYaxis()->SetLabelSize(0.12); atlas_pos_ofCentral_treeHisto_ratio__6->GetYaxis()->SetTitleSize(0.14); atlas_pos_ofCentral_treeHisto_ratio__6->GetYaxis()->SetTitleOffset(0.3); atlas_pos_ofCentral_treeHisto_ratio__6->GetYaxis()->SetTitleFont(42); atlas_pos_ofCentral_treeHisto_ratio__6->GetZaxis()->SetLabelFont(42); atlas_pos_ofCentral_treeHisto_ratio__6->GetZaxis()->SetLabelOffset(0.007); atlas_pos_ofCentral_treeHisto_ratio__6->GetZaxis()->SetTitleSize(0.05); atlas_pos_ofCentral_treeHisto_ratio__6->GetZaxis()->SetTitleFont(42); atlas_pos_ofCentral_treeHisto_ratio__6->Draw("P,same"); TLine *line = new TLine(0,1,300,1); ci = TColor::GetColor("#666666"); line->SetLineColor(ci); line->Draw(); pad2->Modified(); atlasEstimation/atlasEstimation_inc->cd(); atlasEstimation/atlasEstimation_inc->Modified(); atlasEstimation/atlasEstimation_inc->cd(); atlasEstimation/atlasEstimation_inc->SetSelected(atlasEstimation/atlasEstimation_inc); }