void atlasClosure_inc() { //=========Macro generated from canvas: atlasClosure/atlasClosure_inc/atlasClosure/atlasClosure_inc //========= (Fri Jul 22 15:00:53 2016) by ROOT version6.06/01 TCanvas *atlasClosure/atlasClosure_inc = new TCanvas("atlasClosure/atlasClosure_inc", "atlasClosure/atlasClosure_inc",0,0,600,600); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); atlasClosure/atlasClosure_inc->SetHighLightColor(2); atlasClosure/atlasClosure_inc->Range(0,0,1,1); atlasClosure/atlasClosure_inc->SetFillColor(0); atlasClosure/atlasClosure_inc->SetBorderMode(0); atlasClosure/atlasClosure_inc->SetBorderSize(2); atlasClosure/atlasClosure_inc->SetTickx(1); atlasClosure/atlasClosure_inc->SetTicky(1); atlasClosure/atlasClosure_inc->SetLeftMargin(0.13); atlasClosure/atlasClosure_inc->SetRightMargin(0.05); atlasClosure/atlasClosure_inc->SetTopMargin(0.08); atlasClosure/atlasClosure_inc->SetBottomMargin(0.13); atlasClosure/atlasClosure_inc->SetFrameFillStyle(0); atlasClosure/atlasClosure_inc->SetFrameBorderMode(0); // ------------>Primitives in pad: pad1 TPad *pad1 = new TPad("pad1", "pad1",0,0.25,1,1); pad1->Draw(); pad1->cd(); pad1->Range(-30.12195,-2.887123,201.5854,3.445589); 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 *atlas_pos_sf_treeHisto__9 = new TH1F("atlas_pos_sf_treeHisto__9","DY+Jets",19,0,190); atlas_pos_sf_treeHisto__9->SetBinContent(1,455.948); atlas_pos_sf_treeHisto__9->SetBinContent(2,353.587); atlas_pos_sf_treeHisto__9->SetBinContent(3,242.7201); atlas_pos_sf_treeHisto__9->SetBinContent(4,148.3241); atlas_pos_sf_treeHisto__9->SetBinContent(5,79.57269); atlas_pos_sf_treeHisto__9->SetBinContent(6,41.23251); atlas_pos_sf_treeHisto__9->SetBinContent(7,18.43909); atlas_pos_sf_treeHisto__9->SetBinContent(8,8.789006); atlas_pos_sf_treeHisto__9->SetBinContent(9,4.108639); atlas_pos_sf_treeHisto__9->SetBinContent(10,1.873239); atlas_pos_sf_treeHisto__9->SetBinContent(11,0.7134076); atlas_pos_sf_treeHisto__9->SetBinContent(12,0.409587); atlas_pos_sf_treeHisto__9->SetBinContent(13,0.2417002); atlas_pos_sf_treeHisto__9->SetBinContent(14,0.1032734); atlas_pos_sf_treeHisto__9->SetBinContent(15,0.06335763); atlas_pos_sf_treeHisto__9->SetBinContent(16,0.03439245); atlas_pos_sf_treeHisto__9->SetBinContent(17,0.05411118); atlas_pos_sf_treeHisto__9->SetBinContent(18,0.01114752); atlas_pos_sf_treeHisto__9->SetBinContent(19,0.0817066); atlas_pos_sf_treeHisto__9->SetBinError(1,2.640672); atlas_pos_sf_treeHisto__9->SetBinError(2,2.231484); atlas_pos_sf_treeHisto__9->SetBinError(3,1.830143); atlas_pos_sf_treeHisto__9->SetBinError(4,1.383808); atlas_pos_sf_treeHisto__9->SetBinError(5,1.001998); atlas_pos_sf_treeHisto__9->SetBinError(6,0.7064439); atlas_pos_sf_treeHisto__9->SetBinError(7,0.4202803); atlas_pos_sf_treeHisto__9->SetBinError(8,0.2811033); atlas_pos_sf_treeHisto__9->SetBinError(9,0.1849119); atlas_pos_sf_treeHisto__9->SetBinError(10,0.1204249); atlas_pos_sf_treeHisto__9->SetBinError(11,0.0685498); atlas_pos_sf_treeHisto__9->SetBinError(12,0.05787893); atlas_pos_sf_treeHisto__9->SetBinError(13,0.05186375); atlas_pos_sf_treeHisto__9->SetBinError(14,0.02805426); atlas_pos_sf_treeHisto__9->SetBinError(15,0.02206447); atlas_pos_sf_treeHisto__9->SetBinError(16,0.01879547); atlas_pos_sf_treeHisto__9->SetBinError(17,0.02187655); atlas_pos_sf_treeHisto__9->SetBinError(18,0.0112993); atlas_pos_sf_treeHisto__9->SetBinError(19,0.03065335); atlas_pos_sf_treeHisto__9->SetEntries(97542.55); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ff0000"); atlas_pos_sf_treeHisto__9->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); atlas_pos_sf_treeHisto__9->SetMarkerColor(ci); atlas_pos_sf_treeHisto__9->SetMarkerStyle(20); atlas_pos_sf_treeHisto__9->GetXaxis()->SetTitle("JZB [GeV]"); atlas_pos_sf_treeHisto__9->GetXaxis()->SetLabelFont(42); atlas_pos_sf_treeHisto__9->GetXaxis()->SetLabelOffset(0.007); atlas_pos_sf_treeHisto__9->GetXaxis()->SetTitleSize(0.05); atlas_pos_sf_treeHisto__9->GetXaxis()->SetTitleFont(42); atlas_pos_sf_treeHisto__9->GetYaxis()->SetTitle("Events / 10 GeV"); atlas_pos_sf_treeHisto__9->GetYaxis()->SetLabelFont(42); atlas_pos_sf_treeHisto__9->GetYaxis()->SetLabelOffset(0.007); atlas_pos_sf_treeHisto__9->GetYaxis()->SetTitleSize(0.05); atlas_pos_sf_treeHisto__9->GetYaxis()->SetTitleOffset(1.1); atlas_pos_sf_treeHisto__9->GetYaxis()->SetTitleFont(42); atlas_pos_sf_treeHisto__9->GetZaxis()->SetLabelFont(42); atlas_pos_sf_treeHisto__9->GetZaxis()->SetLabelOffset(0.007); atlas_pos_sf_treeHisto__9->GetZaxis()->SetTitleSize(0.05); atlas_pos_sf_treeHisto__9->GetZaxis()->SetTitleFont(42); atlas_pos_sf_treeHisto__9->Draw("E,"); TH1F *atlas_neg_sf_treeHisto__10 = new TH1F("atlas_neg_sf_treeHisto__10","DY+Jets",19,0,190); atlas_neg_sf_treeHisto__10->SetBinContent(1,477.061); atlas_neg_sf_treeHisto__10->SetBinContent(2,358.5211); atlas_neg_sf_treeHisto__10->SetBinContent(3,230.0062); atlas_neg_sf_treeHisto__10->SetBinContent(4,133.9591); atlas_neg_sf_treeHisto__10->SetBinContent(5,72.131); atlas_neg_sf_treeHisto__10->SetBinContent(6,35.19318); atlas_neg_sf_treeHisto__10->SetBinContent(7,17.01815); atlas_neg_sf_treeHisto__10->SetBinContent(8,8.156916); atlas_neg_sf_treeHisto__10->SetBinContent(9,3.568948); atlas_neg_sf_treeHisto__10->SetBinContent(10,1.743314); atlas_neg_sf_treeHisto__10->SetBinContent(11,0.9155211); atlas_neg_sf_treeHisto__10->SetBinContent(12,0.4896457); atlas_neg_sf_treeHisto__10->SetBinContent(13,0.2416378); atlas_neg_sf_treeHisto__10->SetBinContent(14,0.1654084); atlas_neg_sf_treeHisto__10->SetBinContent(15,0.04940258); atlas_neg_sf_treeHisto__10->SetBinContent(16,0.05258878); atlas_neg_sf_treeHisto__10->SetBinContent(17,0.02971373); atlas_neg_sf_treeHisto__10->SetBinContent(18,0.03740134); atlas_neg_sf_treeHisto__10->SetBinContent(19,0.04913518); atlas_neg_sf_treeHisto__10->SetBinError(1,2.712663); atlas_neg_sf_treeHisto__10->SetBinError(2,2.281215); atlas_neg_sf_treeHisto__10->SetBinError(3,1.75703); atlas_neg_sf_treeHisto__10->SetBinError(4,1.292707); atlas_neg_sf_treeHisto__10->SetBinError(5,0.911641); atlas_neg_sf_treeHisto__10->SetBinError(6,0.5936044); atlas_neg_sf_treeHisto__10->SetBinError(7,0.4268308); atlas_neg_sf_treeHisto__10->SetBinError(8,0.3001874); atlas_neg_sf_treeHisto__10->SetBinError(9,0.1752537); atlas_neg_sf_treeHisto__10->SetBinError(10,0.1110807); atlas_neg_sf_treeHisto__10->SetBinError(11,0.0814516); atlas_neg_sf_treeHisto__10->SetBinError(12,0.05697022); atlas_neg_sf_treeHisto__10->SetBinError(13,0.04040756); atlas_neg_sf_treeHisto__10->SetBinError(14,0.03312999); atlas_neg_sf_treeHisto__10->SetBinError(15,0.01795899); atlas_neg_sf_treeHisto__10->SetBinError(16,0.01834145); atlas_neg_sf_treeHisto__10->SetBinError(17,0.01333201); atlas_neg_sf_treeHisto__10->SetBinError(18,0.01697925); atlas_neg_sf_treeHisto__10->SetBinError(19,0.01793741); atlas_neg_sf_treeHisto__10->SetEntries(95716.89); ci = TColor::GetColor("#0000ff"); atlas_neg_sf_treeHisto__10->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); atlas_neg_sf_treeHisto__10->SetMarkerColor(ci); atlas_neg_sf_treeHisto__10->SetMarkerStyle(20); atlas_neg_sf_treeHisto__10->GetXaxis()->SetTitle("JZB [GeV]"); atlas_neg_sf_treeHisto__10->GetXaxis()->SetLabelFont(42); atlas_neg_sf_treeHisto__10->GetXaxis()->SetLabelOffset(0.007); atlas_neg_sf_treeHisto__10->GetXaxis()->SetTitleSize(0.05); atlas_neg_sf_treeHisto__10->GetXaxis()->SetTitleFont(42); atlas_neg_sf_treeHisto__10->GetYaxis()->SetTitle("Events / 10 GeV"); atlas_neg_sf_treeHisto__10->GetYaxis()->SetLabelFont(42); atlas_neg_sf_treeHisto__10->GetYaxis()->SetLabelOffset(0.007); atlas_neg_sf_treeHisto__10->GetYaxis()->SetTitleSize(0.05); atlas_neg_sf_treeHisto__10->GetYaxis()->SetTitleOffset(1.1); atlas_neg_sf_treeHisto__10->GetYaxis()->SetTitleFont(42); atlas_neg_sf_treeHisto__10->GetZaxis()->SetLabelFont(42); atlas_neg_sf_treeHisto__10->GetZaxis()->SetLabelOffset(0.007); atlas_neg_sf_treeHisto__10->GetZaxis()->SetTitleSize(0.05); atlas_neg_sf_treeHisto__10->GetZaxis()->SetTitleFont(42); atlas_neg_sf_treeHisto__10->Draw("HIST,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_sf_treeHisto","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("atlas_neg_sf_treeHisto","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,"7.65 fb^{-1} (13 TeV)"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); pad1->Modified(); atlasClosure/atlasClosure_inc->cd(); // ------------>Primitives in pad: pad2 TPad *pad2 = new TPad("pad2", "pad2",0,0.05,1,0.25); pad2->Draw(); pad2->cd(); pad2->Range(-30.12195,-1,201.5854,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 *neg_sf_ratio_ratio__11 = new TH1F("neg_sf_ratio_ratio__11","",19,0,190); neg_sf_ratio_ratio__11->SetBinContent(1,0.9557436); neg_sf_ratio_ratio__11->SetBinContent(2,0.9862376); neg_sf_ratio_ratio__11->SetBinContent(3,1.055277); neg_sf_ratio_ratio__11->SetBinContent(4,1.107234); neg_sf_ratio_ratio__11->SetBinContent(5,1.103169); neg_sf_ratio_ratio__11->SetBinContent(6,1.171605); neg_sf_ratio_ratio__11->SetBinContent(7,1.083496); neg_sf_ratio_ratio__11->SetBinContent(8,1.077491); neg_sf_ratio_ratio__11->SetBinContent(9,1.151219); neg_sf_ratio_ratio__11->SetBinContent(10,1.074527); neg_sf_ratio_ratio__11->SetBinContent(11,0.7792367); neg_sf_ratio_ratio__11->SetBinContent(12,0.8364968); neg_sf_ratio_ratio__11->SetBinContent(13,1.000258); neg_sf_ratio_ratio__11->SetBinContent(14,0.6243537); neg_sf_ratio_ratio__11->SetBinContent(15,1.282476); neg_sf_ratio_ratio__11->SetBinContent(16,0.6539883); neg_sf_ratio_ratio__11->SetBinContent(17,1.821084); neg_sf_ratio_ratio__11->SetBinContent(18,0.2980513); neg_sf_ratio_ratio__11->SetBinContent(19,1.662894); neg_sf_ratio_ratio__11->SetBinError(1,0.007757174); neg_sf_ratio_ratio__11->SetBinError(2,0.008838495); neg_sf_ratio_ratio__11->SetBinError(3,0.01132685); neg_sf_ratio_ratio__11->SetBinError(4,0.01486189); neg_sf_ratio_ratio__11->SetBinError(5,0.01968162); neg_sf_ratio_ratio__11->SetBinError(6,0.02816833); neg_sf_ratio_ratio__11->SetBinError(7,0.03672027); neg_sf_ratio_ratio__11->SetBinError(8,0.05253587); neg_sf_ratio_ratio__11->SetBinError(9,0.07668206); neg_sf_ratio_ratio__11->SetBinError(10,0.09725996); neg_sf_ratio_ratio__11->SetBinError(11,0.1020416); neg_sf_ratio_ratio__11->SetBinError(12,0.1531176); neg_sf_ratio_ratio__11->SetBinError(13,0.2721141); neg_sf_ratio_ratio__11->SetBinError(14,0.2107237); neg_sf_ratio_ratio__11->SetBinError(15,0.6456208); neg_sf_ratio_ratio__11->SetBinError(16,0.423986); neg_sf_ratio_ratio__11->SetBinError(17,1.099857); neg_sf_ratio_ratio__11->SetBinError(18,0.3310261); neg_sf_ratio_ratio__11->SetBinError(19,0.8704712); neg_sf_ratio_ratio__11->SetMinimum(0); neg_sf_ratio_ratio__11->SetMaximum(2); neg_sf_ratio_ratio__11->SetEntries(136.6594); ci = TColor::GetColor("#666699"); neg_sf_ratio_ratio__11->SetFillColor(ci); ci = TColor::GetColor("#0000ff"); neg_sf_ratio_ratio__11->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); neg_sf_ratio_ratio__11->SetMarkerColor(ci); neg_sf_ratio_ratio__11->SetMarkerStyle(20); neg_sf_ratio_ratio__11->SetMarkerSize(0); neg_sf_ratio_ratio__11->GetXaxis()->SetLabelFont(42); neg_sf_ratio_ratio__11->GetXaxis()->SetLabelOffset(0.007); neg_sf_ratio_ratio__11->GetXaxis()->SetLabelSize(0.12); neg_sf_ratio_ratio__11->GetXaxis()->SetTitleSize(0.14); neg_sf_ratio_ratio__11->GetXaxis()->SetTitleFont(42); neg_sf_ratio_ratio__11->GetYaxis()->SetTitle("Ratio"); neg_sf_ratio_ratio__11->GetYaxis()->CenterTitle(true); neg_sf_ratio_ratio__11->GetYaxis()->SetNdivisions(4); neg_sf_ratio_ratio__11->GetYaxis()->SetLabelFont(42); neg_sf_ratio_ratio__11->GetYaxis()->SetLabelOffset(0.007); neg_sf_ratio_ratio__11->GetYaxis()->SetLabelSize(0.12); neg_sf_ratio_ratio__11->GetYaxis()->SetTitleSize(0.14); neg_sf_ratio_ratio__11->GetYaxis()->SetTitleOffset(0.3); neg_sf_ratio_ratio__11->GetYaxis()->SetTitleFont(42); neg_sf_ratio_ratio__11->GetZaxis()->SetLabelFont(42); neg_sf_ratio_ratio__11->GetZaxis()->SetLabelOffset(0.007); neg_sf_ratio_ratio__11->GetZaxis()->SetTitleSize(0.05); neg_sf_ratio_ratio__11->GetZaxis()->SetTitleFont(42); neg_sf_ratio_ratio__11->Draw("P,E2,"); TH1F *neg_sf_ratio_ratio__12 = new TH1F("neg_sf_ratio_ratio__12","",19,0,190); neg_sf_ratio_ratio__12->SetBinContent(1,0.9557436); neg_sf_ratio_ratio__12->SetBinContent(2,0.9862376); neg_sf_ratio_ratio__12->SetBinContent(3,1.055277); neg_sf_ratio_ratio__12->SetBinContent(4,1.107234); neg_sf_ratio_ratio__12->SetBinContent(5,1.103169); neg_sf_ratio_ratio__12->SetBinContent(6,1.171605); neg_sf_ratio_ratio__12->SetBinContent(7,1.083496); neg_sf_ratio_ratio__12->SetBinContent(8,1.077491); neg_sf_ratio_ratio__12->SetBinContent(9,1.151219); neg_sf_ratio_ratio__12->SetBinContent(10,1.074527); neg_sf_ratio_ratio__12->SetBinContent(11,0.7792367); neg_sf_ratio_ratio__12->SetBinContent(12,0.8364968); neg_sf_ratio_ratio__12->SetBinContent(13,1.000258); neg_sf_ratio_ratio__12->SetBinContent(14,0.6243537); neg_sf_ratio_ratio__12->SetBinContent(15,1.282476); neg_sf_ratio_ratio__12->SetBinContent(16,0.6539883); neg_sf_ratio_ratio__12->SetBinContent(17,1.821084); neg_sf_ratio_ratio__12->SetBinContent(18,0.2980513); neg_sf_ratio_ratio__12->SetBinContent(19,1.662894); neg_sf_ratio_ratio__12->SetBinError(1,0.007757174); neg_sf_ratio_ratio__12->SetBinError(2,0.008838495); neg_sf_ratio_ratio__12->SetBinError(3,0.01132685); neg_sf_ratio_ratio__12->SetBinError(4,0.01486189); neg_sf_ratio_ratio__12->SetBinError(5,0.01968162); neg_sf_ratio_ratio__12->SetBinError(6,0.02816833); neg_sf_ratio_ratio__12->SetBinError(7,0.03672027); neg_sf_ratio_ratio__12->SetBinError(8,0.05253587); neg_sf_ratio_ratio__12->SetBinError(9,0.07668206); neg_sf_ratio_ratio__12->SetBinError(10,0.09725996); neg_sf_ratio_ratio__12->SetBinError(11,0.1020416); neg_sf_ratio_ratio__12->SetBinError(12,0.1531176); neg_sf_ratio_ratio__12->SetBinError(13,0.2721141); neg_sf_ratio_ratio__12->SetBinError(14,0.2107237); neg_sf_ratio_ratio__12->SetBinError(15,0.6456208); neg_sf_ratio_ratio__12->SetBinError(16,0.423986); neg_sf_ratio_ratio__12->SetBinError(17,1.099857); neg_sf_ratio_ratio__12->SetBinError(18,0.3310261); neg_sf_ratio_ratio__12->SetBinError(19,0.8704712); neg_sf_ratio_ratio__12->SetMinimum(0); neg_sf_ratio_ratio__12->SetMaximum(2); neg_sf_ratio_ratio__12->SetEntries(136.6594); ci = TColor::GetColor("#666699"); neg_sf_ratio_ratio__12->SetFillColor(ci); ci = TColor::GetColor("#0000ff"); neg_sf_ratio_ratio__12->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); neg_sf_ratio_ratio__12->SetMarkerColor(ci); neg_sf_ratio_ratio__12->SetMarkerStyle(20); neg_sf_ratio_ratio__12->SetMarkerSize(0); neg_sf_ratio_ratio__12->GetXaxis()->SetLabelFont(42); neg_sf_ratio_ratio__12->GetXaxis()->SetLabelOffset(0.007); neg_sf_ratio_ratio__12->GetXaxis()->SetLabelSize(0.12); neg_sf_ratio_ratio__12->GetXaxis()->SetTitleSize(0.14); neg_sf_ratio_ratio__12->GetXaxis()->SetTitleFont(42); neg_sf_ratio_ratio__12->GetYaxis()->SetTitle("Ratio"); neg_sf_ratio_ratio__12->GetYaxis()->CenterTitle(true); neg_sf_ratio_ratio__12->GetYaxis()->SetNdivisions(4); neg_sf_ratio_ratio__12->GetYaxis()->SetLabelFont(42); neg_sf_ratio_ratio__12->GetYaxis()->SetLabelOffset(0.007); neg_sf_ratio_ratio__12->GetYaxis()->SetLabelSize(0.12); neg_sf_ratio_ratio__12->GetYaxis()->SetTitleSize(0.14); neg_sf_ratio_ratio__12->GetYaxis()->SetTitleOffset(0.3); neg_sf_ratio_ratio__12->GetYaxis()->SetTitleFont(42); neg_sf_ratio_ratio__12->GetZaxis()->SetLabelFont(42); neg_sf_ratio_ratio__12->GetZaxis()->SetLabelOffset(0.007); neg_sf_ratio_ratio__12->GetZaxis()->SetTitleSize(0.05); neg_sf_ratio_ratio__12->GetZaxis()->SetTitleFont(42); neg_sf_ratio_ratio__12->Draw("P,same"); Double_t Graph0_fx3[4] = { 0, 190, 190, 0}; Double_t Graph0_fy3[4] = { 0.7, 0.7, 1.3, 1.3}; TGraph *graph = new TGraph(4,Graph0_fx3,Graph0_fy3); graph->SetName("Graph0"); graph->SetTitle("Graph"); ci = 1437; color = new TColor(ci, 1, 0, 0, " ", 0.4); graph->SetFillColor(ci); graph->SetMarkerStyle(20); TH1F *Graph_Graph3 = new TH1F("Graph_Graph3","Graph",100,0,209); Graph_Graph3->SetMinimum(0.64); Graph_Graph3->SetMaximum(1.36); Graph_Graph3->SetDirectory(0); Graph_Graph3->SetStats(0); Graph_Graph3->SetMarkerStyle(20); Graph_Graph3->GetXaxis()->SetLabelFont(42); Graph_Graph3->GetXaxis()->SetLabelOffset(0.007); Graph_Graph3->GetXaxis()->SetTitleSize(0.05); Graph_Graph3->GetXaxis()->SetTitleFont(42); Graph_Graph3->GetYaxis()->SetLabelFont(42); Graph_Graph3->GetYaxis()->SetLabelOffset(0.007); Graph_Graph3->GetYaxis()->SetTitleSize(0.05); Graph_Graph3->GetYaxis()->SetTitleOffset(1.1); Graph_Graph3->GetYaxis()->SetTitleFont(42); Graph_Graph3->GetZaxis()->SetLabelFont(42); Graph_Graph3->GetZaxis()->SetLabelOffset(0.007); Graph_Graph3->GetZaxis()->SetTitleSize(0.05); Graph_Graph3->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph3); graph->Draw("f"); TLine *line = new TLine(0,1,190,1); ci = TColor::GetColor("#666666"); line->SetLineColor(ci); line->Draw(); pad2->Modified(); atlasClosure/atlasClosure_inc->cd(); atlasClosure/atlasClosure_inc->Modified(); atlasClosure/atlasClosure_inc->cd(); atlasClosure/atlasClosure_inc->SetSelected(atlasClosure/atlasClosure_inc); }