void Eff_RECO_PT260() { //=========Macro generated from canvas: Eff_RECO_PT260/ //========= (Fri May 13 17:52:58 2016) by ROOT version6.06/01 TCanvas *Eff_RECO_PT260 = new TCanvas("Eff_RECO_PT260", "",0,0,600,600); Eff_RECO_PT260->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_RECO_PT260->SetFillColor(0); Eff_RECO_PT260->SetBorderMode(0); Eff_RECO_PT260->SetBorderSize(10); Eff_RECO_PT260->SetGridx(); Eff_RECO_PT260->SetGridy(); Eff_RECO_PT260->SetLeftMargin(0.18); Eff_RECO_PT260->SetRightMargin(0.05); Eff_RECO_PT260->SetTopMargin(0.08); Eff_RECO_PT260->SetBottomMargin(0.15); Eff_RECO_PT260->SetFrameFillStyle(0); Eff_RECO_PT260->SetFrameLineStyle(0); Eff_RECO_PT260->SetFrameBorderMode(0); Eff_RECO_PT260->SetFrameBorderSize(10); Eff_RECO_PT260->SetFrameFillStyle(0); Eff_RECO_PT260->SetFrameLineStyle(0); Eff_RECO_PT260->SetFrameBorderMode(0); Eff_RECO_PT260->SetFrameBorderSize(10); Double_t eff_graph_fx3187[135] = { 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_fy3187[135] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.310162e-05, 7.719742e-06, 2.301849e-05, 3.879457e-05, 3.913741e-05, 3.979688e-05, 4.032778e-05, 4.945843e-05, 5.850201e-05, 7.708779e-05, 0.0001658954, 0.0001980715, 0.0002105957, 0.0002829388, 0.0003372096, 0.0004342805, 0.0006212445, 0.0005948281, 0.000838054, 0.001199969, 0.001259628, 0.001793949, 0.002412843, 0.003450879, 0.005628333, 0.007279679, 0.01056306, 0.01492398, 0.02187801, 0.03277668, 0.0483293, 0.07481191, 0.1196738, 0.1955133, 0.3144233, 0.4536494, 0.6005382, 0.7349765, 0.8337381, 0.8972039, 0.9374112, 0.9612238, 0.9756261, 0.9849148, 0.9901934, 0.9929569, 0.9946612, 0.9969387, 0.9979608, 0.9989278, 0.9992497, 0.9994104, 0.9995751, 0.9997178, 0.9997646, 0.9998258, 0.9998795, 0.9998751, 0.9999192, 0.9999831, 0.9999653, 1, 0.9999811, 0.9999612, 0.9999798, 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_felx3187[135] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fely3187[135] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.257268e-05, 6.386129e-06, 1.252744e-05, 1.675676e-05, 1.690484e-05, 1.718969e-05, 1.7419e-05, 1.961778e-05, 2.157422e-05, 2.521123e-05, 3.771943e-05, 4.190308e-05, 4.358784e-05, 5.136289e-05, 5.671856e-05, 6.521023e-05, 7.930481e-05, 7.853749e-05, 9.40574e-05, 0.0001141824, 0.0001182591, 0.0001433679, 0.000168207, 0.0002029161, 0.0002622255, 0.000302479, 0.0003663143, 0.0004425316, 0.0005389872, 0.0006626887, 0.0008093249, 0.001007599, 0.001255018, 0.001557041, 0.001837535, 0.002000331, 0.001987859, 0.001819545, 0.001553961, 0.001284865, 0.001037684, 0.0008417518, 0.0006829424, 0.0005505853, 0.000453749, 0.0003925321, 0.0003482262, 0.0001895274, 0.0001601149, 0.0001223094, 0.0001068974, 9.794118e-05, 8.756951e-05, 7.597443e-05, 7.205461e-05, 6.620015e-05, 5.941481e-05, 6.157744e-05, 5.46855e-05, 3.881867e-05, 4.572923e-05, 3.320032e-05, 4.339741e-05, 5.117554e-05, 4.643759e-05, 3.842593e-05, 3.994586e-05, 4.109522e-05, 4.230783e-05, 4.408902e-05, 4.569435e-05, 4.708264e-05, 4.902212e-05, 5.081074e-05, 5.223361e-05, 5.389736e-05, 5.520318e-05, 2.926022e-05, 3.096604e-05, 3.316026e-05, 3.52046e-05, 3.747785e-05, 3.966956e-05, 4.214222e-05, 4.529859e-05, 4.736975e-05, 5.103894e-05, 5.432999e-05, 5.719071e-05, 6.0415e-05, 6.38957e-05, 6.784445e-05, 7.113982e-05, 7.629938e-05, 7.840834e-05, 8.396936e-05, 9.012281e-05, 9.458637e-05, 0.0001001866, 0.000106498, 0.0001106123, 0.0001169205, 0.0001257793, 0.0001312024, 0.0001393666, 0.0001457436, 0.0001514257, 6.799982e-05, 7.654683e-05, 8.823949e-05, 9.950435e-05, 0.0001151868, 0.0001314366, 0.0001496289, 0.0001698059, 0.0001925771, 0.0002188587, 0.0002466892, 0.0002878881, 0.0003253309, 0.0003741214, 0.0004322742, 0.0004892534}; Double_t eff_graph_fehx3187[135] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fehy3187[135] = { 0.0002612149, 4.430227e-05, 2.024727e-05, 1.740064e-05, 1.829534e-05, 1.835224e-05, 1.761222e-05, 1.667382e-05, 1.57861e-05, 1.504263e-05, 1.459982e-05, 1.427338e-05, 2.24711e-05, 1.775153e-05, 2.239024e-05, 2.624346e-05, 2.647538e-05, 2.692147e-05, 2.72806e-05, 2.953905e-05, 3.150844e-05, 3.52032e-05, 4.745147e-05, 5.186454e-05, 5.369696e-05, 6.165161e-05, 6.716252e-05, 7.581699e-05, 9.012937e-05, 8.965276e-05, 0.0001052452, 0.0001255851, 0.0001299025, 0.0001552861, 0.0001803303, 0.0002151673, 0.000274661, 0.0003152162, 0.0003790982, 0.0004556417, 0.0005521205, 0.0006757524, 0.0008222821, 0.001020137, 0.001266426, 0.001566438, 0.001843342, 0.002001822, 0.001984566, 0.001811629, 0.001542483, 0.001270896, 0.001022007, 0.0008247573, 0.0006650234, 0.0005318061, 0.000434285, 0.0003724505, 0.0003276013, 0.0001788021, 0.0001488565, 0.0001103396, 9.425414e-05, 8.478466e-05, 7.358133e-05, 6.107623e-05, 5.652986e-05, 4.958713e-05, 4.169528e-05, 4.321304e-05, 3.491834e-05, 1.396527e-05, 2.239542e-05, 0, 1.561255e-05, 2.506281e-05, 1.670631e-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}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(135,eff_graph_fx3187,eff_graph_fy3187,eff_graph_felx3187,eff_graph_fehx3187,eff_graph_fely3187,eff_graph_fehy3187); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet260 Efficiency (RECO 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_graph30713187 = new TH1F("Graph_Graph_eff_graph30713187","HLT_PFJet260 Efficiency (RECO Jets)",135,0,800); Graph_Graph_eff_graph30713187->SetMinimum(0); Graph_Graph_eff_graph30713187->SetMaximum(1.1); Graph_Graph_eff_graph30713187->SetDirectory(0); Graph_Graph_eff_graph30713187->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30713187->SetLineColor(ci); Graph_Graph_eff_graph30713187->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30713187->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30713187->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30713187->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30713187->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30713187->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30713187->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30713187->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30713187->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30713187->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30713187->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30713187->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30713187->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30713187->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30713187->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30713187->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30713187->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30713187->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30713187); TF1 *turnon_2603188 = new TF1("turnon_260","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",242.5,325); turnon_2603188->SetFillColor(19); turnon_2603188->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_2603188->SetLineColor(ci); turnon_2603188->SetLineWidth(2); turnon_2603188->SetChisquare(0.0005436681); turnon_2603188->SetNDF(12); turnon_2603188->GetXaxis()->SetLabelFont(42); turnon_2603188->GetXaxis()->SetLabelSize(0.035); turnon_2603188->GetXaxis()->SetTitleSize(0.035); turnon_2603188->GetXaxis()->SetTitleFont(42); turnon_2603188->GetYaxis()->SetLabelFont(42); turnon_2603188->GetYaxis()->SetLabelSize(0.035); turnon_2603188->GetYaxis()->SetTitleSize(0.035); turnon_2603188->GetYaxis()->SetTitleFont(42); turnon_2603188->SetParameter(0,243.7614); turnon_2603188->SetParError(0,0.1784851); turnon_2603188->SetParLimits(0,0,0); turnon_2603188->SetParameter(1,19.95679); turnon_2603188->SetParError(1,0.4646473); turnon_2603188->SetParLimits(1,0,0); turnon_2603188->SetParameter(2,0.9916364); turnon_2603188->SetParError(2,0.002427444); turnon_2603188->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2603188); grae->Draw("ap"); Double_t eff_graph_fx3189[126] = { 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_fy3189[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.715428e-05, 1.713679e-05, 5.141653e-05, 1.724376e-05, 3.473157e-05, 0.0001055251, 0.000125556, 9.024782e-05, 0.0001289016, 0.0001401424, 0.0002562667, 0.0003401327, 0.0003990184, 0.0004752323, 0.0005171166, 0.0006714915, 0.0008665042, 0.001347074, 0.001389925, 0.002202795, 0.002978643, 0.004662061, 0.007711415, 0.01096874, 0.01702595, 0.02660368, 0.04448552, 0.07634708, 0.1321716, 0.2066149, 0.3056235, 0.4102282, 0.5171754, 0.6163652, 0.7072754, 0.7784281, 0.8376818, 0.8855884, 0.9166139, 0.9450212, 0.9600955, 0.976783, 0.9881536, 0.9938162, 0.9965067, 0.9984983, 0.9989592, 0.9993931, 0.9996854, 0.9997662, 0.9997842, 0.9998592, 0.9999127, 0.9999097, 0.9999686, 0.9999675, 0.9999665, 1, 0.9999819, 0.9999812, 0.9999805, 1, 1, 1, 1, 1, 1, 1, 0.9999745, 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_felx3189[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fely3189[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.108006e-05, 1.106877e-05, 2.039445e-05, 1.113786e-05, 1.662193e-05, 3.003223e-05, 3.315016e-05, 2.80547e-05, 3.403344e-05, 3.577585e-05, 4.900711e-05, 5.721017e-05, 6.281657e-05, 6.906023e-05, 7.2872e-05, 8.435317e-05, 9.664216e-05, 0.0001212287, 0.0001250827, 0.0001586839, 0.000186897, 0.0002366913, 0.0003075222, 0.0003690475, 0.0004649513, 0.0005848752, 0.0007578742, 0.0009889697, 0.001272469, 0.001540976, 0.001778301, 0.001916916, 0.001970963, 0.001939958, 0.001837102, 0.00169669, 0.001524521, 0.001330336, 0.001175506, 0.0009822604, 0.0008533245, 0.0004718128, 0.0003490424, 0.0002613714, 0.0002030273, 0.0001405719, 0.0001216145, 9.740388e-05, 7.632798e-05, 6.910788e-05, 6.853306e-05, 6.00707e-05, 5.212585e-05, 5.395361e-05, 4.136241e-05, 4.280341e-05, 4.416948e-05, 3.217899e-05, 4.15928e-05, 4.31539e-05, 4.484812e-05, 3.715039e-05, 3.822964e-05, 3.935664e-05, 4.071803e-05, 4.252772e-05, 4.3357e-05, 4.500074e-05, 5.864247e-05, 4.8581e-05, 4.985311e-05, 2.622354e-05, 2.775218e-05, 2.960464e-05, 3.149526e-05, 3.352498e-05, 3.570922e-05, 3.769579e-05, 4.013221e-05, 4.284443e-05, 4.501945e-05, 4.831707e-05, 5.104177e-05, 5.441671e-05, 5.717828e-05, 6.052623e-05, 6.365269e-05, 6.695617e-05, 7.237596e-05, 7.516853e-05, 7.905818e-05, 8.407674e-05, 8.815076e-05, 9.415102e-05, 9.934327e-05, 0.00010531, 0.0001096439, 0.0001175852, 0.0001240337, 0.0001306067, 0.0001354198, 5.999956e-05, 6.780697e-05, 7.778553e-05, 8.970564e-05, 0.0001007734, 0.0001151508, 0.0001325056, 0.0001498359, 0.0001705136, 0.0001927384, 0.0002214651, 0.0002517492, 0.0002839803, 0.0003292289, 0.0003736658, 0.0004260716}; Double_t eff_graph_fehx3189[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fehy3189[126] = { 2.262144e-05, 2.093023e-05, 1.938164e-05, 1.829643e-05, 1.745029e-05, 1.681806e-05, 1.638766e-05, 1.611131e-05, 1.589802e-05, 2.262484e-05, 2.260177e-05, 3.070847e-05, 2.274285e-05, 2.746099e-05, 4.009503e-05, 4.331659e-05, 3.850581e-05, 4.447069e-05, 4.632431e-05, 5.940884e-05, 6.77446e-05, 7.357418e-05, 7.990066e-05, 8.393613e-05, 9.566973e-05, 0.0001080607, 0.0001326446, 0.0001368608, 0.0001705194, 0.0001989691, 0.0002489621, 0.0003199343, 0.0003815311, 0.0004775931, 0.0005975104, 0.0007702759, 0.001000779, 0.001282881, 0.001549483, 0.001784089, 0.001919636, 0.00197043, 0.001936276, 0.001830399, 0.001687491, 0.001513127, 0.001317085, 0.001160743, 0.0009661522, 0.000836367, 0.0004627252, 0.0003393052, 0.0002510362, 0.0001921921, 0.0001290033, 0.0001094639, 8.4684e-05, 6.249084e-05, 5.459057e-05, 5.336589e-05, 4.376758e-05, 3.461917e-05, 3.583314e-05, 2.025674e-05, 2.096248e-05, 2.163152e-05, 0, 1.496331e-05, 1.552494e-05, 1.613447e-05, 0, 0, 0, 0, 0, 0, 0, 2.109731e-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}; grae = new TGraphAsymmErrors(126,eff_graph_fx3189,eff_graph_fy3189,eff_graph_felx3189,eff_graph_fehx3189,eff_graph_fely3189,eff_graph_fehy3189); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet260 Efficiency (RECO 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_graph30913189 = new TH1F("Graph_Graph_eff_graph30913189","HLT_PFJet260 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph30913189->SetMinimum(0); Graph_Graph_eff_graph30913189->SetMaximum(1.1); Graph_Graph_eff_graph30913189->SetDirectory(0); Graph_Graph_eff_graph30913189->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30913189->SetLineColor(ci); Graph_Graph_eff_graph30913189->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30913189->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30913189->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30913189->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30913189->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30913189->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30913189->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30913189->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30913189->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30913189->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30913189->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30913189->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30913189->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30913189->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30913189->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30913189->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30913189->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30913189->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30913189); TF1 *turnon_2603190 = new TF1("turnon_260","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",252.5,355); turnon_2603190->SetFillColor(19); turnon_2603190->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_2603190->SetLineColor(ci); turnon_2603190->SetLineWidth(2); turnon_2603190->SetChisquare(0.0006186874); turnon_2603190->SetNDF(13); turnon_2603190->GetXaxis()->SetLabelFont(42); turnon_2603190->GetXaxis()->SetLabelSize(0.035); turnon_2603190->GetXaxis()->SetTitleSize(0.035); turnon_2603190->GetXaxis()->SetTitleFont(42); turnon_2603190->GetYaxis()->SetLabelFont(42); turnon_2603190->GetYaxis()->SetLabelSize(0.035); turnon_2603190->GetYaxis()->SetTitleSize(0.035); turnon_2603190->GetYaxis()->SetTitleFont(42); turnon_2603190->SetParameter(0,256.4139); turnon_2603190->SetParError(0,0.2150061); turnon_2603190->SetParLimits(0,0,0); turnon_2603190->SetParameter(1,29.41281); turnon_2603190->SetParError(1,0.5837867); turnon_2603190->SetParLimits(1,0,0); turnon_2603190->SetParameter(2,0.9919303); turnon_2603190->SetParError(2,0.002836147); turnon_2603190->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2603190); grae->Draw("p"); Double_t eff_graph_fx3191[126] = { 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_fy3191[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 8.635504e-06, 8.577138e-06, 1.713679e-05, 4.28471e-05, 0, 3.473157e-05, 4.39688e-05, 4.484144e-05, 3.609913e-05, 8.28653e-05, 8.408543e-05, 0.0001708444, 0.0002040796, 0.0002294356, 0.0003741191, 0.0003930086, 0.000394368, 0.0004874086, 0.0008104349, 0.0007571135, 0.001135816, 0.001589395, 0.0027296, 0.003793917, 0.005208268, 0.007732025, 0.01138838, 0.01793183, 0.02710072, 0.04357863, 0.07033392, 0.1192308, 0.1816714, 0.2577235, 0.345692, 0.4371871, 0.5225961, 0.6038356, 0.6733074, 0.7302349, 0.7836355, 0.8219156, 0.8666132, 0.9090632, 0.9344498, 0.951933, 0.9646492, 0.973158, 0.9784611, 0.984081, 0.9874649, 0.9903046, 0.992397, 0.9941087, 0.9957841, 0.996268, 0.9975822, 0.9979738, 0.9988464, 0.9987338, 0.9992869, 0.9994734, 0.9998184, 0.99973, 0.9999359, 0.9999336, 0.9999307, 0.9999764, 0.9999022, 0.9999235, 1, 1, 0.9999715, 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_felx3191[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fely3191[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 7.143689e-06, 7.095407e-06, 1.106877e-05, 1.850718e-05, 0, 1.662193e-05, 1.899168e-05, 1.93686e-05, 1.727642e-05, 2.71007e-05, 2.749973e-05, 3.988912e-05, 4.417375e-05, 4.748693e-05, 6.121752e-05, 6.346382e-05, 6.453042e-05, 7.237476e-05, 9.396803e-05, 9.223778e-05, 0.0001139083, 0.000136533, 0.0001812201, 0.0002160471, 0.0002549583, 0.0003147083, 0.0003855244, 0.0004876308, 0.0006044189, 0.0007665121, 0.000972347, 0.001249512, 0.001500516, 0.001722118, 0.001893293, 0.001997346, 0.002033789, 0.002013568, 0.001949293, 0.001874034, 0.001757726, 0.00164849, 0.001052468, 0.0009104606, 0.000802179, 0.0007071711, 0.0006266832, 0.0005609548, 0.0005125202, 0.000456497, 0.0004139413, 0.0003733354, 0.0003401021, 0.0003065761, 0.0002667024, 0.0002574175, 0.0002144659, 0.0002012245, 0.0001600929, 0.0001700228, 0.0001354118, 0.0001220591, 8.29313e-05, 9.753115e-05, 6.238111e-05, 6.453885e-05, 6.740711e-05, 5.41541e-05, 7.730326e-05, 7.441702e-05, 4.8581e-05, 4.985311e-05, 3.757297e-05, 2.775218e-05, 2.960464e-05, 3.149526e-05, 3.352498e-05, 3.570922e-05, 3.769579e-05, 4.013221e-05, 4.284443e-05, 4.501945e-05, 4.831707e-05, 5.104177e-05, 5.441671e-05, 5.717828e-05, 6.052623e-05, 6.365269e-05, 6.695617e-05, 7.237596e-05, 7.516853e-05, 7.905818e-05, 8.407674e-05, 8.815076e-05, 9.415102e-05, 9.934327e-05, 0.00010531, 0.0001096439, 0.0001175852, 0.0001240337, 0.0001306067, 0.0001354198, 5.999956e-05, 6.780697e-05, 7.778553e-05, 8.970564e-05, 0.0001007734, 0.0001151508, 0.0001325056, 0.0001498359, 0.0001705136, 0.0001927384, 0.0002214651, 0.0002517492, 0.0002839803, 0.0003292289, 0.0003736658, 0.0004260716}; Double_t eff_graph_fehx3191[126] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fehy3191[126] = { 2.262144e-05, 2.093023e-05, 1.938164e-05, 1.829643e-05, 1.745029e-05, 1.681806e-05, 1.638766e-05, 1.611131e-05, 1.985729e-05, 1.972308e-05, 2.260177e-05, 2.898479e-05, 1.587294e-05, 2.746099e-05, 2.974356e-05, 3.033385e-05, 2.854224e-05, 3.784141e-05, 3.839857e-05, 5.0498e-05, 5.495038e-05, 5.849999e-05, 7.215404e-05, 7.463849e-05, 7.605841e-05, 8.40042e-05, 0.0001055393, 0.0001042119, 0.0001259319, 0.0001487752, 0.0001936326, 0.0002286624, 0.0002676835, 0.0003276777, 0.0003986409, 0.0005008197, 0.0006176597, 0.0007794791, 0.0009848395, 0.00126087, 0.001510171, 0.001729629, 0.001898176, 0.001999376, 0.002033043, 0.002010069, 0.001943349, 0.001865899, 0.001747501, 0.001636688, 0.00104552, 0.0009023738, 0.0007932107, 0.0006975009, 0.0006162527, 0.0005498957, 0.0005009976, 0.0004441408, 0.0004010721, 0.0003598645, 0.000325937, 0.0002918425, 0.0002513252, 0.0002413477, 0.0001976538, 0.0001837871, 0.0001415778, 0.0001508993, 0.0001151474, 0.000100696, 5.939546e-05, 7.389342e-05, 3.490381e-05, 3.611119e-05, 3.771616e-05, 1.94825e-05, 4.679335e-05, 4.163866e-05, 0, 0, 1.840085e-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}; grae = new TGraphAsymmErrors(126,eff_graph_fx3191,eff_graph_fy3191,eff_graph_felx3191,eff_graph_fehx3191,eff_graph_fely3191,eff_graph_fehy3191); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet260 Efficiency (RECO 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_graph31113191 = new TH1F("Graph_Graph_eff_graph31113191","HLT_PFJet260 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph31113191->SetMinimum(0); Graph_Graph_eff_graph31113191->SetMaximum(1.1); Graph_Graph_eff_graph31113191->SetDirectory(0); Graph_Graph_eff_graph31113191->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph31113191->SetLineColor(ci); Graph_Graph_eff_graph31113191->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph31113191->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph31113191->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31113191->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31113191->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31113191->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph31113191->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph31113191->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph31113191->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph31113191->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31113191->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31113191->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31113191->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph31113191->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph31113191->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph31113191->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph31113191->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph31113191->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph31113191); TF1 *turnon_2603192 = new TF1("turnon_260","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",267.5,475); turnon_2603192->SetFillColor(19); turnon_2603192->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_2603192->SetLineColor(ci); turnon_2603192->SetLineWidth(2); turnon_2603192->SetChisquare(0.003971929); turnon_2603192->SetNDF(22); turnon_2603192->GetXaxis()->SetLabelFont(42); turnon_2603192->GetXaxis()->SetLabelSize(0.035); turnon_2603192->GetXaxis()->SetTitleSize(0.035); turnon_2603192->GetXaxis()->SetTitleFont(42); turnon_2603192->GetYaxis()->SetLabelFont(42); turnon_2603192->GetYaxis()->SetLabelSize(0.035); turnon_2603192->GetYaxis()->SetTitleSize(0.035); turnon_2603192->GetYaxis()->SetTitleFont(42); turnon_2603192->SetParameter(0,269.9047); turnon_2603192->SetParError(0,0.6004498); turnon_2603192->SetParLimits(0,0,0); turnon_2603192->SetParameter(1,41.22602); turnon_2603192->SetParError(1,1.700383); turnon_2603192->SetParLimits(1,0,0); turnon_2603192->SetParameter(2,0.9868553); turnon_2603192->SetParError(2,0.003590071); turnon_2603192->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2603192); 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_PFJet260 Efficiency (RECO Jets)"); pt->Draw(); Eff_RECO_PT260->Modified(); Eff_RECO_PT260->cd(); Eff_RECO_PT260->SetSelected(Eff_RECO_PT260); }