void Eff_RECO_PT140() { //=========Macro generated from canvas: Eff_RECO_PT140/ //========= (Fri May 13 17:52:57 2016) by ROOT version6.06/01 TCanvas *Eff_RECO_PT140 = new TCanvas("Eff_RECO_PT140", "",0,0,600,600); Eff_RECO_PT140->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_RECO_PT140->SetFillColor(0); Eff_RECO_PT140->SetBorderMode(0); Eff_RECO_PT140->SetBorderSize(10); Eff_RECO_PT140->SetGridx(); Eff_RECO_PT140->SetGridy(); Eff_RECO_PT140->SetLeftMargin(0.18); Eff_RECO_PT140->SetRightMargin(0.05); Eff_RECO_PT140->SetTopMargin(0.08); Eff_RECO_PT140->SetBottomMargin(0.15); Eff_RECO_PT140->SetFrameFillStyle(0); Eff_RECO_PT140->SetFrameLineStyle(0); Eff_RECO_PT140->SetFrameBorderMode(0); Eff_RECO_PT140->SetFrameBorderSize(10); Eff_RECO_PT140->SetFrameFillStyle(0); Eff_RECO_PT140->SetFrameLineStyle(0); Eff_RECO_PT140->SetFrameBorderMode(0); Eff_RECO_PT140->SetFrameBorderSize(10); Double_t eff_graph_fx3163[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_fy3163[135] = { 0, 0, 0, 0, 0, 1.99372e-05, 4.783316e-05, 8.151214e-05, 0.0001800689, 0.0002206135, 0.000372726, 0.0005272053, 0.0007700541, 0.001003567, 0.001526893, 0.001900934, 0.002637862, 0.004218469, 0.00651697, 0.01169692, 0.02099387, 0.04029122, 0.07909718, 0.1664251, 0.3247844, 0.5196265, 0.7124469, 0.8476761, 0.9266626, 0.9658443, 0.9830692, 0.9916766, 0.9948723, 0.9969526, 0.9982463, 0.9987658, 0.9989063, 0.9991771, 0.9993711, 0.9996672, 0.9995253, 0.9997648, 0.9998152, 0.9997804, 0.9998956, 0.9999539, 0.9999688, 0.9999519, 0.9999348, 0.9999497, 0.9999829, 1, 1, 0.9999818, 1, 0.999981, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3163[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_fely3163[135] = { 0, 0, 0, 0, 0, 1.287757e-05, 2.066082e-05, 2.665816e-05, 3.897684e-05, 4.218946e-05, 5.416615e-05, 6.376245e-05, 7.685249e-05, 8.786858e-05, 0.0001080763, 0.0001212622, 0.0001434528, 0.0001828269, 0.0002285223, 0.0003087508, 0.0004145992, 0.0005758238, 0.0007981673, 0.001119071, 0.001419995, 0.001539231, 0.001411784, 0.001137286, 0.0008414034, 0.0005968693, 0.0004307094, 0.0003110173, 0.0002497262, 0.0001986133, 0.0001556137, 0.0001338907, 0.0001285784, 0.0001152007, 0.0001032522, 8.074839e-05, 9.454372e-05, 7.198583e-05, 6.67849e-05, 7.257259e-05, 5.620625e-05, 4.480627e-05, 4.109883e-05, 4.676808e-05, 5.158324e-05, 4.892758e-05, 3.932451e-05, 3.215201e-05, 3.270664e-05, 4.19005e-05, 3.420135e-05, 4.374247e-05, 3.575013e-05, 3.652464e-05, 3.723002e-05, 1.930077e-05, 2.007571e-05, 2.099827e-05, 2.192634e-05, 2.261338e-05, 2.370528e-05, 2.473729e-05, 2.549576e-05, 2.673109e-05, 2.772835e-05, 2.873771e-05, 2.976595e-05, 3.107896e-05, 3.191623e-05, 3.320032e-05, 3.474483e-05, 3.571753e-05, 3.71789e-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_fehx3163[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_fehy3163[135] = { 0.0002612149, 4.430227e-05, 2.024727e-05, 1.740064e-05, 1.829534e-05, 2.629516e-05, 3.235757e-05, 3.722352e-05, 4.848601e-05, 5.114468e-05, 6.267005e-05, 7.197808e-05, 8.492652e-05, 9.591147e-05, 0.0001159975, 0.0001292391, 0.0001514515, 0.0001908911, 0.0002366233, 0.0003169086, 0.0004226865, 0.0005837575, 0.0008055576, 0.001125102, 0.001423214, 0.00153886, 0.001407677, 0.001130392, 0.0008326597, 0.0005870602, 0.0004203309, 0.000300095, 0.0002384353, 0.0001868317, 0.0001434033, 0.0001213476, 0.0001156648, 0.0001017753, 8.951541e-05, 6.611025e-05, 7.984469e-05, 5.64759e-05, 5.059705e-05, 5.60489e-05, 3.848613e-05, 2.506983e-05, 2.012765e-05, 2.616754e-05, 3.122368e-05, 2.737588e-05, 1.414725e-05, 0, 0, 1.507401e-05, 0, 1.573669e-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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(135,eff_graph_fx3163,eff_graph_fy3163,eff_graph_felx3163,eff_graph_fehx3163,eff_graph_fely3163,eff_graph_fehy3163); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet140 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_graph30673163 = new TH1F("Graph_Graph_eff_graph30673163","HLT_PFJet140 Efficiency (RECO Jets)",135,0,800); Graph_Graph_eff_graph30673163->SetMinimum(0); Graph_Graph_eff_graph30673163->SetMaximum(1.1); Graph_Graph_eff_graph30673163->SetDirectory(0); Graph_Graph_eff_graph30673163->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30673163->SetLineColor(ci); Graph_Graph_eff_graph30673163->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30673163->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30673163->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30673163->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30673163->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30673163->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30673163->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30673163->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30673163->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30673163->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30673163->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30673163->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30673163->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30673163->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30673163->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30673163->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30673163->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30673163->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30673163); TF1 *turnon_1403164 = new TF1("turnon_140","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",127.5,187.5); turnon_1403164->SetFillColor(19); turnon_1403164->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_1403164->SetLineColor(ci); turnon_1403164->SetLineWidth(2); turnon_1403164->SetChisquare(0.0002635453); turnon_1403164->SetNDF(10); turnon_1403164->GetXaxis()->SetLabelFont(42); turnon_1403164->GetXaxis()->SetLabelSize(0.035); turnon_1403164->GetXaxis()->SetTitleSize(0.035); turnon_1403164->GetXaxis()->SetTitleFont(42); turnon_1403164->GetYaxis()->SetLabelFont(42); turnon_1403164->GetYaxis()->SetLabelSize(0.035); turnon_1403164->GetYaxis()->SetTitleSize(0.035); turnon_1403164->GetYaxis()->SetTitleFont(42); turnon_1403164->SetParameter(0,131.931); turnon_1403164->SetParError(0,0.08485803); turnon_1403164->SetParLimits(0,0,0); turnon_1403164->SetParameter(1,14.30988); turnon_1403164->SetParError(1,0.2149747); turnon_1403164->SetParLimits(1,0,0); turnon_1403164->SetParameter(2,0.9944175); turnon_1403164->SetParError(2,0.001917881); turnon_1403164->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_1403164); grae->Draw("ap"); Double_t eff_graph_fx3165[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_fy3165[126] = { 2.457516e-05, 3.41068e-05, 5.263878e-05, 0.0002087039, 0.0001706161, 0.0002923282, 0.0005785955, 0.0008488816, 0.001338503, 0.002084245, 0.003350242, 0.005972886, 0.01226893, 0.0272556, 0.06064177, 0.1348023, 0.2393462, 0.3670196, 0.4930489, 0.6082347, 0.7098473, 0.7906949, 0.8541947, 0.9037543, 0.9357393, 0.9578987, 0.9723686, 0.9834452, 0.9889631, 0.9932304, 0.9959298, 0.9970464, 0.99813, 0.9987995, 0.999393, 0.9993523, 0.9995294, 0.9996763, 0.9998413, 0.9997924, 0.9998642, 0.9999228, 0.999937, 0.9999839, 0.9999836, 0.9999664, 1, 0.9999824, 1, 1, 0.9999906, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3165[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_fely3165[126] = { 1.587326e-05, 1.856205e-05, 2.273652e-05, 4.517464e-05, 3.983581e-05, 5.140023e-05, 7.156494e-05, 8.601257e-05, 0.0001073343, 0.0001334904, 0.0001691007, 0.0002255587, 0.0003233055, 0.0004800082, 0.0007082778, 0.001023924, 0.001283962, 0.001465899, 0.001532753, 0.001509648, 0.00142167, 0.001292769, 0.001130848, 0.0009578442, 0.0008105805, 0.0006713429, 0.0005531658, 0.0004401295, 0.0003653402, 0.0002932098, 0.0002335136, 0.0002033536, 0.0001659167, 0.0001377449, 0.0001033097, 0.0001075818, 9.531137e-05, 8.2541e-05, 6.37252e-05, 7.160531e-05, 6.201783e-05, 5.219367e-05, 4.983258e-05, 3.702068e-05, 3.78021e-05, 4.425841e-05, 3.142806e-05, 4.043504e-05, 3.30122e-05, 3.356043e-05, 2.169331e-05, 1.809893e-05, 1.887958e-05, 1.954751e-05, 2.047857e-05, 2.129089e-05, 2.190782e-05, 2.316744e-05, 2.391406e-05, 2.482502e-05, 2.592042e-05, 2.678009e-05, 2.771917e-05, 2.886839e-05, 2.987414e-05, 3.08276e-05, 3.217899e-05, 3.330001e-05, 3.454987e-05, 3.590632e-05, 3.715039e-05, 3.822964e-05, 3.935664e-05, 4.071803e-05, 4.252772e-05, 4.3357e-05, 4.500074e-05, 4.695056e-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_fehx3165[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_fehy3165[126] = { 3.241198e-05, 3.317554e-05, 3.560828e-05, 5.619536e-05, 5.043051e-05, 6.133928e-05, 8.100894e-05, 9.519369e-05, 0.0001162934, 0.0001423064, 0.0001778274, 0.0002341867, 0.000331828, 0.0004882921, 0.000716053, 0.001030503, 0.001288683, 0.001468356, 0.001532883, 0.001507587, 0.001417577, 0.001286947, 0.001123653, 0.0009494472, 0.00080123, 0.0006613424, 0.0005427148, 0.0004290595, 0.0003539386, 0.0002813528, 0.0002212068, 0.0001906701, 0.0001529001, 0.0001241983, 8.915517e-05, 9.313142e-05, 8.029441e-05, 6.700402e-05, 4.712189e-05, 5.480132e-05, 4.441619e-05, 3.332715e-05, 3.016394e-05, 1.331841e-05, 1.359954e-05, 2.167508e-05, 0, 1.454678e-05, 0, 0, 7.804211e-06, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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_fx3165,eff_graph_fy3165,eff_graph_felx3165,eff_graph_fehx3165,eff_graph_fely3165,eff_graph_fehy3165); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet140 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_graph30873165 = new TH1F("Graph_Graph_eff_graph30873165","HLT_PFJet140 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph30873165->SetMinimum(0); Graph_Graph_eff_graph30873165->SetMaximum(1.1); Graph_Graph_eff_graph30873165->SetDirectory(0); Graph_Graph_eff_graph30873165->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30873165->SetLineColor(ci); Graph_Graph_eff_graph30873165->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30873165->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30873165->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30873165->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30873165->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30873165->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30873165->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30873165->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30873165->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30873165->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30873165->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30873165->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30873165->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30873165->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30873165->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30873165->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30873165->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30873165->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30873165); TF1 *turnon_1403166 = new TF1("turnon_140","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",142.5,217.5); turnon_1403166->SetFillColor(19); turnon_1403166->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_1403166->SetLineColor(ci); turnon_1403166->SetLineWidth(2); turnon_1403166->SetChisquare(0.0003089776); turnon_1403166->SetNDF(13); turnon_1403166->GetXaxis()->SetLabelFont(42); turnon_1403166->GetXaxis()->SetLabelSize(0.035); turnon_1403166->GetXaxis()->SetTitleSize(0.035); turnon_1403166->GetXaxis()->SetTitleFont(42); turnon_1403166->GetYaxis()->SetLabelFont(42); turnon_1403166->GetYaxis()->SetLabelSize(0.035); turnon_1403166->GetYaxis()->SetTitleSize(0.035); turnon_1403166->GetYaxis()->SetTitleFont(42); turnon_1403166->SetParameter(0,142.3118); turnon_1403166->SetParError(0,0.1768561); turnon_1403166->SetParLimits(0,0,0); turnon_1403166->SetParameter(1,26.49093); turnon_1403166->SetParError(1,0.4502479); turnon_1403166->SetParLimits(1,0,0); turnon_1403166->SetParameter(2,0.9940812); turnon_1403166->SetParError(2,0.001872003); turnon_1403166->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_1403166); grae->Draw("p"); Double_t eff_graph_fx3167[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_fy3167[126] = { 1.228758e-05, 3.41068e-05, 1.052776e-05, 0.0001093211, 0.0001042654, 0.0001918404, 0.0002759456, 0.0004375678, 0.0007081113, 0.001080719, 0.001550879, 0.002425146, 0.004310939, 0.007901432, 0.01570566, 0.03179258, 0.06716243, 0.1319768, 0.2212101, 0.3253638, 0.436954, 0.5396325, 0.6307849, 0.7174268, 0.781275, 0.8324181, 0.8713599, 0.9036884, 0.9267915, 0.9436059, 0.9565196, 0.9671647, 0.9738206, 0.9800439, 0.9834255, 0.9874922, 0.9899929, 0.9923428, 0.9937805, 0.9944106, 0.9966651, 0.997068, 0.9978255, 0.9984866, 0.9987506, 0.9990268, 0.9994366, 0.9994197, 0.9995338, 0.9997083, 0.9997453, 0.9999214, 0.9999077, 1, 0.9999666, 1, 0.9999881, 1, 0.999987, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3167[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_fely3167[126] = { 1.016486e-05, 1.856205e-05, 8.709048e-06, 3.245339e-05, 3.095257e-05, 4.152468e-05, 4.928789e-05, 6.166381e-05, 7.801618e-05, 9.610713e-05, 0.0001150929, 0.0001439202, 0.0001923471, 0.0002609127, 0.000368806, 0.0005256724, 0.0007525284, 0.00102822, 0.001270732, 0.001446466, 0.001550488, 0.001579605, 0.001540937, 0.001455405, 0.001357922, 0.001238235, 0.001117537, 0.001001965, 0.0008929523, 0.0008026734, 0.0007203527, 0.0006384861, 0.0005779469, 0.0005152036, 0.0004768794, 0.0004216966, 0.0003841677, 0.0003412053, 0.0003132178, 0.0003020562, 0.0002393326, 0.000228154, 0.0002010677, 0.0001726003, 0.000160272, 0.0001452159, 0.0001160889, 0.0001195784, 0.0001105052, 9.264417e-05, 5.904964e-05, 3.878243e-05, 4.214749e-05, 1.954751e-05, 3.245965e-05, 2.129089e-05, 2.73637e-05, 2.316744e-05, 2.986955e-05, 2.482502e-05, 2.592042e-05, 2.678009e-05, 2.771917e-05, 2.886839e-05, 2.987414e-05, 3.08276e-05, 3.217899e-05, 3.330001e-05, 3.454987e-05, 3.590632e-05, 3.715039e-05, 3.822964e-05, 3.935664e-05, 4.071803e-05, 4.252772e-05, 4.3357e-05, 4.500074e-05, 4.695056e-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_fehx3167[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_fehy3167[126] = { 2.825504e-05, 3.317554e-05, 2.420844e-05, 4.388927e-05, 4.18597e-05, 5.165525e-05, 5.898551e-05, 7.102741e-05, 8.711678e-05, 0.0001050479, 0.0001239529, 0.0001527021, 0.0002010864, 0.0002696006, 0.0003774252, 0.0005341421, 0.0007603878, 0.001035028, 0.00127596, 0.001449792, 0.001551717, 0.001578812, 0.001538283, 0.001450891, 0.001351902, 0.001231002, 0.001109363, 0.0009927899, 0.0008830956, 0.0007921504, 0.0007092312, 0.0006268257, 0.0005659221, 0.0005026514, 0.000463939, 0.0004083239, 0.0003703501, 0.0003270466, 0.0002986223, 0.000287017, 0.0002238373, 0.0002122548, 0.0001847096, 0.0001557193, 0.0001429304, 0.0001273673, 9.754862e-05, 0.0001004813, 9.082884e-05, 7.2143e-05, 4.871078e-05, 2.721557e-05, 3.01847e-05, 0, 1.816149e-05, 0, 9.844187e-06, 0, 1.074569e-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, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3167,eff_graph_fy3167,eff_graph_felx3167,eff_graph_fehx3167,eff_graph_fely3167,eff_graph_fehy3167); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet140 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_graph31073167 = new TH1F("Graph_Graph_eff_graph31073167","HLT_PFJet140 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph31073167->SetMinimum(0); Graph_Graph_eff_graph31073167->SetMaximum(1.1); Graph_Graph_eff_graph31073167->SetDirectory(0); Graph_Graph_eff_graph31073167->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph31073167->SetLineColor(ci); Graph_Graph_eff_graph31073167->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph31073167->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph31073167->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31073167->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31073167->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31073167->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph31073167->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph31073167->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph31073167->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph31073167->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31073167->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31073167->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31073167->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph31073167->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph31073167->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph31073167->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph31073167->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph31073167->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph31073167); TF1 *turnon_1403168 = new TF1("turnon_140","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",152.5,272.5); turnon_1403168->SetFillColor(19); turnon_1403168->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_1403168->SetLineColor(ci); turnon_1403168->SetLineWidth(2); turnon_1403168->SetChisquare(0.002070034); turnon_1403168->SetNDF(22); turnon_1403168->GetXaxis()->SetLabelFont(42); turnon_1403168->GetXaxis()->SetLabelSize(0.035); turnon_1403168->GetXaxis()->SetTitleSize(0.035); turnon_1403168->GetXaxis()->SetTitleFont(42); turnon_1403168->GetYaxis()->SetLabelFont(42); turnon_1403168->GetYaxis()->SetLabelSize(0.035); turnon_1403168->GetYaxis()->SetTitleSize(0.035); turnon_1403168->GetYaxis()->SetTitleFont(42); turnon_1403168->SetParameter(0,154.7785); turnon_1403168->SetParError(0,0.3541165); turnon_1403168->SetParLimits(0,0,0); turnon_1403168->SetParameter(1,32.82235); turnon_1403168->SetParError(1,0.9186642); turnon_1403168->SetParLimits(1,0,0); turnon_1403168->SetParameter(2,0.9894346); turnon_1403168->SetParError(2,0.002692544); turnon_1403168->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_1403168); 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_PFJet140 Efficiency (RECO Jets)"); pt->Draw(); Eff_RECO_PT140->Modified(); Eff_RECO_PT140->cd(); Eff_RECO_PT140->SetSelected(Eff_RECO_PT140); }