void RECOeffcanvasAK8() { //=========Macro generated from canvas: RECOeffcanvasAK8/ //========= (Mon Apr 18 15:04:43 2016) by ROOT version6.06/01 TCanvas *RECOeffcanvasAK8 = new TCanvas("RECOeffcanvasAK8", "",3,54,600,600); RECOeffcanvasAK8->Range(-187.013,-0.2142857,851.9481,1.214286); RECOeffcanvasAK8->SetFillColor(0); RECOeffcanvasAK8->SetBorderMode(0); RECOeffcanvasAK8->SetBorderSize(10); RECOeffcanvasAK8->SetGridx(); RECOeffcanvasAK8->SetGridy(); RECOeffcanvasAK8->SetLeftMargin(0.18); RECOeffcanvasAK8->SetRightMargin(0.05); RECOeffcanvasAK8->SetTopMargin(0.08); RECOeffcanvasAK8->SetBottomMargin(0.15); RECOeffcanvasAK8->SetFrameFillStyle(0); RECOeffcanvasAK8->SetFrameLineStyle(0); RECOeffcanvasAK8->SetFrameBorderMode(0); RECOeffcanvasAK8->SetFrameBorderSize(10); RECOeffcanvasAK8->SetFrameFillStyle(0); RECOeffcanvasAK8->SetFrameLineStyle(0); RECOeffcanvasAK8->SetFrameBorderMode(0); RECOeffcanvasAK8->SetFrameBorderSize(10); Double_t eff_graph_fx3081[126] = { 52.5, 57.5, 62.5, 67.5, 72.5, 77.5, 82.5, 87.5, 92.5, 97.5, 102.5, 107.5, 112.5, 117.5, 122.5, 127.5, 132.5, 137.5, 142.5, 147.5, 152.5, 157.5, 162.5, 167.5, 172.5, 177.5, 182.5, 187.5, 192.5, 197.5, 202.5, 207.5, 212.5, 217.5, 222.5, 227.5, 232.5, 237.5, 242.5, 247.5, 252.5, 257.5, 262.5, 267.5, 272.5, 277.5, 282.5, 287.5, 292.5, 297.5, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790, 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030, 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1325, 1375, 1425, 1475, 1525, 1575, 1625, 1675, 1725, 1775, 1825, 1875, 1925, 1975}; Double_t eff_graph_fy3081[126] = { 0.8134632, 0.8885927, 0.9316515, 0.9624267, 0.9783165, 0.9873622, 0.9931764, 0.9962653, 0.9978798, 0.9989451, 0.9991764, 0.9997675, 0.9998339, 0.9998955, 0.9999391, 0.9999276, 0.9999924, 0.9999788, 0.9999904, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3081[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fely3081[126] = { 0.001772942, 0.001399621, 0.001094013, 0.0008035532, 0.0006073117, 0.0004674899, 0.0003383091, 0.0002447864, 0.0001871765, 0.0001290351, 0.0001181734, 6.159595e-05, 4.857716e-05, 4.296116e-05, 3.656575e-05, 4.087438e-05, 7.65805e-06, 2.1206e-05, 9.578967e-06, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t eff_graph_fehx3081[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fehy3081[126] = { 0.001772942, 0.001399621, 0.001094013, 0.0008035532, 0.0006073117, 0.0004674899, 0.0003383091, 0.0002447864, 0.0001871765, 0.0001290351, 0.0001181734, 6.159595e-05, 4.857716e-05, 4.296116e-05, 3.656575e-05, 4.087438e-05, 7.627296e-06, 2.119413e-05, 9.550341e-06, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(126,eff_graph_fx3081,eff_graph_fy3081,eff_graph_felx3081,eff_graph_fehx3081,eff_graph_fely3081,eff_graph_fehy3081); grae->SetName("eff_graph"); grae->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); grae->SetFillColor(19); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ff0000"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#ff0000"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(20); grae->SetMarkerSize(0.9); TH1F *Graph_eff_graph3081 = new TH1F("Graph_eff_graph3081","Efficiencies for AK8 HLT paths - Using RECO jets",126,0,800); Graph_eff_graph3081->SetMinimum(0); Graph_eff_graph3081->SetMaximum(1.1); Graph_eff_graph3081->SetDirectory(0); Graph_eff_graph3081->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3081->SetLineColor(ci); Graph_eff_graph3081->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3081->GetXaxis()->SetLabelFont(42); Graph_eff_graph3081->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3081->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3081->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3081->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3081->GetXaxis()->SetTitleFont(42); Graph_eff_graph3081->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3081->GetYaxis()->SetLabelFont(42); Graph_eff_graph3081->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3081->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3081->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3081->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3081->GetYaxis()->SetTitleFont(42); Graph_eff_graph3081->GetZaxis()->SetLabelFont(42); Graph_eff_graph3081->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3081->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3081->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3081); TF1 *turnon_403082 = new TF1("turnon_40","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",0,97.5); turnon_403082->SetFillColor(19); turnon_403082->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_403082->SetLineColor(ci); turnon_403082->SetLineWidth(2); turnon_403082->SetChisquare(3.592756e-05); turnon_403082->SetNDF(7); turnon_403082->GetXaxis()->SetLabelFont(42); turnon_403082->GetXaxis()->SetLabelSize(0.035); turnon_403082->GetXaxis()->SetTitleSize(0.035); turnon_403082->GetXaxis()->SetTitleFont(42); turnon_403082->GetYaxis()->SetLabelFont(42); turnon_403082->GetYaxis()->SetLabelSize(0.035); turnon_403082->GetYaxis()->SetTitleSize(0.035); turnon_403082->GetYaxis()->SetTitleFont(42); turnon_403082->SetParameter(0,37.56915); turnon_403082->SetParError(0,0.4782278); turnon_403082->SetParLimits(0,0,0); turnon_403082->SetParameter(1,23.27032); turnon_403082->SetParError(1,0.6513111); turnon_403082->SetParLimits(1,0,0); turnon_403082->SetParameter(2,0.9970559); turnon_403082->SetParError(2,0.00120025); turnon_403082->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_403082); grae->Draw("ap"); Double_t eff_graph_fx3083[126] = { 52.5, 57.5, 62.5, 67.5, 72.5, 77.5, 82.5, 87.5, 92.5, 97.5, 102.5, 107.5, 112.5, 117.5, 122.5, 127.5, 132.5, 137.5, 142.5, 147.5, 152.5, 157.5, 162.5, 167.5, 172.5, 177.5, 182.5, 187.5, 192.5, 197.5, 202.5, 207.5, 212.5, 217.5, 222.5, 227.5, 232.5, 237.5, 242.5, 247.5, 252.5, 257.5, 262.5, 267.5, 272.5, 277.5, 282.5, 287.5, 292.5, 297.5, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790, 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030, 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1325, 1375, 1425, 1475, 1525, 1575, 1625, 1675, 1725, 1775, 1825, 1875, 1925, 1975}; Double_t eff_graph_fy3083[126] = { 0.106962, 0.2117814, 0.333599, 0.4513408, 0.5623038, 0.6595069, 0.7424464, 0.8134457, 0.8676643, 0.9134757, 0.9423057, 0.9652286, 0.9788465, 0.9873088, 0.993097, 0.9961767, 0.9975967, 0.9988083, 0.9991018, 0.99948, 0.9996926, 0.9998728, 0.9998483, 0.999955, 0.9999794, 1, 1, 0.9999722, 0.999968, 1, 1, 0.9999637, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3083[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fely3083[126] = { 0.001195351, 0.001554362, 0.001777068, 0.001870468, 0.001870108, 0.001793421, 0.001664308, 0.001501433, 0.001320312, 0.001101978, 0.000930517, 0.000742546, 0.0005943816, 0.0004635533, 0.0003516365, 0.0002708461, 0.0002151721, 0.0001553112, 0.0001358958, 0.0001037979, 8.311967e-05, 5.382999e-05, 6.309885e-05, 3.371454e-05, 2.067718e-05, 0, 0, 1.968945e-05, 3.200144e-05, 0, 0, 3.617216e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t eff_graph_fehx3083[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fehy3083[126] = { 0.001195351, 0.001554362, 0.001777068, 0.001870468, 0.001870108, 0.001793421, 0.001664308, 0.001501433, 0.001320312, 0.001101978, 0.000930517, 0.000742546, 0.0005943816, 0.0004635533, 0.0003516365, 0.0002708461, 0.0002151721, 0.0001553112, 0.0001358958, 0.0001037979, 8.311967e-05, 5.382999e-05, 6.309885e-05, 3.371454e-05, 2.062876e-05, 0, 0, 1.968945e-05, 3.200144e-05, 0, 0, 3.617216e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3083,eff_graph_fy3083,eff_graph_felx3083,eff_graph_fehx3083,eff_graph_fely3083,eff_graph_fehy3083); grae->SetName("eff_graph"); grae->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); grae->SetFillColor(19); ci = TColor::GetColor("#00ff00"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#00ff00"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(20); grae->SetMarkerSize(0.9); TH1F *Graph_eff_graph3083 = new TH1F("Graph_eff_graph3083","Efficiencies for AK8 HLT paths - Using RECO jets",126,0,800); Graph_eff_graph3083->SetMinimum(0); Graph_eff_graph3083->SetMaximum(1.1); Graph_eff_graph3083->SetDirectory(0); Graph_eff_graph3083->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3083->SetLineColor(ci); Graph_eff_graph3083->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3083->GetXaxis()->SetLabelFont(42); Graph_eff_graph3083->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3083->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3083->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3083->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3083->GetXaxis()->SetTitleFont(42); Graph_eff_graph3083->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3083->GetYaxis()->SetLabelFont(42); Graph_eff_graph3083->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3083->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3083->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3083->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3083->GetYaxis()->SetTitleFont(42); Graph_eff_graph3083->GetZaxis()->SetLabelFont(42); Graph_eff_graph3083->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3083->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3083->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3083); TF1 *turnon_603084 = new TF1("turnon_60","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",67.5,137.5); turnon_603084->SetFillColor(19); turnon_603084->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_603084->SetLineColor(ci); turnon_603084->SetLineWidth(2); turnon_603084->SetChisquare(0.0001919476); turnon_603084->SetNDF(12); turnon_603084->GetXaxis()->SetLabelFont(42); turnon_603084->GetXaxis()->SetLabelSize(0.035); turnon_603084->GetXaxis()->SetTitleSize(0.035); turnon_603084->GetXaxis()->SetTitleFont(42); turnon_603084->GetYaxis()->SetLabelFont(42); turnon_603084->GetYaxis()->SetLabelSize(0.035); turnon_603084->GetYaxis()->SetTitleSize(0.035); turnon_603084->GetYaxis()->SetTitleFont(42); turnon_603084->SetParameter(0,69.44885); turnon_603084->SetParError(0,0.1325061); turnon_603084->SetParLimits(0,0,0); turnon_603084->SetParameter(1,28.4201); turnon_603084->SetParError(1,0.3645527); turnon_603084->SetParLimits(1,0,0); turnon_603084->SetParameter(2,0.9964978); turnon_603084->SetParError(2,0.001796749); turnon_603084->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_603084); grae->Draw("p"); Double_t eff_graph_fx3085[126] = { 52.5, 57.5, 62.5, 67.5, 72.5, 77.5, 82.5, 87.5, 92.5, 97.5, 102.5, 107.5, 112.5, 117.5, 122.5, 127.5, 132.5, 137.5, 142.5, 147.5, 152.5, 157.5, 162.5, 167.5, 172.5, 177.5, 182.5, 187.5, 192.5, 197.5, 202.5, 207.5, 212.5, 217.5, 222.5, 227.5, 232.5, 237.5, 242.5, 247.5, 252.5, 257.5, 262.5, 267.5, 272.5, 277.5, 282.5, 287.5, 292.5, 297.5, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790, 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030, 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1325, 1375, 1425, 1475, 1525, 1575, 1625, 1675, 1725, 1775, 1825, 1875, 1925, 1975}; Double_t eff_graph_fy3085[126] = { 0.0008962343, 0.004673558, 0.01513183, 0.04062308, 0.08937579, 0.1668824, 0.259822, 0.3622203, 0.4628085, 0.5600206, 0.6499496, 0.7358645, 0.8062018, 0.8637657, 0.9106202, 0.9435718, 0.9641391, 0.9791654, 0.9862176, 0.9930692, 0.9958323, 0.9974676, 0.998158, 0.9992303, 0.9996077, 0.9997439, 0.9997717, 0.9998648, 0.9999307, 0.9999905, 1, 0.9999637, 1, 0.9999199, 1, 0.9999712, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3085[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fely3085[126] = { 9.628818e-05, 0.0002252533, 0.000411002, 0.0006646872, 0.0009437803, 0.00123423, 0.001465783, 0.00164146, 0.001739147, 0.00177146, 0.001744504, 0.001653122, 0.001521138, 0.001349061, 0.001152893, 0.0009589998, 0.0007863047, 0.0006165485, 0.0005164497, 0.0003714354, 0.0002960918, 0.0002359666, 0.0002075247, 0.0001403598, 9.040985e-05, 8.12668e-05, 7.568918e-05, 5.49475e-05, 4.167003e-05, 9.488208e-06, 0, 3.617216e-05, 0, 5.66425e-05, 0, 2.860597e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t eff_graph_fehx3085[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fehy3085[126] = { 9.628818e-05, 0.0002252533, 0.000411002, 0.0006646872, 0.0009437803, 0.00123423, 0.001465783, 0.00164146, 0.001739147, 0.00177146, 0.001744504, 0.001653122, 0.001521138, 0.001349061, 0.001152893, 0.0009589998, 0.0007863047, 0.0006165485, 0.0005164497, 0.0003714354, 0.0002960918, 0.0002359666, 0.0002075247, 0.0001403598, 9.040985e-05, 8.12668e-05, 7.568918e-05, 5.49475e-05, 4.167003e-05, 9.450361e-06, 0, 3.617216e-05, 0, 5.66425e-05, 0, 2.860597e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3085,eff_graph_fy3085,eff_graph_felx3085,eff_graph_fehx3085,eff_graph_fely3085,eff_graph_fehy3085); grae->SetName("eff_graph"); grae->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); grae->SetFillColor(19); ci = TColor::GetColor("#0000ff"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#0000ff"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(20); grae->SetMarkerSize(0.9); TH1F *Graph_eff_graph3085 = new TH1F("Graph_eff_graph3085","Efficiencies for AK8 HLT paths - Using RECO jets",126,0,800); Graph_eff_graph3085->SetMinimum(0); Graph_eff_graph3085->SetMaximum(1.1); Graph_eff_graph3085->SetDirectory(0); Graph_eff_graph3085->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3085->SetLineColor(ci); Graph_eff_graph3085->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3085->GetXaxis()->SetLabelFont(42); Graph_eff_graph3085->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3085->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3085->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3085->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3085->GetXaxis()->SetTitleFont(42); Graph_eff_graph3085->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3085->GetYaxis()->SetLabelFont(42); Graph_eff_graph3085->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3085->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3085->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3085->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3085->GetYaxis()->SetTitleFont(42); Graph_eff_graph3085->GetZaxis()->SetLabelFont(42); Graph_eff_graph3085->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3085->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3085->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3085); TF1 *turnon_803086 = new TF1("turnon_80","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",92.5,162.5); turnon_803086->SetFillColor(19); turnon_803086->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_803086->SetLineColor(ci); turnon_803086->SetLineWidth(2); turnon_803086->SetChisquare(1.147448e-05); turnon_803086->SetNDF(12); turnon_803086->GetXaxis()->SetLabelFont(42); turnon_803086->GetXaxis()->SetLabelSize(0.035); turnon_803086->GetXaxis()->SetTitleSize(0.035); turnon_803086->GetXaxis()->SetTitleFont(42); turnon_803086->GetYaxis()->SetLabelFont(42); turnon_803086->GetYaxis()->SetLabelSize(0.035); turnon_803086->GetYaxis()->SetTitleSize(0.035); turnon_803086->GetYaxis()->SetTitleFont(42); turnon_803086->SetParameter(0,94.36747); turnon_803086->SetParError(0,0.03344468); turnon_803086->SetParLimits(0,0,0); turnon_803086->SetParameter(1,29.48651); turnon_803086->SetParError(1,0.09175577); turnon_803086->SetParLimits(1,0,0); turnon_803086->SetParameter(2,0.9984137); turnon_803086->SetParError(2,0.0004504316); turnon_803086->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_803086); grae->Draw("p"); Double_t eff_graph_fx3087[126] = { 52.5, 57.5, 62.5, 67.5, 72.5, 77.5, 82.5, 87.5, 92.5, 97.5, 102.5, 107.5, 112.5, 117.5, 122.5, 127.5, 132.5, 137.5, 142.5, 147.5, 152.5, 157.5, 162.5, 167.5, 172.5, 177.5, 182.5, 187.5, 192.5, 197.5, 202.5, 207.5, 212.5, 217.5, 222.5, 227.5, 232.5, 237.5, 242.5, 247.5, 252.5, 257.5, 262.5, 267.5, 272.5, 277.5, 282.5, 287.5, 292.5, 297.5, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790, 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030, 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1325, 1375, 1425, 1475, 1525, 1575, 1625, 1675, 1725, 1775, 1825, 1875, 1925, 1975}; Double_t eff_graph_fy3087[126] = { 4.641606e-07, 1.666542e-07, 6.445435e-07, 1.555581e-06, 8.543597e-07, 5.311824e-06, 1.187005e-05, 3.957886e-05, 0.0002052443, 0.0004482917, 0.001137073, 0.002021336, 0.004688205, 0.009070805, 0.01845954, 0.04020108, 0.08104957, 0.1406958, 0.2180783, 0.3056457, 0.3944062, 0.4889977, 0.5798978, 0.6723146, 0.7488556, 0.8149866, 0.86489, 0.9076208, 0.9393149, 0.9595069, 0.9738874, 0.9839417, 0.9897481, 0.9937243, 0.9968458, 0.9974688, 0.9986224, 0.9990455, 0.9992386, 0.9993946, 0.9996388, 0.9994408, 0.999824, 0.9999403, 0.9999276, 0.9998059, 1, 0.9999233, 0.9999539, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3087[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fely3087[126] = { 4.641606e-07, 9.682345e-08, 4.049148e-07, 5.86224e-07, 4.428955e-07, 1.919493e-06, 3.006254e-06, 7.826532e-06, 3.810591e-05, 5.383615e-05, 9.805812e-05, 0.0001314284, 0.0002102149, 0.000287597, 0.0004126777, 0.0006059889, 0.0008526459, 0.001116042, 0.001380288, 0.001603756, 0.001772874, 0.001894089, 0.001934029, 0.001914684, 0.001838365, 0.001698541, 0.001536143, 0.001353811, 0.00114145, 0.0009765885, 0.0008055779, 0.000661563, 0.0005311503, 0.0004364448, 0.0003146342, 0.0002842682, 0.0002051607, 0.0001855334, 0.0001747072, 0.0001470156, 0.0001202438, 0.0001549531, 7.776707e-05, 5.977963e-05, 5.233745e-05, 8.866502e-05, 0, 6.741447e-05, 4.60921e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t eff_graph_fehx3087[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fehy3087[126] = { 4.641646e-07, 9.682345e-08, 4.049148e-07, 5.86224e-07, 4.428955e-07, 1.919493e-06, 3.006254e-06, 7.826532e-06, 3.810591e-05, 5.383615e-05, 9.805812e-05, 0.0001314284, 0.0002102149, 0.000287597, 0.0004126777, 0.0006059889, 0.0008526459, 0.001116042, 0.001380288, 0.001603756, 0.001772874, 0.001894089, 0.001934029, 0.001914684, 0.001838365, 0.001698541, 0.001536143, 0.001353811, 0.00114145, 0.0009765885, 0.0008055779, 0.000661563, 0.0005311503, 0.0004364448, 0.0003146342, 0.0002842682, 0.0002051607, 0.0001855334, 0.0001747072, 0.0001470156, 0.0001202438, 0.0001549531, 7.776707e-05, 5.97186e-05, 5.233745e-05, 8.866502e-05, 0, 6.741447e-05, 4.60921e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3087,eff_graph_fy3087,eff_graph_felx3087,eff_graph_fehx3087,eff_graph_fely3087,eff_graph_fehy3087); grae->SetName("eff_graph"); grae->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); grae->SetFillColor(19); ci = TColor::GetColor("#ff00ff"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#ff00ff"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(20); grae->SetMarkerSize(0.9); TH1F *Graph_eff_graph3087 = new TH1F("Graph_eff_graph3087","Efficiencies for AK8 HLT paths - Using RECO jets",126,0,800); Graph_eff_graph3087->SetMinimum(0); Graph_eff_graph3087->SetMaximum(1.1); Graph_eff_graph3087->SetDirectory(0); Graph_eff_graph3087->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3087->SetLineColor(ci); Graph_eff_graph3087->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3087->GetXaxis()->SetLabelFont(42); Graph_eff_graph3087->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3087->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3087->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3087->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3087->GetXaxis()->SetTitleFont(42); Graph_eff_graph3087->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3087->GetYaxis()->SetLabelFont(42); Graph_eff_graph3087->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3087->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3087->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3087->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3087->GetYaxis()->SetTitleFont(42); Graph_eff_graph3087->GetZaxis()->SetLabelFont(42); Graph_eff_graph3087->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3087->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3087->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3087); TF1 *turnon_1403088 = new TF1("turnon_140","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",157.5,232.5); turnon_1403088->SetFillColor(19); turnon_1403088->SetFillStyle(0); ci = TColor::GetColor("#ff00ff"); turnon_1403088->SetLineColor(ci); turnon_1403088->SetLineWidth(2); turnon_1403088->SetChisquare(7.593992e-05); turnon_1403088->SetNDF(13); turnon_1403088->GetXaxis()->SetLabelFont(42); turnon_1403088->GetXaxis()->SetLabelSize(0.035); turnon_1403088->GetXaxis()->SetTitleSize(0.035); turnon_1403088->GetXaxis()->SetTitleFont(42); turnon_1403088->GetYaxis()->SetLabelFont(42); turnon_1403088->GetYaxis()->SetLabelSize(0.035); turnon_1403088->GetYaxis()->SetTitleSize(0.035); turnon_1403088->GetYaxis()->SetTitleFont(42); turnon_1403088->SetParameter(0,157.8639); turnon_1403088->SetParError(0,0.0931912); turnon_1403088->SetParLimits(0,0,0); turnon_1403088->SetParameter(1,30.91488); turnon_1403088->SetParError(1,0.2479231); turnon_1403088->SetParLimits(1,0,0); turnon_1403088->SetParameter(2,0.9965963); turnon_1403088->SetParError(2,0.001041566); turnon_1403088->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_1403088); grae->Draw("p"); Double_t eff_graph_fx3089[126] = { 52.5, 57.5, 62.5, 67.5, 72.5, 77.5, 82.5, 87.5, 92.5, 97.5, 102.5, 107.5, 112.5, 117.5, 122.5, 127.5, 132.5, 137.5, 142.5, 147.5, 152.5, 157.5, 162.5, 167.5, 172.5, 177.5, 182.5, 187.5, 192.5, 197.5, 202.5, 207.5, 212.5, 217.5, 222.5, 227.5, 232.5, 237.5, 242.5, 247.5, 252.5, 257.5, 262.5, 267.5, 272.5, 277.5, 282.5, 287.5, 292.5, 297.5, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790, 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030, 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1325, 1375, 1425, 1475, 1525, 1575, 1625, 1675, 1725, 1775, 1825, 1875, 1925, 1975}; Double_t eff_graph_fy3089[126] = { 0, 0, 0, 0, 3.417002e-08, 5.821205e-08, 0, 7.969573e-07, 3.405174e-07, 1.277943e-06, 1.044211e-06, 1.020037e-05, 8.724847e-06, 1.054061e-05, 1.679175e-05, 2.568309e-05, 3.987449e-05, 7.646185e-05, 0.0001508305, 0.0003285434, 0.0006562107, 0.001068499, 0.002088208, 0.003712634, 0.007253331, 0.01446698, 0.02868772, 0.0563396, 0.1016737, 0.1613696, 0.2411559, 0.3224359, 0.4077808, 0.500404, 0.5847114, 0.6705897, 0.7465746, 0.8049715, 0.8588367, 0.8949902, 0.924392, 0.9507938, 0.9683003, 0.9795009, 0.9855554, 0.9898714, 0.9937058, 0.9954287, 0.9970082, 0.9981063, 0.9989549, 0.999361, 0.9994364, 0.9998941, 0.9998392, 0.9999077, 0.9999859, 0.9998784, 0.9999298, 0.9999787, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3089[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fely3089[126] = { 0, 0, 0, 0, 3.417002e-08, 5.821205e-08, 0, 3.781785e-07, 1.547712e-07, 4.378551e-07, 5.446118e-07, 4.719369e-06, 4.023465e-06, 2.607009e-06, 3.433315e-06, 4.714528e-06, 8.000755e-06, 2.750648e-05, 2.842851e-05, 4.078792e-05, 7.478009e-05, 9.378786e-05, 0.0001474568, 0.0001951542, 0.0002682809, 0.0003930193, 0.0005538248, 0.0007967773, 0.001071586, 0.001352479, 0.001649622, 0.001872085, 0.002034308, 0.002159706, 0.002203956, 0.002177746, 0.002086004, 0.001956596, 0.001774589, 0.001621767, 0.001444487, 0.001205619, 0.001005278, 0.0008370591, 0.000719594, 0.0006321983, 0.0004932206, 0.0004367368, 0.0003571352, 0.0002970207, 0.0001562803, 0.000125122, 0.0001240829, 4.595005e-05, 6.266031e-05, 5.030754e-05, 1.405203e-05, 6.197188e-05, 5.336508e-05, 2.12907e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t eff_graph_fehx3089[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fehy3089[126] = { 0, 0, 0, 0, 3.417025e-08, 5.821243e-08, 0, 3.781785e-07, 1.547712e-07, 4.378551e-07, 5.446118e-07, 4.719369e-06, 4.023465e-06, 2.607009e-06, 3.433315e-06, 4.714528e-06, 8.000755e-06, 2.750648e-05, 2.842851e-05, 4.078792e-05, 7.478009e-05, 9.378786e-05, 0.0001474568, 0.0001951542, 0.0002682809, 0.0003930193, 0.0005538248, 0.0007967773, 0.001071586, 0.001352479, 0.001649622, 0.001872085, 0.002034308, 0.002159706, 0.002203956, 0.002177746, 0.002086004, 0.001956596, 0.001774589, 0.001621767, 0.001444487, 0.001205619, 0.001005278, 0.0008370591, 0.000719594, 0.0006321983, 0.0004932206, 0.0004367368, 0.0003571352, 0.0002970207, 0.0001562803, 0.000125122, 0.0001240829, 4.595005e-05, 6.266031e-05, 5.030754e-05, 1.405203e-05, 6.197188e-05, 5.336508e-05, 2.128975e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3089,eff_graph_fy3089,eff_graph_felx3089,eff_graph_fehx3089,eff_graph_fely3089,eff_graph_fehy3089); grae->SetName("eff_graph"); grae->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); grae->SetFillColor(19); ci = TColor::GetColor("#ffff00"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#ffff00"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(20); grae->SetMarkerSize(0.9); TH1F *Graph_eff_graph3089 = new TH1F("Graph_eff_graph3089","Efficiencies for AK8 HLT paths - Using RECO jets",126,0,800); Graph_eff_graph3089->SetMinimum(0); Graph_eff_graph3089->SetMaximum(1.1); Graph_eff_graph3089->SetDirectory(0); Graph_eff_graph3089->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3089->SetLineColor(ci); Graph_eff_graph3089->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3089->GetXaxis()->SetLabelFont(42); Graph_eff_graph3089->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3089->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3089->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3089->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3089->GetXaxis()->SetTitleFont(42); Graph_eff_graph3089->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3089->GetYaxis()->SetLabelFont(42); Graph_eff_graph3089->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3089->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3089->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3089->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3089->GetYaxis()->SetTitleFont(42); Graph_eff_graph3089->GetZaxis()->SetLabelFont(42); Graph_eff_graph3089->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3089->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3089->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3089); TF1 *turnon_2003090 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",212.5,305); turnon_2003090->SetFillColor(19); turnon_2003090->SetFillStyle(0); ci = TColor::GetColor("#ffff00"); turnon_2003090->SetLineColor(ci); turnon_2003090->SetLineWidth(2); turnon_2003090->SetChisquare(0.000226482); turnon_2003090->SetNDF(16); turnon_2003090->GetXaxis()->SetLabelFont(42); turnon_2003090->GetXaxis()->SetLabelSize(0.035); turnon_2003090->GetXaxis()->SetTitleSize(0.035); turnon_2003090->GetXaxis()->SetTitleFont(42); turnon_2003090->GetYaxis()->SetLabelFont(42); turnon_2003090->GetYaxis()->SetLabelSize(0.035); turnon_2003090->GetYaxis()->SetTitleSize(0.035); turnon_2003090->GetYaxis()->SetTitleFont(42); turnon_2003090->SetParameter(0,217.3909); turnon_2003090->SetParError(0,0.1209317); turnon_2003090->SetParLimits(0,0,0); turnon_2003090->SetParameter(1,32.68066); turnon_2003090->SetParError(1,0.3281); turnon_2003090->SetParLimits(1,0,0); turnon_2003090->SetParameter(2,0.9953637); turnon_2003090->SetParError(2,0.001412247); turnon_2003090->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2003090); grae->Draw("p"); Double_t eff_graph_fx3091[126] = { 52.5, 57.5, 62.5, 67.5, 72.5, 77.5, 82.5, 87.5, 92.5, 97.5, 102.5, 107.5, 112.5, 117.5, 122.5, 127.5, 132.5, 137.5, 142.5, 147.5, 152.5, 157.5, 162.5, 167.5, 172.5, 177.5, 182.5, 187.5, 192.5, 197.5, 202.5, 207.5, 212.5, 217.5, 222.5, 227.5, 232.5, 237.5, 242.5, 247.5, 252.5, 257.5, 262.5, 267.5, 272.5, 277.5, 282.5, 287.5, 292.5, 297.5, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790, 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030, 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1325, 1375, 1425, 1475, 1525, 1575, 1625, 1675, 1725, 1775, 1825, 1875, 1925, 1975}; Double_t eff_graph_fy3091[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.668751e-07, 2.863751e-08, 3.099965e-07, 0, 9.550325e-08, 1.197865e-06, 7.906828e-07, 1.56532e-06, 1.919867e-06, 3.599085e-06, 1.616569e-05, 1.476414e-05, 1.718724e-05, 1.564773e-05, 2.106887e-05, 3.73197e-05, 5.592316e-05, 0.0001396947, 0.0002256972, 0.0002684339, 0.0005087444, 0.0008014106, 0.001337678, 0.001995642, 0.003498256, 0.005610658, 0.009601624, 0.01526004, 0.02799118, 0.0492369, 0.08673848, 0.1376828, 0.2029335, 0.2761118, 0.3619236, 0.4434371, 0.5316221, 0.6118529, 0.6848501, 0.7595173, 0.8141767, 0.8806529, 0.937102, 0.9700715, 0.9866201, 0.9941778, 0.9970255, 0.9985688, 0.99922, 0.9993517, 0.9995389, 0.9995477, 0.9997697, 0.9998131, 0.9996614, 0.9999523, 0.9999405, 0.9999387, 0.9999768, 0.9999716, 0.999919, 0.9999689, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3091[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fely3091[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.668751e-07, 2.047854e-08, 2.000764e-07, 0, 9.550325e-08, 8.803015e-07, 3.796354e-07, 9.222851e-07, 7.594791e-07, 1.298114e-06, 8.126744e-06, 5.124985e-06, 4.020938e-06, 4.139248e-06, 4.557396e-06, 9.666637e-06, 1.100221e-05, 2.906675e-05, 3.981906e-05, 4.144684e-05, 7.432164e-05, 8.179458e-05, 0.0001117368, 0.0001483719, 0.0001967614, 0.0002721273, 0.0003599209, 0.0004579164, 0.0006340942, 0.0008574768, 0.001156141, 0.001444325, 0.001751731, 0.002005908, 0.00222386, 0.00237688, 0.002464418, 0.002474136, 0.002441783, 0.002310036, 0.002151101, 0.001328013, 0.001049978, 0.0007793894, 0.0005605655, 0.0003809971, 0.0002753953, 0.0002032924, 0.000148305, 0.0001482043, 0.0001275564, 0.0001299278, 9.071473e-05, 8.992926e-05, 0.0001285953, 2.974665e-05, 4.52264e-05, 4.365804e-05, 2.315664e-05, 2.846342e-05, 7.666149e-05, 3.110651e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t eff_graph_fehx3091[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fehy3091[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.668761e-07, 2.047854e-08, 2.000764e-07, 0, 9.550384e-08, 8.803015e-07, 3.796354e-07, 9.222851e-07, 7.594791e-07, 1.298114e-06, 8.126744e-06, 5.124985e-06, 4.020938e-06, 4.139248e-06, 4.557396e-06, 9.666637e-06, 1.100221e-05, 2.906675e-05, 3.981906e-05, 4.144684e-05, 7.432164e-05, 8.179458e-05, 0.0001117368, 0.0001483719, 0.0001967614, 0.0002721273, 0.0003599209, 0.0004579164, 0.0006340942, 0.0008574768, 0.001156141, 0.001444325, 0.001751731, 0.002005908, 0.00222386, 0.00237688, 0.002464418, 0.002474136, 0.002441783, 0.002310036, 0.002151101, 0.001328013, 0.001049978, 0.0007793894, 0.0005605655, 0.0003809971, 0.0002753953, 0.0002032924, 0.000148305, 0.0001482043, 0.0001275564, 0.0001299278, 9.071473e-05, 8.992926e-05, 0.0001285953, 2.974665e-05, 4.52264e-05, 4.365804e-05, 2.315664e-05, 2.844992e-05, 7.666149e-05, 3.110651e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3091,eff_graph_fy3091,eff_graph_felx3091,eff_graph_fehx3091,eff_graph_fely3091,eff_graph_fehy3091); grae->SetName("eff_graph"); grae->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); grae->SetFillColor(19); ci = TColor::GetColor("#ffcc00"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#ffcc00"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(20); grae->SetMarkerSize(0.9); TH1F *Graph_eff_graph3091 = new TH1F("Graph_eff_graph3091","Efficiencies for AK8 HLT paths - Using RECO jets",126,0,800); Graph_eff_graph3091->SetMinimum(0); Graph_eff_graph3091->SetMaximum(1.1); Graph_eff_graph3091->SetDirectory(0); Graph_eff_graph3091->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3091->SetLineColor(ci); Graph_eff_graph3091->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3091->GetXaxis()->SetLabelFont(42); Graph_eff_graph3091->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3091->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3091->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3091->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3091->GetXaxis()->SetTitleFont(42); Graph_eff_graph3091->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3091->GetYaxis()->SetLabelFont(42); Graph_eff_graph3091->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3091->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3091->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3091->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3091->GetYaxis()->SetTitleFont(42); Graph_eff_graph3091->GetZaxis()->SetLabelFont(42); Graph_eff_graph3091->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3091->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3091->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3091); TF1 *turnon_2603092 = new TF1("turnon_260","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",272.5,365); turnon_2603092->SetFillColor(19); turnon_2603092->SetFillStyle(0); ci = TColor::GetColor("#ffcc00"); turnon_2603092->SetLineColor(ci); turnon_2603092->SetLineWidth(2); turnon_2603092->SetChisquare(0.0001467713); turnon_2603092->SetNDF(10); turnon_2603092->GetXaxis()->SetLabelFont(42); turnon_2603092->GetXaxis()->SetLabelSize(0.035); turnon_2603092->GetXaxis()->SetTitleSize(0.035); turnon_2603092->GetXaxis()->SetTitleFont(42); turnon_2603092->GetYaxis()->SetLabelFont(42); turnon_2603092->GetYaxis()->SetLabelSize(0.035); turnon_2603092->GetYaxis()->SetTitleSize(0.035); turnon_2603092->GetYaxis()->SetTitleFont(42); turnon_2603092->SetParameter(0,275.5069); turnon_2603092->SetParError(0,0.1448035); turnon_2603092->SetParLimits(0,0,0); turnon_2603092->SetParameter(1,34.40171); turnon_2603092->SetParError(1,0.4279214); turnon_2603092->SetParLimits(1,0,0); turnon_2603092->SetParameter(2,0.9949169); turnon_2603092->SetParError(2,0.001901424); turnon_2603092->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2603092); grae->Draw("p"); Double_t eff_graph_fx3093[126] = { 52.5, 57.5, 62.5, 67.5, 72.5, 77.5, 82.5, 87.5, 92.5, 97.5, 102.5, 107.5, 112.5, 117.5, 122.5, 127.5, 132.5, 137.5, 142.5, 147.5, 152.5, 157.5, 162.5, 167.5, 172.5, 177.5, 182.5, 187.5, 192.5, 197.5, 202.5, 207.5, 212.5, 217.5, 222.5, 227.5, 232.5, 237.5, 242.5, 247.5, 252.5, 257.5, 262.5, 267.5, 272.5, 277.5, 282.5, 287.5, 292.5, 297.5, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790, 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030, 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1325, 1375, 1425, 1475, 1525, 1575, 1625, 1675, 1725, 1775, 1825, 1875, 1925, 1975}; Double_t eff_graph_fy3093[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.647598e-08, 9.602313e-09, 0, 0, 0, 0, 1.305617e-07, 1.010521e-07, 1.706548e-07, 1.143938e-07, 1.594679e-06, 5.377956e-07, 1.046925e-06, 1.61707e-06, 3.240672e-06, 3.928825e-06, 3.257568e-06, 7.27749e-06, 1.086143e-05, 1.823975e-05, 1.663171e-05, 5.499381e-05, 2.876757e-05, 7.254107e-05, 5.898706e-05, 0.0001155293, 0.0001229001, 0.0001627123, 0.0003366049, 0.000473144, 0.0005376935, 0.000917212, 0.001744434, 0.002251997, 0.00367117, 0.005500575, 0.008058568, 0.01417019, 0.02366962, 0.03998746, 0.08888531, 0.1956749, 0.3453805, 0.5085482, 0.666781, 0.7908209, 0.8819838, 0.9374164, 0.9676983, 0.9850199, 0.9926355, 0.9961503, 0.9981002, 0.9982359, 0.9989994, 0.9990663, 0.9994735, 0.9994908, 0.9996875, 0.9996775, 0.9997254, 0.9996974, 1, 0.9998178, 1, 0.9998459, 0.9999102, 1, 1, 1, 0.9999794, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3093[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fely3093[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.647598e-08, 9.602313e-09, 0, 0, 0, 0, 9.237001e-08, 1.010521e-07, 1.049733e-07, 1.143938e-07, 8.046473e-07, 2.826737e-07, 4.356711e-07, 6.980591e-07, 1.504499e-06, 1.631449e-06, 1.399626e-06, 3.137281e-06, 3.368628e-06, 5.42004e-06, 5.031201e-06, 1.422326e-05, 7.861273e-06, 1.839732e-05, 1.179265e-05, 2.184952e-05, 2.240955e-05, 2.867227e-05, 4.839865e-05, 6.279083e-05, 6.743478e-05, 0.0001031772, 0.0001575853, 0.0001636693, 0.000257303, 0.0002897847, 0.0003597353, 0.0005051919, 0.0006681526, 0.0008680401, 0.0009351742, 0.001373587, 0.001755011, 0.001945701, 0.001942197, 0.001769317, 0.001459927, 0.001170698, 0.0008978666, 0.0006361642, 0.0004779435, 0.0003643104, 0.0002539336, 0.0002636524, 0.0001874176, 0.0002002859, 0.0001493166, 0.0001427842, 0.0001217431, 0.0001261638, 0.0001072779, 0.0001297057, 0, 0.0001288231, 0, 0.0001179356, 8.982556e-05, 0, 0, 0, 2.050536e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t eff_graph_fehx3093[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fehy3093[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.647608e-08, 9.602372e-09, 0, 0, 0, 0, 9.237001e-08, 1.010528e-07, 1.049733e-07, 1.143945e-07, 8.046473e-07, 2.826737e-07, 4.356711e-07, 6.980591e-07, 1.504499e-06, 1.631449e-06, 1.399626e-06, 3.137281e-06, 3.368628e-06, 5.42004e-06, 5.031201e-06, 1.422326e-05, 7.861273e-06, 1.839732e-05, 1.179265e-05, 2.184952e-05, 2.240955e-05, 2.867227e-05, 4.839865e-05, 6.279083e-05, 6.743478e-05, 0.0001031772, 0.0001575853, 0.0001636693, 0.000257303, 0.0002897847, 0.0003597353, 0.0005051919, 0.0006681526, 0.0008680401, 0.0009351742, 0.001373587, 0.001755011, 0.001945701, 0.001942197, 0.001769317, 0.001459927, 0.001170698, 0.0008978666, 0.0006361642, 0.0004779435, 0.0003643104, 0.0002539336, 0.0002636524, 0.0001874176, 0.0002002859, 0.0001493166, 0.0001427842, 0.0001217431, 0.0001261638, 0.0001072779, 0.0001297057, 0, 0.0001288231, 0, 0.0001179356, 8.981265e-05, 0, 0, 0, 2.050536e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3093,eff_graph_fy3093,eff_graph_felx3093,eff_graph_fehx3093,eff_graph_fely3093,eff_graph_fehy3093); grae->SetName("eff_graph"); grae->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); grae->SetFillColor(19); ci = TColor::GetColor("#33ff00"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#33ff00"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(20); grae->SetMarkerSize(0.9); TH1F *Graph_eff_graph3093 = new TH1F("Graph_eff_graph3093","Efficiencies for AK8 HLT paths - Using RECO jets",126,0,800); Graph_eff_graph3093->SetMinimum(0); Graph_eff_graph3093->SetMaximum(1.1); Graph_eff_graph3093->SetDirectory(0); Graph_eff_graph3093->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3093->SetLineColor(ci); Graph_eff_graph3093->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3093->GetXaxis()->SetLabelFont(42); Graph_eff_graph3093->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3093->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3093->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3093->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3093->GetXaxis()->SetTitleFont(42); Graph_eff_graph3093->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3093->GetYaxis()->SetLabelFont(42); Graph_eff_graph3093->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3093->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3093->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3093->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3093->GetYaxis()->SetTitleFont(42); Graph_eff_graph3093->GetZaxis()->SetLabelFont(42); Graph_eff_graph3093->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3093->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3093->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3093); TF1 *turnon_3203094 = new TF1("turnon_320","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",325,445); turnon_3203094->SetFillColor(19); turnon_3203094->SetFillStyle(0); ci = TColor::GetColor("#33ff00"); turnon_3203094->SetLineColor(ci); turnon_3203094->SetLineWidth(2); turnon_3203094->SetChisquare(0.0001953576); turnon_3203094->SetNDF(10); turnon_3203094->GetXaxis()->SetLabelFont(42); turnon_3203094->GetXaxis()->SetLabelSize(0.035); turnon_3203094->GetXaxis()->SetTitleSize(0.035); turnon_3203094->GetXaxis()->SetTitleFont(42); turnon_3203094->GetYaxis()->SetLabelFont(42); turnon_3203094->GetYaxis()->SetLabelSize(0.035); turnon_3203094->GetYaxis()->SetTitleSize(0.035); turnon_3203094->GetYaxis()->SetTitleFont(42); turnon_3203094->SetParameter(0,334.4537); turnon_3203094->SetParError(0,0.1736224); turnon_3203094->SetParLimits(0,0,0); turnon_3203094->SetParameter(1,35.47468); turnon_3203094->SetParError(1,0.4517849); turnon_3203094->SetParLimits(1,0,0); turnon_3203094->SetParameter(2,0.995332); turnon_3203094->SetParError(2,0.001802513); turnon_3203094->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_3203094); grae->Draw("p"); Double_t eff_graph_fx3095[126] = { 52.5, 57.5, 62.5, 67.5, 72.5, 77.5, 82.5, 87.5, 92.5, 97.5, 102.5, 107.5, 112.5, 117.5, 122.5, 127.5, 132.5, 137.5, 142.5, 147.5, 152.5, 157.5, 162.5, 167.5, 172.5, 177.5, 182.5, 187.5, 192.5, 197.5, 202.5, 207.5, 212.5, 217.5, 222.5, 227.5, 232.5, 237.5, 242.5, 247.5, 252.5, 257.5, 262.5, 267.5, 272.5, 277.5, 282.5, 287.5, 292.5, 297.5, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790, 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030, 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1325, 1375, 1425, 1475, 1525, 1575, 1625, 1675, 1725, 1775, 1825, 1875, 1925, 1975}; Double_t eff_graph_fy3095[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.475437e-07, 1.123032e-07, 7.010581e-08, 4.302128e-07, 2.485974e-07, 7.069893e-08, 0, 7.851154e-07, 1.30689e-06, 6.825229e-07, 1.702281e-06, 1.794599e-07, 2.504672e-06, 2.145376e-06, 2.512697e-06, 4.043926e-06, 1.251002e-05, 1.206089e-05, 2.061992e-05, 1.70697e-05, 1.777367e-05, 2.43079e-05, 2.247658e-05, 4.258464e-05, 4.281044e-05, 4.931675e-05, 7.399888e-05, 0.0001049144, 0.000142921, 0.0001823334, 0.0004407194, 0.0007666529, 0.001735481, 0.003298311, 0.007332386, 0.01666244, 0.04753707, 0.1162869, 0.2300949, 0.3763328, 0.5368832, 0.6789748, 0.8002971, 0.8801429, 0.9353349, 0.9683254, 0.9837295, 0.9911987, 0.9950018, 0.9971078, 0.9973898, 0.9987825, 0.9986125, 0.9992638, 0.9994701, 0.9994955, 0.9997189, 0.9993022, 0.999609, 0.9997729, 0.9999357, 0.9999892, 1, 1, 1, 1, 1, 0.9999561, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3095[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fely3095[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.886699e-07, 8.193218e-08, 7.010581e-08, 3.295073e-07, 2.485974e-07, 7.069893e-08, 0, 4.7485e-07, 9.153914e-07, 5.374466e-07, 7.981544e-07, 1.794599e-07, 1.369022e-06, 1.01204e-06, 1.29667e-06, 1.415843e-06, 4.940434e-06, 3.777447e-06, 1.267028e-05, 8.403103e-06, 6.494655e-06, 1.004764e-05, 7.063179e-06, 1.059652e-05, 1.213997e-05, 1.24883e-05, 1.880999e-05, 2.133264e-05, 2.926156e-05, 2.536425e-05, 5.065712e-05, 7.376794e-05, 0.0001294515, 0.000178518, 0.000296865, 0.0004403379, 0.000808661, 0.001263642, 0.001739625, 0.002104323, 0.002264497, 0.00222301, 0.001994921, 0.001700066, 0.001327028, 0.001005529, 0.0007430032, 0.0005805817, 0.0004471057, 0.0003349032, 0.0003572316, 0.0002269576, 0.0002914359, 0.000196282, 0.0001810325, 0.0001833091, 0.0001232887, 0.0002290786, 0.0001745667, 9.904658e-05, 4.782653e-05, 1.076236e-05, 0, 0, 0, 0, 0, 4.383182e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t eff_graph_fehx3095[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fehy3095[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.886699e-07, 8.193218e-08, 7.010633e-08, 3.295073e-07, 2.485993e-07, 7.069949e-08, 0, 4.7485e-07, 9.153914e-07, 5.374466e-07, 7.981544e-07, 1.794615e-07, 1.369022e-06, 1.01204e-06, 1.29667e-06, 1.415843e-06, 4.940434e-06, 3.777447e-06, 1.267028e-05, 8.403103e-06, 6.494655e-06, 1.004764e-05, 7.063179e-06, 1.059652e-05, 1.213997e-05, 1.24883e-05, 1.880999e-05, 2.133264e-05, 2.926156e-05, 2.536425e-05, 5.065712e-05, 7.376794e-05, 0.0001294515, 0.000178518, 0.000296865, 0.0004403379, 0.000808661, 0.001263642, 0.001739625, 0.002104323, 0.002264497, 0.00222301, 0.001994921, 0.001700066, 0.001327028, 0.001005529, 0.0007430032, 0.0005805817, 0.0004471057, 0.0003349032, 0.0003572316, 0.0002269576, 0.0002914359, 0.000196282, 0.0001810325, 0.0001833091, 0.0001232887, 0.0002290786, 0.0001745667, 9.904658e-05, 4.782653e-05, 1.076236e-05, 0, 0, 0, 0, 0, 4.383182e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3095,eff_graph_fy3095,eff_graph_felx3095,eff_graph_fehx3095,eff_graph_fely3095,eff_graph_fehy3095); grae->SetName("eff_graph"); grae->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); grae->SetFillColor(19); ci = TColor::GetColor("#00ffcc"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#00ffcc"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(20); grae->SetMarkerSize(0.9); TH1F *Graph_eff_graph3095 = new TH1F("Graph_eff_graph3095","Efficiencies for AK8 HLT paths - Using RECO jets",126,0,800); Graph_eff_graph3095->SetMinimum(0); Graph_eff_graph3095->SetMaximum(1.1); Graph_eff_graph3095->SetDirectory(0); Graph_eff_graph3095->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3095->SetLineColor(ci); Graph_eff_graph3095->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3095->GetXaxis()->SetLabelFont(42); Graph_eff_graph3095->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3095->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3095->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3095->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3095->GetXaxis()->SetTitleFont(42); Graph_eff_graph3095->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3095->GetYaxis()->SetLabelFont(42); Graph_eff_graph3095->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3095->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3095->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3095->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3095->GetYaxis()->SetTitleFont(42); Graph_eff_graph3095->GetZaxis()->SetLabelFont(42); Graph_eff_graph3095->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3095->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3095->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3095); TF1 *turnon_4003096 = new TF1("turnon_400","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",405,535); turnon_4003096->SetFillColor(19); turnon_4003096->SetFillStyle(0); ci = TColor::GetColor("#00ffcc"); turnon_4003096->SetLineColor(ci); turnon_4003096->SetLineWidth(2); turnon_4003096->SetChisquare(0.0001972218); turnon_4003096->SetNDF(11); turnon_4003096->GetXaxis()->SetLabelFont(42); turnon_4003096->GetXaxis()->SetLabelSize(0.035); turnon_4003096->GetXaxis()->SetTitleSize(0.035); turnon_4003096->GetXaxis()->SetTitleFont(42); turnon_4003096->GetYaxis()->SetLabelFont(42); turnon_4003096->GetYaxis()->SetLabelSize(0.035); turnon_4003096->GetYaxis()->SetTitleSize(0.035); turnon_4003096->GetYaxis()->SetTitleFont(42); turnon_4003096->SetParameter(0,412.7401); turnon_4003096->SetParError(0,0.1794333); turnon_4003096->SetParLimits(0,0,0); turnon_4003096->SetParameter(1,37.43837); turnon_4003096->SetParError(1,0.4693643); turnon_4003096->SetParLimits(1,0,0); turnon_4003096->SetParameter(2,0.9955812); turnon_4003096->SetParError(2,0.001621119); turnon_4003096->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_4003096); grae->Draw("p"); Double_t eff_graph_fx3097[126] = { 52.5, 57.5, 62.5, 67.5, 72.5, 77.5, 82.5, 87.5, 92.5, 97.5, 102.5, 107.5, 112.5, 117.5, 122.5, 127.5, 132.5, 137.5, 142.5, 147.5, 152.5, 157.5, 162.5, 167.5, 172.5, 177.5, 182.5, 187.5, 192.5, 197.5, 202.5, 207.5, 212.5, 217.5, 222.5, 227.5, 232.5, 237.5, 242.5, 247.5, 252.5, 257.5, 262.5, 267.5, 272.5, 277.5, 282.5, 287.5, 292.5, 297.5, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790, 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030, 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1325, 1375, 1425, 1475, 1525, 1575, 1625, 1675, 1725, 1775, 1825, 1875, 1925, 1975}; Double_t eff_graph_fy3097[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.010581e-08, 2.934972e-08, 0, 7.069893e-08, 0, 0, 9.808735e-08, 0, 0, 0, 9.299769e-08, 2.345357e-07, 3.793787e-07, 1.839705e-06, 1.272427e-06, 1.292383e-06, 4.20981e-07, 8.385441e-07, 1.634139e-06, 3.482191e-06, 5.819186e-06, 1.210629e-05, 6.45623e-06, 4.964865e-06, 1.619662e-05, 2.031803e-05, 2.783288e-05, 2.849235e-05, 0.0001111948, 7.933837e-05, 0.0001188992, 0.0002406623, 0.0002800528, 0.0004751668, 0.001131343, 0.001984994, 0.003816729, 0.008437567, 0.02209913, 0.05646436, 0.1344066, 0.2530927, 0.4002279, 0.5513035, 0.6935949, 0.8040913, 0.8854653, 0.9360033, 0.9672234, 0.9810395, 0.9906453, 0.9941691, 0.9965773, 0.9977696, 0.9984971, 0.9980012, 0.998784, 0.9989621, 0.9994126, 0.9998721, 0.9999213, 0.9998776, 1, 0.9999238, 0.9999311, 0.9999275, 0.9999484, 1, 1, 1, 0.9999703, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3097[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fely3097[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.010581e-08, 2.934972e-08, 0, 7.069893e-08, 0, 0, 9.808735e-08, 0, 0, 0, 9.299769e-08, 2.345357e-07, 2.945451e-07, 1.025897e-06, 6.102733e-07, 8.293732e-07, 4.20981e-07, 8.385441e-07, 9.747204e-07, 2.482941e-06, 2.076331e-06, 7.029718e-06, 3.019246e-06, 2.072532e-06, 6.504121e-06, 7.147555e-06, 8.915047e-06, 6.600907e-06, 2.846806e-05, 1.528563e-05, 3.115355e-05, 3.585762e-05, 4.358594e-05, 5.500668e-05, 0.0001124534, 0.0001438153, 0.0002129111, 0.0003341775, 0.0005760271, 0.0009579153, 0.001486877, 0.001986267, 0.00232984, 0.002477536, 0.002394908, 0.002147305, 0.00180965, 0.001425507, 0.001089666, 0.000853766, 0.0006292762, 0.0005055326, 0.0004317781, 0.000366992, 0.000285679, 0.000373137, 0.0002834708, 0.0002060041, 0.000149985, 8.959264e-05, 4.920907e-05, 7.770983e-05, 0, 5.609779e-05, 6.892326e-05, 5.230323e-05, 5.151365e-05, 0, 0, 0, 2.96456e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t eff_graph_fehx3097[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fehy3097[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.010633e-08, 2.934995e-08, 0, 7.069949e-08, 0, 0, 9.808818e-08, 0, 0, 0, 9.299854e-08, 2.345378e-07, 2.945451e-07, 1.025897e-06, 6.102733e-07, 8.293732e-07, 4.209853e-07, 8.385524e-07, 9.747204e-07, 2.482941e-06, 2.076331e-06, 7.029718e-06, 3.019246e-06, 2.072532e-06, 6.504121e-06, 7.147555e-06, 8.915047e-06, 6.600907e-06, 2.846806e-05, 1.528563e-05, 3.115355e-05, 3.585762e-05, 4.358594e-05, 5.500668e-05, 0.0001124534, 0.0001438153, 0.0002129111, 0.0003341775, 0.0005760271, 0.0009579153, 0.001486877, 0.001986267, 0.00232984, 0.002477536, 0.002394908, 0.002147305, 0.00180965, 0.001425507, 0.001089666, 0.000853766, 0.0006292762, 0.0005055326, 0.0004317781, 0.000366992, 0.000285679, 0.000373137, 0.0002834708, 0.0002060041, 0.000149985, 8.959264e-05, 4.920907e-05, 7.770983e-05, 0, 5.609779e-05, 6.892326e-05, 5.230323e-05, 5.151365e-05, 0, 0, 0, 2.96456e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3097,eff_graph_fy3097,eff_graph_felx3097,eff_graph_fehx3097,eff_graph_fely3097,eff_graph_fehy3097); grae->SetName("eff_graph"); grae->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); grae->SetFillColor(19); ci = TColor::GetColor("#0033ff"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#0033ff"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(20); grae->SetMarkerSize(0.9); TH1F *Graph_eff_graph3097 = new TH1F("Graph_eff_graph3097","Efficiencies for AK8 HLT paths - Using RECO jets",126,0,800); Graph_eff_graph3097->SetMinimum(0); Graph_eff_graph3097->SetMaximum(1.1); Graph_eff_graph3097->SetDirectory(0); Graph_eff_graph3097->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3097->SetLineColor(ci); Graph_eff_graph3097->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3097->GetXaxis()->SetLabelFont(42); Graph_eff_graph3097->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3097->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3097->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3097->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3097->GetXaxis()->SetTitleFont(42); Graph_eff_graph3097->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3097->GetYaxis()->SetLabelFont(42); Graph_eff_graph3097->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3097->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3097->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3097->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3097->GetYaxis()->SetTitleFont(42); Graph_eff_graph3097->GetZaxis()->SetLabelFont(42); Graph_eff_graph3097->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3097->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3097->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3097); TF1 *turnon_4503098 = new TF1("turnon_450","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",455,610); turnon_4503098->SetFillColor(19); turnon_4503098->SetFillStyle(0); ci = TColor::GetColor("#0033ff"); turnon_4503098->SetLineColor(ci); turnon_4503098->SetLineWidth(2); turnon_4503098->SetChisquare(0.0001680638); turnon_4503098->SetNDF(13); turnon_4503098->GetXaxis()->SetLabelFont(42); turnon_4503098->GetXaxis()->SetLabelSize(0.035); turnon_4503098->GetXaxis()->SetTitleSize(0.035); turnon_4503098->GetXaxis()->SetTitleFont(42); turnon_4503098->GetYaxis()->SetLabelFont(42); turnon_4503098->GetYaxis()->SetLabelSize(0.035); turnon_4503098->GetYaxis()->SetTitleSize(0.035); turnon_4503098->GetYaxis()->SetTitleFont(42); turnon_4503098->SetParameter(0,461.4354); turnon_4503098->SetParError(0,0.1610176); turnon_4503098->SetParLimits(0,0,0); turnon_4503098->SetParameter(1,38.64171); turnon_4503098->SetParError(1,0.4158692); turnon_4503098->SetParLimits(1,0,0); turnon_4503098->SetParameter(2,0.9960082); turnon_4503098->SetParError(2,0.001218004); turnon_4503098->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_4503098); grae->Draw("p"); Double_t eff_graph_fx3099[126] = { 52.5, 57.5, 62.5, 67.5, 72.5, 77.5, 82.5, 87.5, 92.5, 97.5, 102.5, 107.5, 112.5, 117.5, 122.5, 127.5, 132.5, 137.5, 142.5, 147.5, 152.5, 157.5, 162.5, 167.5, 172.5, 177.5, 182.5, 187.5, 192.5, 197.5, 202.5, 207.5, 212.5, 217.5, 222.5, 227.5, 232.5, 237.5, 242.5, 247.5, 252.5, 257.5, 262.5, 267.5, 272.5, 277.5, 282.5, 287.5, 292.5, 297.5, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 610, 630, 650, 670, 690, 710, 730, 750, 770, 790, 810, 830, 850, 870, 890, 910, 930, 950, 970, 990, 1010, 1030, 1050, 1070, 1090, 1110, 1130, 1150, 1170, 1190, 1225, 1275, 1325, 1375, 1425, 1475, 1525, 1575, 1625, 1675, 1725, 1775, 1825, 1875, 1925, 1975}; Double_t eff_graph_fy3099[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.934972e-08, 0, 0, 0, 0, 0, 0, 0, 0, 9.299769e-08, 0, 0, 6.349005e-07, 4.61405e-07, 6.936639e-07, 0, 0, 3.744854e-07, 0, 1.802894e-06, 2.325824e-06, 4.229535e-06, 1.229159e-06, 1.200878e-06, 2.673041e-06, 8.697466e-06, 6.247474e-06, 1.935298e-05, 1.274401e-05, 9.886416e-06, 3.793264e-05, 5.079384e-05, 8.709162e-05, 0.0001153446, 0.0001812863, 0.0003092059, 0.0004493987, 0.0007353021, 0.001303806, 0.002107144, 0.004699959, 0.01178604, 0.02805792, 0.06963571, 0.1565819, 0.2739415, 0.4156654, 0.5673186, 0.6969109, 0.8061686, 0.8852701, 0.9346095, 0.9639823, 0.9797644, 0.9880093, 0.9935456, 0.9964279, 0.9983275, 0.9988296, 0.9991746, 0.9996183, 0.9997448, 0.9998581, 0.9999311, 0.999707, 0.9998609, 1, 1, 1, 0.9999703, 1, 1, 0.9999516, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3099[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fely3099[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.934972e-08, 0, 0, 0, 0, 0, 0, 0, 0, 9.299769e-08, 0, 0, 4.170869e-07, 3.268004e-07, 5.739099e-07, 0, 0, 3.744854e-07, 0, 9.526169e-07, 1.243286e-06, 2.713564e-06, 8.920203e-07, 9.201627e-07, 1.306552e-06, 2.68712e-06, 2.174901e-06, 5.899958e-06, 3.84923e-06, 2.999886e-06, 8.385931e-06, 9.76028e-06, 1.913191e-05, 1.76233e-05, 3.324093e-05, 4.356534e-05, 5.307352e-05, 7.593554e-05, 0.0001259762, 0.0001525126, 0.0002591436, 0.0004620325, 0.0007242828, 0.001172724, 0.001754016, 0.002241981, 0.002568136, 0.002678906, 0.002577398, 0.002316543, 0.00195052, 0.001537837, 0.001222277, 0.0009406754, 0.0008021866, 0.0005918443, 0.0003406885, 0.0002305793, 0.0002304264, 0.0001914763, 0.0001189807, 0.0001088488, 6.564084e-05, 6.892326e-05, 0.0001354768, 0.0001015702, 0, 0, 0, 2.96456e-05, 0, 0, 4.84706e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t eff_graph_fehx3099[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25}; Double_t eff_graph_fehy3099[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.934995e-08, 0, 0, 0, 0, 0, 0, 0, 0, 9.299854e-08, 0, 0, 4.170869e-07, 3.268004e-07, 5.739099e-07, 0, 0, 3.744894e-07, 0, 9.526169e-07, 1.243286e-06, 2.713564e-06, 8.920203e-07, 9.201627e-07, 1.306552e-06, 2.68712e-06, 2.174901e-06, 5.899958e-06, 3.84923e-06, 2.999886e-06, 8.385931e-06, 9.76028e-06, 1.913191e-05, 1.76233e-05, 3.324093e-05, 4.356534e-05, 5.307352e-05, 7.593554e-05, 0.0001259762, 0.0001525126, 0.0002591436, 0.0004620325, 0.0007242828, 0.001172724, 0.001754016, 0.002241981, 0.002568136, 0.002678906, 0.002577398, 0.002316543, 0.00195052, 0.001537837, 0.001222277, 0.0009406754, 0.0008021866, 0.0005918443, 0.0003406885, 0.0002305793, 0.0002304264, 0.0001914763, 0.0001189807, 0.0001088488, 6.564084e-05, 6.892326e-05, 0.0001354768, 0.0001015702, 0, 0, 0, 2.96456e-05, 0, 0, 4.843001e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3099,eff_graph_fy3099,eff_graph_felx3099,eff_graph_fehx3099,eff_graph_fely3099,eff_graph_fehy3099); grae->SetName("eff_graph"); grae->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); grae->SetFillColor(19); ci = TColor::GetColor("#cc00ff"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#cc00ff"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(20); grae->SetMarkerSize(0.9); TH1F *Graph_eff_graph3099 = new TH1F("Graph_eff_graph3099","Efficiencies for AK8 HLT paths - Using RECO jets",126,0,800); Graph_eff_graph3099->SetMinimum(0); Graph_eff_graph3099->SetMaximum(1.1); Graph_eff_graph3099->SetDirectory(0); Graph_eff_graph3099->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3099->SetLineColor(ci); Graph_eff_graph3099->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3099->GetXaxis()->SetLabelFont(42); Graph_eff_graph3099->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3099->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3099->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3099->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3099->GetXaxis()->SetTitleFont(42); Graph_eff_graph3099->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3099->GetYaxis()->SetLabelFont(42); Graph_eff_graph3099->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3099->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3099->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3099->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3099->GetYaxis()->SetTitleFont(42); Graph_eff_graph3099->GetZaxis()->SetLabelFont(42); Graph_eff_graph3099->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3099->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3099->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3099); TF1 *turnon_5003100 = new TF1("turnon_500","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",505,650); turnon_5003100->SetFillColor(19); turnon_5003100->SetFillStyle(0); ci = TColor::GetColor("#cc00ff"); turnon_5003100->SetLineColor(ci); turnon_5003100->SetLineWidth(2); turnon_5003100->SetChisquare(0.000168966); turnon_5003100->SetNDF(10); turnon_5003100->GetXaxis()->SetLabelFont(42); turnon_5003100->GetXaxis()->SetLabelSize(0.035); turnon_5003100->GetXaxis()->SetTitleSize(0.035); turnon_5003100->GetXaxis()->SetTitleFont(42); turnon_5003100->GetYaxis()->SetLabelFont(42); turnon_5003100->GetYaxis()->SetLabelSize(0.035); turnon_5003100->GetYaxis()->SetTitleSize(0.035); turnon_5003100->GetYaxis()->SetTitleFont(42); turnon_5003100->SetParameter(0,510.3908); turnon_5003100->SetParError(0,0.1967964); turnon_5003100->SetParLimits(0,0,0); turnon_5003100->SetParameter(1,39.78576); turnon_5003100->SetParError(1,0.524323); turnon_5003100->SetParLimits(1,0,0); turnon_5003100->SetParameter(2,0.9943912); turnon_5003100->SetParError(2,0.001730387); turnon_5003100->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_5003100); grae->Draw("p"); TLegend *leg = new TLegend(0.74,0.17,0.94,0.57,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("eff_graph","HLT_PFJet40","LP"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#ff0000"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("eff_graph","HLT_PFJet60","LP"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#00ff00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("eff_graph","HLT_PFJet80","LP"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#0000ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("eff_graph","HLT_PFJet140","LP"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#ff00ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("eff_graph","HLT_PFJet200","LP"); ci = TColor::GetColor("#ffff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#ffff00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("eff_graph","HLT_PFJet260","LP"); ci = TColor::GetColor("#ffcc00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#ffcc00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("eff_graph","HLT_PFJet320","LP"); ci = TColor::GetColor("#33ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#33ff00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("eff_graph","HLT_PFJet400","LP"); ci = TColor::GetColor("#00ffcc"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#00ffcc"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("eff_graph","HLT_PFJet450","LP"); ci = TColor::GetColor("#0033ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#0033ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("eff_graph","HLT_PFJet500","LP"); ci = TColor::GetColor("#cc00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#cc00ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); leg->Draw(); TPaveText *pt = new TPaveText(0.15,0.9343728,0.85,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("Efficiencies for AK8 HLT paths - Using RECO jets"); pt->Draw(); RECOeffcanvasAK8->Modified(); RECOeffcanvasAK8->cd(); RECOeffcanvasAK8->SetSelected(RECOeffcanvasAK8); }