void Eff_RECO_PT500() { //=========Macro generated from canvas: Eff_RECO_PT500/ //========= (Fri May 13 17:52:59 2016) by ROOT version6.06/01 TCanvas *Eff_RECO_PT500 = new TCanvas("Eff_RECO_PT500", "",0,0,600,600); Eff_RECO_PT500->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_RECO_PT500->SetFillColor(0); Eff_RECO_PT500->SetBorderMode(0); Eff_RECO_PT500->SetBorderSize(10); Eff_RECO_PT500->SetGridx(); Eff_RECO_PT500->SetGridy(); Eff_RECO_PT500->SetLeftMargin(0.18); Eff_RECO_PT500->SetRightMargin(0.05); Eff_RECO_PT500->SetTopMargin(0.08); Eff_RECO_PT500->SetBottomMargin(0.15); Eff_RECO_PT500->SetFrameFillStyle(0); Eff_RECO_PT500->SetFrameLineStyle(0); Eff_RECO_PT500->SetFrameBorderMode(0); Eff_RECO_PT500->SetFrameBorderSize(10); Eff_RECO_PT500->SetFrameFillStyle(0); Eff_RECO_PT500->SetFrameLineStyle(0); Eff_RECO_PT500->SetFrameBorderMode(0); Eff_RECO_PT500->SetFrameBorderSize(10); Double_t eff_graph_fx3235[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_fy3235[135] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.087116e-05, 0, 0, 0, 0, 0, 0, 0, 1.266031e-05, 1.283483e-05, 0, 2.71271e-05, 2.767132e-05, 2.843737e-05, 4.391229e-05, 2.981781e-05, 1.535485e-05, 6.232374e-05, 6.410873e-05, 6.524221e-05, 3.353454e-05, 8.550809e-05, 0.000139716, 0.0001243604, 0.0001639972, 0.0001857769, 0.0002282758, 0.0001747709, 0.0003174351, 0.00028312, 0.0003459663, 0.0005234289, 0.0005817004, 0.0006907805, 0.0009826561, 0.001094486, 0.001760232, 0.002423554, 0.003746134, 0.0054523, 0.009038119, 0.01490727, 0.02932338, 0.06045213, 0.1232439, 0.2397426, 0.4236075, 0.6217663, 0.7800042, 0.8861067, 0.941359, 0.9709749, 0.9860858, 0.992529, 0.9945526, 0.9960324, 0.9976264, 0.9976734, 0.9982141, 0.9985907, 0.9990464, 0.9993945, 0.9996578, 0.9996558, 0.9997557, 0.9998276, 0.9999313, 0.9999508, 0.9999743, 0.9999723, 0.999882, 1, 0.9999672, 0.9999653, 0.9999631, 1, 0.9999586, 0.9999574, 1, 1, 1, 1, 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_felx3235[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_fely3235[135] = { 0, 0, 0, 0, 0, 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.348082e-05, 0, 0, 0, 0, 0, 0, 0, 1.04732e-05, 1.061757e-05, 0, 1.752157e-05, 1.787309e-05, 1.836788e-05, 2.389851e-05, 1.925952e-05, 1.270225e-05, 2.982696e-05, 3.068122e-05, 3.122368e-05, 2.166017e-05, 3.693373e-05, 4.834708e-05, 4.586072e-05, 5.363352e-05, 5.774986e-05, 6.496478e-05, 5.71568e-05, 7.851456e-05, 7.474811e-05, 5.991117e-05, 7.527187e-05, 8.116889e-05, 9.041806e-05, 0.0001095917, 0.0001184282, 0.0001534831, 0.0001828387, 0.0002326887, 0.0002857323, 0.0003739405, 0.0004874207, 0.0006936113, 0.0009932971, 0.001398119, 0.001859181, 0.002184678, 0.002191844, 0.001908828, 0.001499087, 0.001131196, 0.0008272866, 0.0005971572, 0.0004541105, 0.0003982422, 0.0003516344, 0.0002841654, 0.0002859706, 0.000258919, 0.0002368221, 0.0001396137, 0.0001186334, 9.787817e-05, 0.0001017291, 9.281077e-05, 8.4999e-05, 6.679611e-05, 6.490266e-05, 5.916604e-05, 6.374886e-05, 9.332799e-05, 5.719071e-05, 7.545951e-05, 7.980685e-05, 8.473878e-05, 7.113982e-05, 9.52988e-05, 9.793283e-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_fehx3235[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_fehy3235[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, 1.417676e-05, 1.421211e-05, 1.412575e-05, 1.428423e-05, 1.441046e-05, 1.465327e-05, 1.484875e-05, 1.517556e-05, 1.538609e-05, 1.57688e-05, 1.607445e-05, 1.657504e-05, 1.685687e-05, 1.736306e-05, 1.773728e-05, 1.817074e-05, 1.874941e-05, 2.752693e-05, 1.952988e-05, 2.008316e-05, 2.052194e-05, 2.117092e-05, 2.166853e-05, 2.205928e-05, 2.262394e-05, 2.911211e-05, 2.95134e-05, 2.45094e-05, 3.577762e-05, 3.649536e-05, 3.750565e-05, 4.271289e-05, 3.932624e-05, 3.530799e-05, 4.92759e-05, 5.068711e-05, 5.158324e-05, 4.422799e-05, 5.784161e-05, 6.889275e-05, 6.697555e-05, 7.488681e-05, 7.925957e-05, 8.672768e-05, 7.980583e-05, 0.0001008254, 9.766549e-05, 7.130206e-05, 8.695348e-05, 9.336129e-05, 0.0001030945, 0.0001225378, 0.0001319749, 0.0001674591, 0.0001971428, 0.0002475498, 0.0003010226, 0.0003895883, 0.0005033674, 0.0007096964, 0.001008671, 0.001411796, 0.001869054, 0.002187656, 0.002186903, 0.001897075, 0.001482209, 0.001111293, 0.0008053306, 0.0005733884, 0.0004289528, 0.0003720761, 0.0003241316, 0.000255211, 0.0002561657, 0.0002278739, 0.0002047335, 0.0001227236, 0.0001004296, 7.780865e-05, 8.036227e-05, 6.95219e-05, 5.965106e-05, 3.737427e-05, 3.178593e-05, 2.128568e-05, 2.293448e-05, 5.649435e-05, 0, 2.714777e-05, 2.871188e-05, 3.048634e-05, 0, 3.428576e-05, 3.523348e-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}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(135,eff_graph_fx3235,eff_graph_fy3235,eff_graph_felx3235,eff_graph_fehx3235,eff_graph_fely3235,eff_graph_fehy3235); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet500 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_graph30793235 = new TH1F("Graph_Graph_eff_graph30793235","HLT_PFJet500 Efficiency (RECO Jets)",135,0,800); Graph_Graph_eff_graph30793235->SetMinimum(0); Graph_Graph_eff_graph30793235->SetMaximum(1.1); Graph_Graph_eff_graph30793235->SetDirectory(0); Graph_Graph_eff_graph30793235->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30793235->SetLineColor(ci); Graph_Graph_eff_graph30793235->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30793235->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30793235->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30793235->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30793235->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30793235->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30793235->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30793235->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30793235->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30793235->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30793235->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30793235->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30793235->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30793235->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30793235->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30793235->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30793235->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30793235->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30793235); TF1 *turnon_5003236 = new TF1("turnon_500","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",465,595); turnon_5003236->SetFillColor(19); turnon_5003236->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_5003236->SetLineColor(ci); turnon_5003236->SetLineWidth(2); turnon_5003236->SetChisquare(0.0003686755); turnon_5003236->SetNDF(11); turnon_5003236->GetXaxis()->SetLabelFont(42); turnon_5003236->GetXaxis()->SetLabelSize(0.035); turnon_5003236->GetXaxis()->SetTitleSize(0.035); turnon_5003236->GetXaxis()->SetTitleFont(42); turnon_5003236->GetYaxis()->SetLabelFont(42); turnon_5003236->GetYaxis()->SetLabelSize(0.035); turnon_5003236->GetYaxis()->SetTitleSize(0.035); turnon_5003236->GetYaxis()->SetTitleFont(42); turnon_5003236->SetParameter(0,468.5854); turnon_5003236->SetParError(0,0.2320882); turnon_5003236->SetParLimits(0,0,0); turnon_5003236->SetParameter(1,30.18314); turnon_5003236->SetParError(1,0.6038702); turnon_5003236->SetParLimits(1,0,0); turnon_5003236->SetParameter(2,0.9942729); turnon_5003236->SetParError(2,0.002013935); turnon_5003236->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_5003236); grae->Draw("ap"); Double_t eff_graph_fx3237[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_fy3237[126] = { 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.065859e-05, 0, 1.095182e-05, 0, 0, 0, 0, 0, 0, 1.290822e-05, 0, 0, 4.152307e-05, 5.630314e-05, 2.886086e-05, 1.482602e-05, 1.509024e-05, 4.629487e-05, 1.575696e-05, 8.049845e-05, 0.0001150767, 6.711522e-05, 5.121377e-05, 8.792291e-05, 0.0001255223, 0.0002552137, 0.0001509434, 0.0003539162, 0.0003179063, 0.000286682, 0.0005784269, 0.0006591958, 0.000868696, 0.001359089, 0.001506807, 0.002265403, 0.003984512, 0.006371372, 0.01076548, 0.02165527, 0.04842191, 0.1060299, 0.2124067, 0.3655965, 0.5355353, 0.6901038, 0.809888, 0.8952155, 0.9430276, 0.9714241, 0.9842685, 0.9909329, 0.995429, 0.9965316, 0.9975722, 0.9988356, 0.9988605, 0.9994573, 0.9997427, 0.9998289, 0.9998179, 0.9999418, 0.999959, 0.9999782, 0.9999069, 0.9999755, 1, 1, 1, 0.9999689, 1, 1, 0.9999636, 1, 1, 1, 1, 1, 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_felx3237[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_fely3237[126] = { 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.817284e-06, 0, 9.059856e-06, 0, 0, 0, 0, 0, 0, 1.067828e-05, 0, 0, 2.259822e-05, 2.694564e-05, 1.864142e-05, 1.226477e-05, 1.248335e-05, 2.519518e-05, 1.303489e-05, 3.476993e-05, 4.243721e-05, 3.212006e-05, 2.787219e-05, 3.797676e-05, 4.628916e-05, 6.738091e-05, 3.733616e-05, 5.870351e-05, 5.678189e-05, 5.482304e-05, 7.993741e-05, 8.703409e-05, 0.0001014054, 0.0001305032, 0.0001396149, 0.0001744371, 0.0002362972, 0.0003034393, 0.0004004986, 0.0005766505, 0.0008654291, 0.001261584, 0.001713674, 0.002054821, 0.002170601, 0.002055786, 0.001779048, 0.001414336, 0.001091983, 0.0008052302, 0.0006210869, 0.0004837294, 0.000358419, 0.0003230327, 0.0002800382, 0.0002058889, 0.0001420883, 0.0001063246, 8.172585e-05, 7.298905e-05, 7.769231e-05, 5.66001e-05, 5.400988e-05, 5.01263e-05, 7.359933e-05, 5.62305e-05, 4.831707e-05, 5.104177e-05, 5.441671e-05, 7.141686e-05, 6.052623e-05, 6.365269e-05, 8.362934e-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_fehx3237[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_fehy3237[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, 1.579057e-05, 1.577447e-05, 1.577636e-05, 1.587294e-05, 1.598526e-05, 1.618937e-05, 1.651068e-05, 1.661468e-05, 1.695061e-05, 1.72002e-05, 1.747364e-05, 1.789103e-05, 1.836487e-05, 1.8615e-05, 1.904027e-05, 2.450929e-05, 1.994046e-05, 2.518355e-05, 2.08037e-05, 2.112161e-05, 2.167465e-05, 2.223539e-05, 2.275115e-05, 2.310463e-05, 2.968217e-05, 2.429432e-05, 2.484009e-05, 4.038902e-05, 4.451599e-05, 3.806418e-05, 3.409199e-05, 3.469954e-05, 4.503029e-05, 3.623262e-05, 5.445308e-05, 6.197615e-05, 5.306403e-05, 4.981458e-05, 5.947498e-05, 6.760121e-05, 8.804054e-05, 4.794868e-05, 6.934842e-05, 6.795322e-05, 6.645861e-05, 9.182058e-05, 9.93506e-05, 0.0001139817, 0.0001436585, 0.0001531683, 0.0001883797, 0.0002506809, 0.0003181449, 0.0004155082, 0.0005918563, 0.0008802222, 0.001274866, 0.001723779, 0.002059705, 0.002169261, 0.002048335, 0.00176647, 0.0013978, 0.001072853, 0.0007840825, 0.0005982809, 0.0004600132, 0.0003333098, 0.0002966171, 0.0002524045, 0.0001768063, 0.00012708, 9.000814e-05, 6.363996e-05, 5.318068e-05, 5.660783e-05, 3.166902e-05, 2.645097e-05, 1.803341e-05, 4.455112e-05, 2.022954e-05, 0, 0, 0, 2.569328e-05, 0, 0, 3.008717e-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}; grae = new TGraphAsymmErrors(126,eff_graph_fx3237,eff_graph_fy3237,eff_graph_felx3237,eff_graph_fehx3237,eff_graph_fely3237,eff_graph_fehy3237); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet500 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_graph30993237 = new TH1F("Graph_Graph_eff_graph30993237","HLT_PFJet500 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph30993237->SetMinimum(0); Graph_Graph_eff_graph30993237->SetMaximum(1.1); Graph_Graph_eff_graph30993237->SetDirectory(0); Graph_Graph_eff_graph30993237->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30993237->SetLineColor(ci); Graph_Graph_eff_graph30993237->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30993237->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30993237->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30993237->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30993237->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30993237->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30993237->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30993237->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30993237->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30993237->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30993237->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30993237->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30993237->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30993237->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30993237->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30993237->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30993237->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30993237->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30993237); TF1 *turnon_5003238 = new TF1("turnon_500","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",475,610); turnon_5003238->SetFillColor(19); turnon_5003238->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_5003238->SetLineColor(ci); turnon_5003238->SetLineWidth(2); turnon_5003238->SetChisquare(0.0002766744); turnon_5003238->SetNDF(11); turnon_5003238->GetXaxis()->SetLabelFont(42); turnon_5003238->GetXaxis()->SetLabelSize(0.035); turnon_5003238->GetXaxis()->SetTitleSize(0.035); turnon_5003238->GetXaxis()->SetTitleFont(42); turnon_5003238->GetYaxis()->SetLabelFont(42); turnon_5003238->GetYaxis()->SetLabelSize(0.035); turnon_5003238->GetYaxis()->SetTitleSize(0.035); turnon_5003238->GetYaxis()->SetTitleFont(42); turnon_5003238->SetParameter(0,482.889); turnon_5003238->SetParError(0,0.200146); turnon_5003238->SetParLimits(0,0,0); turnon_5003238->SetParameter(1,35.05876); turnon_5003238->SetParError(1,0.5224153); turnon_5003238->SetParLimits(1,0,0); turnon_5003238->SetParameter(2,0.9944858); turnon_5003238->SetParError(2,0.00187205); turnon_5003238->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_5003238); grae->Draw("p"); Double_t eff_graph_fx3239[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_fy3239[126] = { 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.065859e-05, 0, 1.095182e-05, 0, 0, 0, 0, 0, 0, 1.290822e-05, 0, 0, 2.768204e-05, 5.630314e-05, 2.886086e-05, 0, 1.509024e-05, 3.086324e-05, 1.575696e-05, 6.439876e-05, 6.575811e-05, 5.033642e-05, 1.707126e-05, 3.516916e-05, 0.0001075905, 0.000200525, 8.490566e-05, 0.0002261131, 0.0002153559, 0.0002123571, 0.0003782022, 0.0004394639, 0.0005592974, 0.0009060593, 0.001026187, 0.001496784, 0.002463921, 0.003738454, 0.00555589, 0.01000439, 0.02140365, 0.04480986, 0.09066438, 0.1740436, 0.2914704, 0.423233, 0.5582484, 0.672045, 0.7539603, 0.8176852, 0.8631061, 0.8934552, 0.9143486, 0.9312183, 0.9435809, 0.9511753, 0.9627657, 0.9710569, 0.9777924, 0.9841582, 0.9881997, 0.990515, 0.9927925, 0.9947464, 0.9964393, 0.9972611, 0.9977429, 0.9983919, 0.9986994, 0.9987266, 0.9995068, 0.9995851, 0.9994908, 0.9998034, 0.9999592, 0.9998712, 0.9999543, 0.9999521, 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_felx3239[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_fely3239[126] = { 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.817284e-06, 0, 9.059856e-06, 0, 0, 0, 0, 0, 0, 1.067828e-05, 0, 0, 1.788001e-05, 2.694564e-05, 1.864142e-05, 0, 1.248335e-05, 1.993477e-05, 1.303489e-05, 3.082002e-05, 3.147057e-05, 2.739471e-05, 1.412214e-05, 2.271599e-05, 4.267554e-05, 5.952712e-05, 2.776798e-05, 4.679931e-05, 4.661438e-05, 4.70813e-05, 6.453214e-05, 7.096435e-05, 8.127399e-05, 0.000106494, 0.0001151636, 0.0001417672, 0.0001858809, 0.0002326633, 0.0002883744, 0.000394142, 0.0005832671, 0.0008472852, 0.001201977, 0.001615623, 0.001974109, 0.002190202, 0.00224204, 0.002153299, 0.002007541, 0.001833935, 0.001672088, 0.001518411, 0.00140604, 0.001301954, 0.001210307, 0.001147364, 0.0007283752, 0.0006656455, 0.0006067751, 0.0005334671, 0.0004790391, 0.0004463836, 0.0004034571, 0.0003596705, 0.0003111623, 0.0002835929, 0.0002702366, 0.000239868, 0.000226941, 0.0002313748, 0.0001629771, 0.0001576141, 0.000175622, 0.0001329578, 9.388639e-05, 0.0001253034, 0.0001050125, 0.0001101008, 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_fehx3239[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_fehy3239[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, 1.579057e-05, 1.577447e-05, 1.577636e-05, 1.587294e-05, 1.598526e-05, 1.618937e-05, 1.651068e-05, 1.661468e-05, 1.695061e-05, 1.72002e-05, 1.747364e-05, 1.789103e-05, 1.836487e-05, 1.8615e-05, 1.904027e-05, 2.450929e-05, 1.994046e-05, 2.518355e-05, 2.08037e-05, 2.112161e-05, 2.167465e-05, 2.223539e-05, 2.275115e-05, 2.310463e-05, 2.968217e-05, 2.429432e-05, 2.484009e-05, 3.65095e-05, 4.451599e-05, 3.806418e-05, 2.729465e-05, 3.469954e-05, 4.0705e-05, 3.623262e-05, 5.091641e-05, 5.199111e-05, 4.896124e-05, 3.92547e-05, 4.638377e-05, 6.425545e-05, 8.049985e-05, 3.877311e-05, 5.765297e-05, 5.798621e-05, 5.888414e-05, 7.660301e-05, 8.345877e-05, 9.402988e-05, 0.0001197975, 0.0001288578, 0.000155851, 0.000200422, 0.0002475527, 0.0003036527, 0.000409815, 0.0005990158, 0.0008626802, 0.001216391, 0.001627481, 0.001981973, 0.00219321, 0.002239679, 0.002146119, 0.001996624, 0.001819797, 0.001655195, 0.001499733, 0.001385605, 0.00127974, 0.001186635, 0.001122634, 0.0007150604, 0.0006512792, 0.0005911994, 0.0005166269, 0.0004609071, 0.0004269222, 0.0003827362, 0.0003374029, 0.0002871183, 0.0002581203, 0.0002426968, 0.000210412, 0.0001952304, 0.0001979689, 0.0001258831, 0.000118073, 0.0001344243, 8.490432e-05, 3.377758e-05, 7.011449e-05, 3.778073e-05, 3.961152e-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}; grae = new TGraphAsymmErrors(126,eff_graph_fx3239,eff_graph_fy3239,eff_graph_felx3239,eff_graph_fehx3239,eff_graph_fely3239,eff_graph_fehy3239); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet500 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_graph31193239 = new TH1F("Graph_Graph_eff_graph31193239","HLT_PFJet500 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph31193239->SetMinimum(0); Graph_Graph_eff_graph31193239->SetMaximum(1.1); Graph_Graph_eff_graph31193239->SetDirectory(0); Graph_Graph_eff_graph31193239->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph31193239->SetLineColor(ci); Graph_Graph_eff_graph31193239->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph31193239->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph31193239->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31193239->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31193239->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31193239->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph31193239->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph31193239->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph31193239->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph31193239->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31193239->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31193239->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31193239->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph31193239->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph31193239->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph31193239->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph31193239->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph31193239->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph31193239); TF1 *turnon_5003240 = new TF1("turnon_500","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",495,870); turnon_5003240->SetFillColor(19); turnon_5003240->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_5003240->SetLineColor(ci); turnon_5003240->SetLineWidth(2); turnon_5003240->SetChisquare(0.006737663); turnon_5003240->SetNDF(22); turnon_5003240->GetXaxis()->SetLabelFont(42); turnon_5003240->GetXaxis()->SetLabelSize(0.035); turnon_5003240->GetXaxis()->SetTitleSize(0.035); turnon_5003240->GetXaxis()->SetTitleFont(42); turnon_5003240->GetYaxis()->SetLabelFont(42); turnon_5003240->GetYaxis()->SetLabelSize(0.035); turnon_5003240->GetYaxis()->SetTitleSize(0.035); turnon_5003240->GetYaxis()->SetTitleFont(42); turnon_5003240->SetParameter(0,498.5574); turnon_5003240->SetParError(0,1.202729); turnon_5003240->SetParLimits(0,0,0); turnon_5003240->SetParameter(1,57.00387); turnon_5003240->SetParError(1,3.21782); turnon_5003240->SetParLimits(1,0,0); turnon_5003240->SetParameter(2,0.9842848); turnon_5003240->SetParError(2,0.004620349); turnon_5003240->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_5003240); 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_PFJet500 Efficiency (RECO Jets)"); pt->Draw(); Eff_RECO_PT500->Modified(); Eff_RECO_PT500->cd(); Eff_RECO_PT500->SetSelected(Eff_RECO_PT500); }