void closure_2jets_HT_Central() { //=========Macro generated from canvas: finalPlots/closure_2jets_HT_Central/finalPlots/closure_2jets_HT_Central //========= (Fri Apr 15 17:29:32 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->SetOptFit(1); 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,-2.745627,220.6829,4.823909); 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_pos13 = new TH1F("dy2jetsHTSFCentral_pos13","",26,0,208); dy2jetsHTSFCentral_pos13->SetBinContent(1,8644.946); dy2jetsHTSFCentral_pos13->SetBinContent(2,6737.99); dy2jetsHTSFCentral_pos13->SetBinContent(3,4319.784); dy2jetsHTSFCentral_pos13->SetBinContent(4,2495.021); dy2jetsHTSFCentral_pos13->SetBinContent(5,1218.701); dy2jetsHTSFCentral_pos13->SetBinContent(6,545.7009); dy2jetsHTSFCentral_pos13->SetBinContent(7,240.2927); dy2jetsHTSFCentral_pos13->SetBinContent(8,97.89032); dy2jetsHTSFCentral_pos13->SetBinContent(9,47.02497); dy2jetsHTSFCentral_pos13->SetBinContent(10,20.29703); dy2jetsHTSFCentral_pos13->SetBinContent(11,11.60029); dy2jetsHTSFCentral_pos13->SetBinContent(12,5.018371); dy2jetsHTSFCentral_pos13->SetBinContent(13,3.246788); dy2jetsHTSFCentral_pos13->SetBinContent(14,2.248323); dy2jetsHTSFCentral_pos13->SetBinContent(15,1.329424); dy2jetsHTSFCentral_pos13->SetBinContent(16,1.040139); dy2jetsHTSFCentral_pos13->SetBinContent(17,0.475572); dy2jetsHTSFCentral_pos13->SetBinContent(18,0.4110056); dy2jetsHTSFCentral_pos13->SetBinContent(19,0.3147229); dy2jetsHTSFCentral_pos13->SetBinContent(20,0.4440742); dy2jetsHTSFCentral_pos13->SetBinContent(21,0.2702672); dy2jetsHTSFCentral_pos13->SetBinContent(22,0.2128224); dy2jetsHTSFCentral_pos13->SetBinContent(23,0.1410681); dy2jetsHTSFCentral_pos13->SetBinContent(24,0.05092936); dy2jetsHTSFCentral_pos13->SetBinContent(25,0.04843021); dy2jetsHTSFCentral_pos13->SetBinContent(26,0.9104896); dy2jetsHTSFCentral_pos13->SetBinError(1,80.69704); dy2jetsHTSFCentral_pos13->SetBinError(2,63.93196); dy2jetsHTSFCentral_pos13->SetBinError(3,46.00577); dy2jetsHTSFCentral_pos13->SetBinError(4,38.41624); dy2jetsHTSFCentral_pos13->SetBinError(5,20.50416); dy2jetsHTSFCentral_pos13->SetBinError(6,16.38133); dy2jetsHTSFCentral_pos13->SetBinError(7,8.348781); dy2jetsHTSFCentral_pos13->SetBinError(8,6.938931); dy2jetsHTSFCentral_pos13->SetBinError(9,3.847479); dy2jetsHTSFCentral_pos13->SetBinError(10,1.791844); dy2jetsHTSFCentral_pos13->SetBinError(11,1.285964); dy2jetsHTSFCentral_pos13->SetBinError(12,0.6937836); dy2jetsHTSFCentral_pos13->SetBinError(13,0.4604295); dy2jetsHTSFCentral_pos13->SetBinError(14,0.256706); dy2jetsHTSFCentral_pos13->SetBinError(15,0.1761435); dy2jetsHTSFCentral_pos13->SetBinError(16,0.162681); dy2jetsHTSFCentral_pos13->SetBinError(17,0.1230324); dy2jetsHTSFCentral_pos13->SetBinError(18,0.09879215); dy2jetsHTSFCentral_pos13->SetBinError(19,0.0731537); dy2jetsHTSFCentral_pos13->SetBinError(20,0.2765656); dy2jetsHTSFCentral_pos13->SetBinError(21,0.09055075); dy2jetsHTSFCentral_pos13->SetBinError(22,0.06002221); dy2jetsHTSFCentral_pos13->SetBinError(23,0.04611814); dy2jetsHTSFCentral_pos13->SetBinError(24,0.02846763); dy2jetsHTSFCentral_pos13->SetBinError(25,0.02790173); dy2jetsHTSFCentral_pos13->SetBinError(26,0.3995044); dy2jetsHTSFCentral_pos13->SetEntries(39625.46); dy2jetsHTSFCentral_pos13->SetDirectory(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ff0000"); dy2jetsHTSFCentral_pos13->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); dy2jetsHTSFCentral_pos13->SetMarkerColor(ci); dy2jetsHTSFCentral_pos13->SetMarkerStyle(20); dy2jetsHTSFCentral_pos13->GetXaxis()->SetTitle("JZB [GeV]"); dy2jetsHTSFCentral_pos13->GetXaxis()->SetLabelFont(42); dy2jetsHTSFCentral_pos13->GetXaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_pos13->GetXaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_pos13->GetXaxis()->SetTitleFont(42); dy2jetsHTSFCentral_pos13->GetYaxis()->SetTitle("Events / 8 GeV"); dy2jetsHTSFCentral_pos13->GetYaxis()->SetLabelFont(42); dy2jetsHTSFCentral_pos13->GetYaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_pos13->GetYaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_pos13->GetYaxis()->SetTitleOffset(1.1); dy2jetsHTSFCentral_pos13->GetYaxis()->SetTitleFont(42); dy2jetsHTSFCentral_pos13->GetZaxis()->SetLabelFont(42); dy2jetsHTSFCentral_pos13->GetZaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_pos13->GetZaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_pos13->GetZaxis()->SetTitleFont(42); dy2jetsHTSFCentral_pos13->Draw("E,"); TH1F *dy2jetsHTSFCentral_neg14 = new TH1F("dy2jetsHTSFCentral_neg14","",26,0,208); dy2jetsHTSFCentral_neg14->SetBinContent(1,8725.803); dy2jetsHTSFCentral_neg14->SetBinContent(2,6995.012); dy2jetsHTSFCentral_neg14->SetBinContent(3,4332.881); dy2jetsHTSFCentral_neg14->SetBinContent(4,2269.131); dy2jetsHTSFCentral_neg14->SetBinContent(5,1122.704); dy2jetsHTSFCentral_neg14->SetBinContent(6,483.2565); dy2jetsHTSFCentral_neg14->SetBinContent(7,213.8405); dy2jetsHTSFCentral_neg14->SetBinContent(8,89.22766); dy2jetsHTSFCentral_neg14->SetBinContent(9,34.12928); dy2jetsHTSFCentral_neg14->SetBinContent(10,19.73059); dy2jetsHTSFCentral_neg14->SetBinContent(11,11.11077); dy2jetsHTSFCentral_neg14->SetBinContent(12,5.510687); dy2jetsHTSFCentral_neg14->SetBinContent(13,4.316019); dy2jetsHTSFCentral_neg14->SetBinContent(14,4.05167); dy2jetsHTSFCentral_neg14->SetBinContent(15,1.838477); dy2jetsHTSFCentral_neg14->SetBinContent(16,1.156261); dy2jetsHTSFCentral_neg14->SetBinContent(17,1.029319); dy2jetsHTSFCentral_neg14->SetBinContent(18,0.3656898); dy2jetsHTSFCentral_neg14->SetBinContent(19,0.9014916); dy2jetsHTSFCentral_neg14->SetBinContent(20,0.2173654); dy2jetsHTSFCentral_neg14->SetBinContent(21,0.6541393); dy2jetsHTSFCentral_neg14->SetBinContent(22,0.3008002); dy2jetsHTSFCentral_neg14->SetBinContent(23,0.3434159); dy2jetsHTSFCentral_neg14->SetBinContent(24,0.0457401); dy2jetsHTSFCentral_neg14->SetBinContent(25,0.2659439); dy2jetsHTSFCentral_neg14->SetBinContent(26,0.7358131); dy2jetsHTSFCentral_neg14->SetBinError(1,82.71475); dy2jetsHTSFCentral_neg14->SetBinError(2,77.71686); dy2jetsHTSFCentral_neg14->SetBinError(3,45.23712); dy2jetsHTSFCentral_neg14->SetBinError(4,31.8072); dy2jetsHTSFCentral_neg14->SetBinError(5,25.70254); dy2jetsHTSFCentral_neg14->SetBinError(6,13.89167); dy2jetsHTSFCentral_neg14->SetBinError(7,8.048929); dy2jetsHTSFCentral_neg14->SetBinError(8,4.905569); dy2jetsHTSFCentral_neg14->SetBinError(9,2.712322); dy2jetsHTSFCentral_neg14->SetBinError(10,2.045889); dy2jetsHTSFCentral_neg14->SetBinError(11,1.615404); dy2jetsHTSFCentral_neg14->SetBinError(12,0.9243947); dy2jetsHTSFCentral_neg14->SetBinError(13,0.8437888); dy2jetsHTSFCentral_neg14->SetBinError(14,0.946569); dy2jetsHTSFCentral_neg14->SetBinError(15,0.4143062); dy2jetsHTSFCentral_neg14->SetBinError(16,0.2430405); dy2jetsHTSFCentral_neg14->SetBinError(17,0.3571022); dy2jetsHTSFCentral_neg14->SetBinError(18,0.1007859); dy2jetsHTSFCentral_neg14->SetBinError(19,0.4035306); dy2jetsHTSFCentral_neg14->SetBinError(20,0.06335965); dy2jetsHTSFCentral_neg14->SetBinError(21,0.4170302); dy2jetsHTSFCentral_neg14->SetBinError(22,0.09631645); dy2jetsHTSFCentral_neg14->SetBinError(23,0.1021746); dy2jetsHTSFCentral_neg14->SetBinError(24,0.04089634); dy2jetsHTSFCentral_neg14->SetBinError(25,0.2659325); dy2jetsHTSFCentral_neg14->SetBinError(26,0.1424802); dy2jetsHTSFCentral_neg14->SetEntries(34994.41); dy2jetsHTSFCentral_neg14->SetDirectory(0); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg14->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg14->SetMarkerColor(ci); dy2jetsHTSFCentral_neg14->SetMarkerStyle(20); dy2jetsHTSFCentral_neg14->GetXaxis()->SetTitle("JZB [GeV]"); dy2jetsHTSFCentral_neg14->GetXaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg14->GetXaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg14->GetXaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg14->GetXaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg14->GetYaxis()->SetTitle("Events / 8 GeV"); dy2jetsHTSFCentral_neg14->GetYaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg14->GetYaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg14->GetYaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg14->GetYaxis()->SetTitleOffset(1.1); dy2jetsHTSFCentral_neg14->GetYaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg14->GetZaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg14->GetZaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg14->GetZaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg14->GetZaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg14->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_ratio15 = new TH1F("dy2jetsHTSFCentral_neg_ratio15","",26,0,208); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(1,0.9907336); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(2,0.9632565); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(3,0.9969773); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(4,1.099549); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(5,1.085506); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(6,1.129216); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(7,1.123701); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(8,1.097085); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(9,1.377848); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(10,1.028709); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(11,1.044058); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(12,0.9106616); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(13,0.7522645); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(14,0.5549128); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(15,0.7231114); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(16,0.8995714); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(17,0.4620258); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(18,1.123919); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(19,0.3491136); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(20,2.042984); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(21,0.4131646); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(22,0.7075208); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(23,0.4107792); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(24,1.113451); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(25,0.1821069); dy2jetsHTSFCentral_neg_ratio15->SetBinContent(26,1.237392); dy2jetsHTSFCentral_neg_ratio15->SetBinError(1,0.01318057); dy2jetsHTSFCentral_neg_ratio15->SetBinError(2,0.01407366); dy2jetsHTSFCentral_neg_ratio15->SetBinError(3,0.01486885); dy2jetsHTSFCentral_neg_ratio15->SetBinError(4,0.02289489); dy2jetsHTSFCentral_neg_ratio15->SetBinError(5,0.03084014); dy2jetsHTSFCentral_neg_ratio15->SetBinError(6,0.04693332); dy2jetsHTSFCentral_neg_ratio15->SetBinError(7,0.0575607); dy2jetsHTSFCentral_neg_ratio15->SetBinError(8,0.09841556); dy2jetsHTSFCentral_neg_ratio15->SetBinError(9,0.1571589); dy2jetsHTSFCentral_neg_ratio15->SetBinError(10,0.1400912); dy2jetsHTSFCentral_neg_ratio15->SetBinError(11,0.1908873); dy2jetsHTSFCentral_neg_ratio15->SetBinError(12,0.197954); dy2jetsHTSFCentral_neg_ratio15->SetBinError(13,0.1816858); dy2jetsHTSFCentral_neg_ratio15->SetBinError(14,0.1442951); dy2jetsHTSFCentral_neg_ratio15->SetBinError(15,0.1890341); dy2jetsHTSFCentral_neg_ratio15->SetBinError(16,0.2356876); dy2jetsHTSFCentral_neg_ratio15->SetBinError(17,0.1999502); dy2jetsHTSFCentral_neg_ratio15->SetBinError(18,0.4110136); dy2jetsHTSFCentral_neg_ratio15->SetBinError(19,0.1760849); dy2jetsHTSFCentral_neg_ratio15->SetBinError(20,1.404818); dy2jetsHTSFCentral_neg_ratio15->SetBinError(21,0.297562); dy2jetsHTSFCentral_neg_ratio15->SetBinError(22,0.3018961); dy2jetsHTSFCentral_neg_ratio15->SetBinError(23,0.1815803); dy2jetsHTSFCentral_neg_ratio15->SetBinError(24,1.174076); dy2jetsHTSFCentral_neg_ratio15->SetBinError(25,0.2101604); dy2jetsHTSFCentral_neg_ratio15->SetBinError(26,0.5934619); dy2jetsHTSFCentral_neg_ratio15->SetMinimum(0); dy2jetsHTSFCentral_neg_ratio15->SetMaximum(2); dy2jetsHTSFCentral_neg_ratio15->SetEntries(126.5546); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg_ratio15->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg_ratio15->SetMarkerColor(ci); dy2jetsHTSFCentral_neg_ratio15->SetMarkerStyle(20); dy2jetsHTSFCentral_neg_ratio15->GetXaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg_ratio15->GetXaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg_ratio15->GetXaxis()->SetLabelSize(0.12); dy2jetsHTSFCentral_neg_ratio15->GetXaxis()->SetTitleSize(0.14); dy2jetsHTSFCentral_neg_ratio15->GetXaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg_ratio15->GetYaxis()->SetTitle("Ratio"); dy2jetsHTSFCentral_neg_ratio15->GetYaxis()->CenterTitle(true); dy2jetsHTSFCentral_neg_ratio15->GetYaxis()->SetNdivisions(4); dy2jetsHTSFCentral_neg_ratio15->GetYaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg_ratio15->GetYaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg_ratio15->GetYaxis()->SetLabelSize(0.12); dy2jetsHTSFCentral_neg_ratio15->GetYaxis()->SetTitleSize(0.14); dy2jetsHTSFCentral_neg_ratio15->GetYaxis()->SetTitleOffset(0.3); dy2jetsHTSFCentral_neg_ratio15->GetYaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg_ratio15->GetZaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg_ratio15->GetZaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg_ratio15->GetZaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg_ratio15->GetZaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg_ratio15->Draw("l, "); TLine *line = new TLine(0,1,208,1); ci = TColor::GetColor("#666666"); line->SetLineColor(ci); line->Draw(); Double_t Graph0_fx1[4] = { 0, 250, 250, 0}; Double_t Graph0_fy1[4] = { 0.7, 0.7, 1.3, 1.3}; TGraph *graph = new TGraph(4,Graph0_fx1,Graph0_fy1); graph->SetName("Graph0"); graph->SetTitle("Graph"); ci = 1179; color = new TColor(ci, 1, 0, 0, " ", 0.4); graph->SetFillColor(ci); graph->SetMarkerStyle(20); TH1F *Graph_Graph1 = new TH1F("Graph_Graph1","Graph",100,0,275); Graph_Graph1->SetMinimum(0.64); Graph_Graph1->SetMaximum(1.36); Graph_Graph1->SetDirectory(0); Graph_Graph1->SetStats(0); Graph_Graph1->SetMarkerStyle(20); Graph_Graph1->GetXaxis()->SetLabelFont(42); Graph_Graph1->GetXaxis()->SetLabelOffset(0.007); Graph_Graph1->GetXaxis()->SetTitleSize(0.05); Graph_Graph1->GetXaxis()->SetTitleFont(42); Graph_Graph1->GetYaxis()->SetLabelFont(42); Graph_Graph1->GetYaxis()->SetLabelOffset(0.007); Graph_Graph1->GetYaxis()->SetTitleSize(0.05); Graph_Graph1->GetYaxis()->SetTitleOffset(1.1); Graph_Graph1->GetYaxis()->SetTitleFont(42); Graph_Graph1->GetZaxis()->SetLabelFont(42); Graph_Graph1->GetZaxis()->SetLabelOffset(0.007); Graph_Graph1->GetZaxis()->SetTitleSize(0.05); Graph_Graph1->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph1); 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); }