void Eff_GEN_PT200() { //=========Macro generated from canvas: Eff_GEN_PT200/ //========= (Tue Apr 19 15:55:50 2016) by ROOT version6.06/01 TCanvas *Eff_GEN_PT200 = new TCanvas("Eff_GEN_PT200", "",3,54,600,600); Eff_GEN_PT200->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_GEN_PT200->SetFillColor(0); Eff_GEN_PT200->SetBorderMode(0); Eff_GEN_PT200->SetBorderSize(10); Eff_GEN_PT200->SetGridx(); Eff_GEN_PT200->SetGridy(); Eff_GEN_PT200->SetLeftMargin(0.18); Eff_GEN_PT200->SetRightMargin(0.05); Eff_GEN_PT200->SetTopMargin(0.08); Eff_GEN_PT200->SetBottomMargin(0.15); Eff_GEN_PT200->SetFrameFillStyle(0); Eff_GEN_PT200->SetFrameLineStyle(0); Eff_GEN_PT200->SetFrameBorderMode(0); Eff_GEN_PT200->SetFrameBorderSize(10); Eff_GEN_PT200->SetFrameFillStyle(0); Eff_GEN_PT200->SetFrameLineStyle(0); Eff_GEN_PT200->SetFrameBorderMode(0); Eff_GEN_PT200->SetFrameBorderSize(10); Double_t eff_graph_fx3049[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_fy3049[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.52624e-06, 2.615542e-05, 3.564014e-05, 5.444004e-05, 0.0001478606, 0.0001693082, 0.0003483141, 0.0005225485, 0.001246946, 0.001857213, 0.003282495, 0.005365891, 0.009298592, 0.01570294, 0.02604668, 0.04405481, 0.0732038, 0.1230919, 0.2002296, 0.2935918, 0.412472, 0.5292386, 0.6375285, 0.7338911, 0.8121986, 0.8714859, 0.9133362, 0.9412197, 0.9598511, 0.9732515, 0.9810292, 0.9863692, 0.9901163, 0.9913564, 0.9938213, 0.9947814, 0.9953583, 0.9966485, 0.9968575, 0.9975983, 0.9980581, 0.9987117, 0.9988712, 0.9992197, 0.9992683, 0.9996485, 0.9996233, 0.9997551, 0.9998308, 0.9998834, 0.999924, 0.9998422, 0.9999512, 0.99995, 0.9999826, 0.9999456, 0.9999441, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3049[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_fely3049[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.0533e-06, 1.423466e-05, 1.705675e-05, 2.159372e-05, 3.657367e-05, 3.953045e-05, 5.77744e-05, 7.153643e-05, 0.0001122224, 0.0001385746, 0.0001857613, 0.0002407498, 0.0003205211, 0.0004191988, 0.0005428967, 0.0007104396, 0.0009111274, 0.001163166, 0.001431855, 0.001651406, 0.00180284, 0.001853967, 0.001807862, 0.001684651, 0.001507198, 0.001311066, 0.001114526, 0.0009446554, 0.0008000824, 0.0006669844, 0.0005753312, 0.0004969115, 0.0004293317, 0.0004074007, 0.000351885, 0.0003287238, 0.0003151153, 0.0002733288, 0.000269047, 0.0002395491, 0.0001520463, 0.0001285726, 0.000123786, 0.0001073975, 0.0001071435, 7.97554e-05, 8.372456e-05, 7.239696e-05, 6.429862e-05, 5.750099e-05, 5.140052e-05, 6.732952e-05, 4.750505e-05, 4.865593e-05, 4.01253e-05, 5.292421e-05, 5.435761e-05, 3.527881e-05, 3.659507e-05, 3.773055e-05, 3.891078e-05, 4.035919e-05, 4.17466e-05, 4.335088e-05, 4.45553e-05, 4.566828e-05, 4.731862e-05, 4.870309e-05, 5.090347e-05, 5.188911e-05, 2.737419e-05, 2.894191e-05, 3.09047e-05, 3.263012e-05, 3.475861e-05, 3.665481e-05, 3.867699e-05, 4.096902e-05, 4.335496e-05, 4.634308e-05, 4.855409e-05, 5.167356e-05, 5.463634e-05, 5.778669e-05, 6.145153e-05, 6.473144e-05, 6.771718e-05, 7.0978e-05, 7.427392e-05, 7.8926e-05, 8.388901e-05, 8.797805e-05, 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_fehx3049[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_fehy3049[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.960604e-05, 2.544146e-05, 2.817934e-05, 3.251418e-05, 4.696951e-05, 5.004396e-05, 6.825094e-05, 8.206376e-05, 0.0001227919, 0.0001492988, 0.0001965448, 0.000251738, 0.0003316536, 0.0004303536, 0.000554017, 0.0007214452, 0.000921622, 0.001172641, 0.001439537, 0.001656831, 0.001805182, 0.001853163, 0.001803995, 0.001677909, 0.001498001, 0.001299826, 0.001101789, 0.000930748, 0.0007852393, 0.0006513825, 0.0005589519, 0.0004799568, 0.0004119768, 0.0003895987, 0.0003335031, 0.0003098639, 0.0002957437, 0.0002534689, 0.0002486256, 0.0002187194, 0.0001413812, 0.0001173749, 0.0001120792, 9.505773e-05, 9.417744e-05, 6.602185e-05, 6.953644e-05, 5.718894e-05, 4.816269e-05, 4.035215e-05, 3.282068e-05, 4.905676e-05, 2.657991e-05, 2.722388e-05, 1.443535e-05, 2.961217e-05, 3.041423e-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}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(136,eff_graph_fx3049,eff_graph_fy3049,eff_graph_felx3049,eff_graph_fehx3049,eff_graph_fely3049,eff_graph_fehy3049); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet450 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_eff_graph3049 = new TH1F("Graph_eff_graph3049","HLT_PFJet450 Efficiency (GEN Jets)",136,0,800); Graph_eff_graph3049->SetMinimum(0); Graph_eff_graph3049->SetMaximum(1.1); Graph_eff_graph3049->SetDirectory(0); Graph_eff_graph3049->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3049->SetLineColor(ci); Graph_eff_graph3049->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3049->GetXaxis()->SetLabelFont(42); Graph_eff_graph3049->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3049->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3049->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3049->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3049->GetXaxis()->SetTitleFont(42); Graph_eff_graph3049->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3049->GetYaxis()->SetLabelFont(42); Graph_eff_graph3049->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3049->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3049->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3049->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3049->GetYaxis()->SetTitleFont(42); Graph_eff_graph3049->GetZaxis()->SetLabelFont(42); Graph_eff_graph3049->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3049->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3049->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3049); TF1 *turnon_2003050 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",202.5,325); turnon_2003050->SetFillColor(19); turnon_2003050->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_2003050->SetLineColor(ci); turnon_2003050->SetLineWidth(2); turnon_2003050->SetChisquare(0.0005893177); turnon_2003050->SetNDF(20); turnon_2003050->GetXaxis()->SetLabelFont(42); turnon_2003050->GetXaxis()->SetLabelSize(0.035); turnon_2003050->GetXaxis()->SetTitleSize(0.035); turnon_2003050->GetXaxis()->SetTitleFont(42); turnon_2003050->GetYaxis()->SetLabelFont(42); turnon_2003050->GetYaxis()->SetLabelSize(0.035); turnon_2003050->GetYaxis()->SetTitleSize(0.035); turnon_2003050->GetYaxis()->SetTitleFont(42); turnon_2003050->SetParameter(0,206.023); turnon_2003050->SetParError(0,0.1539066); turnon_2003050->SetParLimits(0,0,0); turnon_2003050->SetParameter(1,26.19596); turnon_2003050->SetParError(1,0.3943495); turnon_2003050->SetParLimits(1,0,0); turnon_2003050->SetParameter(2,0.9932072); turnon_2003050->SetParError(2,0.001489361); turnon_2003050->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2003050); grae->Draw("ap"); Double_t eff_graph_fx3051[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_fy3051[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.482412e-06, 0, 8.637816e-06, 4.379588e-05, 4.465402e-05, 0.0001267209, 0.0001938736, 0.0004956606, 0.0006945171, 0.001321723, 0.002143325, 0.003328294, 0.004505161, 0.006832292, 0.01033704, 0.01550225, 0.02505054, 0.0396938, 0.06244098, 0.09912674, 0.1496752, 0.2218076, 0.3061902, 0.4070809, 0.5081507, 0.6107858, 0.7033437, 0.7751382, 0.8414677, 0.8896692, 0.9258137, 0.9499874, 0.9671975, 0.9776466, 0.984644, 0.9889777, 0.9921072, 0.9938563, 0.9960476, 0.9966119, 0.9972183, 0.9975728, 0.9982566, 0.9987397, 0.9991974, 0.99936, 0.999515, 0.9997724, 0.9998394, 0.9998208, 0.9999062, 0.9998893, 0.9999711, 0.9999107, 0.9999691, 0.9999841, 1, 0.999966, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3051[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_fely3051[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.017044e-06, 0, 7.145602e-06, 1.891699e-05, 1.928765e-05, 3.345771e-05, 4.196475e-05, 6.785619e-05, 8.10785e-05, 0.0001131348, 0.0001455862, 0.0001834076, 0.0002159784, 0.0002678946, 0.0003333413, 0.0004107715, 0.0005254437, 0.000666347, 0.0008319744, 0.001039728, 0.001257909, 0.001480334, 0.001660331, 0.001787355, 0.001844109, 0.001824583, 0.0017231, 0.001593355, 0.001417089, 0.001227078, 0.001039411, 0.0008790152, 0.0007262787, 0.0006148394, 0.0005198549, 0.0004476395, 0.0003855887, 0.0003467005, 0.0002849292, 0.0002697265, 0.0002475886, 0.0002337448, 0.0001410025, 0.000124656, 0.0001037431, 9.551234e-05, 8.696184e-05, 6.510603e-05, 5.804285e-05, 6.181984e-05, 5.050855e-05, 5.457309e-05, 3.805265e-05, 5.331944e-05, 4.069244e-05, 3.664663e-05, 3.034238e-05, 4.489567e-05, 3.265501e-05, 3.385543e-05, 3.450907e-05, 3.562905e-05, 3.686916e-05, 3.78913e-05, 3.921245e-05, 4.078839e-05, 4.217118e-05, 4.359107e-05, 4.430973e-05, 4.594523e-05, 4.765052e-05, 4.891531e-05, 2.583567e-05, 2.719225e-05, 2.901947e-05, 3.07406e-05, 3.244953e-05, 3.440653e-05, 3.641771e-05, 3.859105e-05, 4.045408e-05, 4.337948e-05, 4.567848e-05, 4.839073e-05, 5.106159e-05, 5.414941e-05, 5.722627e-05, 6.036152e-05, 6.372981e-05, 6.677161e-05, 7.0113e-05, 7.326598e-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_fehx3051[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_fehy3051[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.950526e-05, 1.576704e-05, 1.986261e-05, 2.962658e-05, 3.020707e-05, 4.371844e-05, 5.220265e-05, 7.784236e-05, 9.113662e-05, 0.0001232442, 0.0001558034, 0.0001937663, 0.0002265377, 0.0002785325, 0.0003441483, 0.0004216224, 0.0005362874, 0.0006771505, 0.0008423772, 0.001049468, 0.001266638, 0.001487402, 0.001665356, 0.001789809, 0.001843888, 0.001821497, 0.001717356, 0.001585416, 0.001406935, 0.001215311, 0.001026282, 0.000864746, 0.0007112332, 0.0005989578, 0.0005033532, 0.0004306761, 0.0003681523, 0.0003287417, 0.0002664173, 0.0002505491, 0.0002281275, 0.0002140381, 0.0001308176, 0.0001138843, 9.244044e-05, 8.376733e-05, 7.453183e-05, 5.175425e-05, 4.397352e-05, 4.731172e-05, 3.458453e-05, 3.829732e-05, 1.863577e-05, 3.541193e-05, 1.992862e-05, 1.318384e-05, 0, 2.198718e-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}; grae = new TGraphAsymmErrors(133,eff_graph_fx3051,eff_graph_fy3051,eff_graph_felx3051,eff_graph_fehx3051,eff_graph_fely3051,eff_graph_fehy3051); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet450 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_eff_graph3051 = new TH1F("Graph_eff_graph3051","HLT_PFJet450 Efficiency (GEN Jets)",133,0,800); Graph_eff_graph3051->SetMinimum(0); Graph_eff_graph3051->SetMaximum(1.1); Graph_eff_graph3051->SetDirectory(0); Graph_eff_graph3051->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3051->SetLineColor(ci); Graph_eff_graph3051->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3051->GetXaxis()->SetLabelFont(42); Graph_eff_graph3051->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3051->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3051->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3051->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3051->GetXaxis()->SetTitleFont(42); Graph_eff_graph3051->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3051->GetYaxis()->SetLabelFont(42); Graph_eff_graph3051->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3051->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3051->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3051->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3051->GetYaxis()->SetTitleFont(42); Graph_eff_graph3051->GetZaxis()->SetLabelFont(42); Graph_eff_graph3051->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3051->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3051->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3051); TF1 *turnon_2003052 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",207.5,315); turnon_2003052->SetFillColor(19); turnon_2003052->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_2003052->SetLineColor(ci); turnon_2003052->SetLineWidth(2); turnon_2003052->SetChisquare(0.0002729486); turnon_2003052->SetNDF(18); turnon_2003052->GetXaxis()->SetLabelFont(42); turnon_2003052->GetXaxis()->SetLabelSize(0.035); turnon_2003052->GetXaxis()->SetTitleSize(0.035); turnon_2003052->GetXaxis()->SetTitleFont(42); turnon_2003052->GetYaxis()->SetLabelFont(42); turnon_2003052->GetYaxis()->SetLabelSize(0.035); turnon_2003052->GetYaxis()->SetTitleSize(0.035); turnon_2003052->GetYaxis()->SetTitleFont(42); turnon_2003052->SetParameter(0,211.8418); turnon_2003052->SetParError(0,0.1147483); turnon_2003052->SetParLimits(0,0,0); turnon_2003052->SetParameter(1,28.78452); turnon_2003052->SetParError(1,0.298011); turnon_2003052->SetParLimits(1,0,0); turnon_2003052->SetParameter(2,0.9943918); turnon_2003052->SetParError(2,0.001207189); turnon_2003052->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2003052); grae->Draw("p"); Double_t eff_graph_fx3053[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_fy3053[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.870417e-05, 3.805573e-05, 0.000194371, 0.00024807, 0.0006392759, 0.0009780256, 0.002136413, 0.003941539, 0.006695911, 0.01154268, 0.01827637, 0.03081917, 0.05053567, 0.0836763, 0.1338789, 0.1958827, 0.2780007, 0.3679348, 0.4608885, 0.5506759, 0.6260395, 0.7002988, 0.7600846, 0.808046, 0.8466155, 0.8746178, 0.896843, 0.9141101, 0.9292907, 0.9405615, 0.949452, 0.9567218, 0.9631029, 0.9679165, 0.971253, 0.9769916, 0.9843188, 0.9872868, 0.9905661, 0.993117, 0.9944531, 0.996021, 0.9970433, 0.9978698, 0.9982292, 0.9990046, 0.9993007, 0.9995063, 0.9995697, 0.9998022, 0.9997787, 0.9998758, 0.9999264, 0.999925, 0.9999806, 0.99998, 0.9999794, 0.9999787, 1, 0.9999771, 1, 1, 1, 1, 1, 1, 1, 0.9999842, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3053[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_fely3053[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.208115e-05, 1.821281e-05, 4.309388e-05, 4.927604e-05, 8.030722e-05, 0.0001006563, 0.0001500543, 0.0002064157, 0.0002710884, 0.0003590412, 0.0004570354, 0.0005940946, 0.0007618505, 0.0009759411, 0.0012127, 0.00142879, 0.001628679, 0.001777199, 0.00186308, 0.001873371, 0.001842698, 0.001772203, 0.001665681, 0.001553007, 0.001441745, 0.001335401, 0.001246529, 0.001161997, 0.001073086, 0.001000055, 0.0009387021, 0.0008818153, 0.0008313986, 0.000782309, 0.0007461898, 0.0004802247, 0.0004095619, 0.0003771601, 0.000332157, 0.0002925903, 0.0002691664, 0.0002338363, 0.0002072901, 0.0001824762, 0.0001705916, 0.000134761, 0.0001175648, 0.0001035721, 9.974317e-05, 7.514251e-05, 7.994257e-05, 6.686983e-05, 5.815854e-05, 5.928134e-05, 4.450181e-05, 4.605072e-05, 4.732739e-05, 4.897752e-05, 4.078839e-05, 5.2673e-05, 4.359107e-05, 4.430973e-05, 4.594523e-05, 4.765052e-05, 4.891531e-05, 2.583567e-05, 2.719225e-05, 3.624632e-05, 3.07406e-05, 3.244953e-05, 3.440653e-05, 3.641771e-05, 3.859105e-05, 4.045408e-05, 4.337948e-05, 4.567848e-05, 4.839073e-05, 5.106159e-05, 5.414941e-05, 5.722627e-05, 6.036152e-05, 6.372981e-05, 6.677161e-05, 7.0113e-05, 7.326598e-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_fehx3053[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_fehy3053[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, 2.466896e-05, 3.00892e-05, 5.389744e-05, 6.018828e-05, 9.108154e-05, 0.0001115773, 0.0001609569, 0.0002174719, 0.0002822121, 0.0003702483, 0.0004683865, 0.0006052807, 0.0007727942, 0.0009863286, 0.00122201, 0.001436681, 0.001634544, 0.001780779, 0.00186417, 0.00187194, 0.001839063, 0.001766253, 0.00165784, 0.001543533, 0.001430793, 0.001323398, 0.001233426, 0.001148026, 0.001058364, 0.0009846697, 0.0009226342, 0.0008651578, 0.000813959, 0.0007645035, 0.0007280849, 0.0004707301, 0.0003994263, 0.0003665785, 0.0003211453, 0.0002809663, 0.0002570427, 0.0002212347, 0.0001941464, 0.0001686054, 0.0001561956, 0.0001194947, 0.0001016193, 8.679451e-05, 8.228356e-05, 5.628597e-05, 6.056638e-05, 4.578833e-05, 3.520397e-05, 3.588366e-05, 1.600988e-05, 1.656713e-05, 1.702644e-05, 1.762011e-05, 0, 1.894964e-05, 0, 0, 0, 0, 0, 0, 0, 1.303982e-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}; grae = new TGraphAsymmErrors(133,eff_graph_fx3053,eff_graph_fy3053,eff_graph_felx3053,eff_graph_fehx3053,eff_graph_fely3053,eff_graph_fehy3053); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet450 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_eff_graph3053 = new TH1F("Graph_eff_graph3053","HLT_PFJet450 Efficiency (GEN Jets)",133,0,800); Graph_eff_graph3053->SetMinimum(0); Graph_eff_graph3053->SetMaximum(1.1); Graph_eff_graph3053->SetDirectory(0); Graph_eff_graph3053->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3053->SetLineColor(ci); Graph_eff_graph3053->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3053->GetXaxis()->SetLabelFont(42); Graph_eff_graph3053->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3053->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3053->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3053->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3053->GetXaxis()->SetTitleFont(42); Graph_eff_graph3053->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3053->GetYaxis()->SetLabelFont(42); Graph_eff_graph3053->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3053->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3053->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3053->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3053->GetYaxis()->SetTitleFont(42); Graph_eff_graph3053->GetZaxis()->SetLabelFont(42); Graph_eff_graph3053->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3053->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3053->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3053); TF1 *turnon_2003054 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",217.5,395); turnon_2003054->SetFillColor(19); turnon_2003054->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_2003054->SetLineColor(ci); turnon_2003054->SetLineWidth(2); turnon_2003054->SetChisquare(0.004159505); turnon_2003054->SetNDF(24); turnon_2003054->GetXaxis()->SetLabelFont(42); turnon_2003054->GetXaxis()->SetLabelSize(0.035); turnon_2003054->GetXaxis()->SetTitleSize(0.035); turnon_2003054->GetXaxis()->SetTitleFont(42); turnon_2003054->GetYaxis()->SetLabelFont(42); turnon_2003054->GetYaxis()->SetLabelSize(0.035); turnon_2003054->GetYaxis()->SetTitleSize(0.035); turnon_2003054->GetYaxis()->SetTitleFont(42); turnon_2003054->SetParameter(0,217.9733); turnon_2003054->SetParError(0,0.6160046); turnon_2003054->SetParLimits(0,0,0); turnon_2003054->SetParameter(1,39.80628); turnon_2003054->SetParError(1,1.590783); turnon_2003054->SetParLimits(1,0,0); turnon_2003054->SetParameter(2,0.9830873); turnon_2003054->SetParError(2,0.003692326); turnon_2003054->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2003054); 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.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("HLT_PFJet450 Efficiency (GEN Jets)"); pt->Draw(); Eff_GEN_PT200->Modified(); Eff_GEN_PT200->cd(); Eff_GEN_PT200->SetSelected(Eff_GEN_PT200); }