void Eff_RECO_PT60() { //=========Macro generated from canvas: Eff_RECO_PT60/ //========= (Fri May 13 17:52:57 2016) by ROOT version6.06/01 TCanvas *Eff_RECO_PT60 = new TCanvas("Eff_RECO_PT60", "",0,0,600,600); Eff_RECO_PT60->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_RECO_PT60->SetFillColor(0); Eff_RECO_PT60->SetBorderMode(0); Eff_RECO_PT60->SetBorderSize(10); Eff_RECO_PT60->SetGridx(); Eff_RECO_PT60->SetGridy(); Eff_RECO_PT60->SetLeftMargin(0.18); Eff_RECO_PT60->SetRightMargin(0.05); Eff_RECO_PT60->SetTopMargin(0.08); Eff_RECO_PT60->SetBottomMargin(0.15); Eff_RECO_PT60->SetFrameFillStyle(0); Eff_RECO_PT60->SetFrameLineStyle(0); Eff_RECO_PT60->SetFrameBorderMode(0); Eff_RECO_PT60->SetFrameBorderSize(10); Eff_RECO_PT60->SetFrameFillStyle(0); Eff_RECO_PT60->SetFrameLineStyle(0); Eff_RECO_PT60->SetFrameBorderMode(0); Eff_RECO_PT60->SetFrameBorderSize(10); Double_t eff_graph_fx3139[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_fy3139[135] = { 0, 0, 9.898159e-05, 0.000321358, 0.001957725, 0.004994268, 0.01075289, 0.02489743, 0.0779527, 0.2607079, 0.584125, 0.8281543, 0.939081, 0.9778598, 0.9907312, 0.9951972, 0.9979022, 0.9987902, 0.9993951, 0.9996043, 0.9997409, 0.9997859, 0.999904, 0.999928, 0.9999359, 0.9999811, 0.9999711, 0.9999901, 1, 0.9999791, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3139[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_fely3139[135] = { 0, 0, 3.237134e-05, 5.483397e-05, 0.000139246, 0.000222544, 0.0003190568, 0.000469108, 0.0007857092, 0.001257049, 0.001392599, 0.001056842, 0.0006709797, 0.0004164118, 0.0002731133, 0.0002003993, 0.0001359763, 0.0001062346, 7.819927e-05, 6.573429e-05, 5.538101e-05, 5.195531e-05, 3.855953e-05, 3.551719e-05, 3.452025e-05, 2.487788e-05, 2.811464e-05, 2.269599e-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.330764e-05, 2.362892e-05, 2.45094e-05, 2.497048e-05, 2.547143e-05, 2.617656e-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_fehx3139[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_fehy3139[135] = { 0.0002612149, 4.430227e-05, 4.520058e-05, 6.509172e-05, 0.0001494983, 0.0002326343, 0.0003285582, 0.000477797, 0.0007929866, 0.001260972, 0.001391261, 0.001051735, 0.0006641781, 0.0004089642, 0.0002654738, 0.00019256, 0.000127943, 9.797168e-05, 6.96772e-05, 5.690175e-05, 4.627578e-05, 4.253528e-05, 2.851221e-05, 2.49241e-05, 2.363652e-05, 1.218347e-05, 1.573035e-05, 8.164932e-06, 0, 1.348082e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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_fx3139,eff_graph_fy3139,eff_graph_felx3139,eff_graph_fehx3139,eff_graph_fely3139,eff_graph_fehy3139); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet60 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_graph30633139 = new TH1F("Graph_Graph_eff_graph30633139","HLT_PFJet60 Efficiency (RECO Jets)",135,0,800); Graph_Graph_eff_graph30633139->SetMinimum(0); Graph_Graph_eff_graph30633139->SetMaximum(1.1); Graph_Graph_eff_graph30633139->SetDirectory(0); Graph_Graph_eff_graph30633139->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30633139->SetLineColor(ci); Graph_Graph_eff_graph30633139->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30633139->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30633139->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30633139->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30633139->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30633139->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30633139->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30633139->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30633139->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30633139->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30633139->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30633139->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30633139->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30633139->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30633139->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30633139->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30633139->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30633139->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30633139); TF1 *turnon_603140 = new TF1("turnon_60","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",52.5,92.5); turnon_603140->SetFillColor(19); turnon_603140->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_603140->SetLineColor(ci); turnon_603140->SetLineWidth(2); turnon_603140->SetChisquare(0.0006964785); turnon_603140->SetNDF(6); turnon_603140->GetXaxis()->SetLabelFont(42); turnon_603140->GetXaxis()->SetLabelSize(0.035); turnon_603140->GetXaxis()->SetTitleSize(0.035); turnon_603140->GetXaxis()->SetTitleFont(42); turnon_603140->GetYaxis()->SetLabelFont(42); turnon_603140->GetYaxis()->SetLabelSize(0.035); turnon_603140->GetYaxis()->SetTitleSize(0.035); turnon_603140->GetYaxis()->SetTitleFont(42); turnon_603140->SetParameter(0,56.2968); turnon_603140->SetParError(0,0.1299425); turnon_603140->SetParLimits(0,0,0); turnon_603140->SetParameter(1,8.888368); turnon_603140->SetParError(1,0.3078708); turnon_603140->SetParLimits(1,0,0); turnon_603140->SetParameter(2,0.9909408); turnon_603140->SetParError(2,0.004822532); turnon_603140->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_603140); grae->Draw("ap"); Double_t eff_graph_fx3141[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_fy3141[126] = { 0.1927798, 0.382576, 0.5548022, 0.6901243, 0.7905308, 0.8636746, 0.9133709, 0.9461266, 0.9669778, 0.9807529, 0.9877472, 0.9933159, 0.9960598, 0.9976904, 0.9986633, 0.9994171, 0.9995939, 0.9996962, 0.9998505, 0.9998956, 0.9999417, 0.99998, 0.9999798, 0.9999793, 0.9999893, 1, 0.999989, 0.9999887, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3141[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_fely3141[126] = { 0.001385149, 0.001643077, 0.001618385, 0.001464709, 0.001260333, 0.001045011, 0.0008473918, 0.0006761915, 0.0005335071, 0.0004108458, 0.0003305612, 0.0002471417, 0.0001926718, 0.000150289, 0.0001173631, 8.161682e-05, 6.999673e-05, 6.262149e-05, 4.748552e-05, 4.191571e-05, 3.482449e-05, 2.631326e-05, 2.667163e-05, 2.728096e-05, 2.450929e-05, 1.994046e-05, 2.518355e-05, 2.598463e-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_fehx3141[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_fehy3141[126] = { 0.001392732, 0.001645757, 0.001617228, 0.001460918, 0.001254804, 0.001038337, 0.0008399936, 0.0006683319, 0.0005253756, 0.0004025109, 0.0003220916, 0.0002385349, 0.0001839172, 0.0001413806, 0.0001082363, 7.210202e-05, 6.030537e-05, 5.261679e-05, 3.697549e-05, 3.099399e-05, 2.312812e-05, 1.288643e-05, 1.306195e-05, 1.336036e-05, 8.817284e-06, 0, 9.059856e-06, 9.348051e-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}; grae = new TGraphAsymmErrors(126,eff_graph_fx3141,eff_graph_fy3141,eff_graph_felx3141,eff_graph_fehx3141,eff_graph_fely3141,eff_graph_fehy3141); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet60 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_graph30833141 = new TH1F("Graph_Graph_eff_graph30833141","HLT_PFJet60 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph30833141->SetMinimum(0); Graph_Graph_eff_graph30833141->SetMaximum(1.1); Graph_Graph_eff_graph30833141->SetDirectory(0); Graph_Graph_eff_graph30833141->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30833141->SetLineColor(ci); Graph_Graph_eff_graph30833141->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30833141->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30833141->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30833141->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30833141->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30833141->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30833141->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30833141->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30833141->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30833141->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30833141->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30833141->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30833141->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30833141->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30833141->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30833141->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30833141->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30833141->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30833141); TF1 *turnon_603142 = new TF1("turnon_60","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",57.5,122.5); turnon_603142->SetFillColor(19); turnon_603142->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_603142->SetLineColor(ci); turnon_603142->SetLineWidth(2); turnon_603142->SetChisquare(0.001630811); turnon_603142->SetNDF(11); turnon_603142->GetXaxis()->SetLabelFont(42); turnon_603142->GetXaxis()->SetLabelSize(0.035); turnon_603142->GetXaxis()->SetTitleSize(0.035); turnon_603142->GetXaxis()->SetTitleFont(42); turnon_603142->GetYaxis()->SetLabelFont(42); turnon_603142->GetYaxis()->SetLabelSize(0.035); turnon_603142->GetYaxis()->SetTitleSize(0.035); turnon_603142->GetYaxis()->SetTitleFont(42); turnon_603142->SetParameter(0,60.80369); turnon_603142->SetParError(0,0.2838193); turnon_603142->SetParLimits(0,0,0); turnon_603142->SetParameter(1,20.14629); turnon_603142->SetParError(1,0.7848999); turnon_603142->SetParLimits(1,0,0); turnon_603142->SetParameter(2,0.989305); turnon_603142->SetParError(2,0.004875351); turnon_603142->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_603142); grae->Draw("p"); Double_t eff_graph_fx3143[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_fy3143[126] = { 0.02066771, 0.08031014, 0.1990167, 0.349122, 0.5004834, 0.6320227, 0.7380387, 0.8182518, 0.877609, 0.9178053, 0.9454193, 0.9652424, 0.9777211, 0.9858469, 0.9903181, 0.9944755, 0.9963991, 0.997735, 0.9987013, 0.998899, 0.999378, 0.9995511, 0.999727, 0.9998552, 0.9998721, 0.9999675, 0.9999671, 0.9999435, 1, 1, 1, 0.9999753, 1, 0.9999871, 1, 1, 1, 0.9999859, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3143[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_fely3143[126] = { 0.0004989071, 0.0009172457, 0.001297539, 0.001506233, 0.001544109, 0.001463367, 0.001318437, 0.001147986, 0.0009706877, 0.0008122864, 0.000673068, 0.0005445009, 0.0004418487, 0.0003566952, 0.0002991665, 0.0002310082, 0.0001890861, 0.0001536271, 0.0001196725, 0.0001119425, 8.783668e-05, 7.73683e-05, 6.328872e-05, 4.995253e-05, 4.859697e-05, 3.160674e-05, 3.195842e-05, 3.822081e-05, 2.112161e-05, 2.167465e-05, 2.223539e-05, 3.259783e-05, 2.310463e-05, 2.968217e-05, 2.429432e-05, 2.484009e-05, 2.54813e-05, 3.236689e-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_fehx3143[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_fehy3143[126] = { 0.0005108319, 0.0009268477, 0.001303902, 0.001509242, 0.001544099, 0.001460948, 0.001314185, 0.001142395, 0.0009641368, 0.000805081, 0.0006653858, 0.0005364635, 0.0004335291, 0.0003481528, 0.0002904124, 0.0002219597, 0.0001799014, 0.0001441687, 0.0001099578, 0.0001020313, 7.752249e-05, 6.665695e-05, 5.220792e-05, 3.822894e-05, 3.640076e-05, 1.768427e-05, 1.788104e-05, 2.440473e-05, 0, 0, 0, 1.596428e-05, 0, 1.067828e-05, 0, 0, 0, 1.164414e-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}; grae = new TGraphAsymmErrors(126,eff_graph_fx3143,eff_graph_fy3143,eff_graph_felx3143,eff_graph_fehx3143,eff_graph_fely3143,eff_graph_fehy3143); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet60 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_graph31033143 = new TH1F("Graph_Graph_eff_graph31033143","HLT_PFJet60 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph31033143->SetMinimum(0); Graph_Graph_eff_graph31033143->SetMaximum(1.1); Graph_Graph_eff_graph31033143->SetDirectory(0); Graph_Graph_eff_graph31033143->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph31033143->SetLineColor(ci); Graph_Graph_eff_graph31033143->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph31033143->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph31033143->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31033143->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31033143->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31033143->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph31033143->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph31033143->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph31033143->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph31033143->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31033143->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31033143->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31033143->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph31033143->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph31033143->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph31033143->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph31033143->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph31033143->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph31033143); TF1 *turnon_603144 = new TF1("turnon_60","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",67.5,147.5); turnon_603144->SetFillColor(19); turnon_603144->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_603144->SetLineColor(ci); turnon_603144->SetLineWidth(2); turnon_603144->SetChisquare(0.001885059); turnon_603144->SetNDF(14); turnon_603144->GetXaxis()->SetLabelFont(42); turnon_603144->GetXaxis()->SetLabelSize(0.035); turnon_603144->GetXaxis()->SetTitleSize(0.035); turnon_603144->GetXaxis()->SetTitleFont(42); turnon_603144->GetYaxis()->SetLabelFont(42); turnon_603144->GetYaxis()->SetLabelSize(0.035); turnon_603144->GetYaxis()->SetTitleSize(0.035); turnon_603144->GetYaxis()->SetTitleFont(42); turnon_603144->SetParameter(0,72.5581); turnon_603144->SetParError(0,0.2714565); turnon_603144->SetParLimits(0,0,0); turnon_603144->SetParameter(1,22.55796); turnon_603144->SetParError(1,0.7404463); turnon_603144->SetParLimits(1,0,0); turnon_603144->SetParameter(2,0.9899952); turnon_603144->SetParError(2,0.004067057); turnon_603144->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_603144); 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_PFJet60 Efficiency (RECO Jets)"); pt->Draw(); Eff_RECO_PT60->Modified(); Eff_RECO_PT60->cd(); Eff_RECO_PT60->SetSelected(Eff_RECO_PT60); }