void Eff_RECO_PT200() { //=========Macro generated from canvas: Eff_RECO_PT200/ //========= (Tue Apr 19 16:33:08 2016) by ROOT version6.06/01 TCanvas *Eff_RECO_PT200 = new TCanvas("Eff_RECO_PT200", "",3,54,600,600); Eff_RECO_PT200->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_RECO_PT200->SetFillColor(0); Eff_RECO_PT200->SetBorderMode(0); Eff_RECO_PT200->SetBorderSize(10); Eff_RECO_PT200->SetGridx(); Eff_RECO_PT200->SetGridy(); Eff_RECO_PT200->SetLeftMargin(0.18); Eff_RECO_PT200->SetRightMargin(0.05); Eff_RECO_PT200->SetTopMargin(0.08); Eff_RECO_PT200->SetBottomMargin(0.15); Eff_RECO_PT200->SetFrameFillStyle(0); Eff_RECO_PT200->SetFrameLineStyle(0); Eff_RECO_PT200->SetFrameBorderMode(0); Eff_RECO_PT200->SetFrameBorderSize(10); Eff_RECO_PT200->SetFrameFillStyle(0); Eff_RECO_PT200->SetFrameLineStyle(0); Eff_RECO_PT200->SetFrameBorderMode(0); Eff_RECO_PT200->SetFrameBorderSize(10); Double_t eff_graph_fx3055[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_fy3055[135] = { 0, 0, 0, 0, 0, 0, 0, 1.517191e-08, 3.749758e-08, 9.91689e-08, 3.419774e-08, 2.487552e-07, 5.245085e-07, 6.701311e-07, 2.180623e-06, 2.231598e-06, 4.986146e-06, 6.079111e-06, 1.018044e-05, 2.076406e-05, 2.499585e-05, 3.888726e-05, 6.520587e-05, 9.548726e-05, 0.0001465384, 0.0002016933, 0.0004406969, 0.0008457687, 0.001241527, 0.002297619, 0.004468832, 0.008253677, 0.0157732, 0.03065229, 0.05845675, 0.119956, 0.2366778, 0.4044582, 0.5847317, 0.7342106, 0.8366319, 0.9061264, 0.9443979, 0.9664874, 0.9803644, 0.9886742, 0.9932718, 0.9952211, 0.9962776, 0.9977241, 0.9981593, 0.9985982, 0.9988878, 0.9987986, 0.9993878, 0.999249, 0.9996142, 0.9996326, 0.9993307, 0.9997394, 0.9996881, 0.9999134, 0.9998619, 0.9998822, 0.9999042, 0.999929, 0.999994, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3055[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_fely3055[135] = { 0, 0, 0, 0, 0, 0, 0, 1.517191e-08, 2.706827e-08, 7.025877e-08, 3.419774e-08, 1.730209e-07, 3.101635e-07, 2.468543e-07, 6.967671e-07, 7.957465e-07, 1.148331e-06, 1.881846e-06, 2.764078e-06, 3.715259e-06, 4.774086e-06, 6.9133e-06, 1.03668e-05, 1.271712e-05, 1.961099e-05, 2.161222e-05, 5.25832e-05, 7.442434e-05, 9.622805e-05, 0.0001363727, 0.0002074852, 0.0002954321, 0.00044022, 0.0006415861, 0.0008977181, 0.001287753, 0.001752304, 0.002097683, 0.002166401, 0.002016335, 0.001723877, 0.001392205, 0.0011357, 0.0009170072, 0.0007203309, 0.0005604212, 0.0004327269, 0.0004019359, 0.0003610087, 0.0002835927, 0.0002371646, 0.0002183731, 0.0002011662, 0.0002115796, 0.0001503661, 0.0001660288, 0.0001035277, 0.0001212775, 0.000186101, 8.818093e-05, 8.729829e-05, 5.33757e-05, 6.88931e-05, 6.102565e-05, 6.813428e-05, 4.096782e-05, 6.027714e-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}; Double_t eff_graph_fehx3055[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_fehy3055[135] = { 0, 0, 0, 0, 0, 0, 0, 1.517205e-08, 2.706827e-08, 7.025877e-08, 3.419796e-08, 1.730209e-07, 3.101635e-07, 2.468543e-07, 6.967671e-07, 7.957465e-07, 1.148331e-06, 1.881846e-06, 2.764078e-06, 3.715259e-06, 4.774086e-06, 6.9133e-06, 1.03668e-05, 1.271712e-05, 1.961099e-05, 2.161222e-05, 5.25832e-05, 7.442434e-05, 9.622805e-05, 0.0001363727, 0.0002074852, 0.0002954321, 0.00044022, 0.0006415861, 0.0008977181, 0.001287753, 0.001752304, 0.002097683, 0.002166401, 0.002016335, 0.001723877, 0.001392205, 0.0011357, 0.0009170072, 0.0007203309, 0.0005604212, 0.0004327269, 0.0004019359, 0.0003610087, 0.0002835927, 0.0002371646, 0.0002183731, 0.0002011662, 0.0002115796, 0.0001503661, 0.0001660288, 0.0001035277, 0.0001212775, 0.000186101, 8.818093e-05, 8.729829e-05, 5.33757e-05, 6.88931e-05, 6.102565e-05, 6.813428e-05, 4.096782e-05, 6.022053e-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}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(135,eff_graph_fx3055,eff_graph_fy3055,eff_graph_felx3055,eff_graph_fehx3055,eff_graph_fely3055,eff_graph_fehy3055); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet450 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_eff_graph3055 = new TH1F("Graph_eff_graph3055","HLT_PFJet450 Efficiency (RECO Jets)",135,0,800); Graph_eff_graph3055->SetMinimum(0); Graph_eff_graph3055->SetMaximum(1.1); Graph_eff_graph3055->SetDirectory(0); Graph_eff_graph3055->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3055->SetLineColor(ci); Graph_eff_graph3055->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3055->GetXaxis()->SetLabelFont(42); Graph_eff_graph3055->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3055->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3055->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3055->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3055->GetXaxis()->SetTitleFont(42); Graph_eff_graph3055->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3055->GetYaxis()->SetLabelFont(42); Graph_eff_graph3055->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3055->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3055->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3055->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3055->GetYaxis()->SetTitleFont(42); Graph_eff_graph3055->GetZaxis()->SetLabelFont(42); Graph_eff_graph3055->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3055->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3055->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3055); TF1 *turnon_2003056 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",192.5,272.5); turnon_2003056->SetFillColor(19); turnon_2003056->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_2003056->SetLineColor(ci); turnon_2003056->SetLineWidth(2); turnon_2003056->SetChisquare(0.001063644); turnon_2003056->SetNDF(14); turnon_2003056->GetXaxis()->SetLabelFont(42); turnon_2003056->GetXaxis()->SetLabelSize(0.035); turnon_2003056->GetXaxis()->SetTitleSize(0.035); turnon_2003056->GetXaxis()->SetTitleFont(42); turnon_2003056->GetYaxis()->SetLabelFont(42); turnon_2003056->GetYaxis()->SetLabelSize(0.035); turnon_2003056->GetYaxis()->SetTitleSize(0.035); turnon_2003056->GetYaxis()->SetTitleFont(42); turnon_2003056->SetParameter(0,194.9843); turnon_2003056->SetParError(0,0.189456); turnon_2003056->SetParLimits(0,0,0); turnon_2003056->SetParameter(1,17.68366); turnon_2003056->SetParError(1,0.4998804); turnon_2003056->SetParLimits(1,0,0); turnon_2003056->SetParameter(2,0.9930265); turnon_2003056->SetParError(2,0.00273029); turnon_2003056->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2003056); grae->Draw("ap"); Double_t eff_graph_fx3057[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_fy3057[126] = { 0, 0, 0, 0, 3.417002e-08, 5.821205e-08, 0, 7.969573e-07, 3.405174e-07, 1.277943e-06, 1.044211e-06, 1.020037e-05, 8.724847e-06, 1.054061e-05, 1.679175e-05, 2.568309e-05, 3.987449e-05, 7.646185e-05, 0.0001508305, 0.0003285434, 0.0006562107, 0.001068499, 0.002088208, 0.003712634, 0.007253331, 0.01446698, 0.02868772, 0.0563396, 0.1016737, 0.1613696, 0.2411559, 0.3224359, 0.4077808, 0.500404, 0.5847114, 0.6705897, 0.7465746, 0.8049715, 0.8588367, 0.8949902, 0.924392, 0.9507938, 0.9683003, 0.9795009, 0.9855554, 0.9898714, 0.9937058, 0.9954287, 0.9970082, 0.9981063, 0.9989549, 0.999361, 0.9994364, 0.9998941, 0.9998392, 0.9999077, 0.9999859, 0.9998784, 0.9999298, 0.9999787, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3057[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_fely3057[126] = { 0, 0, 0, 0, 3.417002e-08, 5.821205e-08, 0, 3.781785e-07, 1.547712e-07, 4.378551e-07, 5.446118e-07, 4.719369e-06, 4.023465e-06, 2.607009e-06, 3.433315e-06, 4.714528e-06, 8.000755e-06, 2.750648e-05, 2.842851e-05, 4.078792e-05, 7.478009e-05, 9.378786e-05, 0.0001474568, 0.0001951542, 0.0002682809, 0.0003930193, 0.0005538248, 0.0007967773, 0.001071586, 0.001352479, 0.001649622, 0.001872085, 0.002034308, 0.002159706, 0.002203956, 0.002177746, 0.002086004, 0.001956596, 0.001774589, 0.001621767, 0.001444487, 0.001205619, 0.001005278, 0.0008370591, 0.000719594, 0.0006321983, 0.0004932206, 0.0004367368, 0.0003571352, 0.0002970207, 0.0001562803, 0.000125122, 0.0001240829, 4.595005e-05, 6.266031e-05, 5.030754e-05, 1.405203e-05, 6.197188e-05, 5.336508e-05, 2.12907e-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}; Double_t eff_graph_fehx3057[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_fehy3057[126] = { 0, 0, 0, 0, 3.417025e-08, 5.821243e-08, 0, 3.781785e-07, 1.547712e-07, 4.378551e-07, 5.446118e-07, 4.719369e-06, 4.023465e-06, 2.607009e-06, 3.433315e-06, 4.714528e-06, 8.000755e-06, 2.750648e-05, 2.842851e-05, 4.078792e-05, 7.478009e-05, 9.378786e-05, 0.0001474568, 0.0001951542, 0.0002682809, 0.0003930193, 0.0005538248, 0.0007967773, 0.001071586, 0.001352479, 0.001649622, 0.001872085, 0.002034308, 0.002159706, 0.002203956, 0.002177746, 0.002086004, 0.001956596, 0.001774589, 0.001621767, 0.001444487, 0.001205619, 0.001005278, 0.0008370591, 0.000719594, 0.0006321983, 0.0004932206, 0.0004367368, 0.0003571352, 0.0002970207, 0.0001562803, 0.000125122, 0.0001240829, 4.595005e-05, 6.266031e-05, 5.030754e-05, 1.405203e-05, 6.197188e-05, 5.336508e-05, 2.128975e-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}; grae = new TGraphAsymmErrors(126,eff_graph_fx3057,eff_graph_fy3057,eff_graph_felx3057,eff_graph_fehx3057,eff_graph_fely3057,eff_graph_fehy3057); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet450 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_eff_graph3057 = new TH1F("Graph_eff_graph3057","HLT_PFJet450 Efficiency (RECO Jets)",126,0,800); Graph_eff_graph3057->SetMinimum(0); Graph_eff_graph3057->SetMaximum(1.1); Graph_eff_graph3057->SetDirectory(0); Graph_eff_graph3057->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3057->SetLineColor(ci); Graph_eff_graph3057->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3057->GetXaxis()->SetLabelFont(42); Graph_eff_graph3057->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3057->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3057->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3057->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3057->GetXaxis()->SetTitleFont(42); Graph_eff_graph3057->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3057->GetYaxis()->SetLabelFont(42); Graph_eff_graph3057->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3057->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3057->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3057->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3057->GetYaxis()->SetTitleFont(42); Graph_eff_graph3057->GetZaxis()->SetLabelFont(42); Graph_eff_graph3057->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3057->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3057->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3057); TF1 *turnon_2003058 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",212.5,305); turnon_2003058->SetFillColor(19); turnon_2003058->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_2003058->SetLineColor(ci); turnon_2003058->SetLineWidth(2); turnon_2003058->SetChisquare(0.000226482); turnon_2003058->SetNDF(16); turnon_2003058->GetXaxis()->SetLabelFont(42); turnon_2003058->GetXaxis()->SetLabelSize(0.035); turnon_2003058->GetXaxis()->SetTitleSize(0.035); turnon_2003058->GetXaxis()->SetTitleFont(42); turnon_2003058->GetYaxis()->SetLabelFont(42); turnon_2003058->GetYaxis()->SetLabelSize(0.035); turnon_2003058->GetYaxis()->SetTitleSize(0.035); turnon_2003058->GetYaxis()->SetTitleFont(42); turnon_2003058->SetParameter(0,217.3909); turnon_2003058->SetParError(0,0.1209317); turnon_2003058->SetParLimits(0,0,0); turnon_2003058->SetParameter(1,32.68066); turnon_2003058->SetParError(1,0.3281); turnon_2003058->SetParLimits(1,0,0); turnon_2003058->SetParameter(2,0.9953637); turnon_2003058->SetParError(2,0.001412247); turnon_2003058->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2003058); grae->Draw("p"); Double_t eff_graph_fx3059[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_fy3059[126] = { 0, 0, 0, 0, 3.417002e-08, 5.821205e-08, 0, 1.905101e-07, 3.834268e-07, 1.337535e-06, 1.337125e-06, 2.996e-06, 5.133205e-06, 6.543058e-06, 1.222996e-05, 2.045164e-05, 2.981416e-05, 2.923067e-05, 4.566098e-05, 0.0001740563, 0.0001821367, 0.0003297827, 0.0006719757, 0.001070913, 0.002240705, 0.004856707, 0.008995857, 0.0185492, 0.04037221, 0.0739998, 0.1295101, 0.1973724, 0.2761377, 0.3647073, 0.4510264, 0.5402092, 0.6202249, 0.6858843, 0.7419392, 0.7899812, 0.8321052, 0.8600071, 0.8876605, 0.9100023, 0.9253842, 0.9376715, 0.9460683, 0.9545897, 0.9624177, 0.968293, 0.975132, 0.9817734, 0.9854121, 0.9901484, 0.9932001, 0.994799, 0.9957767, 0.9972924, 0.9978491, 0.9986575, 0.9993253, 0.9991917, 0.9997332, 0.9998092, 0.9999228, 0.999852, 0.999951, 0.9999579, 0.9998965, 1, 1, 1, 0.9999936, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3059[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_fely3059[126] = { 0, 0, 0, 0, 3.417002e-08, 5.821205e-08, 0, 1.348168e-07, 1.756939e-07, 5.61205e-07, 5.961502e-07, 9.969178e-07, 1.661995e-06, 1.963599e-06, 2.665645e-06, 4.369064e-06, 7.186518e-06, 6.328696e-06, 7.97136e-06, 2.720843e-05, 2.733765e-05, 3.808101e-05, 5.943837e-05, 8.495617e-05, 0.0001330851, 0.0002108074, 0.0002966001, 0.000443934, 0.0006730099, 0.0009182554, 0.001239258, 0.001524583, 0.001768697, 0.001993022, 0.002138467, 0.002222505, 0.002244201, 0.00220866, 0.002143767, 0.002059395, 0.001923874, 0.001832569, 0.001704885, 0.001563653, 0.001463562, 0.001373959, 0.001295714, 0.001214219, 0.001121131, 0.00105841, 0.0006766627, 0.0005924195, 0.0005541289, 0.0004532209, 0.0003920389, 0.0003499304, 0.0003258383, 0.0002731183, 0.0002576946, 0.0001944853, 0.0001399493, 0.0001712483, 8.604142e-05, 8.017961e-05, 5.272314e-05, 7.732924e-05, 4.229045e-05, 4.215486e-05, 7.31359e-05, 0, 0, 0, 6.397012e-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}; Double_t eff_graph_fehx3059[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_fehy3059[126] = { 0, 0, 0, 0, 3.417025e-08, 5.821243e-08, 0, 1.348168e-07, 1.756939e-07, 5.61205e-07, 5.961502e-07, 9.969178e-07, 1.661995e-06, 1.963599e-06, 2.665645e-06, 4.369064e-06, 7.186518e-06, 6.328696e-06, 7.97136e-06, 2.720843e-05, 2.733765e-05, 3.808101e-05, 5.943837e-05, 8.495617e-05, 0.0001330851, 0.0002108074, 0.0002966001, 0.000443934, 0.0006730099, 0.0009182554, 0.001239258, 0.001524583, 0.001768697, 0.001993022, 0.002138467, 0.002222505, 0.002244201, 0.00220866, 0.002143767, 0.002059395, 0.001923874, 0.001832569, 0.001704885, 0.001563653, 0.001463562, 0.001373959, 0.001295714, 0.001214219, 0.001121131, 0.00105841, 0.0006766627, 0.0005924195, 0.0005541289, 0.0004532209, 0.0003920389, 0.0003499304, 0.0003258383, 0.0002731183, 0.0002576946, 0.0001944853, 0.0001399493, 0.0001712483, 8.604142e-05, 8.017961e-05, 5.272314e-05, 7.732924e-05, 4.229045e-05, 4.214376e-05, 7.31359e-05, 0, 0, 0, 6.390538e-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}; grae = new TGraphAsymmErrors(126,eff_graph_fx3059,eff_graph_fy3059,eff_graph_felx3059,eff_graph_fehx3059,eff_graph_fely3059,eff_graph_fehy3059); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet450 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_eff_graph3059 = new TH1F("Graph_eff_graph3059","HLT_PFJet450 Efficiency (RECO Jets)",126,0,800); Graph_eff_graph3059->SetMinimum(0); Graph_eff_graph3059->SetMaximum(1.1); Graph_eff_graph3059->SetDirectory(0); Graph_eff_graph3059->SetStats(0); ci = TColor::GetColor("#000099"); Graph_eff_graph3059->SetLineColor(ci); Graph_eff_graph3059->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_eff_graph3059->GetXaxis()->SetLabelFont(42); Graph_eff_graph3059->GetXaxis()->SetLabelOffset(0.014); Graph_eff_graph3059->GetXaxis()->SetLabelSize(0.05); Graph_eff_graph3059->GetXaxis()->SetTitleSize(0.055); Graph_eff_graph3059->GetXaxis()->SetTitleOffset(1.3); Graph_eff_graph3059->GetXaxis()->SetTitleFont(42); Graph_eff_graph3059->GetYaxis()->SetTitle("Efficiency"); Graph_eff_graph3059->GetYaxis()->SetLabelFont(42); Graph_eff_graph3059->GetYaxis()->SetLabelOffset(0.014); Graph_eff_graph3059->GetYaxis()->SetLabelSize(0.05); Graph_eff_graph3059->GetYaxis()->SetTitleSize(0.055); Graph_eff_graph3059->GetYaxis()->SetTitleOffset(1.6); Graph_eff_graph3059->GetYaxis()->SetTitleFont(42); Graph_eff_graph3059->GetZaxis()->SetLabelFont(42); Graph_eff_graph3059->GetZaxis()->SetLabelSize(0.035); Graph_eff_graph3059->GetZaxis()->SetTitleSize(0.035); Graph_eff_graph3059->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_eff_graph3059); TF1 *turnon_2003060 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",222.5,395); turnon_2003060->SetFillColor(19); turnon_2003060->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_2003060->SetLineColor(ci); turnon_2003060->SetLineWidth(2); turnon_2003060->SetChisquare(0.003527239); turnon_2003060->SetNDF(23); turnon_2003060->GetXaxis()->SetLabelFont(42); turnon_2003060->GetXaxis()->SetLabelSize(0.035); turnon_2003060->GetXaxis()->SetTitleSize(0.035); turnon_2003060->GetXaxis()->SetTitleFont(42); turnon_2003060->GetYaxis()->SetLabelFont(42); turnon_2003060->GetYaxis()->SetLabelSize(0.035); turnon_2003060->GetYaxis()->SetTitleSize(0.035); turnon_2003060->GetYaxis()->SetTitleFont(42); turnon_2003060->SetParameter(0,223.5942); turnon_2003060->SetParError(0,0.5747239); turnon_2003060->SetParLimits(0,0,0); turnon_2003060->SetParameter(1,41.76494); turnon_2003060->SetParError(1,1.504673); turnon_2003060->SetParLimits(1,0,0); turnon_2003060->SetParameter(2,0.9850587); turnon_2003060->SetParError(2,0.003676812); turnon_2003060->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_2003060); 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.9343728,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 (RECO Jets)"); pt->Draw(); Eff_RECO_PT200->Modified(); Eff_RECO_PT200->cd(); Eff_RECO_PT200->SetSelected(Eff_RECO_PT200); }