void closure_2jets_HT_Central() { //=========Macro generated from canvas: finalPlots/closure_2jets_HT_Central/finalPlots/closure_2jets_HT_Central //========= (Wed Mar 30 12:26:52 2016) by ROOT version6.02/05 TCanvas *finalPlots/closure_2jets_HT_Central = new TCanvas("finalPlots/closure_2jets_HT_Central", "finalPlots/closure_2jets_HT_Central",0,0,600,600); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); finalPlots/closure_2jets_HT_Central->SetHighLightColor(2); finalPlots/closure_2jets_HT_Central->Range(0,0,1,1); finalPlots/closure_2jets_HT_Central->SetFillColor(0); finalPlots/closure_2jets_HT_Central->SetBorderMode(0); finalPlots/closure_2jets_HT_Central->SetBorderSize(2); finalPlots/closure_2jets_HT_Central->SetTickx(1); finalPlots/closure_2jets_HT_Central->SetTicky(1); finalPlots/closure_2jets_HT_Central->SetLeftMargin(0.13); finalPlots/closure_2jets_HT_Central->SetRightMargin(0.05); finalPlots/closure_2jets_HT_Central->SetTopMargin(0.08); finalPlots/closure_2jets_HT_Central->SetBottomMargin(0.13); finalPlots/closure_2jets_HT_Central->SetFrameFillStyle(0); finalPlots/closure_2jets_HT_Central->SetFrameBorderMode(0); // ------------>Primitives in pad: pad1 TPad *pad1 = new TPad("pad1", "pad1",0,0.25,1,1); pad1->Draw(); pad1->cd(); pad1->Range(-32.97561,-4.303404,220.6829,4.570431); 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 *dy2jetsHTSFCentral_pos34 = new TH1F("dy2jetsHTSFCentral_pos34","",26,0,208); dy2jetsHTSFCentral_pos34->SetBinContent(1,3792.23); dy2jetsHTSFCentral_pos34->SetBinContent(2,3118.303); dy2jetsHTSFCentral_pos34->SetBinContent(3,2091.028); dy2jetsHTSFCentral_pos34->SetBinContent(4,1224.19); dy2jetsHTSFCentral_pos34->SetBinContent(5,622.6073); dy2jetsHTSFCentral_pos34->SetBinContent(6,304.5511); dy2jetsHTSFCentral_pos34->SetBinContent(7,143.491); dy2jetsHTSFCentral_pos34->SetBinContent(8,60.18073); dy2jetsHTSFCentral_pos34->SetBinContent(9,26.36742); dy2jetsHTSFCentral_pos34->SetBinContent(10,12.37235); dy2jetsHTSFCentral_pos34->SetBinContent(11,5.406715); dy2jetsHTSFCentral_pos34->SetBinContent(12,3.065382); dy2jetsHTSFCentral_pos34->SetBinContent(13,1.278138); dy2jetsHTSFCentral_pos34->SetBinContent(14,0.9424174); dy2jetsHTSFCentral_pos34->SetBinContent(15,0.5801779); dy2jetsHTSFCentral_pos34->SetBinContent(16,0.3400401); dy2jetsHTSFCentral_pos34->SetBinContent(17,0.1946858); dy2jetsHTSFCentral_pos34->SetBinContent(18,0.2300936); dy2jetsHTSFCentral_pos34->SetBinContent(19,0.3794408); dy2jetsHTSFCentral_pos34->SetBinContent(20,0.0931742); dy2jetsHTSFCentral_pos34->SetBinContent(21,0.05273545); dy2jetsHTSFCentral_pos34->SetBinContent(22,0.09129239); dy2jetsHTSFCentral_pos34->SetBinContent(23,0.01896461); dy2jetsHTSFCentral_pos34->SetBinContent(24,0.01647959); dy2jetsHTSFCentral_pos34->SetBinContent(25,0.01309641); dy2jetsHTSFCentral_pos34->SetBinContent(26,0.2784363); dy2jetsHTSFCentral_pos34->SetBinError(1,35.8011); dy2jetsHTSFCentral_pos34->SetBinError(2,32.27349); dy2jetsHTSFCentral_pos34->SetBinError(3,26.08593); dy2jetsHTSFCentral_pos34->SetBinError(4,19.62203); dy2jetsHTSFCentral_pos34->SetBinError(5,13.77821); dy2jetsHTSFCentral_pos34->SetBinError(6,9.282032); dy2jetsHTSFCentral_pos34->SetBinError(7,6.207669); dy2jetsHTSFCentral_pos34->SetBinError(8,3.611228); dy2jetsHTSFCentral_pos34->SetBinError(9,2.275854); dy2jetsHTSFCentral_pos34->SetBinError(10,1.556676); dy2jetsHTSFCentral_pos34->SetBinError(11,0.7262335); dy2jetsHTSFCentral_pos34->SetBinError(12,0.5116471); dy2jetsHTSFCentral_pos34->SetBinError(13,0.1720343); dy2jetsHTSFCentral_pos34->SetBinError(14,0.1541914); dy2jetsHTSFCentral_pos34->SetBinError(15,0.2402496); dy2jetsHTSFCentral_pos34->SetBinError(16,0.07936872); dy2jetsHTSFCentral_pos34->SetBinError(17,0.05349203); dy2jetsHTSFCentral_pos34->SetBinError(18,0.0734767); dy2jetsHTSFCentral_pos34->SetBinError(19,0.1883927); dy2jetsHTSFCentral_pos34->SetBinError(20,0.03884497); dy2jetsHTSFCentral_pos34->SetBinError(21,0.02716729); dy2jetsHTSFCentral_pos34->SetBinError(22,0.03772535); dy2jetsHTSFCentral_pos34->SetBinError(23,0.01819723); dy2jetsHTSFCentral_pos34->SetBinError(24,0.01382537); dy2jetsHTSFCentral_pos34->SetBinError(25,0.009764957); dy2jetsHTSFCentral_pos34->SetBinError(26,0.0924931); dy2jetsHTSFCentral_pos34->SetEntries(34940.05); dy2jetsHTSFCentral_pos34->SetDirectory(0); dy2jetsHTSFCentral_pos34->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ff0000"); dy2jetsHTSFCentral_pos34->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); dy2jetsHTSFCentral_pos34->SetMarkerColor(ci); dy2jetsHTSFCentral_pos34->SetMarkerStyle(20); dy2jetsHTSFCentral_pos34->GetXaxis()->SetTitle("JZB [GeV]"); dy2jetsHTSFCentral_pos34->GetXaxis()->SetLabelFont(42); dy2jetsHTSFCentral_pos34->GetXaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_pos34->GetXaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_pos34->GetXaxis()->SetTitleFont(42); dy2jetsHTSFCentral_pos34->GetYaxis()->SetTitle("Events / 8 GeV"); dy2jetsHTSFCentral_pos34->GetYaxis()->SetLabelFont(42); dy2jetsHTSFCentral_pos34->GetYaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_pos34->GetYaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_pos34->GetYaxis()->SetTitleOffset(1.1); dy2jetsHTSFCentral_pos34->GetYaxis()->SetTitleFont(42); dy2jetsHTSFCentral_pos34->GetZaxis()->SetLabelFont(42); dy2jetsHTSFCentral_pos34->GetZaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_pos34->GetZaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_pos34->GetZaxis()->SetTitleFont(42); dy2jetsHTSFCentral_pos34->Draw("E,"); TH1F *dy2jetsHTSFCentral_neg35 = new TH1F("dy2jetsHTSFCentral_neg35","",26,0,208); dy2jetsHTSFCentral_neg35->SetBinContent(1,3883.162); dy2jetsHTSFCentral_neg35->SetBinContent(2,3074.408); dy2jetsHTSFCentral_neg35->SetBinContent(3,2105.808); dy2jetsHTSFCentral_neg35->SetBinContent(4,1160.524); dy2jetsHTSFCentral_neg35->SetBinContent(5,576.577); dy2jetsHTSFCentral_neg35->SetBinContent(6,282.5334); dy2jetsHTSFCentral_neg35->SetBinContent(7,122.321); dy2jetsHTSFCentral_neg35->SetBinContent(8,54.8982); dy2jetsHTSFCentral_neg35->SetBinContent(9,27.01347); dy2jetsHTSFCentral_neg35->SetBinContent(10,12.70278); dy2jetsHTSFCentral_neg35->SetBinContent(11,4.528745); dy2jetsHTSFCentral_neg35->SetBinContent(12,5.054158); dy2jetsHTSFCentral_neg35->SetBinContent(13,1.885382); dy2jetsHTSFCentral_neg35->SetBinContent(14,2.400893); dy2jetsHTSFCentral_neg35->SetBinContent(15,0.9491268); dy2jetsHTSFCentral_neg35->SetBinContent(16,0.4880161); dy2jetsHTSFCentral_neg35->SetBinContent(17,0.7423584); dy2jetsHTSFCentral_neg35->SetBinContent(18,0.5445974); dy2jetsHTSFCentral_neg35->SetBinContent(19,0.1645227); dy2jetsHTSFCentral_neg35->SetBinContent(20,0.2354373); dy2jetsHTSFCentral_neg35->SetBinContent(21,0.1118398); dy2jetsHTSFCentral_neg35->SetBinContent(22,0.1865831); dy2jetsHTSFCentral_neg35->SetBinContent(23,0.119612); dy2jetsHTSFCentral_neg35->SetBinContent(24,0.1523164); dy2jetsHTSFCentral_neg35->SetBinContent(25,0.02658039); dy2jetsHTSFCentral_neg35->SetBinContent(26,0.2316344); dy2jetsHTSFCentral_neg35->SetBinError(1,36.22969); dy2jetsHTSFCentral_neg35->SetBinError(2,32.17581); dy2jetsHTSFCentral_neg35->SetBinError(3,26.58336); dy2jetsHTSFCentral_neg35->SetBinError(4,19.1895); dy2jetsHTSFCentral_neg35->SetBinError(5,13.16188); dy2jetsHTSFCentral_neg35->SetBinError(6,9.096333); dy2jetsHTSFCentral_neg35->SetBinError(7,5.711619); dy2jetsHTSFCentral_neg35->SetBinError(8,3.665819); dy2jetsHTSFCentral_neg35->SetBinError(9,2.432415); dy2jetsHTSFCentral_neg35->SetBinError(10,1.554248); dy2jetsHTSFCentral_neg35->SetBinError(11,0.6496172); dy2jetsHTSFCentral_neg35->SetBinError(12,1.109076); dy2jetsHTSFCentral_neg35->SetBinError(13,0.3609082); dy2jetsHTSFCentral_neg35->SetBinError(14,0.7099876); dy2jetsHTSFCentral_neg35->SetBinError(15,0.2776902); dy2jetsHTSFCentral_neg35->SetBinError(16,0.1071258); dy2jetsHTSFCentral_neg35->SetBinError(17,0.2835409); dy2jetsHTSFCentral_neg35->SetBinError(18,0.2005148); dy2jetsHTSFCentral_neg35->SetBinError(19,0.05401828); dy2jetsHTSFCentral_neg35->SetBinError(20,0.185507); dy2jetsHTSFCentral_neg35->SetBinError(21,0.05194892); dy2jetsHTSFCentral_neg35->SetBinError(22,0.07757945); dy2jetsHTSFCentral_neg35->SetBinError(23,0.05387608); dy2jetsHTSFCentral_neg35->SetBinError(24,0.06418328); dy2jetsHTSFCentral_neg35->SetBinError(25,0.01815272); dy2jetsHTSFCentral_neg35->SetBinError(26,0.06566872); dy2jetsHTSFCentral_neg35->SetEntries(34288.5); dy2jetsHTSFCentral_neg35->SetDirectory(0); dy2jetsHTSFCentral_neg35->SetStats(0); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg35->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg35->SetMarkerColor(ci); dy2jetsHTSFCentral_neg35->SetMarkerStyle(20); dy2jetsHTSFCentral_neg35->GetXaxis()->SetTitle("JZB [GeV]"); dy2jetsHTSFCentral_neg35->GetXaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg35->GetXaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg35->GetXaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg35->GetXaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg35->GetYaxis()->SetTitle("Events / 8 GeV"); dy2jetsHTSFCentral_neg35->GetYaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg35->GetYaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg35->GetYaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg35->GetYaxis()->SetTitleOffset(1.1); dy2jetsHTSFCentral_neg35->GetYaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg35->GetZaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg35->GetZaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg35->GetZaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg35->GetZaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg35->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("dy2jetsHTSFCentral_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("dy2jetsHTSFCentral_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_2jets_HT_Central->cd(); // ------------>Primitives in pad: pad2 TPad *pad2 = new TPad("pad2", "pad2",0,0.05,1,0.25); pad2->Draw(); pad2->cd(); pad2->Range(-32.97561,-1,220.6829,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 *dy2jetsHTSFCentral_neg_ratio36 = new TH1F("dy2jetsHTSFCentral_neg_ratio36","",26,0,208); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(1,0.9765832); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(2,1.014277); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(3,0.9929813); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(4,1.05486); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(5,1.079834); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(6,1.077929); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(7,1.173069); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(8,1.096224); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(9,0.9760839); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(10,0.9739876); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(11,1.193866); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(12,0.6065069); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(13,0.6779197); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(14,0.3925279); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(15,0.6112754); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(16,0.6967806); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(17,0.2622531); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(18,0.4225021); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(19,2.306313); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(20,0.3957495); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(21,0.4715265); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(22,0.4892853); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(23,0.158551); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(24,0.1081932); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(25,0.4927094); dy2jetsHTSFCentral_neg_ratio36->SetBinContent(26,1.202051); dy2jetsHTSFCentral_neg_ratio36->SetBinError(1,0.01296223); dy2jetsHTSFCentral_neg_ratio36->SetBinError(2,0.01492908); dy2jetsHTSFCentral_neg_ratio36->SetBinError(3,0.01762342); dy2jetsHTSFCentral_neg_ratio36->SetBinError(4,0.02429221); dy2jetsHTSFCentral_neg_ratio36->SetBinError(5,0.03433176); dy2jetsHTSFCentral_neg_ratio36->SetBinError(6,0.04778827); dy2jetsHTSFCentral_neg_ratio36->SetBinError(7,0.07467096); dy2jetsHTSFCentral_neg_ratio36->SetBinError(8,0.09841411); dy2jetsHTSFCentral_neg_ratio36->SetBinError(9,0.1217485); dy2jetsHTSFCentral_neg_ratio36->SetBinError(10,0.1709373); dy2jetsHTSFCentral_neg_ratio36->SetBinError(11,0.234612); dy2jetsHTSFCentral_neg_ratio36->SetBinError(12,0.1672162); dy2jetsHTSFCentral_neg_ratio36->SetBinError(13,0.1586388); dy2jetsHTSFCentral_neg_ratio36->SetBinError(14,0.1326595); dy2jetsHTSFCentral_neg_ratio36->SetBinError(15,0.3099327); dy2jetsHTSFCentral_neg_ratio36->SetBinError(16,0.2232593); dy2jetsHTSFCentral_neg_ratio36->SetBinError(17,0.1233918); dy2jetsHTSFCentral_neg_ratio36->SetBinError(18,0.2059183); dy2jetsHTSFCentral_neg_ratio36->SetBinError(19,1.37282); dy2jetsHTSFCentral_neg_ratio36->SetBinError(20,0.3527809); dy2jetsHTSFCentral_neg_ratio36->SetBinError(21,0.327073); dy2jetsHTSFCentral_neg_ratio36->SetBinError(22,0.2868255); dy2jetsHTSFCentral_neg_ratio36->SetBinError(23,0.1680635); dy2jetsHTSFCentral_neg_ratio36->SetBinError(24,0.1015738); dy2jetsHTSFCentral_neg_ratio36->SetBinError(25,0.4981858); dy2jetsHTSFCentral_neg_ratio36->SetBinError(26,0.5249561); dy2jetsHTSFCentral_neg_ratio36->SetMinimum(0); dy2jetsHTSFCentral_neg_ratio36->SetMaximum(2); dy2jetsHTSFCentral_neg_ratio36->SetEntries(138.5439); dy2jetsHTSFCentral_neg_ratio36->SetStats(0); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg_ratio36->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg_ratio36->SetMarkerColor(ci); dy2jetsHTSFCentral_neg_ratio36->SetMarkerStyle(20); dy2jetsHTSFCentral_neg_ratio36->GetXaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg_ratio36->GetXaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg_ratio36->GetXaxis()->SetLabelSize(0.12); dy2jetsHTSFCentral_neg_ratio36->GetXaxis()->SetTitleSize(0.14); dy2jetsHTSFCentral_neg_ratio36->GetXaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg_ratio36->GetYaxis()->SetTitle("Ratio"); dy2jetsHTSFCentral_neg_ratio36->GetYaxis()->CenterTitle(true); dy2jetsHTSFCentral_neg_ratio36->GetYaxis()->SetNdivisions(4); dy2jetsHTSFCentral_neg_ratio36->GetYaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg_ratio36->GetYaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg_ratio36->GetYaxis()->SetLabelSize(0.12); dy2jetsHTSFCentral_neg_ratio36->GetYaxis()->SetTitleSize(0.14); dy2jetsHTSFCentral_neg_ratio36->GetYaxis()->SetTitleOffset(0.3); dy2jetsHTSFCentral_neg_ratio36->GetYaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg_ratio36->GetZaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg_ratio36->GetZaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg_ratio36->GetZaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg_ratio36->GetZaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg_ratio36->Draw("l, "); TLine *line = new TLine(0,1,208,1); ci = TColor::GetColor("#666666"); line->SetLineColor(ci); line->Draw(); Double_t Graph0_fx4[4] = { 0, 250, 250, 0}; Double_t Graph0_fy4[4] = { 0.7, 0.7, 1.3, 1.3}; TGraph *graph = new TGraph(4,Graph0_fx4,Graph0_fy4); graph->SetName("Graph0"); graph->SetTitle("Graph"); ci = 1182; color = new TColor(ci, 1, 0, 0, " ", 0.4); graph->SetFillColor(ci); graph->SetMarkerStyle(20); TH1F *Graph_Graph4 = new TH1F("Graph_Graph4","Graph",100,0,275); Graph_Graph4->SetMinimum(0.64); Graph_Graph4->SetMaximum(1.36); Graph_Graph4->SetDirectory(0); Graph_Graph4->SetStats(0); Graph_Graph4->SetMarkerStyle(20); Graph_Graph4->GetXaxis()->SetLabelFont(42); Graph_Graph4->GetXaxis()->SetLabelOffset(0.007); Graph_Graph4->GetXaxis()->SetTitleSize(0.05); Graph_Graph4->GetXaxis()->SetTitleFont(42); Graph_Graph4->GetYaxis()->SetLabelFont(42); Graph_Graph4->GetYaxis()->SetLabelOffset(0.007); Graph_Graph4->GetYaxis()->SetTitleSize(0.05); Graph_Graph4->GetYaxis()->SetTitleOffset(1.1); Graph_Graph4->GetYaxis()->SetTitleFont(42); Graph_Graph4->GetZaxis()->SetLabelFont(42); Graph_Graph4->GetZaxis()->SetLabelOffset(0.007); Graph_Graph4->GetZaxis()->SetTitleSize(0.05); Graph_Graph4->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph4); graph->Draw("f"); pad2->Modified(); finalPlots/closure_2jets_HT_Central->cd(); finalPlots/closure_2jets_HT_Central->Modified(); finalPlots/closure_2jets_HT_Central->cd(); finalPlots/closure_2jets_HT_Central->SetSelected(finalPlots/closure_2jets_HT_Central); }