void Eff_RECO_PT40() { //=========Macro generated from canvas: Eff_RECO_PT40/ //========= (Fri May 13 17:52:57 2016) by ROOT version6.06/01 TCanvas *Eff_RECO_PT40 = new TCanvas("Eff_RECO_PT40", "",0,0,600,600); Eff_RECO_PT40->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_RECO_PT40->SetFillColor(0); Eff_RECO_PT40->SetBorderMode(0); Eff_RECO_PT40->SetBorderSize(10); Eff_RECO_PT40->SetGridx(); Eff_RECO_PT40->SetGridy(); Eff_RECO_PT40->SetLeftMargin(0.18); Eff_RECO_PT40->SetRightMargin(0.05); Eff_RECO_PT40->SetTopMargin(0.08); Eff_RECO_PT40->SetBottomMargin(0.15); Eff_RECO_PT40->SetFrameFillStyle(0); Eff_RECO_PT40->SetFrameLineStyle(0); Eff_RECO_PT40->SetFrameBorderMode(0); Eff_RECO_PT40->SetFrameBorderSize(10); Eff_RECO_PT40->SetFrameFillStyle(0); Eff_RECO_PT40->SetFrameLineStyle(0); Eff_RECO_PT40->SetFrameBorderMode(0); Eff_RECO_PT40->SetFrameBorderSize(10); Double_t eff_graph_fx3127[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_fy3127[135] = { 0, 0.0001684514, 0.001275763, 0.006587839, 0.03842905, 0.1994916, 0.5917153, 0.8668816, 0.9621084, 0.9876375, 0.9957335, 0.9982091, 0.9993763, 0.9996912, 0.9997852, 0.9998991, 0.9999217, 0.9999443, 0.9999677, 0.9999918, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3127[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_fely3127[135] = { 0, 6.211975e-05, 0.0001182186, 0.0002487104, 0.0006063397, 0.001263691, 0.001525915, 0.001030189, 0.0005673923, 0.0003239909, 0.0001915588, 0.0001256383, 7.726374e-05, 5.694014e-05, 4.875016e-05, 3.644557e-05, 3.339761e-05, 3.000779e-05, 2.550863e-05, 1.89549e-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, 1.921195e-05, 1.952988e-05, 2.008316e-05, 2.052194e-05, 2.117092e-05, 2.166853e-05, 2.205928e-05, 2.262394e-05, 2.330764e-05, 2.362892e-05, 2.45094e-05, 2.497048e-05, 2.547143e-05, 2.617656e-05, 2.694746e-05, 2.744724e-05, 2.826821e-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_fehx3127[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_fehy3127[135] = { 0.0002612149, 9.071814e-05, 0.000129699, 0.0002582149, 0.0006155888, 0.001269706, 0.001524155, 0.001023514, 0.0005594066, 0.000315919, 0.0001835262, 0.0001176584, 6.914447e-05, 4.861362e-05, 4.035402e-05, 2.761063e-05, 2.433281e-05, 2.054667e-05, 1.544015e-05, 6.819051e-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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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_fx3127,eff_graph_fy3127,eff_graph_felx3127,eff_graph_fehx3127,eff_graph_fely3127,eff_graph_fehy3127); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet40 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_graph30613127 = new TH1F("Graph_Graph_eff_graph30613127","HLT_PFJet40 Efficiency (RECO Jets)",135,0,800); Graph_Graph_eff_graph30613127->SetMinimum(0); Graph_Graph_eff_graph30613127->SetMaximum(1.1); Graph_Graph_eff_graph30613127->SetDirectory(0); Graph_Graph_eff_graph30613127->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30613127->SetLineColor(ci); Graph_Graph_eff_graph30613127->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30613127->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30613127->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30613127->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30613127->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30613127->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30613127->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30613127->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30613127->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30613127->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30613127->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30613127->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30613127->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30613127->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30613127->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30613127->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30613127->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30613127->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30613127); TF1 *turnon_403128 = new TF1("turnon_40","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",32.5,62.5); turnon_403128->SetFillColor(19); turnon_403128->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_403128->SetLineColor(ci); turnon_403128->SetLineWidth(2); turnon_403128->SetChisquare(0.0007999285); turnon_403128->SetNDF(4); turnon_403128->GetXaxis()->SetLabelFont(42); turnon_403128->GetXaxis()->SetLabelSize(0.035); turnon_403128->GetXaxis()->SetTitleSize(0.035); turnon_403128->GetXaxis()->SetTitleFont(42); turnon_403128->GetYaxis()->SetLabelFont(42); turnon_403128->GetYaxis()->SetLabelSize(0.035); turnon_403128->GetYaxis()->SetTitleSize(0.035); turnon_403128->GetYaxis()->SetTitleFont(42); turnon_403128->SetParameter(0,36.45103); turnon_403128->SetParError(0,0.1509479); turnon_403128->SetParLimits(0,0,0); turnon_403128->SetParameter(1,7.007787); turnon_403128->SetParError(1,0.3273217); turnon_403128->SetParLimits(1,0,0); turnon_403128->SetParameter(2,0.9883011); turnon_403128->SetParError(2,0.00748093); turnon_403128->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_403128); grae->Draw("ap"); Double_t eff_graph_fx3129[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_fy3129[126] = { 0.9164445, 0.9499767, 0.9694274, 0.9831844, 0.9894408, 0.9943544, 0.9968133, 0.9981535, 0.9989983, 0.9994425, 0.9996744, 0.9998029, 0.9998707, 0.9999219, 1, 0.999991, 0.999991, 0.9999908, 0.9999907, 1, 1, 0.99999, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3129[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_fely3129[126] = { 0.0009813009, 0.0007458731, 0.0005688523, 0.0004151959, 0.0003241613, 0.0002356607, 0.0001771834, 0.0001359382, 0.000101854, 7.805826e-05, 6.183882e-05, 5.025545e-05, 4.274996e-05, 3.568643e-05, 1.618937e-05, 2.062251e-05, 2.075242e-05, 2.117201e-05, 2.148374e-05, 1.747364e-05, 1.789103e-05, 2.293846e-05, 1.8615e-05, 1.904027e-05, 1.962251e-05, 1.994046e-05, 2.016234e-05, 2.08037e-05, 2.112161e-05, 2.167465e-05, 2.223539e-05, 2.275115e-05, 2.310463e-05, 2.376403e-05, 2.429432e-05, 2.484009e-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_fehx3129[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_fehy3129[126] = { 0.000971002, 0.0007355625, 0.0005588751, 0.0004054741, 0.000314743, 0.0002264463, 0.0001681043, 0.0001269183, 9.283472e-05, 6.895799e-05, 5.257962e-05, 4.079407e-05, 3.301528e-05, 2.555731e-05, 0, 7.418984e-06, 7.465718e-06, 7.616668e-06, 7.728819e-06, 0, 0, 8.252163e-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, 0, 0, 0, 0, 0, 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_fx3129,eff_graph_fy3129,eff_graph_felx3129,eff_graph_fehx3129,eff_graph_fely3129,eff_graph_fehy3129); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet40 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_graph30813129 = new TH1F("Graph_Graph_eff_graph30813129","HLT_PFJet40 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph30813129->SetMinimum(0); Graph_Graph_eff_graph30813129->SetMaximum(1.1); Graph_Graph_eff_graph30813129->SetDirectory(0); Graph_Graph_eff_graph30813129->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30813129->SetLineColor(ci); Graph_Graph_eff_graph30813129->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30813129->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30813129->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30813129->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30813129->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30813129->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30813129->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30813129->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30813129->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30813129->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30813129->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30813129->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30813129->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30813129->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30813129->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30813129->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30813129->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30813129->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30813129); TF1 *turnon_403130 = new TF1("turnon_40","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",0,92.5); turnon_403130->SetFillColor(19); turnon_403130->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_403130->SetLineColor(ci); turnon_403130->SetLineWidth(2); turnon_403130->SetChisquare(5.211195e-06); turnon_403130->SetNDF(6); turnon_403130->GetXaxis()->SetLabelFont(42); turnon_403130->GetXaxis()->SetLabelSize(0.035); turnon_403130->GetXaxis()->SetTitleSize(0.035); turnon_403130->GetXaxis()->SetTitleFont(42); turnon_403130->GetYaxis()->SetLabelFont(42); turnon_403130->GetYaxis()->SetLabelSize(0.035); turnon_403130->GetYaxis()->SetTitleSize(0.035); turnon_403130->GetYaxis()->SetTitleFont(42); turnon_403130->SetParameter(0,23.8476); turnon_403130->SetParError(0,0.9424849); turnon_403130->SetParLimits(0,0,0); turnon_403130->SetParameter(1,29.05749); turnon_403130->SetParError(1,0.9284514); turnon_403130->SetParLimits(1,0,0); turnon_403130->SetParameter(2,0.9991938); turnon_403130->SetParError(2,0.0006493084); turnon_403130->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_403130); grae->Draw("p"); Double_t eff_graph_fx3131[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_fy3131[126] = { 0.6369266, 0.7634352, 0.8457157, 0.9047217, 0.9409289, 0.9624998, 0.9775327, 0.9874155, 0.9921849, 0.9956771, 0.9973352, 0.9983718, 0.9991637, 0.9994182, 0.9997538, 0.9998565, 0.9999098, 0.9999171, 0.999972, 0.9999905, 0.9999903, 0.99999, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3131[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_fely3131[126] = { 0.001693502, 0.001441602, 0.001180953, 0.0009345862, 0.0007347885, 0.0005830531, 0.0004509083, 0.0003384799, 0.0002674277, 0.0002008051, 0.0001596099, 0.0001267868, 9.378594e-05, 8.008273e-05, 5.587103e-05, 4.558209e-05, 3.850581e-05, 3.784141e-05, 2.726335e-05, 2.182529e-05, 2.234662e-05, 2.293846e-05, 1.8615e-05, 1.904027e-05, 1.962251e-05, 1.994046e-05, 2.016234e-05, 2.08037e-05, 2.112161e-05, 2.167465e-05, 2.223539e-05, 2.275115e-05, 2.310463e-05, 2.376403e-05, 2.429432e-05, 2.484009e-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_fehx3131[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_fehy3131[126] = { 0.001690125, 0.001435588, 0.001173641, 0.0009264986, 0.0007263751, 0.0005745358, 0.0004423213, 0.0003298356, 0.0002587853, 0.0001921122, 0.0001508449, 0.0001179347, 8.474044e-05, 7.087881e-05, 4.624889e-05, 3.549327e-05, 2.80547e-05, 2.71007e-05, 1.525404e-05, 7.851691e-06, 8.039245e-06, 8.252163e-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, 0, 0, 0, 0, 0, 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_fx3131,eff_graph_fy3131,eff_graph_felx3131,eff_graph_fehx3131,eff_graph_fely3131,eff_graph_fehy3131); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet40 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_graph31013131 = new TH1F("Graph_Graph_eff_graph31013131","HLT_PFJet40 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph31013131->SetMinimum(0); Graph_Graph_eff_graph31013131->SetMaximum(1.1); Graph_Graph_eff_graph31013131->SetDirectory(0); Graph_Graph_eff_graph31013131->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph31013131->SetLineColor(ci); Graph_Graph_eff_graph31013131->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph31013131->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph31013131->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31013131->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31013131->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31013131->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph31013131->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph31013131->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph31013131->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph31013131->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31013131->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31013131->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31013131->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph31013131->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph31013131->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph31013131->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph31013131->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph31013131->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph31013131); TF1 *turnon_403132 = new TF1("turnon_40","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",0,107.5); turnon_403132->SetFillColor(19); turnon_403132->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_403132->SetLineColor(ci); turnon_403132->SetLineWidth(2); turnon_403132->SetChisquare(0.0003290171); turnon_403132->SetNDF(9); turnon_403132->GetXaxis()->SetLabelFont(42); turnon_403132->GetXaxis()->SetLabelSize(0.035); turnon_403132->GetXaxis()->SetTitleSize(0.035); turnon_403132->GetXaxis()->SetTitleFont(42); turnon_403132->GetYaxis()->SetLabelFont(42); turnon_403132->GetYaxis()->SetLabelSize(0.035); turnon_403132->GetYaxis()->SetTitleSize(0.035); turnon_403132->GetYaxis()->SetTitleFont(42); turnon_403132->SetParameter(0,46.53816); turnon_403132->SetParError(0,0.3700318); turnon_403132->SetParLimits(0,0,0); turnon_403132->SetParameter(1,22.02459); turnon_403132->SetParError(1,0.7634895); turnon_403132->SetParLimits(1,0,0); turnon_403132->SetParameter(2,0.993221); turnon_403132->SetParError(2,0.002712129); turnon_403132->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_403132); 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_PFJet40 Efficiency (RECO Jets)"); pt->Draw(); Eff_RECO_PT40->Modified(); Eff_RECO_PT40->cd(); Eff_RECO_PT40->SetSelected(Eff_RECO_PT40); }