void Eff_RECO_PT80() { //=========Macro generated from canvas: Eff_RECO_PT80/ //========= (Fri May 13 17:52:57 2016) by ROOT version6.06/01 TCanvas *Eff_RECO_PT80 = new TCanvas("Eff_RECO_PT80", "",0,0,600,600); Eff_RECO_PT80->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_RECO_PT80->SetFillColor(0); Eff_RECO_PT80->SetBorderMode(0); Eff_RECO_PT80->SetBorderSize(10); Eff_RECO_PT80->SetGridx(); Eff_RECO_PT80->SetGridy(); Eff_RECO_PT80->SetLeftMargin(0.18); Eff_RECO_PT80->SetRightMargin(0.05); Eff_RECO_PT80->SetTopMargin(0.08); Eff_RECO_PT80->SetBottomMargin(0.15); Eff_RECO_PT80->SetFrameFillStyle(0); Eff_RECO_PT80->SetFrameLineStyle(0); Eff_RECO_PT80->SetFrameBorderMode(0); Eff_RECO_PT80->SetFrameBorderSize(10); Eff_RECO_PT80->SetFrameFillStyle(0); Eff_RECO_PT80->SetFrameLineStyle(0); Eff_RECO_PT80->SetFrameBorderMode(0); Eff_RECO_PT80->SetFrameBorderSize(10); Double_t eff_graph_fx3151[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_fy3151[135] = { 0, 0, 4.399182e-05, 2.835512e-05, 0.0003478192, 0.0009868913, 0.001865493, 0.003514079, 0.005324896, 0.008701976, 0.01800187, 0.04570405, 0.1278675, 0.332389, 0.6115246, 0.8242451, 0.9301554, 0.9736624, 0.9894744, 0.9950459, 0.9973674, 0.9983812, 0.9990483, 0.9994688, 0.9996521, 0.9998302, 0.9998266, 0.9998816, 0.9999083, 0.9999583, 0.9999788, 0.9999891, 0.9999889, 0.999977, 0.9999882, 1, 0.9999877, 0.9999873, 0.9999872, 0.9999867, 1, 1, 0.9999858, 1, 1, 0.9999846, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3151[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_fely3151[135] = { 0, 0, 2.10537e-05, 1.543181e-05, 5.850286e-05, 9.897899e-05, 0.0001333688, 0.0001780409, 0.0002130985, 0.0002655166, 0.0003745346, 0.0005818419, 0.0009276567, 0.001311397, 0.001354791, 0.001066589, 0.0007204097, 0.0004595764, 0.0002978814, 0.0002098926, 0.0001566253, 0.0001264163, 0.0001001155, 7.852549e-05, 6.608117e-05, 5.017846e-05, 5.125981e-05, 4.500179e-05, 4.185691e-05, 3.300393e-05, 2.798246e-05, 2.508465e-05, 2.56327e-05, 3.033371e-05, 2.706483e-05, 2.205928e-05, 2.825817e-05, 2.911211e-05, 2.95134e-05, 3.061315e-05, 2.497048e-05, 2.547143e-05, 3.269547e-05, 2.694746e-05, 2.744724e-05, 3.530799e-05, 2.868443e-05, 2.950595e-05, 3.002763e-05, 3.086843e-05, 3.148395e-05, 3.215201e-05, 3.270664e-05, 3.354636e-05, 3.420135e-05, 3.50211e-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_fehx3151[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_fehy3151[135] = { 0.0002612149, 4.430227e-05, 3.478245e-05, 2.758106e-05, 6.92752e-05, 0.0001094291, 0.0001432419, 0.0001872631, 0.0002217527, 0.0002736689, 0.0003822604, 0.0005889332, 0.0009334117, 0.001313993, 0.001353075, 0.001061539, 0.0007136387, 0.0004519698, 0.0002898757, 0.0002015642, 0.0001480771, 0.0001175674, 9.09824e-05, 6.894485e-05, 5.618706e-05, 3.96367e-05, 4.049092e-05, 3.370771e-05, 2.997659e-05, 1.997714e-05, 1.370392e-05, 9.024276e-06, 9.221443e-06, 1.485543e-05, 9.736663e-06, 0, 1.016598e-05, 1.04732e-05, 1.061757e-05, 1.101321e-05, 0, 0, 1.176236e-05, 0, 0, 1.270225e-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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(135,eff_graph_fx3151,eff_graph_fy3151,eff_graph_felx3151,eff_graph_fehx3151,eff_graph_fely3151,eff_graph_fehy3151); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet80 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_graph30653151 = new TH1F("Graph_Graph_eff_graph30653151","HLT_PFJet80 Efficiency (RECO Jets)",135,0,800); Graph_Graph_eff_graph30653151->SetMinimum(0); Graph_Graph_eff_graph30653151->SetMaximum(1.1); Graph_Graph_eff_graph30653151->SetDirectory(0); Graph_Graph_eff_graph30653151->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30653151->SetLineColor(ci); Graph_Graph_eff_graph30653151->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30653151->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30653151->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30653151->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30653151->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30653151->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30653151->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30653151->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30653151->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30653151->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30653151->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30653151->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30653151->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30653151->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30653151->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30653151->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30653151->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30653151->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30653151); TF1 *turnon_803152 = new TF1("turnon_80","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",72.5,112.5); turnon_803152->SetFillColor(19); turnon_803152->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_803152->SetLineColor(ci); turnon_803152->SetLineWidth(2); turnon_803152->SetChisquare(0.0003935879); turnon_803152->SetNDF(6); turnon_803152->GetXaxis()->SetLabelFont(42); turnon_803152->GetXaxis()->SetLabelSize(0.035); turnon_803152->GetXaxis()->SetTitleSize(0.035); turnon_803152->GetXaxis()->SetTitleFont(42); turnon_803152->GetYaxis()->SetLabelFont(42); turnon_803152->GetYaxis()->SetLabelSize(0.035); turnon_803152->GetYaxis()->SetTitleSize(0.035); turnon_803152->GetYaxis()->SetTitleFont(42); turnon_803152->SetParameter(0,75.50221); turnon_803152->SetParError(0,0.1123631); turnon_803152->SetParLimits(0,0,0); turnon_803152->SetParameter(1,10.40773); turnon_803152->SetParError(1,0.2863244); turnon_803152->SetParLimits(1,0,0); turnon_803152->SetParameter(2,0.9921122); turnon_803152->SetParError(2,0.00375817); turnon_803152->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_803152); grae->Draw("ap"); Double_t eff_graph_fx3153[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_fy3153[126] = { 0.001646536, 0.004433884, 0.01552844, 0.05868556, 0.162673, 0.3119507, 0.4591378, 0.5952585, 0.7097866, 0.7962329, 0.8633513, 0.913903, 0.9447251, 0.9671092, 0.9802756, 0.9885206, 0.9934751, 0.9956266, 0.9975428, 0.9984434, 0.9992906, 0.9993915, 0.9996562, 0.9997725, 0.9998081, 0.9999458, 0.9999343, 0.9999096, 0.9999771, 0.9999765, 1, 0.9999753, 1, 0.9999871, 1, 0.9999865, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3153[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_fely3153[126] = { 0.0001419637, 0.0002239733, 0.0004012906, 0.0007415084, 0.00113779, 0.001403113, 0.001490856, 0.001457248, 0.001339856, 0.001186499, 0.001012827, 0.0008289964, 0.0006791666, 0.0005339806, 0.0004210254, 0.0003279578, 0.0002509465, 0.0002095339, 0.0001608392, 0.0001311765, 9.30914e-05, 8.82815e-05, 6.963343e-05, 5.95774e-05, 5.670741e-05, 3.663492e-05, 3.924535e-05, 4.457788e-05, 3.026307e-05, 3.105545e-05, 2.223539e-05, 3.259783e-05, 2.310463e-05, 2.968217e-05, 2.429432e-05, 3.102619e-05, 2.54813e-05, 2.591349e-05, 2.656638e-05, 2.729465e-05, 2.778107e-05, 2.840955e-05, 2.900849e-05, 2.963944e-05, 3.026507e-05, 3.088967e-05, 3.142806e-05, 3.237307e-05, 3.30122e-05, 3.356043e-05, 1.736798e-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_fehx3153[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_fehy3153[126] = { 0.0001547412, 0.0002355276, 0.0004116253, 0.000750339, 0.001144211, 0.00140656, 0.001491585, 0.001455576, 0.001336221, 0.001181399, 0.001006574, 0.0008218656, 0.0006714486, 0.0005258019, 0.0004124885, 0.0003190722, 0.0002418732, 0.0002001971, 0.000151255, 0.0001213444, 8.281776e-05, 7.767868e-05, 5.866029e-05, 4.813501e-05, 4.479436e-05, 2.339207e-05, 2.606429e-05, 3.128273e-05, 1.482083e-05, 1.52089e-05, 0, 1.596428e-05, 0, 1.067828e-05, 0, 1.116181e-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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3153,eff_graph_fy3153,eff_graph_felx3153,eff_graph_fehx3153,eff_graph_fely3153,eff_graph_fehy3153); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet80 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_graph30853153 = new TH1F("Graph_Graph_eff_graph30853153","HLT_PFJet80 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph30853153->SetMinimum(0); Graph_Graph_eff_graph30853153->SetMaximum(1.1); Graph_Graph_eff_graph30853153->SetDirectory(0); Graph_Graph_eff_graph30853153->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30853153->SetLineColor(ci); Graph_Graph_eff_graph30853153->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30853153->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30853153->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30853153->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30853153->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30853153->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30853153->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30853153->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30853153->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30853153->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30853153->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30853153->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30853153->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30853153->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30853153->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30853153->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30853153->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30853153->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30853153); TF1 *turnon_803154 = new TF1("turnon_80","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",82.5,147.5); turnon_803154->SetFillColor(19); turnon_803154->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_803154->SetLineColor(ci); turnon_803154->SetLineWidth(2); turnon_803154->SetChisquare(0.0004875305); turnon_803154->SetNDF(11); turnon_803154->GetXaxis()->SetLabelFont(42); turnon_803154->GetXaxis()->SetLabelSize(0.035); turnon_803154->GetXaxis()->SetTitleSize(0.035); turnon_803154->GetXaxis()->SetTitleFont(42); turnon_803154->GetYaxis()->SetLabelFont(42); turnon_803154->GetYaxis()->SetLabelSize(0.035); turnon_803154->GetYaxis()->SetTitleSize(0.035); turnon_803154->GetYaxis()->SetTitleFont(42); turnon_803154->SetParameter(0,83.59186); turnon_803154->SetParError(0,0.2022059); turnon_803154->SetParLimits(0,0,0); turnon_803154->SetParameter(1,23.49565); turnon_803154->SetParError(1,0.5413853); turnon_803154->SetParLimits(1,0,0); turnon_803154->SetParameter(2,0.9931893); turnon_803154->SetParError(2,0.002816972); turnon_803154->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_803154); grae->Draw("p"); Double_t eff_graph_fx3155[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_fy3155[126] = { 0.0005283659, 0.001182369, 0.003147799, 0.008815257, 0.02892891, 0.08307602, 0.1851773, 0.3105594, 0.4464124, 0.5676179, 0.6771172, 0.7656178, 0.8329511, 0.8837969, 0.9211376, 0.946549, 0.963955, 0.9740724, 0.9828746, 0.9875663, 0.9923324, 0.9947529, 0.9962891, 0.9975592, 0.9981667, 0.9986677, 0.9992881, 0.9995367, 0.9997591, 0.9998234, 0.9999034, 0.9999135, 0.9999247, 0.9999484, 0.9999604, 0.9999595, 0.9999723, 0.9999578, 0.9999856, 1, 1, 0.9999846, 0.9999842, 1, 1, 0.9999832, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3155[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_fely3155[126] = { 8.024519e-05, 0.0001156985, 0.0001816858, 0.0002947106, 0.0005162621, 0.0008349299, 0.001160562, 0.001371565, 0.001464696, 0.001455749, 0.001374488, 0.001246629, 0.001102489, 0.000952005, 0.0008073765, 0.0006821238, 0.0005687167, 0.0004912377, 0.0004058108, 0.0003508441, 0.0002816798, 0.0002382485, 0.0002035929, 0.0001692276, 0.0001505663, 0.000131186, 9.966086e-05, 8.422203e-05, 6.487136e-05, 5.837382e-05, 4.76455e-05, 4.659017e-05, 4.497215e-05, 4.082363e-05, 3.850766e-05, 3.937271e-05, 3.65095e-05, 4.107404e-05, 3.318237e-05, 2.729465e-05, 2.778107e-05, 3.548452e-05, 3.623262e-05, 2.963944e-05, 3.026507e-05, 3.858224e-05, 3.142806e-05, 3.237307e-05, 3.30122e-05, 3.356043e-05, 1.736798e-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_fehx3155[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_fehy3155[126] = { 9.345825e-05, 0.000127598, 0.0001924506, 0.0003046383, 0.0005252744, 0.0008425889, 0.001166188, 0.001374892, 0.001465624, 0.001454586, 0.001371443, 0.001242061, 0.001096725, 0.0009453095, 0.000799929, 0.0006740609, 0.0005602751, 0.0004824245, 0.0003966817, 0.00034146, 0.0002719396, 0.0002281618, 0.0001932939, 0.0001585999, 0.0001395409, 0.0001198953, 8.804462e-05, 7.204834e-05, 5.21497e-05, 4.508223e-05, 3.343555e-05, 3.190137e-05, 2.986785e-05, 2.471056e-05, 2.154553e-05, 2.202956e-05, 1.788001e-05, 2.298151e-05, 1.193752e-05, 0, 0, 1.276575e-05, 1.303489e-05, 0, 0, 1.388021e-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, 0}; grae = new TGraphAsymmErrors(126,eff_graph_fx3155,eff_graph_fy3155,eff_graph_felx3155,eff_graph_fehx3155,eff_graph_fely3155,eff_graph_fehy3155); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet80 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_graph31053155 = new TH1F("Graph_Graph_eff_graph31053155","HLT_PFJet80 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph31053155->SetMinimum(0); Graph_Graph_eff_graph31053155->SetMaximum(1.1); Graph_Graph_eff_graph31053155->SetDirectory(0); Graph_Graph_eff_graph31053155->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph31053155->SetLineColor(ci); Graph_Graph_eff_graph31053155->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph31053155->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph31053155->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31053155->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31053155->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31053155->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph31053155->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph31053155->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph31053155->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph31053155->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31053155->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31053155->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31053155->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph31053155->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph31053155->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph31053155->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph31053155->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph31053155->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph31053155); TF1 *turnon_803156 = new TF1("turnon_80","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",92.5,177.5); turnon_803156->SetFillColor(19); turnon_803156->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_803156->SetLineColor(ci); turnon_803156->SetLineWidth(2); turnon_803156->SetChisquare(0.0008298061); turnon_803156->SetNDF(15); turnon_803156->GetXaxis()->SetLabelFont(42); turnon_803156->GetXaxis()->SetLabelSize(0.035); turnon_803156->GetXaxis()->SetTitleSize(0.035); turnon_803156->GetXaxis()->SetTitleFont(42); turnon_803156->GetYaxis()->SetLabelFont(42); turnon_803156->GetYaxis()->SetLabelSize(0.035); turnon_803156->GetYaxis()->SetTitleSize(0.035); turnon_803156->GetYaxis()->SetTitleFont(42); turnon_803156->SetParameter(0,94.22049); turnon_803156->SetParError(0,0.2359814); turnon_803156->SetParLimits(0,0,0); turnon_803156->SetParameter(1,26.27353); turnon_803156->SetParError(1,0.6183157); turnon_803156->SetParLimits(1,0,0); turnon_803156->SetParameter(2,0.9917014); turnon_803156->SetParError(2,0.002555278); turnon_803156->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_803156); 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_PFJet80 Efficiency (RECO Jets)"); pt->Draw(); Eff_RECO_PT80->Modified(); Eff_RECO_PT80->cd(); Eff_RECO_PT80->SetSelected(Eff_RECO_PT80); }