void Eff_GEN_PT320() { //=========Macro generated from canvas: Eff_GEN_PT320/ //========= (Fri May 13 17:52:58 2016) by ROOT version6.06/01 TCanvas *Eff_GEN_PT320 = new TCanvas("Eff_GEN_PT320", "",0,0,600,600); Eff_GEN_PT320->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_GEN_PT320->SetFillColor(0); Eff_GEN_PT320->SetBorderMode(0); Eff_GEN_PT320->SetBorderSize(10); Eff_GEN_PT320->SetGridx(); Eff_GEN_PT320->SetGridy(); Eff_GEN_PT320->SetLeftMargin(0.18); Eff_GEN_PT320->SetRightMargin(0.05); Eff_GEN_PT320->SetTopMargin(0.08); Eff_GEN_PT320->SetBottomMargin(0.15); Eff_GEN_PT320->SetFrameFillStyle(0); Eff_GEN_PT320->SetFrameLineStyle(0); Eff_GEN_PT320->SetFrameBorderMode(0); Eff_GEN_PT320->SetFrameBorderSize(10); Eff_GEN_PT320->SetFrameFillStyle(0); Eff_GEN_PT320->SetFrameLineStyle(0); Eff_GEN_PT320->SetFrameBorderMode(0); Eff_GEN_PT320->SetFrameBorderSize(10); Double_t eff_graph_fx3193[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_fy3193[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, 1.037549e-05, 0, 1.086213e-05, 0, 1.136247e-05, 1.160726e-05, 0, 2.442569e-05, 3.750516e-05, 8.93028e-05, 2.617733e-05, 7.998294e-05, 0.0001505735, 0.0001680508, 0.0001722109, 0.0003517978, 0.0004061189, 0.0005814309, 0.0008127032, 0.001102377, 0.001839672, 0.002801167, 0.004914636, 0.007091953, 0.01128272, 0.01741257, 0.02640783, 0.04217347, 0.06972668, 0.1082299, 0.1564495, 0.2597558, 0.4266498, 0.6014998, 0.7519565, 0.856432, 0.9201075, 0.9556147, 0.9744441, 0.9847126, 0.9892863, 0.991824, 0.993798, 0.9950672, 0.9965151, 0.9970684, 0.9978054, 0.9981931, 0.998467, 0.9986483, 0.9989343, 0.999218, 0.9994739, 0.9993424, 0.9995761, 0.9996854, 0.9997767, 0.9998715, 0.9997354, 0.9998341, 0.9999154, 0.9999405, 0.9998585, 1, 0.9999468, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t eff_graph_felx3193[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_fely3193[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, 8.583086e-06, 0, 8.985655e-06, 0, 9.399566e-06, 9.602061e-06, 0, 1.577672e-05, 2.041155e-05, 3.293265e-05, 1.690811e-05, 3.172521e-05, 4.469926e-05, 4.782613e-05, 4.901003e-05, 7.129872e-05, 7.766026e-05, 9.388443e-05, 0.0001123041, 0.0001323318, 0.0001726749, 0.0002162854, 0.0002893012, 0.000349406, 0.0004445881, 0.000556998, 0.0006901796, 0.0008755483, 0.001119045, 0.001383238, 0.001628293, 0.00141196, 0.001625097, 0.001643435, 0.001482583, 0.001235021, 0.0009722283, 0.0007547385, 0.0005954878, 0.0004747816, 0.0004076494, 0.0003663353, 0.000327819, 0.000299186, 0.0002576312, 0.0002436875, 0.0002179304, 0.0002025221, 0.0001911114, 0.0001844579, 0.0001691277, 0.0001507878, 0.0001307678, 0.0001461355, 0.0001252631, 0.000113666, 0.0001019432, 8.693025e-05, 0.000112861, 9.907556e-05, 8.224421e-05, 4.702518e-05, 6.460903e-05, 3.09047e-05, 5.171983e-05, 3.475861e-05, 5.251842e-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_fehx3193[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_fehy3193[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, 2.38583e-05, 1.943114e-05, 2.49773e-05, 2.052606e-05, 2.612782e-05, 2.669068e-05, 2.203341e-05, 3.221486e-05, 3.648099e-05, 4.809621e-05, 3.452501e-05, 4.776864e-05, 6.044918e-05, 6.384935e-05, 6.542977e-05, 8.744553e-05, 9.413952e-05, 0.0001104105, 0.0001289925, 0.0001492352, 0.0001896603, 0.0002336121, 0.0003067592, 0.0003669242, 0.0004622458, 0.0005747708, 0.0007079432, 0.0008930839, 0.001135763, 0.001398835, 0.001642129, 0.001416941, 0.001626678, 0.001641159, 0.001476691, 0.001226284, 0.0009616115, 0.0007427986, 0.0005824244, 0.0004609007, 0.0003931207, 0.0003510629, 0.000311839, 0.0002826022, 0.0002404988, 0.0002256687, 0.0001990499, 0.0001830163, 0.0001709363, 0.0001634283, 0.0001472546, 0.0001279456, 0.0001066272, 0.0001213806, 9.895606e-05, 8.611946e-05, 7.301337e-05, 5.55094e-05, 8.223551e-05, 6.580386e-05, 4.601856e-05, 2.846453e-05, 4.62721e-05, 0, 2.893827e-05, 0, 2.572051e-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}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(136,eff_graph_fx3193,eff_graph_fy3193,eff_graph_felx3193,eff_graph_fehx3193,eff_graph_fely3193,eff_graph_fehy3193); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet320 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_graph30133193 = new TH1F("Graph_Graph_eff_graph30133193","HLT_PFJet320 Efficiency (GEN Jets)",136,0,800); Graph_Graph_eff_graph30133193->SetMinimum(0); Graph_Graph_eff_graph30133193->SetMaximum(1.1); Graph_Graph_eff_graph30133193->SetDirectory(0); Graph_Graph_eff_graph30133193->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30133193->SetLineColor(ci); Graph_Graph_eff_graph30133193->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30133193->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30133193->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30133193->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30133193->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30133193->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30133193->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30133193->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30133193->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30133193->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30133193->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30133193->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30133193->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30133193->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30133193->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30133193->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30133193->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30133193->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30133193); TF1 *turnon_3203194 = new TF1("turnon_320","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",315,495); turnon_3203194->SetFillColor(19); turnon_3203194->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_3203194->SetLineColor(ci); turnon_3203194->SetLineWidth(2); turnon_3203194->SetChisquare(0.0005694744); turnon_3203194->SetNDF(16); turnon_3203194->GetXaxis()->SetLabelFont(42); turnon_3203194->GetXaxis()->SetLabelSize(0.035); turnon_3203194->GetXaxis()->SetTitleSize(0.035); turnon_3203194->GetXaxis()->SetTitleFont(42); turnon_3203194->GetYaxis()->SetLabelFont(42); turnon_3203194->GetYaxis()->SetLabelSize(0.035); turnon_3203194->GetYaxis()->SetTitleSize(0.035); turnon_3203194->GetYaxis()->SetTitleFont(42); turnon_3203194->SetParameter(0,318.8211); turnon_3203194->SetParError(0,0.2634262); turnon_3203194->SetParLimits(0,0,0); turnon_3203194->SetParameter(1,34.2958); turnon_3203194->SetParError(1,0.67309); turnon_3203194->SetParLimits(1,0,0); turnon_3203194->SetParameter(2,0.9939256); turnon_3203194->SetParError(2,0.001685829); turnon_3203194->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_3203194); grae->Draw("ap"); Double_t eff_graph_fx3195[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_fy3195[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, 1.085823e-05, 0, 1.12942e-05, 0, 1.180359e-05, 4.831326e-05, 3.718947e-05, 3.794394e-05, 1.291506e-05, 5.262673e-05, 0.0001350567, 0.0001803652, 0.0002672706, 0.0003303411, 0.0003253764, 0.0007653521, 0.001132382, 0.00196405, 0.002515924, 0.00398524, 0.006932815, 0.01197483, 0.01820888, 0.02721269, 0.04311574, 0.06971722, 0.1071328, 0.1571981, 0.2626074, 0.4349717, 0.6150076, 0.7670113, 0.8733341, 0.932323, 0.9651525, 0.9793925, 0.988438, 0.9920869, 0.9950951, 0.9964438, 0.9974854, 0.9976891, 0.9983848, 0.9989107, 0.9989357, 0.9992276, 0.9993814, 0.9993613, 0.9997196, 0.9997736, 0.999787, 0.9998228, 0.9999084, 0.9999053, 0.9998797, 0.9999002, 0.9999224, 0.9999469, 0.999986, 0.9999705, 0.9999685, 0.9999833, 1, 0.9999813, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3195[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_fely3195[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, 8.982436e-06, 0, 9.343088e-06, 0, 9.764476e-06, 2.312185e-05, 2.023974e-05, 2.065035e-05, 1.068394e-05, 2.518619e-05, 4.198366e-05, 4.937142e-05, 6.076716e-05, 6.836946e-05, 6.88324e-05, 0.0001067879, 0.0001312805, 0.0001752918, 0.000199731, 0.000255031, 0.0003395223, 0.0004487013, 0.0005564913, 0.0006850119, 0.0008636043, 0.001100047, 0.001342807, 0.001587949, 0.001383624, 0.001597861, 0.001598368, 0.001412672, 0.001140387, 0.0008806481, 0.0006566762, 0.0005208995, 0.0004046819, 0.0003434647, 0.0002799619, 0.0002447676, 0.0002124966, 0.0002080232, 0.0001800339, 0.0001537976, 0.0001558022, 0.0001384521, 0.0001274655, 0.0001316008, 9.6719e-05, 9.088667e-05, 9.087098e-05, 8.739602e-05, 7.244287e-05, 7.488185e-05, 8.140299e-05, 7.892562e-05, 7.55264e-05, 7.008442e-05, 3.226969e-05, 3.896089e-05, 4.157887e-05, 3.839606e-05, 3.244953e-05, 4.297486e-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_fehx3195[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_fehy3195[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, 2.496835e-05, 2.03419e-05, 2.597084e-05, 2.141746e-05, 2.714214e-05, 3.819908e-05, 3.617393e-05, 3.690778e-05, 2.969789e-05, 4.160938e-05, 5.762244e-05, 6.516728e-05, 7.644308e-05, 8.422289e-05, 8.519217e-05, 0.0001228238, 0.0001474381, 0.0001916443, 0.0002162064, 0.000271824, 0.0003564436, 0.0004656185, 0.0005734293, 0.0007019698, 0.000880268, 0.001116203, 0.001357679, 0.001601027, 0.001388317, 0.001599209, 0.001595898, 0.001406757, 0.00113172, 0.000870218, 0.00064507, 0.0005084728, 0.0003913701, 0.0003295635, 0.0002652887, 0.0002295146, 0.0001965446, 0.0001914993, 0.0001627736, 0.0001357499, 0.0001369565, 0.0001186702, 0.0001071098, 0.0001105854, 7.402363e-05, 6.720864e-05, 6.621099e-05, 6.133341e-05, 4.385104e-05, 4.532751e-05, 5.197967e-05, 4.777547e-05, 4.225944e-05, 3.432383e-05, 1.160917e-05, 1.908059e-05, 2.036275e-05, 1.381323e-05, 0, 1.546053e-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}; grae = new TGraphAsymmErrors(133,eff_graph_fx3195,eff_graph_fy3195,eff_graph_felx3195,eff_graph_fehx3195,eff_graph_fely3195,eff_graph_fehy3195); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet320 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_graph30333195 = new TH1F("Graph_Graph_eff_graph30333195","HLT_PFJet320 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30333195->SetMinimum(0); Graph_Graph_eff_graph30333195->SetMaximum(1.1); Graph_Graph_eff_graph30333195->SetDirectory(0); Graph_Graph_eff_graph30333195->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30333195->SetLineColor(ci); Graph_Graph_eff_graph30333195->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30333195->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30333195->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30333195->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30333195->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30333195->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30333195->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30333195->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30333195->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30333195->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30333195->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30333195->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30333195->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30333195->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30333195->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30333195->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30333195->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30333195->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30333195); TF1 *turnon_3203196 = new TF1("turnon_320","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",315,465); turnon_3203196->SetFillColor(19); turnon_3203196->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_3203196->SetLineColor(ci); turnon_3203196->SetLineWidth(2); turnon_3203196->SetChisquare(0.0003596669); turnon_3203196->SetNDF(13); turnon_3203196->GetXaxis()->SetLabelFont(42); turnon_3203196->GetXaxis()->SetLabelSize(0.035); turnon_3203196->GetXaxis()->SetTitleSize(0.035); turnon_3203196->GetXaxis()->SetTitleFont(42); turnon_3203196->GetYaxis()->SetLabelFont(42); turnon_3203196->GetYaxis()->SetLabelSize(0.035); turnon_3203196->GetYaxis()->SetTitleSize(0.035); turnon_3203196->GetYaxis()->SetTitleFont(42); turnon_3203196->SetParameter(0,318.2897); turnon_3203196->SetParError(0,0.2278623); turnon_3203196->SetParLimits(0,0,0); turnon_3203196->SetParameter(1,32.62151); turnon_3203196->SetParError(1,0.5837035); turnon_3203196->SetParLimits(1,0,0); turnon_3203196->SetParameter(2,0.9943849); turnon_3203196->SetParError(2,0.001673178); turnon_3203196->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_3203196); grae->Draw("p"); Double_t eff_graph_fx3197[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_fy3197[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, 1.387424e-05, 5.62675e-05, 4.308797e-05, 0.0001478984, 0.0002401105, 0.0002295368, 0.0005342216, 0.001082803, 0.001590816, 0.002746333, 0.004762715, 0.007823588, 0.011526, 0.01813785, 0.02937618, 0.04522131, 0.06837834, 0.1238772, 0.2290401, 0.3612568, 0.5041432, 0.6324171, 0.7332694, 0.8115145, 0.8587044, 0.8971745, 0.9196514, 0.9368571, 0.950436, 0.9616642, 0.9663251, 0.9736625, 0.9787075, 0.9814109, 0.9850123, 0.988322, 0.9890461, 0.9918491, 0.9932697, 0.9940574, 0.9952808, 0.9955561, 0.9959747, 0.9976172, 0.9975542, 0.9981623, 0.9985652, 0.9992282, 0.9994092, 0.9996375, 0.9997662, 0.9998766, 0.9999439, 0.9999802, 1, 1, 0.9999764, 0.9999752, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3197[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_fely3197[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, 1.147742e-05, 2.692858e-05, 2.344989e-05, 4.597549e-05, 5.939033e-05, 5.859521e-05, 9.114865e-05, 0.0001309306, 0.0001611404, 0.0002139836, 0.0002838571, 0.0003665451, 0.0004492135, 0.0005671562, 0.0007290263, 0.0009016173, 0.001100306, 0.001035118, 0.001352945, 0.001575268, 0.001666351, 0.001645797, 0.001539534, 0.001384869, 0.001257206, 0.001123785, 0.001023826, 0.0009373606, 0.0008514353, 0.0007690657, 0.0007356447, 0.0006662868, 0.0006123657, 0.000586437, 0.0005393639, 0.0004838967, 0.0004773008, 0.0004225612, 0.0003917477, 0.0003763059, 0.0003451376, 0.0003416911, 0.0003322833, 0.0002640045, 0.0002724881, 0.0002447489, 0.0002228422, 0.000118687, 0.0001089269, 9.243222e-05, 8.064422e-05, 6.644909e-05, 5.453538e-05, 4.548686e-05, 3.859105e-05, 4.045408e-05, 5.418217e-05, 5.705363e-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_fehx3197[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_fehy3197[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, 3.190346e-05, 4.448781e-05, 4.191112e-05, 6.310083e-05, 7.626901e-05, 7.586927e-05, 0.0001081938, 0.0001477857, 0.0001783206, 0.0002312896, 0.00030121, 0.0003839856, 0.0004668515, 0.000584826, 0.0007467725, 0.0009188908, 0.001116816, 0.001042562, 0.001358564, 0.001578247, 0.001666259, 0.001642727, 0.001533923, 0.001377135, 0.001247976, 0.001113079, 0.001012135, 0.000924658, 0.0008379116, 0.000754676, 0.0007206166, 0.0006504756, 0.0005958373, 0.0005690924, 0.0005212105, 0.0004652207, 0.0004579714, 0.0004023703, 0.0003708788, 0.0003546268, 0.0003224364, 0.0003181699, 0.000307892, 0.0002388433, 0.0002463951, 0.000217426, 0.0001945402, 0.0001037279, 9.300446e-05, 7.50343e-05, 6.171968e-05, 4.550021e-05, 3.05137e-05, 1.636427e-05, 0, 0, 1.94926e-05, 2.052568e-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}; grae = new TGraphAsymmErrors(133,eff_graph_fx3197,eff_graph_fy3197,eff_graph_felx3197,eff_graph_fehx3197,eff_graph_fely3197,eff_graph_fehy3197); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet320 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_graph30533197 = new TH1F("Graph_Graph_eff_graph30533197","HLT_PFJet320 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30533197->SetMinimum(0); Graph_Graph_eff_graph30533197->SetMaximum(1.1); Graph_Graph_eff_graph30533197->SetDirectory(0); Graph_Graph_eff_graph30533197->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30533197->SetLineColor(ci); Graph_Graph_eff_graph30533197->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30533197->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30533197->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30533197->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30533197->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30533197->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30533197->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30533197->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30533197->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30533197->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30533197->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30533197->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30533197->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30533197->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30533197->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30533197->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30533197->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30533197->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30533197); TF1 *turnon_3203198 = new TF1("turnon_320","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",325,595); turnon_3203198->SetFillColor(19); turnon_3203198->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_3203198->SetLineColor(ci); turnon_3203198->SetLineWidth(2); turnon_3203198->SetChisquare(0.006083621); turnon_3203198->SetNDF(25); turnon_3203198->GetXaxis()->SetLabelFont(42); turnon_3203198->GetXaxis()->SetLabelSize(0.035); turnon_3203198->GetXaxis()->SetTitleSize(0.035); turnon_3203198->GetXaxis()->SetTitleFont(42); turnon_3203198->GetYaxis()->SetLabelFont(42); turnon_3203198->GetYaxis()->SetLabelSize(0.035); turnon_3203198->GetYaxis()->SetTitleSize(0.035); turnon_3203198->GetYaxis()->SetTitleFont(42); turnon_3203198->SetParameter(0,334.1107); turnon_3203198->SetParError(0,0.8087153); turnon_3203198->SetParLimits(0,0,0); turnon_3203198->SetParameter(1,49.95315); turnon_3203198->SetParError(1,2.230445); turnon_3203198->SetParLimits(1,0,0); turnon_3203198->SetParameter(2,0.9850196); turnon_3203198->SetParError(2,0.003683729); turnon_3203198->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_3203198); 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_PFJet320 Efficiency (GEN Jets)"); pt->Draw(); Eff_GEN_PT320->Modified(); Eff_GEN_PT320->cd(); Eff_GEN_PT320->SetSelected(Eff_GEN_PT320); }