void Eff_GEN_PT500() { //=========Macro generated from canvas: Eff_GEN_PT500/ //========= (Fri May 13 17:52:59 2016) by ROOT version6.06/01 TCanvas *Eff_GEN_PT500 = new TCanvas("Eff_GEN_PT500", "",0,0,600,600); Eff_GEN_PT500->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_GEN_PT500->SetFillColor(0); Eff_GEN_PT500->SetBorderMode(0); Eff_GEN_PT500->SetBorderSize(10); Eff_GEN_PT500->SetGridx(); Eff_GEN_PT500->SetGridy(); Eff_GEN_PT500->SetLeftMargin(0.18); Eff_GEN_PT500->SetRightMargin(0.05); Eff_GEN_PT500->SetTopMargin(0.08); Eff_GEN_PT500->SetBottomMargin(0.15); Eff_GEN_PT500->SetFrameFillStyle(0); Eff_GEN_PT500->SetFrameLineStyle(0); Eff_GEN_PT500->SetFrameBorderMode(0); Eff_GEN_PT500->SetFrameBorderSize(10); Eff_GEN_PT500->SetFrameFillStyle(0); Eff_GEN_PT500->SetFrameLineStyle(0); Eff_GEN_PT500->SetFrameBorderMode(0); Eff_GEN_PT500->SetFrameBorderSize(10); Double_t eff_graph_fx3229[136] = { 2.5, 7.5, 12.5, 17.5, 22.5, 27.5, 32.5, 37.5, 42.5, 47.5, 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_fy3229[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.073549e-05, 6.705559e-05, 5.822891e-05, 3.658715e-05, 0.0001255382, 0.0001558745, 0.0002177285, 0.0004089807, 0.0005539036, 0.0010486, 0.002414506, 0.005307199, 0.01220549, 0.02921109, 0.06418674, 0.1215305, 0.2051203, 0.3154631, 0.4394278, 0.5677509, 0.6860682, 0.7821946, 0.8535804, 0.9043297, 0.9401419, 0.9585925, 0.9710317, 0.9802024, 0.9864709, 0.9900971, 0.9927055, 0.9946617, 0.9965438, 0.9969791, 0.9978298, 0.9982773, 0.9987093, 0.9991993, 0.9993707, 0.9992615, 0.999607, 0.9995845, 0.9995605, 0.9998331, 0.9998594, 0.9998896, 0.9998458, 0.9999597, 0.9998714, 1, 0.9999044, 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_felx3229[136] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fely3229[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.880894e-06, 2.659764e-05, 2.515107e-05, 1.991194e-05, 3.902486e-05, 4.4361e-05, 5.385459e-05, 7.549509e-05, 8.944041e-05, 0.0001258789, 0.0001947888, 0.0002930912, 0.0004484639, 0.0007038823, 0.001044863, 0.001412451, 0.001771499, 0.002078085, 0.002255862, 0.002289469, 0.002187978, 0.001983278, 0.001735671, 0.001469001, 0.001204975, 0.001034883, 0.0008885726, 0.0007599337, 0.0006415386, 0.0003967323, 0.0003532422, 0.0003155598, 0.0002651581, 0.000257775, 0.0002281433, 0.0002118208, 0.0001925659, 0.0001621361, 0.0001526549, 0.0001675168, 0.0001355462, 0.000143316, 0.0001515774, 0.0001128914, 0.0001111939, 0.0001073298, 0.000121923, 9.276904e-05, 0.0001250939, 8.388901e-05, 0.0001260486, 9.32025e-05, 9.853508e-05, 0.0001025872, 0.0001098074, 0.00011505, 0.00012206, 0.0001273806, 0.0001329745, 5.843971e-05, 6.670629e-05, 7.551385e-05, 8.673051e-05, 9.741412e-05, 0.0001119576, 0.0001265662, 0.0001441347, 0.0001621485, 0.0001846391, 0.0002123703, 0.0002358796, 0.0002696709, 0.0003090041, 0.0003552093, 0.0004021524}; Double_t eff_graph_fehx3229[136] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fehy3229[136] = { 0.01960128, 0.0002181584, 4.169743e-05, 2.38203e-05, 2.144066e-05, 2.113665e-05, 2.074019e-05, 1.956745e-05, 1.820326e-05, 1.690951e-05, 1.614819e-05, 1.554091e-05, 1.513451e-05, 1.500818e-05, 1.485151e-05, 1.486926e-05, 1.487575e-05, 1.510719e-05, 1.528251e-05, 1.548627e-05, 1.569687e-05, 1.605077e-05, 1.640343e-05, 1.670408e-05, 1.701327e-05, 1.731652e-05, 1.781244e-05, 1.815121e-05, 1.866368e-05, 1.910132e-05, 1.943114e-05, 1.999721e-05, 2.052606e-05, 2.091834e-05, 2.136898e-05, 2.203341e-05, 2.248386e-05, 2.301567e-05, 2.348664e-05, 2.409622e-05, 2.454142e-05, 2.520052e-05, 2.578176e-05, 2.641998e-05, 2.698578e-05, 2.769123e-05, 2.816873e-05, 2.877274e-05, 2.941262e-05, 2.99719e-05, 3.087982e-05, 3.152547e-05, 3.192232e-05, 3.260816e-05, 3.335733e-05, 3.406907e-05, 3.487912e-05, 3.546023e-05, 3.638604e-05, 3.684555e-05, 1.901589e-05, 2.46861e-05, 4.004839e-05, 3.938962e-05, 3.558808e-05, 5.356174e-05, 5.92236e-05, 6.916061e-05, 9.089818e-05, 0.0001051849, 0.0001419594, 0.0002111303, 0.0003096459, 0.0004650336, 0.0007205164, 0.001060809, 0.001426645, 0.001782861, 0.002085457, 0.002258356, 0.002286591, 0.002179779, 0.001970406, 0.001718905, 0.001449266, 0.001182909, 0.001011009, 0.0008632683, 0.0007328771, 0.0006134852, 0.0003818737, 0.0003373896, 0.0002984847, 0.0002469242, 0.0002382646, 0.0002073672, 0.000189725, 0.000168908, 0.0001366021, 0.0001249927, 0.0001386864, 0.0001037446, 0.0001096925, 0.0001160168, 7.20888e-05, 6.731033e-05, 6.005623e-05, 7.380585e-05, 3.337557e-05, 6.999726e-05, 0, 6.173523e-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}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(136,eff_graph_fx3229,eff_graph_fy3229,eff_graph_felx3229,eff_graph_fehx3229,eff_graph_fely3229,eff_graph_fehy3229); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet500 Efficiency (GEN 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_Graph_eff_graph30193229 = new TH1F("Graph_Graph_eff_graph30193229","HLT_PFJet500 Efficiency (GEN Jets)",136,0,800); Graph_Graph_eff_graph30193229->SetMinimum(0); Graph_Graph_eff_graph30193229->SetMaximum(1.1); Graph_Graph_eff_graph30193229->SetDirectory(0); Graph_Graph_eff_graph30193229->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30193229->SetLineColor(ci); Graph_Graph_eff_graph30193229->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30193229->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30193229->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30193229->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30193229->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30193229->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30193229->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30193229->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30193229->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30193229->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30193229->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30193229->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30193229->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30193229->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30193229->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30193229->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30193229->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30193229->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30193229); TF1 *turnon_5003230 = new TF1("turnon_500","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",495,750); turnon_5003230->SetFillColor(19); turnon_5003230->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_5003230->SetLineColor(ci); turnon_5003230->SetLineWidth(2); turnon_5003230->SetChisquare(0.0006503542); turnon_5003230->SetNDF(16); turnon_5003230->GetXaxis()->SetLabelFont(42); turnon_5003230->GetXaxis()->SetLabelSize(0.035); turnon_5003230->GetXaxis()->SetTitleSize(0.035); turnon_5003230->GetXaxis()->SetTitleFont(42); turnon_5003230->GetYaxis()->SetLabelFont(42); turnon_5003230->GetYaxis()->SetLabelSize(0.035); turnon_5003230->GetYaxis()->SetTitleSize(0.035); turnon_5003230->GetYaxis()->SetTitleFont(42); turnon_5003230->SetParameter(0,499.0508); turnon_5003230->SetParError(0,0.3649684); turnon_5003230->SetParLimits(0,0,0); turnon_5003230->SetParameter(1,47.28315); turnon_5003230->SetParError(1,0.9367445); turnon_5003230->SetParLimits(1,0,0); turnon_5003230->SetParameter(2,0.9920649); turnon_5003230->SetParError(2,0.001977262); turnon_5003230->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_5003230); grae->Draw("ap"); Double_t eff_graph_fx3231[133] = { 17.5, 22.5, 27.5, 32.5, 37.5, 42.5, 47.5, 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_fy3231[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.9699e-05, 0, 0, 3.310126e-05, 3.464603e-05, 0.0001317839, 0.0001606446, 0.0001663957, 0.0002545518, 0.0004703604, 0.0008944157, 0.00199387, 0.004350375, 0.01062999, 0.02622211, 0.05621841, 0.1107899, 0.1992718, 0.3147634, 0.4452788, 0.5809985, 0.7089079, 0.8022109, 0.8761715, 0.9203757, 0.9532119, 0.9688553, 0.9785121, 0.9861783, 0.9907801, 0.9935446, 0.9958347, 0.9969105, 0.997679, 0.9984136, 0.9989347, 0.9992285, 0.999455, 0.9996264, 0.9997408, 0.9998015, 0.9998423, 0.9998058, 0.9999412, 0.9999689, 0.9999344, 1, 0.9999637, 0.9999619, 0.9999602, 1, 1, 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_felx3231[133] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fely3231[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.272372e-05, 0, 0, 1.801481e-05, 1.885552e-05, 3.912153e-05, 4.397352e-05, 4.554773e-05, 5.78756e-05, 8.025443e-05, 0.0001132451, 0.0001718858, 0.0002584088, 0.000409465, 0.0006490865, 0.0009511994, 0.001323827, 0.001716611, 0.002016595, 0.002194993, 0.002219633, 0.002075482, 0.001855479, 0.001569885, 0.001316829, 0.001050348, 0.0008757272, 0.0007490788, 0.0006198546, 0.0005194482, 0.0003141683, 0.0002625178, 0.0002364254, 0.0002137635, 0.0001852976, 0.0001605162, 0.0001443074, 0.000129174, 0.0001143195, 0.0001040486, 9.787254e-05, 9.418542e-05, 0.0001045575, 7.758338e-05, 7.14768e-05, 8.648346e-05, 6.372981e-05, 8.339882e-05, 8.757216e-05, 9.151015e-05, 7.780196e-05, 8.230634e-05, 8.652263e-05, 9.149788e-05, 9.565279e-05, 0.0001018663, 0.0001076815, 0.0001129051, 0.0001189758, 0.0001240504, 5.441188e-05, 6.177527e-05, 7.06159e-05, 7.959825e-05, 9.03883e-05, 0.0001035101, 0.0001163295, 0.0001334081, 0.000151177, 0.0001690729, 0.0001972822, 0.0002195634, 0.0002479851, 0.0002840241, 0.0003277052, 0.0003697632}; Double_t eff_graph_fehx3231[133] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fehy3231[133] = { 5.144686e-05, 2.683513e-05, 2.397572e-05, 2.369827e-05, 2.324583e-05, 2.227601e-05, 2.077576e-05, 1.902807e-05, 1.792884e-05, 1.700007e-05, 1.634895e-05, 1.610384e-05, 1.571026e-05, 1.566748e-05, 1.560559e-05, 1.561618e-05, 1.576704e-05, 1.590228e-05, 1.61257e-05, 1.644167e-05, 1.666386e-05, 1.699631e-05, 1.721725e-05, 1.75152e-05, 1.78919e-05, 1.826792e-05, 1.868111e-05, 1.915478e-05, 1.947101e-05, 1.999005e-05, 2.03419e-05, 2.079266e-05, 2.141746e-05, 2.173043e-05, 2.223619e-05, 2.282194e-05, 2.328494e-05, 2.377662e-05, 2.422144e-05, 2.486391e-05, 2.554246e-05, 2.589708e-05, 2.644161e-05, 2.722804e-05, 2.762765e-05, 2.817175e-05, 2.892645e-05, 2.93152e-05, 3.01926e-05, 3.082915e-05, 3.131473e-05, 3.186541e-05, 3.259488e-05, 3.322549e-05, 3.427202e-05, 3.460182e-05, 3.490954e-05, 2.5981e-05, 1.901785e-05, 1.970126e-05, 3.219749e-05, 3.370004e-05, 5.290659e-05, 5.804285e-05, 6.012059e-05, 7.280592e-05, 9.526392e-05, 0.0001285622, 0.0001873479, 0.0002741583, 0.000425367, 0.000664902, 0.0009664413, 0.001337727, 0.001727731, 0.002023572, 0.002197121, 0.002216374, 0.00206684, 0.001842531, 0.001553097, 0.0012974, 0.001028638, 0.0008528393, 0.000724783, 0.0005941383, 0.0004926641, 0.0002999918, 0.000247433, 0.0002201987, 0.0001964364, 0.0001667988, 0.0001406283, 0.0001229706, 0.0001061759, 8.969294e-05, 7.694274e-05, 6.868648e-05, 6.255561e-05, 7.159742e-05, 3.799669e-05, 2.571485e-05, 4.235585e-05, 0, 3.000423e-05, 3.150576e-05, 3.292263e-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}; grae = new TGraphAsymmErrors(133,eff_graph_fx3231,eff_graph_fy3231,eff_graph_felx3231,eff_graph_fehx3231,eff_graph_fely3231,eff_graph_fehy3231); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet500 Efficiency (GEN Jets)"); grae->SetFillColor(19); ci = TColor::GetColor("#00ff00"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#00ff00"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(21); grae->SetMarkerSize(0.9); TH1F *Graph_Graph_eff_graph30393231 = new TH1F("Graph_Graph_eff_graph30393231","HLT_PFJet500 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30393231->SetMinimum(0); Graph_Graph_eff_graph30393231->SetMaximum(1.1); Graph_Graph_eff_graph30393231->SetDirectory(0); Graph_Graph_eff_graph30393231->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30393231->SetLineColor(ci); Graph_Graph_eff_graph30393231->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30393231->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30393231->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30393231->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30393231->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30393231->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30393231->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30393231->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30393231->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30393231->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30393231->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30393231->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30393231->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30393231->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30393231->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30393231->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30393231->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30393231->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30393231); TF1 *turnon_5003232 = new TF1("turnon_500","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",495,710); turnon_5003232->SetFillColor(19); turnon_5003232->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_5003232->SetLineColor(ci); turnon_5003232->SetLineWidth(2); turnon_5003232->SetChisquare(0.0005171873); turnon_5003232->SetNDF(14); turnon_5003232->GetXaxis()->SetLabelFont(42); turnon_5003232->GetXaxis()->SetLabelSize(0.035); turnon_5003232->GetXaxis()->SetTitleSize(0.035); turnon_5003232->GetXaxis()->SetTitleFont(42); turnon_5003232->GetYaxis()->SetLabelFont(42); turnon_5003232->GetYaxis()->SetLabelSize(0.035); turnon_5003232->GetYaxis()->SetTitleSize(0.035); turnon_5003232->GetYaxis()->SetTitleFont(42); turnon_5003232->SetParameter(0,498.4096); turnon_5003232->SetParError(0,0.3345417); turnon_5003232->SetParLimits(0,0,0); turnon_5003232->SetParameter(1,43.76996); turnon_5003232->SetParError(1,0.8618615); turnon_5003232->SetParLimits(1,0,0); turnon_5003232->SetParameter(2,0.9927106); turnon_5003232->SetParError(2,0.002023893); turnon_5003232->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_5003232); grae->Draw("p"); Double_t eff_graph_fx3233[133] = { 17.5, 22.5, 27.5, 32.5, 37.5, 42.5, 47.5, 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_fy3233[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.198035e-05, 0, 5.119869e-05, 9.378224e-05, 0.0001383413, 0.0003750775, 0.0006844627, 0.002159761, 0.005275153, 0.01242707, 0.02791347, 0.0576831, 0.1061459, 0.1759766, 0.2609781, 0.3607434, 0.4721319, 0.5630791, 0.6630774, 0.7330661, 0.7913717, 0.8351064, 0.8671292, 0.8943963, 0.9154267, 0.9340706, 0.9516417, 0.9615542, 0.972148, 0.9784785, 0.9833106, 0.9867265, 0.9889529, 0.9925508, 0.9944862, 0.9954346, 0.9964515, 0.9970322, 0.997794, 0.9980417, 0.9990164, 0.9989961, 0.9992746, 0.9996191, 0.9996816, 0.9997887, 0.9999106, 0.999812, 0.9999006, 0.999948, 0.9998893, 0.9999415, 1, 0.9999354, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3233[133] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fely3233[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9.910703e-06, 0, 2.450276e-05, 3.458453e-05, 4.300469e-05, 7.307377e-05, 0.0001005252, 0.0001821498, 0.0002891186, 0.0004498479, 0.0006799861, 0.0009828746, 0.001322813, 0.001651943, 0.001937013, 0.002156224, 0.002274538, 0.002301118, 0.002239483, 0.002133975, 0.001995965, 0.001840672, 0.001717417, 0.001586794, 0.00145869, 0.0009427965, 0.0008385849, 0.0007786093, 0.0006887506, 0.0006266445, 0.000572383, 0.0005287658, 0.0004995752, 0.0004252753, 0.0003833899, 0.0003610966, 0.0003318027, 0.0003150176, 0.0002849193, 0.0002788071, 0.0002142408, 0.0002230437, 0.000201079, 0.000162463, 0.0001569707, 0.0001429242, 0.0001179231, 0.0001486216, 0.0001310912, 0.0001194705, 0.0001459452, 0.0001344937, 0.0001129051, 0.0001485996, 0.0001240504, 5.441188e-05, 6.177527e-05, 7.06159e-05, 7.959825e-05, 9.03883e-05, 0.0001035101, 0.0001163295, 0.0001334081, 0.000151177, 0.0001690729, 0.0001972822, 0.0002195634, 0.0002479851, 0.0002840241, 0.0003277052, 0.0003697632}; Double_t eff_graph_fehx3233[133] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fehy3233[133] = { 5.144686e-05, 2.683513e-05, 2.397572e-05, 2.369827e-05, 2.324583e-05, 2.227601e-05, 2.077576e-05, 1.902807e-05, 1.792884e-05, 1.700007e-05, 1.634895e-05, 1.610384e-05, 1.571026e-05, 1.566748e-05, 1.560559e-05, 1.561618e-05, 1.576704e-05, 1.590228e-05, 1.61257e-05, 1.644167e-05, 1.666386e-05, 1.699631e-05, 1.721725e-05, 1.75152e-05, 1.78919e-05, 1.826792e-05, 1.868111e-05, 1.915478e-05, 1.947101e-05, 1.999005e-05, 2.03419e-05, 2.079266e-05, 2.141746e-05, 2.173043e-05, 2.223619e-05, 2.282194e-05, 2.328494e-05, 2.377662e-05, 2.422144e-05, 2.486391e-05, 2.554246e-05, 2.589708e-05, 2.644161e-05, 2.722804e-05, 2.762765e-05, 2.817175e-05, 2.892645e-05, 2.93152e-05, 3.01926e-05, 3.082915e-05, 3.131473e-05, 3.186541e-05, 3.259488e-05, 3.322549e-05, 3.427202e-05, 3.460182e-05, 3.490954e-05, 1.813298e-05, 1.901785e-05, 1.970126e-05, 2.031317e-05, 2.126114e-05, 2.754859e-05, 2.274975e-05, 4.048035e-05, 5.050855e-05, 5.902371e-05, 8.890627e-05, 0.0001164829, 0.0001981609, 0.0003053224, 0.0004662143, 0.0006962575, 0.0009987077, 0.001337399, 0.001664159, 0.001946311, 0.002161827, 0.00227569, 0.002298419, 0.002232221, 0.002123239, 0.001982085, 0.001824435, 0.001698957, 0.001566209, 0.00143641, 0.0009305215, 0.0008251236, 0.0007639083, 0.0006727871, 0.0006095331, 0.0005540128, 0.000509135, 0.000478627, 0.000403038, 0.0003593219, 0.0003356017, 0.0003045771, 0.0002861091, 0.0002539397, 0.0002458876, 0.0001785217, 0.0001852788, 0.0001608022, 0.0001183843, 0.0001101684, 9.126961e-05, 5.775517e-05, 8.997013e-05, 6.420524e-05, 4.29828e-05, 7.148123e-05, 4.838834e-05, 0, 5.346392e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(133,eff_graph_fx3233,eff_graph_fy3233,eff_graph_felx3233,eff_graph_fehx3233,eff_graph_fely3233,eff_graph_fehy3233); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet500 Efficiency (GEN Jets)"); grae->SetFillColor(19); ci = TColor::GetColor("#0000ff"); grae->SetLineColor(ci); grae->SetLineWidth(3); ci = TColor::GetColor("#0000ff"); grae->SetMarkerColor(ci); grae->SetMarkerStyle(22); grae->SetMarkerSize(0.9); TH1F *Graph_Graph_eff_graph30593233 = new TH1F("Graph_Graph_eff_graph30593233","HLT_PFJet500 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30593233->SetMinimum(0); Graph_Graph_eff_graph30593233->SetMaximum(1.1); Graph_Graph_eff_graph30593233->SetDirectory(0); Graph_Graph_eff_graph30593233->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30593233->SetLineColor(ci); Graph_Graph_eff_graph30593233->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30593233->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30593233->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30593233->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30593233->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30593233->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30593233->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30593233->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30593233->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30593233->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30593233->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30593233->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30593233->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30593233->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30593233->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30593233->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30593233->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30593233->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30593233); TF1 *turnon_5003234 = new TF1("turnon_500","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",515,890); turnon_5003234->SetFillColor(19); turnon_5003234->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_5003234->SetLineColor(ci); turnon_5003234->SetLineWidth(2); turnon_5003234->SetChisquare(0.004256804); turnon_5003234->SetNDF(21); turnon_5003234->GetXaxis()->SetLabelFont(42); turnon_5003234->GetXaxis()->SetLabelSize(0.035); turnon_5003234->GetXaxis()->SetTitleSize(0.035); turnon_5003234->GetXaxis()->SetTitleFont(42); turnon_5003234->GetYaxis()->SetLabelFont(42); turnon_5003234->GetYaxis()->SetLabelSize(0.035); turnon_5003234->GetYaxis()->SetTitleSize(0.035); turnon_5003234->GetYaxis()->SetTitleFont(42); turnon_5003234->SetParameter(0,514.8035); turnon_5003234->SetParError(0,1.294658); turnon_5003234->SetParLimits(0,0,0); turnon_5003234->SetParameter(1,71.16456); turnon_5003234->SetParError(1,3.236912); turnon_5003234->SetParLimits(1,0,0); turnon_5003234->SetParameter(2,0.9849405); turnon_5003234->SetParError(2,0.003935147); turnon_5003234->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_5003234); grae->Draw("p"); TLegend *leg = new TLegend(0.74,0.17,0.94,0.3,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","AK4","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","AK8","lpf"); entry->SetFillColor(19); entry->SetFillStyle(1001); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#00ff00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(21); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("eff_graph","AK4-AK8","LP"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#0000ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(22); entry->SetMarkerSize(0.9); entry->SetTextFont(42); leg->Draw(); TPaveText *pt = new TPaveText(0.15,0.9341608,0.85,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("HLT_PFJet500 Efficiency (GEN Jets)"); pt->Draw(); Eff_GEN_PT500->Modified(); Eff_GEN_PT500->cd(); Eff_GEN_PT500->SetSelected(Eff_GEN_PT500); }