void Eff_GEN_PT450() { //=========Macro generated from canvas: Eff_GEN_PT450/ //========= (Fri May 13 17:52:59 2016) by ROOT version6.06/01 TCanvas *Eff_GEN_PT450 = new TCanvas("Eff_GEN_PT450", "",0,0,600,600); Eff_GEN_PT450->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_GEN_PT450->SetFillColor(0); Eff_GEN_PT450->SetBorderMode(0); Eff_GEN_PT450->SetBorderSize(10); Eff_GEN_PT450->SetGridx(); Eff_GEN_PT450->SetGridy(); Eff_GEN_PT450->SetLeftMargin(0.18); Eff_GEN_PT450->SetRightMargin(0.05); Eff_GEN_PT450->SetTopMargin(0.08); Eff_GEN_PT450->SetBottomMargin(0.15); Eff_GEN_PT450->SetFrameFillStyle(0); Eff_GEN_PT450->SetFrameLineStyle(0); Eff_GEN_PT450->SetFrameBorderMode(0); Eff_GEN_PT450->SetFrameBorderSize(10); Eff_GEN_PT450->SetFrameFillStyle(0); Eff_GEN_PT450->SetFrameLineStyle(0); Eff_GEN_PT450->SetFrameBorderMode(0); Eff_GEN_PT450->SetFrameBorderSize(10); Double_t eff_graph_fx3217[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_fy3217[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, 1.597648e-05, 0, 0, 0, 0, 1.771228e-05, 5.435767e-05, 1.850584e-05, 0, 1.926151e-05, 5.929322e-05, 8.005604e-05, 8.263268e-05, 9.661939e-05, 0.0003017502, 0.0002445614, 0.0003170886, 0.0008662139, 0.001688641, 0.003796642, 0.008645005, 0.02033409, 0.04958816, 0.1023088, 0.1880311, 0.3023194, 0.4352871, 0.5804012, 0.7003837, 0.797275, 0.8709325, 0.9201525, 0.9503096, 0.966853, 0.9771423, 0.9841759, 0.9883105, 0.9908216, 0.9922891, 0.9928307, 0.9952165, 0.9962795, 0.9967139, 0.997186, 0.9979856, 0.9986352, 0.9990749, 0.9989647, 0.9994538, 0.9996439, 0.9996939, 0.9997483, 0.9997099, 0.9998877, 0.9999406, 0.9998431, 0.9999332, 0.9999297, 0.9999264, 0.9999229, 1, 0.9999571, 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_felx3217[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_fely3217[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, 1.321649e-05, 0, 0, 0, 0, 1.465242e-05, 2.95832e-05, 1.530889e-05, 0, 1.593402e-05, 3.226927e-05, 3.831322e-05, 2.85944e-05, 3.159881e-05, 5.770428e-05, 5.293552e-05, 6.177735e-05, 0.0001039917, 0.0001478089, 0.0002267813, 0.0003476806, 0.0005390889, 0.0008470061, 0.001205469, 0.00157958, 0.001880367, 0.002078658, 0.00211218, 0.001990183, 0.001775202, 0.00151217, 0.001246043, 0.001019235, 0.0008595635, 0.0007340497, 0.000629038, 0.0005530454, 0.0004999626, 0.0004694548, 0.0004607282, 0.0003910188, 0.0003521139, 0.0002358335, 0.0002260983, 0.0002009673, 0.0001737935, 0.0001518607, 0.0001643084, 0.0001294616, 0.0001130914, 0.0001106044, 0.0001073929, 0.000116458, 8.876513e-05, 7.828099e-05, 0.0001061594, 8.804511e-05, 9.274418e-05, 9.70218e-05, 0.0001016935, 7.427392e-05, 9.857937e-05, 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_fehx3217[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_fehy3217[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, 3.673738e-05, 2.99719e-05, 3.087982e-05, 3.152547e-05, 3.192232e-05, 4.072867e-05, 5.287243e-05, 4.255337e-05, 3.487912e-05, 4.429095e-05, 5.767284e-05, 6.329484e-05, 4.074719e-05, 4.412194e-05, 6.995105e-05, 6.584879e-05, 7.516361e-05, 0.0001172801, 0.0001613238, 0.0002406915, 0.0003618209, 0.0005532617, 0.0008608188, 0.001218103, 0.00158979, 0.001886989, 0.002080926, 0.002109251, 0.001982683, 0.001763747, 0.001497326, 0.001228677, 0.0009999988, 0.0008388266, 0.0007120654, 0.0006057921, 0.0005288681, 0.0004749752, 0.0004434143, 0.000433857, 0.0003625881, 0.0003229163, 0.0002205637, 0.0002098801, 0.0001834828, 0.0001551077, 0.0001316653, 0.0001430577, 0.0001064123, 8.806758e-05, 8.379949e-05, 7.825076e-05, 8.612059e-05, 5.373207e-05, 3.833837e-05, 6.778955e-05, 4.312074e-05, 4.542233e-05, 4.75175e-05, 4.980571e-05, 0, 3.54661e-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_fx3217,eff_graph_fy3217,eff_graph_felx3217,eff_graph_fehx3217,eff_graph_fely3217,eff_graph_fehy3217); 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_Graph_eff_graph30173217 = new TH1F("Graph_Graph_eff_graph30173217","HLT_PFJet450 Efficiency (GEN Jets)",136,0,800); Graph_Graph_eff_graph30173217->SetMinimum(0); Graph_Graph_eff_graph30173217->SetMaximum(1.1); Graph_Graph_eff_graph30173217->SetDirectory(0); Graph_Graph_eff_graph30173217->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30173217->SetLineColor(ci); Graph_Graph_eff_graph30173217->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30173217->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30173217->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30173217->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30173217->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30173217->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30173217->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30173217->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30173217->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30173217->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30173217->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30173217->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30173217->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30173217->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30173217->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30173217->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30173217->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30173217->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30173217); TF1 *turnon_4503218 = new TF1("turnon_450","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",445,670); turnon_4503218->SetFillColor(19); turnon_4503218->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_4503218->SetLineColor(ci); turnon_4503218->SetLineWidth(2); turnon_4503218->SetChisquare(0.0006367557); turnon_4503218->SetNDF(17); turnon_4503218->GetXaxis()->SetLabelFont(42); turnon_4503218->GetXaxis()->SetLabelSize(0.035); turnon_4503218->GetXaxis()->SetTitleSize(0.035); turnon_4503218->GetXaxis()->SetTitleFont(42); turnon_4503218->GetYaxis()->SetLabelFont(42); turnon_4503218->GetYaxis()->SetLabelSize(0.035); turnon_4503218->GetYaxis()->SetTitleSize(0.035); turnon_4503218->GetYaxis()->SetTitleFont(42); turnon_4503218->SetParameter(0,448.8904); turnon_4503218->SetParError(0,0.3310075); turnon_4503218->SetParLimits(0,0,0); turnon_4503218->SetParameter(1,43.81517); turnon_4503218->SetParError(1,0.8401149); turnon_4503218->SetParLimits(1,0,0); turnon_4503218->SetParameter(2,0.9921398); turnon_4503218->SetParError(2,0.001771696); turnon_4503218->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_4503218); grae->Draw("ap"); Double_t eff_graph_fx3219[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_fy3219[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, 1.730882e-05, 1.770507e-05, 1.804761e-05, 0, 5.638568e-05, 3.792476e-05, 5.9097e-05, 6.198091e-05, 9.631231e-05, 0.0002317088, 0.0004273011, 0.0007547622, 0.001272799, 0.003289516, 0.0079179, 0.01938161, 0.04444669, 0.09670268, 0.1802937, 0.2995681, 0.4456604, 0.5871019, 0.7210919, 0.8222259, 0.8897428, 0.9346635, 0.9614283, 0.9758572, 0.9837909, 0.9889664, 0.9919597, 0.9941041, 0.9952344, 0.9961067, 0.9969975, 0.9974758, 0.9982879, 0.9987741, 0.9990858, 0.9992319, 0.999577, 0.9994954, 0.9996439, 0.9998952, 0.9999121, 0.9998822, 0.9999504, 0.9999211, 0.9999445, 1, 1, 1, 1, 1, 0.9999619, 1, 1, 1, 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_felx3219[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_fely3219[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, 1.431866e-05, 1.464646e-05, 1.492982e-05, 0, 3.06869e-05, 2.449584e-05, 2.344089e-05, 2.458479e-05, 3.149838e-05, 5.015376e-05, 6.991846e-05, 9.481067e-05, 0.000125144, 0.0002047641, 0.0003244191, 0.0005129715, 0.0007833396, 0.001141469, 0.001512685, 0.001833413, 0.002025174, 0.002041231, 0.001901546, 0.001654671, 0.001372782, 0.001105306, 0.0008811709, 0.0007166239, 0.0006039942, 0.00051392, 0.0004505502, 0.0003965605, 0.000362381, 0.0003366216, 0.0003049508, 0.0002860523, 0.0001693031, 0.0001497728, 0.0001364283, 0.0001307101, 0.0001051461, 0.0001169622, 0.0001052338, 7.089771e-05, 6.949337e-05, 7.969412e-05, 6.544694e-05, 7.669958e-05, 7.315943e-05, 5.414941e-05, 5.722627e-05, 6.036152e-05, 6.372981e-05, 6.677161e-05, 8.757216e-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_fehx3219[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_fehy3219[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.980096e-05, 4.071209e-05, 4.149972e-05, 3.427202e-05, 5.484491e-05, 5.001789e-05, 3.529541e-05, 3.701773e-05, 4.398172e-05, 6.23887e-05, 8.240831e-05, 0.0001075285, 0.0001380786, 0.0002178773, 0.0003378769, 0.0005264488, 0.0007966043, 0.001153549, 0.001522599, 0.001839829, 0.002026972, 0.002038253, 0.001893666, 0.001642754, 0.001358069, 0.001088332, 0.0008624744, 0.0006967462, 0.0005830083, 0.0004917648, 0.0004274073, 0.0003724171, 0.0003376917, 0.0003108644, 0.0002780248, 0.0002582558, 0.0001546829, 0.0001342278, 0.0001196584, 0.0001128055, 8.573272e-05, 9.649058e-05, 8.313123e-05, 4.527107e-05, 4.206553e-05, 5.088839e-05, 3.20525e-05, 4.291592e-05, 3.582991e-05, 0, 0, 0, 0, 0, 3.150576e-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}; grae = new TGraphAsymmErrors(133,eff_graph_fx3219,eff_graph_fy3219,eff_graph_felx3219,eff_graph_fehx3219,eff_graph_fely3219,eff_graph_fehy3219); 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_Graph_eff_graph30373219 = new TH1F("Graph_Graph_eff_graph30373219","HLT_PFJet450 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30373219->SetMinimum(0); Graph_Graph_eff_graph30373219->SetMaximum(1.1); Graph_Graph_eff_graph30373219->SetDirectory(0); Graph_Graph_eff_graph30373219->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30373219->SetLineColor(ci); Graph_Graph_eff_graph30373219->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30373219->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30373219->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30373219->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30373219->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30373219->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30373219->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30373219->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30373219->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30373219->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30373219->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30373219->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30373219->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30373219->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30373219->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30373219->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30373219->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30373219->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30373219); TF1 *turnon_4503220 = new TF1("turnon_450","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",445,630); turnon_4503220->SetFillColor(19); turnon_4503220->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_4503220->SetLineColor(ci); turnon_4503220->SetLineWidth(2); turnon_4503220->SetChisquare(0.0004018284); turnon_4503220->SetNDF(15); turnon_4503220->GetXaxis()->SetLabelFont(42); turnon_4503220->GetXaxis()->SetLabelSize(0.035); turnon_4503220->GetXaxis()->SetTitleSize(0.035); turnon_4503220->GetXaxis()->SetTitleFont(42); turnon_4503220->GetYaxis()->SetLabelFont(42); turnon_4503220->GetYaxis()->SetLabelSize(0.035); turnon_4503220->GetYaxis()->SetTitleSize(0.035); turnon_4503220->GetYaxis()->SetTitleFont(42); turnon_4503220->SetParameter(0,448.3376); turnon_4503220->SetParError(0,0.2695332); turnon_4503220->SetParLimits(0,0,0); turnon_4503220->SetParameter(1,40.7978); turnon_4503220->SetParError(1,0.6841044); turnon_4503220->SetParLimits(1,0,0); turnon_4503220->SetParameter(2,0.9932654); turnon_4503220->SetParError(2,0.001596317); turnon_4503220->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_4503220); grae->Draw("p"); Double_t eff_graph_fx3221[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_fy3221[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, 9.8495e-06, 0, 1.070137e-05, 5.516876e-05, 9.238942e-05, 0.0001797053, 0.0005313628, 0.001523161, 0.003496738, 0.008438819, 0.0211486, 0.04643931, 0.09283885, 0.1613942, 0.2546231, 0.3582115, 0.4763822, 0.5823495, 0.6790508, 0.7502274, 0.808944, 0.8548141, 0.8807855, 0.9050847, 0.9248883, 0.9350981, 0.9467363, 0.9552522, 0.960968, 0.9674514, 0.9734065, 0.9803258, 0.9835593, 0.9874933, 0.9909578, 0.9929168, 0.9941249, 0.9958285, 0.9973411, 0.9978793, 0.9983872, 0.9987909, 0.9991957, 0.9993823, 0.9995337, 0.9998361, 0.9996192, 0.9997824, 0.9999238, 0.9999204, 1, 0.9999553, 0.999906, 0.9999503, 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_felx3221[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_fely3221[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, 8.147963e-06, 0, 8.852668e-06, 2.38293e-05, 3.197058e-05, 4.587505e-05, 8.070025e-05, 0.0001393439, 0.0002159709, 0.0003402543, 0.0005467175, 0.0008123744, 0.001141238, 0.001471215, 0.00177279, 0.001984182, 0.002111888, 0.002125582, 0.002033931, 0.001918873, 0.001775549, 0.001615877, 0.001514317, 0.001399737, 0.001282768, 0.001221015, 0.001124604, 0.001056864, 0.001010378, 0.0009406305, 0.0006164812, 0.0005483449, 0.0005205267, 0.0004708008, 0.0004151316, 0.0003814167, 0.0003599473, 0.0003164532, 0.0002639698, 0.0002476385, 0.0002256719, 0.0002057078, 0.0001787277, 0.0001662735, 0.0001540939, 0.0001108891, 0.0001528488, 0.0001299561, 0.0001004542, 0.0001049714, 7.780196e-05, 0.0001028013, 0.0001239635, 0.0001142812, 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_fehx3221[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_fehy3221[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.264882e-05, 1.901785e-05, 2.460764e-05, 3.731964e-05, 4.555803e-05, 5.940033e-05, 9.398817e-05, 0.000152691, 0.0002296876, 0.0003541316, 0.0005607157, 0.0008259956, 0.001153885, 0.001482066, 0.001780916, 0.001989029, 0.002112729, 0.00212254, 0.002027188, 0.001909139, 0.001763104, 0.001601177, 0.00149798, 0.001381644, 0.001263126, 0.001200207, 0.001102865, 0.001033866, 0.0009862017, 0.0009154292, 0.0006030394, 0.0005339594, 0.000505044, 0.0004542213, 0.0003974402, 0.0003625171, 0.0003398287, 0.0002949266, 0.000241116, 0.000222935, 0.0001994016, 0.0001775473, 0.000148458, 0.0001336828, 0.0001190205, 7.08101e-05, 0.0001130362, 8.631681e-05, 4.919871e-05, 5.141125e-05, 0, 3.698515e-05, 6.07139e-05, 4.111565e-05, 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_fx3221,eff_graph_fy3221,eff_graph_felx3221,eff_graph_fehx3221,eff_graph_fely3221,eff_graph_fehy3221); 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_Graph_eff_graph30573221 = new TH1F("Graph_Graph_eff_graph30573221","HLT_PFJet450 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30573221->SetMinimum(0); Graph_Graph_eff_graph30573221->SetMaximum(1.1); Graph_Graph_eff_graph30573221->SetDirectory(0); Graph_Graph_eff_graph30573221->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30573221->SetLineColor(ci); Graph_Graph_eff_graph30573221->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30573221->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30573221->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30573221->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30573221->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30573221->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30573221->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30573221->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30573221->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30573221->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30573221->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30573221->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30573221->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30573221->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30573221->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30573221->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30573221->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30573221->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30573221); TF1 *turnon_4503222 = new TF1("turnon_450","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",465,830); turnon_4503222->SetFillColor(19); turnon_4503222->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_4503222->SetLineColor(ci); turnon_4503222->SetLineWidth(2); turnon_4503222->SetChisquare(0.005103934); turnon_4503222->SetNDF(23); turnon_4503222->GetXaxis()->SetLabelFont(42); turnon_4503222->GetXaxis()->SetLabelSize(0.035); turnon_4503222->GetXaxis()->SetTitleSize(0.035); turnon_4503222->GetXaxis()->SetTitleFont(42); turnon_4503222->GetYaxis()->SetLabelFont(42); turnon_4503222->GetYaxis()->SetLabelSize(0.035); turnon_4503222->GetYaxis()->SetTitleSize(0.035); turnon_4503222->GetYaxis()->SetTitleFont(42); turnon_4503222->SetParameter(0,463.5536); turnon_4503222->SetParError(0,1.36382); turnon_4503222->SetParLimits(0,0,0); turnon_4503222->SetParameter(1,67.90424); turnon_4503222->SetParError(1,3.425862); turnon_4503222->SetParLimits(1,0,0); turnon_4503222->SetParameter(2,0.9839219); turnon_4503222->SetParError(2,0.00402385); turnon_4503222->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_4503222); 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_PFJet450 Efficiency (GEN Jets)"); pt->Draw(); Eff_GEN_PT450->Modified(); Eff_GEN_PT450->cd(); Eff_GEN_PT450->SetSelected(Eff_GEN_PT450); }