void closure_3jets_HT() { //=========Macro generated from canvas: finalPlots/closure_3jets_HT/finalPlots/closure_3jets_HT //========= (Fri Apr 15 17:48:19 2016) by ROOT version6.02/05 TCanvas *finalPlots/closure_3jets_HT = new TCanvas("finalPlots/closure_3jets_HT", "finalPlots/closure_3jets_HT",0,0,600,600); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); finalPlots/closure_3jets_HT->SetHighLightColor(2); finalPlots/closure_3jets_HT->Range(0,0,1,1); finalPlots/closure_3jets_HT->SetFillColor(0); finalPlots/closure_3jets_HT->SetBorderMode(0); finalPlots/closure_3jets_HT->SetBorderSize(2); finalPlots/closure_3jets_HT->SetTickx(1); finalPlots/closure_3jets_HT->SetTicky(1); finalPlots/closure_3jets_HT->SetLeftMargin(0.13); finalPlots/closure_3jets_HT->SetRightMargin(0.05); finalPlots/closure_3jets_HT->SetTopMargin(0.08); finalPlots/closure_3jets_HT->SetBottomMargin(0.13); finalPlots/closure_3jets_HT->SetFrameFillStyle(0); finalPlots/closure_3jets_HT->SetFrameBorderMode(0); // ------------>Primitives in pad: pad1 TPad *pad1 = new TPad("pad1", "pad1",0,0.25,1,1); pad1->Draw(); pad1->cd(); pad1->Range(-49.46341,-4.128769,331.0244,4.762968); 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); TH1F *dy3jetsHTSFCentral_pos28 = new TH1F("dy3jetsHTSFCentral_pos28","",26,0,312); dy3jetsHTSFCentral_pos28->SetBinContent(1,5885.449); dy3jetsHTSFCentral_pos28->SetBinContent(2,3972.963); dy3jetsHTSFCentral_pos28->SetBinContent(3,1947.012); dy3jetsHTSFCentral_pos28->SetBinContent(4,792.3961); dy3jetsHTSFCentral_pos28->SetBinContent(5,289.568); dy3jetsHTSFCentral_pos28->SetBinContent(6,108.1361); dy3jetsHTSFCentral_pos28->SetBinContent(7,43.30523); dy3jetsHTSFCentral_pos28->SetBinContent(8,17.96915); dy3jetsHTSFCentral_pos28->SetBinContent(9,9.106999); dy3jetsHTSFCentral_pos28->SetBinContent(10,4.998004); dy3jetsHTSFCentral_pos28->SetBinContent(11,2.613971); dy3jetsHTSFCentral_pos28->SetBinContent(12,2.053944); dy3jetsHTSFCentral_pos28->SetBinContent(13,1.104697); dy3jetsHTSFCentral_pos28->SetBinContent(14,0.2159173); dy3jetsHTSFCentral_pos28->SetBinContent(15,0.60743); dy3jetsHTSFCentral_pos28->SetBinContent(16,0.8492321); dy3jetsHTSFCentral_pos28->SetBinContent(17,0.349887); dy3jetsHTSFCentral_pos28->SetBinContent(18,0.08733207); dy3jetsHTSFCentral_pos28->SetBinContent(19,0.1487883); dy3jetsHTSFCentral_pos28->SetBinContent(20,0.09261255); dy3jetsHTSFCentral_pos28->SetBinContent(21,0.1284982); dy3jetsHTSFCentral_pos28->SetBinContent(22,0.04766377); dy3jetsHTSFCentral_pos28->SetBinContent(23,0.03713874); dy3jetsHTSFCentral_pos28->SetBinContent(24,0.06465402); dy3jetsHTSFCentral_pos28->SetBinContent(25,0.006380252); dy3jetsHTSFCentral_pos28->SetBinContent(26,0.4382244); dy3jetsHTSFCentral_pos28->SetBinError(1,58.56534); dy3jetsHTSFCentral_pos28->SetBinError(2,43.31005); dy3jetsHTSFCentral_pos28->SetBinError(3,25.30027); dy3jetsHTSFCentral_pos28->SetBinError(4,16.62875); dy3jetsHTSFCentral_pos28->SetBinError(5,7.111847); dy3jetsHTSFCentral_pos28->SetBinError(6,3.753611); dy3jetsHTSFCentral_pos28->SetBinError(7,2.190179); dy3jetsHTSFCentral_pos28->SetBinError(8,0.9297787); dy3jetsHTSFCentral_pos28->SetBinError(9,0.6831524); dy3jetsHTSFCentral_pos28->SetBinError(10,0.4379072); dy3jetsHTSFCentral_pos28->SetBinError(11,0.2145765); dy3jetsHTSFCentral_pos28->SetBinError(12,0.2060495); dy3jetsHTSFCentral_pos28->SetBinError(13,0.1626813); dy3jetsHTSFCentral_pos28->SetBinError(14,0.4412424); dy3jetsHTSFCentral_pos28->SetBinError(15,0.102287); dy3jetsHTSFCentral_pos28->SetBinError(16,0.4212709); dy3jetsHTSFCentral_pos28->SetBinError(17,0.1318349); dy3jetsHTSFCentral_pos28->SetBinError(18,0.07351806); dy3jetsHTSFCentral_pos28->SetBinError(19,0.04731421); dy3jetsHTSFCentral_pos28->SetBinError(20,0.03740448); dy3jetsHTSFCentral_pos28->SetBinError(21,0.04426105); dy3jetsHTSFCentral_pos28->SetBinError(22,0.02803379); dy3jetsHTSFCentral_pos28->SetBinError(23,0.02291257); dy3jetsHTSFCentral_pos28->SetBinError(24,0.03336321); dy3jetsHTSFCentral_pos28->SetBinError(25,0.005228299); dy3jetsHTSFCentral_pos28->SetBinError(26,0.08569579); dy3jetsHTSFCentral_pos28->SetEntries(27947.35); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ff0000"); dy3jetsHTSFCentral_pos28->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); dy3jetsHTSFCentral_pos28->SetMarkerColor(ci); dy3jetsHTSFCentral_pos28->SetMarkerStyle(20); dy3jetsHTSFCentral_pos28->GetXaxis()->SetTitle("JZB [GeV]"); dy3jetsHTSFCentral_pos28->GetXaxis()->SetLabelFont(42); dy3jetsHTSFCentral_pos28->GetXaxis()->SetLabelOffset(0.007); dy3jetsHTSFCentral_pos28->GetXaxis()->SetTitleSize(0.05); dy3jetsHTSFCentral_pos28->GetXaxis()->SetTitleFont(42); dy3jetsHTSFCentral_pos28->GetYaxis()->SetTitle("Events / 12 GeV"); dy3jetsHTSFCentral_pos28->GetYaxis()->SetLabelFont(42); dy3jetsHTSFCentral_pos28->GetYaxis()->SetLabelOffset(0.007); dy3jetsHTSFCentral_pos28->GetYaxis()->SetTitleSize(0.05); dy3jetsHTSFCentral_pos28->GetYaxis()->SetTitleOffset(1.1); dy3jetsHTSFCentral_pos28->GetYaxis()->SetTitleFont(42); dy3jetsHTSFCentral_pos28->GetZaxis()->SetLabelFont(42); dy3jetsHTSFCentral_pos28->GetZaxis()->SetLabelOffset(0.007); dy3jetsHTSFCentral_pos28->GetZaxis()->SetTitleSize(0.05); dy3jetsHTSFCentral_pos28->GetZaxis()->SetTitleFont(42); dy3jetsHTSFCentral_pos28->Draw("E,"); TH1F *dy3jetsHTSFCentral_neg29 = new TH1F("dy3jetsHTSFCentral_neg29","",26,0,312); dy3jetsHTSFCentral_neg29->SetBinContent(1,5898.36); dy3jetsHTSFCentral_neg29->SetBinContent(2,3908.928); dy3jetsHTSFCentral_neg29->SetBinContent(3,1844.716); dy3jetsHTSFCentral_neg29->SetBinContent(4,714.4124); dy3jetsHTSFCentral_neg29->SetBinContent(5,246.9972); dy3jetsHTSFCentral_neg29->SetBinContent(6,88.70358); dy3jetsHTSFCentral_neg29->SetBinContent(7,34.06369); dy3jetsHTSFCentral_neg29->SetBinContent(8,15.39); dy3jetsHTSFCentral_neg29->SetBinContent(9,7.204967); dy3jetsHTSFCentral_neg29->SetBinContent(10,5.523151); dy3jetsHTSFCentral_neg29->SetBinContent(11,2.523856); dy3jetsHTSFCentral_neg29->SetBinContent(12,1.633854); dy3jetsHTSFCentral_neg29->SetBinContent(13,0.7795837); dy3jetsHTSFCentral_neg29->SetBinContent(14,0.9717491); dy3jetsHTSFCentral_neg29->SetBinContent(15,0.3776506); dy3jetsHTSFCentral_neg29->SetBinContent(16,0.3140736); dy3jetsHTSFCentral_neg29->SetBinContent(17,0.2836459); dy3jetsHTSFCentral_neg29->SetBinContent(18,0.1415716); dy3jetsHTSFCentral_neg29->SetBinContent(19,0.1046304); dy3jetsHTSFCentral_neg29->SetBinContent(20,0.1244799); dy3jetsHTSFCentral_neg29->SetBinContent(21,0.0992479); dy3jetsHTSFCentral_neg29->SetBinContent(22,0.005121087); dy3jetsHTSFCentral_neg29->SetBinContent(23,0.04386212); dy3jetsHTSFCentral_neg29->SetBinContent(24,0.0503274); dy3jetsHTSFCentral_neg29->SetBinContent(25,0.04074333); dy3jetsHTSFCentral_neg29->SetBinContent(26,0.1614107); dy3jetsHTSFCentral_neg29->SetBinError(1,51.51369); dy3jetsHTSFCentral_neg29->SetBinError(2,40.12386); dy3jetsHTSFCentral_neg29->SetBinError(3,24.04919); dy3jetsHTSFCentral_neg29->SetBinError(4,18.66924); dy3jetsHTSFCentral_neg29->SetBinError(5,10.96555); dy3jetsHTSFCentral_neg29->SetBinError(6,3.572585); dy3jetsHTSFCentral_neg29->SetBinError(7,2.075813); dy3jetsHTSFCentral_neg29->SetBinError(8,1.343492); dy3jetsHTSFCentral_neg29->SetBinError(9,0.5174293); dy3jetsHTSFCentral_neg29->SetBinError(10,0.7264141); dy3jetsHTSFCentral_neg29->SetBinError(11,0.2829003); dy3jetsHTSFCentral_neg29->SetBinError(12,0.2139657); dy3jetsHTSFCentral_neg29->SetBinError(13,0.1336378); dy3jetsHTSFCentral_neg29->SetBinError(14,0.3715884); dy3jetsHTSFCentral_neg29->SetBinError(15,0.07649853); dy3jetsHTSFCentral_neg29->SetBinError(16,0.07191267); dy3jetsHTSFCentral_neg29->SetBinError(17,0.08136366); dy3jetsHTSFCentral_neg29->SetBinError(18,0.04428555); dy3jetsHTSFCentral_neg29->SetBinError(19,0.04254672); dy3jetsHTSFCentral_neg29->SetBinError(20,0.05621881); dy3jetsHTSFCentral_neg29->SetBinError(21,0.03869224); dy3jetsHTSFCentral_neg29->SetBinError(22,0.005121087); dy3jetsHTSFCentral_neg29->SetBinError(23,0.0235195); dy3jetsHTSFCentral_neg29->SetBinError(24,0.02907511); dy3jetsHTSFCentral_neg29->SetBinError(25,0.04074333); dy3jetsHTSFCentral_neg29->SetBinError(26,0.05086236); dy3jetsHTSFCentral_neg29->SetEntries(30602.4); ci = TColor::GetColor("#0000ff"); dy3jetsHTSFCentral_neg29->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); dy3jetsHTSFCentral_neg29->SetMarkerColor(ci); dy3jetsHTSFCentral_neg29->SetMarkerStyle(20); dy3jetsHTSFCentral_neg29->GetXaxis()->SetTitle("JZB [GeV]"); dy3jetsHTSFCentral_neg29->GetXaxis()->SetLabelFont(42); dy3jetsHTSFCentral_neg29->GetXaxis()->SetLabelOffset(0.007); dy3jetsHTSFCentral_neg29->GetXaxis()->SetTitleSize(0.05); dy3jetsHTSFCentral_neg29->GetXaxis()->SetTitleFont(42); dy3jetsHTSFCentral_neg29->GetYaxis()->SetTitle("Events / 12 GeV"); dy3jetsHTSFCentral_neg29->GetYaxis()->SetLabelFont(42); dy3jetsHTSFCentral_neg29->GetYaxis()->SetLabelOffset(0.007); dy3jetsHTSFCentral_neg29->GetYaxis()->SetTitleSize(0.05); dy3jetsHTSFCentral_neg29->GetYaxis()->SetTitleOffset(1.1); dy3jetsHTSFCentral_neg29->GetYaxis()->SetTitleFont(42); dy3jetsHTSFCentral_neg29->GetZaxis()->SetLabelFont(42); dy3jetsHTSFCentral_neg29->GetZaxis()->SetLabelOffset(0.007); dy3jetsHTSFCentral_neg29->GetZaxis()->SetTitleSize(0.05); dy3jetsHTSFCentral_neg29->GetZaxis()->SetTitleFont(42); dy3jetsHTSFCentral_neg29->Draw("HIST,SAME"); TLegend *leg = new TLegend(0.65,0.5,0.9,0.72,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("dy3jetsHTSFCentral_pos","JZB > 0","P"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ff0000"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("dy3jetsHTSFCentral_neg","JZB < 0","L"); ci = TColor::GetColor("#0000ff"); 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,"2.3 fb^{-1} (13 TeV)"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); pad1->Modified(); finalPlots/closure_3jets_HT->cd(); // ------------>Primitives in pad: pad2 TPad *pad2 = new TPad("pad2", "pad2",0,0.05,1,0.25); pad2->Draw(); pad2->cd(); pad2->Range(-49.46341,-1,331.0244,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); TH1F *dy3jetsHTSFCentral_neg_ratio30 = new TH1F("dy3jetsHTSFCentral_neg_ratio30","",26,0,312); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(1,0.9978111); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(2,1.016382); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(3,1.055454); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(4,1.109158); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(5,1.172353); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(6,1.219073); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(7,1.271302); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(8,1.167586); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(9,1.263989); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(10,0.9049188); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(11,1.035705); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(12,1.257116); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(13,1.417035); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(14,0.2221945); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(15,1.608444); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(16,2.703927); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(17,1.233535); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(18,0.6168755); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(19,1.422038); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(20,0.743996); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(21,1.294719); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(22,9.307355); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(23,0.8467155); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(24,1.284668); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(25,0.1565962); dy3jetsHTSFCentral_neg_ratio30->SetBinContent(26,2.714965); dy3jetsHTSFCentral_neg_ratio30->SetBinError(1,0.01321092); dy3jetsHTSFCentral_neg_ratio30->SetBinError(2,0.01521858); dy3jetsHTSFCentral_neg_ratio30->SetBinError(3,0.0194276); dy3jetsHTSFCentral_neg_ratio30->SetBinError(4,0.0371739); dy3jetsHTSFCentral_neg_ratio30->SetBinError(5,0.05948071); dy3jetsHTSFCentral_neg_ratio30->SetBinError(6,0.06481794); dy3jetsHTSFCentral_neg_ratio30->SetBinError(7,0.1006776); dy3jetsHTSFCentral_neg_ratio30->SetBinError(8,0.1184856); dy3jetsHTSFCentral_neg_ratio30->SetBinError(9,0.1312638); dy3jetsHTSFCentral_neg_ratio30->SetBinError(10,0.1430075); dy3jetsHTSFCentral_neg_ratio30->SetBinError(11,0.1438951); dy3jetsHTSFCentral_neg_ratio30->SetBinError(12,0.2073815); dy3jetsHTSFCentral_neg_ratio30->SetBinError(13,0.3202373); dy3jetsHTSFCentral_neg_ratio30->SetBinError(14,0.4619512); dy3jetsHTSFCentral_neg_ratio30->SetBinError(15,0.4236915); dy3jetsHTSFCentral_neg_ratio30->SetBinError(16,1.477301); dy3jetsHTSFCentral_neg_ratio30->SetBinError(17,0.5841478); dy3jetsHTSFCentral_neg_ratio30->SetBinError(18,0.5539929); dy3jetsHTSFCentral_neg_ratio30->SetBinError(19,0.7340756); dy3jetsHTSFCentral_neg_ratio30->SetBinError(20,0.4507716); dy3jetsHTSFCentral_neg_ratio30->SetBinError(21,0.6735422); dy3jetsHTSFCentral_neg_ratio30->SetBinError(22,10.79785); dy3jetsHTSFCentral_neg_ratio30->SetBinError(23,0.6921076); dy3jetsHTSFCentral_neg_ratio30->SetBinError(24,0.9951358); dy3jetsHTSFCentral_neg_ratio30->SetBinError(25,0.2024577); dy3jetsHTSFCentral_neg_ratio30->SetBinError(26,1.006867); dy3jetsHTSFCentral_neg_ratio30->SetMinimum(0); dy3jetsHTSFCentral_neg_ratio30->SetMaximum(2); dy3jetsHTSFCentral_neg_ratio30->SetEntries(12.31613); ci = TColor::GetColor("#0000ff"); dy3jetsHTSFCentral_neg_ratio30->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); dy3jetsHTSFCentral_neg_ratio30->SetMarkerColor(ci); dy3jetsHTSFCentral_neg_ratio30->SetMarkerStyle(20); dy3jetsHTSFCentral_neg_ratio30->GetXaxis()->SetLabelFont(42); dy3jetsHTSFCentral_neg_ratio30->GetXaxis()->SetLabelOffset(0.007); dy3jetsHTSFCentral_neg_ratio30->GetXaxis()->SetLabelSize(0.12); dy3jetsHTSFCentral_neg_ratio30->GetXaxis()->SetTitleSize(0.14); dy3jetsHTSFCentral_neg_ratio30->GetXaxis()->SetTitleFont(42); dy3jetsHTSFCentral_neg_ratio30->GetYaxis()->SetTitle("Ratio"); dy3jetsHTSFCentral_neg_ratio30->GetYaxis()->CenterTitle(true); dy3jetsHTSFCentral_neg_ratio30->GetYaxis()->SetNdivisions(4); dy3jetsHTSFCentral_neg_ratio30->GetYaxis()->SetLabelFont(42); dy3jetsHTSFCentral_neg_ratio30->GetYaxis()->SetLabelOffset(0.007); dy3jetsHTSFCentral_neg_ratio30->GetYaxis()->SetLabelSize(0.12); dy3jetsHTSFCentral_neg_ratio30->GetYaxis()->SetTitleSize(0.14); dy3jetsHTSFCentral_neg_ratio30->GetYaxis()->SetTitleOffset(0.3); dy3jetsHTSFCentral_neg_ratio30->GetYaxis()->SetTitleFont(42); dy3jetsHTSFCentral_neg_ratio30->GetZaxis()->SetLabelFont(42); dy3jetsHTSFCentral_neg_ratio30->GetZaxis()->SetLabelOffset(0.007); dy3jetsHTSFCentral_neg_ratio30->GetZaxis()->SetTitleSize(0.05); dy3jetsHTSFCentral_neg_ratio30->GetZaxis()->SetTitleFont(42); dy3jetsHTSFCentral_neg_ratio30->Draw("l, "); TLine *line = new TLine(0,1,312,1); ci = TColor::GetColor("#666666"); line->SetLineColor(ci); line->Draw(); Double_t Graph0_fx6[4] = { 0, 250, 250, 0}; Double_t Graph0_fy6[4] = { 0.7, 0.7, 1.3, 1.3}; TGraph *graph = new TGraph(4,Graph0_fx6,Graph0_fy6); graph->SetName("Graph0"); graph->SetTitle("Graph"); ci = 1184; color = new TColor(ci, 1, 0, 0, " ", 0.4); graph->SetFillColor(ci); graph->SetMarkerStyle(20); TH1F *Graph_Graph6 = new TH1F("Graph_Graph6","Graph",100,0,275); Graph_Graph6->SetMinimum(0.64); Graph_Graph6->SetMaximum(1.36); Graph_Graph6->SetDirectory(0); Graph_Graph6->SetStats(0); Graph_Graph6->SetMarkerStyle(20); Graph_Graph6->GetXaxis()->SetLabelFont(42); Graph_Graph6->GetXaxis()->SetLabelOffset(0.007); Graph_Graph6->GetXaxis()->SetTitleSize(0.05); Graph_Graph6->GetXaxis()->SetTitleFont(42); Graph_Graph6->GetYaxis()->SetLabelFont(42); Graph_Graph6->GetYaxis()->SetLabelOffset(0.007); Graph_Graph6->GetYaxis()->SetTitleSize(0.05); Graph_Graph6->GetYaxis()->SetTitleOffset(1.1); Graph_Graph6->GetYaxis()->SetTitleFont(42); Graph_Graph6->GetZaxis()->SetLabelFont(42); Graph_Graph6->GetZaxis()->SetLabelOffset(0.007); Graph_Graph6->GetZaxis()->SetTitleSize(0.05); Graph_Graph6->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph6); graph->Draw("f"); pad2->Modified(); finalPlots/closure_3jets_HT->cd(); finalPlots/closure_3jets_HT->Modified(); finalPlots/closure_3jets_HT->cd(); finalPlots/closure_3jets_HT->SetSelected(finalPlots/closure_3jets_HT); }