void Eff_GEN_PT200() { //=========Macro generated from canvas: Eff_GEN_PT200/ //========= (Fri May 13 17:52:58 2016) by ROOT version6.06/01 TCanvas *Eff_GEN_PT200 = new TCanvas("Eff_GEN_PT200", "",0,0,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_fx3169[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_fy3169[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.705248e-05, 6.10293e-05, 4.455018e-05, 7.258672e-05, 0.0001478606, 0.0002915863, 0.000396691, 0.0004436732, 0.001135431, 0.001743082, 0.003039738, 0.006202275, 0.01158422, 0.0214978, 0.04085754, 0.07502842, 0.1330223, 0.2194677, 0.3283536, 0.4461402, 0.570345, 0.6810578, 0.7702186, 0.8419247, 0.8950177, 0.9316367, 0.9535314, 0.9679607, 0.9778726, 0.9850059, 0.9890134, 0.9917462, 0.9937057, 0.9941549, 0.9958145, 0.9964654, 0.9967034, 0.9975538, 0.9977666, 0.9984189, 0.9986675, 0.999109, 0.9992177, 0.999441, 0.9996219, 0.999774, 0.9998181, 0.9998639, 0.9998731, 0.9999417, 0.999924, 0.9999053, 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_felx3169[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_fely3169[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.101431e-05, 2.250621e-05, 1.924279e-05, 2.511813e-05, 3.657367e-05, 5.208129e-05, 6.169026e-05, 6.588159e-05, 0.0001070779, 0.000134248, 0.0001787732, 0.0002587412, 0.0003573662, 0.000489092, 0.0006748772, 0.0009122305, 0.001188392, 0.001466131, 0.001681525, 0.001804212, 0.001814984, 0.001733674, 0.001585119, 0.001394104, 0.001186742, 0.0009928376, 0.0008380551, 0.0007114309, 0.0006037141, 0.0005065611, 0.000443717, 0.000391633, 0.0003468523, 0.000338745, 0.0002932465, 0.0002741847, 0.0002688574, 0.00023658, 0.0002301992, 0.0001984767, 0.0001278549, 0.0001088791, 0.0001050794, 9.286032e-05, 8.08098e-05, 6.678921e-05, 6.273677e-05, 5.805916e-05, 5.795995e-05, 4.609918e-05, 5.140052e-05, 5.654947e-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_fehx3169[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_fehy3169[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, 2.249058e-05, 3.286954e-05, 3.013683e-05, 3.579367e-05, 4.696951e-05, 6.232825e-05, 7.211492e-05, 7.646843e-05, 0.0001176717, 0.0001449872, 0.0001895736, 0.0002696939, 0.0003684273, 0.0005000923, 0.0006856276, 0.0009224694, 0.001197402, 0.001473175, 0.001685921, 0.001805627, 0.001813102, 0.001728697, 0.001577517, 0.00138424, 0.001175089, 0.000979753, 0.0008240475, 0.0006966394, 0.0005882372, 0.0004905068, 0.0004269897, 0.0003744061, 0.0003292797, 0.0003207561, 0.0002746859, 0.0002551429, 0.0002493209, 0.0002165599, 0.0002095949, 0.0001774005, 0.0001170987, 9.757306e-05, 9.325236e-05, 8.038578e-05, 6.752599e-05, 5.275883e-05, 4.801351e-05, 4.230187e-05, 4.150982e-05, 2.790399e-05, 3.282068e-05, 3.755728e-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_fx3169,eff_graph_fy3169,eff_graph_felx3169,eff_graph_fehx3169,eff_graph_fely3169,eff_graph_fehy3169); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet200 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_graph30093169 = new TH1F("Graph_Graph_eff_graph30093169","HLT_PFJet200 Efficiency (GEN Jets)",136,0,800); Graph_Graph_eff_graph30093169->SetMinimum(0); Graph_Graph_eff_graph30093169->SetMaximum(1.1); Graph_Graph_eff_graph30093169->SetDirectory(0); Graph_Graph_eff_graph30093169->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30093169->SetLineColor(ci); Graph_Graph_eff_graph30093169->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30093169->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30093169->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30093169->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30093169->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30093169->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30093169->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30093169->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30093169->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30093169->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30093169->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30093169->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30093169->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30093169->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30093169->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30093169->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30093169->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30093169->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30093169); TF1 *turnon_2003170 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",197.5,305); turnon_2003170->SetFillColor(19); turnon_2003170->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_2003170->SetLineColor(ci); turnon_2003170->SetLineWidth(2); turnon_2003170->SetChisquare(0.0006267934); turnon_2003170->SetNDF(19); turnon_2003170->GetXaxis()->SetLabelFont(42); turnon_2003170->GetXaxis()->SetLabelSize(0.035); turnon_2003170->GetXaxis()->SetTitleSize(0.035); turnon_2003170->GetXaxis()->SetTitleFont(42); turnon_2003170->GetYaxis()->SetLabelFont(42); turnon_2003170->GetYaxis()->SetLabelSize(0.035); turnon_2003170->GetYaxis()->SetTitleSize(0.035); turnon_2003170->GetYaxis()->SetTitleFont(42); turnon_2003170->SetParameter(0,199.2946); turnon_2003170->SetParError(0,0.1755172); turnon_2003170->SetParLimits(0,0,0); turnon_2003170->SetParameter(1,25.26128); turnon_2003170->SetParError(1,0.4408632); turnon_2003170->SetParLimits(1,0,0); turnon_2003170->SetParameter(2,0.9931633); turnon_2003170->SetParError(2,0.001603848); turnon_2003170->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2003170); grae->Draw("ap"); Double_t eff_graph_fx3171[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_fy3171[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.637816e-06, 5.255505e-05, 6.251563e-05, 9.051494e-05, 9.232076e-05, 0.0002338022, 0.0003615295, 0.0008163583, 0.001160968, 0.002222245, 0.004120193, 0.007921651, 0.01525582, 0.02717037, 0.0510385, 0.09088159, 0.1500118, 0.2356359, 0.3418952, 0.4633714, 0.580816, 0.6918179, 0.7831395, 0.8542788, 0.9038388, 0.9359569, 0.9585145, 0.9726574, 0.9820655, 0.987273, 0.9922771, 0.9935383, 0.9947083, 0.996513, 0.9969883, 0.9972734, 0.9984118, 0.9984176, 0.9987595, 0.9987674, 0.9992219, 0.9995765, 0.999679, 0.9997462, 0.9998152, 0.9999401, 0.9999506, 0.9999488, 0.9999464, 0.9999447, 1, 0.9999405, 0.9999691, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3171[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_fely3171[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.145602e-06, 2.084604e-05, 2.305433e-05, 2.813773e-05, 2.869908e-05, 4.644212e-05, 5.838115e-05, 8.886554e-05, 0.0001071267, 0.0001499057, 0.0002065751, 0.0002883201, 0.0004040018, 0.0005406847, 0.0007401521, 0.0009814349, 0.001228555, 0.001477765, 0.001674325, 0.00177927, 0.001780743, 0.00168394, 0.001525081, 0.001326088, 0.001118469, 0.0009413564, 0.0007811389, 0.0006464524, 0.0005343203, 0.0004600162, 0.0003653585, 0.0003410439, 0.000313859, 0.0002604584, 0.0002456646, 0.0002375424, 0.000187824, 0.0001907521, 0.0001721383, 0.0001725051, 9.77206e-05, 7.699392e-05, 6.995236e-05, 6.470524e-05, 5.869554e-05, 4.052118e-05, 3.908128e-05, 4.048035e-05, 4.237083e-05, 4.375177e-05, 2.655833e-05, 4.705807e-05, 4.069244e-05, 2.933996e-05, 3.034238e-05, 3.133445e-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_fehx3171[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_fehy3171[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.986261e-05, 3.138843e-05, 3.367002e-05, 3.861978e-05, 3.939021e-05, 5.672703e-05, 6.86614e-05, 9.909888e-05, 0.0001174852, 0.00016035, 0.000217154, 0.0002989198, 0.0004146702, 0.0005512404, 0.0007503709, 0.0009910104, 0.001236857, 0.001484178, 0.001678259, 0.0017802, 0.001778648, 0.001678873, 0.001517399, 0.001316206, 0.001107036, 0.0009287366, 0.0007674455, 0.0006320977, 0.0005193492, 0.0004444329, 0.0003493233, 0.0003244462, 0.0002968226, 0.0002429757, 0.000227806, 0.0002192223, 0.0001688722, 0.0001711858, 0.0001522326, 0.0001524131, 8.733181e-05, 6.586438e-05, 5.827899e-05, 5.252439e-05, 4.570499e-05, 2.587362e-05, 2.365587e-05, 2.450276e-05, 2.564712e-05, 2.648303e-05, 0, 2.848444e-05, 1.992862e-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}; grae = new TGraphAsymmErrors(133,eff_graph_fx3171,eff_graph_fy3171,eff_graph_felx3171,eff_graph_fehx3171,eff_graph_fely3171,eff_graph_fehy3171); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet200 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_graph30293171 = new TH1F("Graph_Graph_eff_graph30293171","HLT_PFJet200 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30293171->SetMinimum(0); Graph_Graph_eff_graph30293171->SetMaximum(1.1); Graph_Graph_eff_graph30293171->SetDirectory(0); Graph_Graph_eff_graph30293171->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30293171->SetLineColor(ci); Graph_Graph_eff_graph30293171->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30293171->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30293171->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30293171->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30293171->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30293171->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30293171->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30293171->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30293171->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30293171->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30293171->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30293171->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30293171->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30293171->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30293171->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30293171->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30293171->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30293171->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30293171); TF1 *turnon_2003172 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",197.5,297.5); turnon_2003172->SetFillColor(19); turnon_2003172->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_2003172->SetLineColor(ci); turnon_2003172->SetLineWidth(2); turnon_2003172->SetChisquare(0.0004265813); turnon_2003172->SetNDF(18); turnon_2003172->GetXaxis()->SetLabelFont(42); turnon_2003172->GetXaxis()->SetLabelSize(0.035); turnon_2003172->GetXaxis()->SetTitleSize(0.035); turnon_2003172->GetXaxis()->SetTitleFont(42); turnon_2003172->GetYaxis()->SetLabelFont(42); turnon_2003172->GetYaxis()->SetLabelSize(0.035); turnon_2003172->GetYaxis()->SetTitleSize(0.035); turnon_2003172->GetYaxis()->SetTitleFont(42); turnon_2003172->SetParameter(0,198.7245); turnon_2003172->SetParError(0,0.1535516); turnon_2003172->SetParLimits(0,0,0); turnon_2003172->SetParameter(1,25.05172); turnon_2003172->SetParError(1,0.3817022); turnon_2003172->SetParLimits(1,0,0); turnon_2003172->SetParameter(2,0.9943388); turnon_2003172->SetParError(2,0.001404619); turnon_2003172->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2003172); grae->Draw("p"); Double_t eff_graph_fx3173[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_fy3173[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.930804e-06, 1.810299e-05, 0, 1.870417e-05, 4.756967e-05, 0.000194371, 0.0001091508, 0.0003551533, 0.0009155985, 0.001840277, 0.004343294, 0.007369921, 0.01513423, 0.02676889, 0.05107413, 0.08793014, 0.1444067, 0.2179247, 0.3027806, 0.4003315, 0.4959821, 0.5820523, 0.6643644, 0.7275978, 0.7859023, 0.828156, 0.8627523, 0.8880491, 0.908949, 0.9241656, 0.9358798, 0.9469808, 0.9551875, 0.9620049, 0.9664495, 0.9714802, 0.9758293, 0.9784208, 0.9825959, 0.9880274, 0.9903795, 0.9929053, 0.9951149, 0.9959986, 0.9971208, 0.9979649, 0.9987272, 0.9988379, 0.999322, 0.9995536, 0.9997069, 0.9997609, 0.9998846, 0.9998128, 0.9998758, 0.9999816, 0.999925, 0.9999806, 0.99998, 0.9999794, 1, 1, 0.9999771, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3173[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_fely3173[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.387975e-06, 1.169284e-05, 0, 1.208115e-05, 2.054701e-05, 4.309388e-05, 3.240283e-05, 5.97363e-05, 9.738173e-05, 0.0001392673, 0.0002166481, 0.0002843197, 0.0004104128, 0.0005507971, 0.0007569208, 0.0009852402, 0.001239355, 0.001470944, 0.001655081, 0.001782461, 0.001844129, 0.001845226, 0.001780414, 0.001697661, 0.001589145, 0.001473847, 0.001359327, 0.001263829, 0.001162496, 0.001087308, 0.001018191, 0.0009403258, 0.0008773805, 0.0008215966, 0.0007825432, 0.0007364099, 0.0006843179, 0.0006514685, 0.0004201633, 0.0003598723, 0.0003300288, 0.0002898904, 0.0002486166, 0.0002306584, 0.0002009428, 0.0001743431, 0.000144336, 0.0001410376, 0.0001139826, 9.725722e-05, 8.383221e-05, 7.901493e-05, 6.213446e-05, 7.516112e-05, 6.686983e-05, 4.228653e-05, 5.928134e-05, 4.450181e-05, 4.605072e-05, 4.732739e-05, 3.921245e-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, 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_fehx3173[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_fehy3173[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, 2.053632e-05, 2.387607e-05, 1.699631e-05, 2.466896e-05, 3.217934e-05, 5.389744e-05, 4.38209e-05, 7.073562e-05, 0.0001083222, 0.0001502051, 0.0002276819, 0.0002954178, 0.0004215159, 0.0005619242, 0.0007676013, 0.0009952554, 0.001248216, 0.00147811, 0.001660195, 0.001785093, 0.001844238, 0.00184294, 0.001775772, 0.001691095, 0.001580648, 0.001463947, 0.001348162, 0.001251558, 0.001149382, 0.001073289, 0.00100347, 0.00092498, 0.0008614646, 0.000805057, 0.0007655081, 0.0007186282, 0.0006661788, 0.0006330526, 0.0004105425, 0.0003496405, 0.0003193574, 0.0002787978, 0.0002369018, 0.0002184477, 0.0001882531, 0.0001610888, 0.0001302853, 0.0001264806, 9.852252e-05, 8.103012e-05, 6.664162e-05, 6.102488e-05, 4.254562e-05, 5.557895e-05, 4.578833e-05, 1.521289e-05, 3.588366e-05, 1.600988e-05, 1.656713e-05, 1.702644e-05, 0, 0, 1.894964e-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}; grae = new TGraphAsymmErrors(133,eff_graph_fx3173,eff_graph_fy3173,eff_graph_felx3173,eff_graph_fehx3173,eff_graph_fely3173,eff_graph_fehy3173); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet200 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_graph30493173 = new TH1F("Graph_Graph_eff_graph30493173","HLT_PFJet200 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30493173->SetMinimum(0); Graph_Graph_eff_graph30493173->SetMaximum(1.1); Graph_Graph_eff_graph30493173->SetDirectory(0); Graph_Graph_eff_graph30493173->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30493173->SetLineColor(ci); Graph_Graph_eff_graph30493173->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30493173->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30493173->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30493173->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30493173->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30493173->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30493173->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30493173->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30493173->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30493173->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30493173->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30493173->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30493173->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30493173->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30493173->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30493173->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30493173->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30493173->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30493173); TF1 *turnon_2003174 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",212.5,395); turnon_2003174->SetFillColor(19); turnon_2003174->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_2003174->SetLineColor(ci); turnon_2003174->SetLineWidth(2); turnon_2003174->SetChisquare(0.00390945); turnon_2003174->SetNDF(25); turnon_2003174->GetXaxis()->SetLabelFont(42); turnon_2003174->GetXaxis()->SetLabelSize(0.035); turnon_2003174->GetXaxis()->SetTitleSize(0.035); turnon_2003174->GetXaxis()->SetTitleFont(42); turnon_2003174->GetYaxis()->SetLabelFont(42); turnon_2003174->GetYaxis()->SetLabelSize(0.035); turnon_2003174->GetYaxis()->SetTitleSize(0.035); turnon_2003174->GetYaxis()->SetTitleFont(42); turnon_2003174->SetParameter(0,210.563); turnon_2003174->SetParError(0,0.6726186); turnon_2003174->SetParLimits(0,0,0); turnon_2003174->SetParameter(1,40.04168); turnon_2003174->SetParError(1,1.637389); turnon_2003174->SetParLimits(1,0,0); turnon_2003174->SetParameter(2,0.9849145); turnon_2003174->SetParError(2,0.003362211); turnon_2003174->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2003174); 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_PFJet200 Efficiency (GEN Jets)"); pt->Draw(); Eff_GEN_PT200->Modified(); Eff_GEN_PT200->cd(); Eff_GEN_PT200->SetSelected(Eff_GEN_PT200); }