void Eff_RECO_PT320() { //=========Macro generated from canvas: Eff_RECO_PT320/ //========= (Fri May 13 17:52:58 2016) by ROOT version6.06/01 TCanvas *Eff_RECO_PT320 = new TCanvas("Eff_RECO_PT320", "",0,0,600,600); Eff_RECO_PT320->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_RECO_PT320->SetFillColor(0); Eff_RECO_PT320->SetBorderMode(0); Eff_RECO_PT320->SetBorderSize(10); Eff_RECO_PT320->SetGridx(); Eff_RECO_PT320->SetGridy(); Eff_RECO_PT320->SetLeftMargin(0.18); Eff_RECO_PT320->SetRightMargin(0.05); Eff_RECO_PT320->SetTopMargin(0.08); Eff_RECO_PT320->SetBottomMargin(0.15); Eff_RECO_PT320->SetFrameFillStyle(0); Eff_RECO_PT320->SetFrameLineStyle(0); Eff_RECO_PT320->SetFrameBorderMode(0); Eff_RECO_PT320->SetFrameBorderSize(10); Eff_RECO_PT320->SetFrameFillStyle(0); Eff_RECO_PT320->SetFrameLineStyle(0); Eff_RECO_PT320->SetFrameBorderMode(0); Eff_RECO_PT320->SetFrameBorderSize(10); Double_t eff_graph_fx3199[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_fy3199[135] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.700541e-06, 0, 0, 7.758915e-06, 0, 7.959375e-06, 0, 8.243072e-06, 0, 8.56531e-06, 2.619401e-05, 3.6013e-05, 2.746901e-05, 5.658776e-05, 0.0001252493, 4.935006e-05, 0.0001833181, 0.000125227, 0.0001379076, 0.0001854498, 0.0002452374, 0.0002529928, 0.0003884089, 0.0004073954, 0.0004424017, 0.0007469584, 0.0007444201, 0.0007055942, 0.001180029, 0.001245209, 0.001549836, 0.002180977, 0.002474878, 0.003654454, 0.0046587, 0.006346764, 0.009492742, 0.01245808, 0.0179738, 0.02539339, 0.03780557, 0.05608703, 0.08540165, 0.1308971, 0.2029284, 0.3047972, 0.4311108, 0.6327724, 0.8316631, 0.9288044, 0.9694389, 0.9851005, 0.9928536, 0.9960899, 0.9971333, 0.9983302, 0.9990059, 0.9991727, 0.9992886, 0.9996117, 0.9995666, 0.9997115, 0.999698, 0.9998836, 0.9997375, 0.9999165, 0.9999566, 0.999933, 0.9999081, 1, 0.9999752, 1, 0.9999201, 1, 1, 0.9999707, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3199[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_fely3199[135] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.370245e-06, 0, 0, 6.418534e-06, 0, 6.584364e-06, 0, 6.819051e-06, 0, 7.085622e-06, 1.425566e-05, 1.72352e-05, 1.494956e-05, 2.244561e-05, 3.428503e-05, 2.131602e-05, 4.280133e-05, 3.563916e-05, 3.774992e-05, 4.452941e-05, 5.188051e-05, 5.352106e-05, 6.726e-05, 6.951265e-05, 7.337821e-05, 9.694187e-05, 9.743711e-05, 9.658865e-05, 0.0001262094, 0.000130947, 0.0001481255, 0.0001783078, 0.0001916921, 0.000236338, 0.0002687115, 0.0003178882, 0.000391654, 0.0004542898, 0.0005496299, 0.0006577978, 0.0008045005, 0.0009831469, 0.001206136, 0.001473534, 0.001776182, 0.002056364, 0.002235737, 0.001567445, 0.001244664, 0.0008790969, 0.0006056354, 0.0004368138, 0.0003152218, 0.0002424109, 0.0002130918, 0.0001705231, 0.0001379628, 0.0001299043, 0.0001241782, 9.899057e-05, 0.0001051447, 9.165027e-05, 9.591315e-05, 6.952076e-05, 9.485094e-05, 6.600953e-05, 5.723364e-05, 6.513668e-05, 7.267759e-05, 4.408902e-05, 5.707345e-05, 4.708264e-05, 7.770027e-05, 5.081074e-05, 5.223361e-05, 6.731901e-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_fehx3199[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_fehy3199[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.770737e-05, 1.421211e-05, 1.412575e-05, 1.78416e-05, 1.441046e-05, 1.830255e-05, 1.484875e-05, 1.89549e-05, 1.538609e-05, 1.969588e-05, 2.5479e-05, 2.847414e-05, 2.671916e-05, 3.379685e-05, 4.52552e-05, 3.338366e-05, 5.418449e-05, 4.758025e-05, 4.982849e-05, 5.675953e-05, 6.42129e-05, 6.624325e-05, 8.004724e-05, 8.251451e-05, 8.668222e-05, 0.0001104083, 0.0001110965, 0.0001107985, 0.0001404682, 0.0001454775, 0.0001629807, 0.00019348, 0.0002071045, 0.0002520762, 0.0002845951, 0.0003341111, 0.0004079883, 0.0004709412, 0.0005663734, 0.0006745955, 0.0008211043, 0.0009994748, 0.001221659, 0.001487668, 0.001787783, 0.002064147, 0.002238536, 0.001564652, 0.001237399, 0.0008692509, 0.0005943412, 0.0004247242, 0.000302259, 0.0002286871, 0.0001988425, 0.0001553751, 0.0001220036, 0.000113247, 0.0001068125, 8.035886e-05, 8.608657e-05, 7.136895e-05, 7.468888e-05, 4.617277e-05, 7.186256e-05, 3.995657e-05, 2.802986e-05, 3.644571e-05, 4.399313e-05, 0, 2.053282e-05, 0, 4.347588e-05, 0, 0, 2.421895e-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}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(135,eff_graph_fx3199,eff_graph_fy3199,eff_graph_felx3199,eff_graph_fehx3199,eff_graph_fely3199,eff_graph_fehy3199); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet320 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_graph30733199 = new TH1F("Graph_Graph_eff_graph30733199","HLT_PFJet320 Efficiency (RECO Jets)",135,0,800); Graph_Graph_eff_graph30733199->SetMinimum(0); Graph_Graph_eff_graph30733199->SetMaximum(1.1); Graph_Graph_eff_graph30733199->SetDirectory(0); Graph_Graph_eff_graph30733199->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30733199->SetLineColor(ci); Graph_Graph_eff_graph30733199->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30733199->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30733199->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30733199->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30733199->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30733199->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30733199->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30733199->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30733199->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30733199->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30733199->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30733199->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30733199->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30733199->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30733199->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30733199->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30733199->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30733199->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30733199); TF1 *turnon_3203200 = new TF1("turnon_320","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",297.5,385); turnon_3203200->SetFillColor(19); turnon_3203200->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_3203200->SetLineColor(ci); turnon_3203200->SetLineWidth(2); turnon_3203200->SetChisquare(0.0004386325); turnon_3203200->SetNDF(7); turnon_3203200->GetXaxis()->SetLabelFont(42); turnon_3203200->GetXaxis()->SetLabelSize(0.035); turnon_3203200->GetXaxis()->SetTitleSize(0.035); turnon_3203200->GetXaxis()->SetTitleFont(42); turnon_3203200->GetYaxis()->SetLabelFont(42); turnon_3203200->GetYaxis()->SetLabelSize(0.035); turnon_3203200->GetYaxis()->SetTitleSize(0.035); turnon_3203200->GetYaxis()->SetTitleFont(42); turnon_3203200->SetParameter(0,299.7983); turnon_3203200->SetParError(0,0.2445134); turnon_3203200->SetParLimits(0,0,0); turnon_3203200->SetParameter(1,22.15023); turnon_3203200->SetParError(1,0.6982776); turnon_3203200->SetParLimits(1,0,0); turnon_3203200->SetParameter(2,0.9916864); turnon_3203200->SetParError(2,0.003400234); turnon_3203200->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_3203200); grae->Draw("ap"); Double_t eff_graph_fx3201[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_fy3201[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.568393e-06, 8.569421e-06, 0, 0, 0, 1.793658e-05, 2.707435e-05, 1.841451e-05, 2.802848e-05, 3.796543e-05, 5.830847e-05, 7.980368e-05, 0.0001415586, 0.0001137656, 0.0001598789, 0.0001191443, 0.0001642773, 0.0002938052, 0.0002982951, 0.0003414255, 0.0004831151, 0.0006302599, 0.0005020017, 0.0007744934, 0.0009897201, 0.001133389, 0.001453307, 0.001914307, 0.002510895, 0.003217246, 0.004240357, 0.00598747, 0.009217824, 0.01360424, 0.02002334, 0.02998372, 0.04969442, 0.08254203, 0.1309735, 0.1996318, 0.3402264, 0.5402432, 0.7158123, 0.8440874, 0.9195653, 0.9605523, 0.9801033, 0.9901466, 0.9941806, 0.9971143, 0.9983245, 0.9989527, 0.9993676, 0.9994198, 0.9996755, 0.9998325, 0.9998252, 0.9998915, 0.9998499, 0.9999025, 0.9998991, 0.9999792, 1, 1, 1, 0.9999764, 1, 0.9999745, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3201[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_fely3201[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.088172e-06, 7.089022e-06, 0, 0, 0, 1.158536e-05, 1.473477e-05, 1.189406e-05, 1.525404e-05, 1.816959e-05, 2.312812e-05, 2.761547e-05, 3.73751e-05, 3.377277e-05, 4.081401e-05, 3.536945e-05, 4.19368e-05, 5.724155e-05, 5.811623e-05, 6.302627e-05, 7.605345e-05, 8.794317e-05, 7.902611e-05, 9.967791e-05, 0.0001139835, 0.0001233607, 0.0001415183, 0.0001638172, 0.0001899634, 0.0002179273, 0.0002523335, 0.0003030159, 0.0003793835, 0.0004649292, 0.0005682107, 0.0006990067, 0.0008986692, 0.001155377, 0.001430934, 0.001710263, 0.001458418, 0.00156794, 0.001451687, 0.001191072, 0.0009173195, 0.0006731395, 0.0004934782, 0.0003629973, 0.0002872538, 0.0002107269, 0.0001679449, 0.0001384674, 0.0001133668, 0.0001118843, 8.998571e-05, 7.144192e-05, 7.457338e-05, 6.481561e-05, 7.40302e-05, 6.596575e-05, 6.825117e-05, 4.774997e-05, 3.935664e-05, 4.071803e-05, 4.252772e-05, 5.41541e-05, 4.500074e-05, 5.864247e-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_fehx3201[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_fehy3201[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.970297e-05, 1.970533e-05, 1.587294e-05, 1.598526e-05, 1.618937e-05, 2.365659e-05, 2.633529e-05, 2.428693e-05, 2.726335e-05, 3.00178e-05, 3.482449e-05, 3.935226e-05, 4.88369e-05, 4.567348e-05, 5.284756e-05, 4.783268e-05, 5.430129e-05, 6.964544e-05, 7.070956e-05, 7.588682e-05, 8.907616e-05, 0.0001011521, 9.255741e-05, 0.0001134003, 0.000127916, 0.0001375592, 0.0001559943, 0.0001784419, 0.0002048671, 0.0002331594, 0.0002677436, 0.0003186512, 0.0003951714, 0.0004808621, 0.0005842203, 0.0007149687, 0.0009141899, 0.00117017, 0.001444251, 0.001721272, 0.001461442, 0.001567146, 0.001447245, 0.001183732, 0.0009079282, 0.0006623941, 0.0004819107, 0.0003504395, 0.0002741108, 0.0001968607, 0.0001532677, 0.0001230937, 9.71659e-05, 9.493063e-05, 7.195155e-05, 5.205333e-05, 5.433514e-05, 4.304759e-05, 5.195269e-05, 4.212161e-05, 4.358103e-05, 1.717847e-05, 0, 0, 0, 1.94825e-05, 0, 2.109731e-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}; grae = new TGraphAsymmErrors(126,eff_graph_fx3201,eff_graph_fy3201,eff_graph_felx3201,eff_graph_fehx3201,eff_graph_fely3201,eff_graph_fehy3201); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet320 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_graph30933201 = new TH1F("Graph_Graph_eff_graph30933201","HLT_PFJet320 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph30933201->SetMinimum(0); Graph_Graph_eff_graph30933201->SetMaximum(1.1); Graph_Graph_eff_graph30933201->SetDirectory(0); Graph_Graph_eff_graph30933201->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30933201->SetLineColor(ci); Graph_Graph_eff_graph30933201->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30933201->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30933201->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30933201->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30933201->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30933201->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30933201->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30933201->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30933201->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30933201->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30933201->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30933201->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30933201->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30933201->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30933201->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30933201->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30933201->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30933201->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30933201); TF1 *turnon_3203202 = new TF1("turnon_320","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",305,415); turnon_3203202->SetFillColor(19); turnon_3203202->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_3203202->SetLineColor(ci); turnon_3203202->SetLineWidth(2); turnon_3203202->SetChisquare(0.0004530898); turnon_3203202->SetNDF(9); turnon_3203202->GetXaxis()->SetLabelFont(42); turnon_3203202->GetXaxis()->SetLabelSize(0.035); turnon_3203202->GetXaxis()->SetTitleSize(0.035); turnon_3203202->GetXaxis()->SetTitleFont(42); turnon_3203202->GetYaxis()->SetLabelFont(42); turnon_3203202->GetYaxis()->SetLabelSize(0.035); turnon_3203202->GetYaxis()->SetTitleSize(0.035); turnon_3203202->GetYaxis()->SetTitleFont(42); turnon_3203202->SetParameter(0,313.0408); turnon_3203202->SetParError(0,0.2492535); turnon_3203202->SetParLimits(0,0,0); turnon_3203202->SetParameter(1,29.90924); turnon_3203202->SetParError(1,0.6500364); turnon_3203202->SetParLimits(1,0,0); turnon_3203202->SetParameter(2,0.9927848); turnon_3203202->SetParError(2,0.002900409); turnon_3203202->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_3203202); grae->Draw("p"); Double_t eff_graph_fx3203[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_fy3203[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.568393e-06, 8.569421e-06, 0, 0, 0, 1.793658e-05, 1.804956e-05, 0, 9.342826e-06, 1.898272e-05, 2.915424e-05, 4.98773e-05, 0.0001011133, 8.273865e-05, 0.0001065859, 6.498781e-05, 9.856641e-05, 0.0001356024, 0.0001720933, 0.0002119193, 0.0003140248, 0.0003830991, 0.000288651, 0.000464696, 0.0006334209, 0.0006341582, 0.0008581434, 0.001111987, 0.001356461, 0.001793948, 0.002354077, 0.003256072, 0.00477436, 0.00671357, 0.009370531, 0.0129868, 0.01958073, 0.03156432, 0.04617426, 0.0734833, 0.1448585, 0.2818844, 0.4442485, 0.5970737, 0.7230448, 0.8083822, 0.8617464, 0.9020575, 0.9262964, 0.9440122, 0.9572404, 0.9677213, 0.9735606, 0.9781722, 0.9826369, 0.9862523, 0.9891979, 0.9901058, 0.9921366, 0.9936027, 0.995056, 0.9955769, 0.9964299, 0.997545, 0.9977361, 0.9983043, 0.9986311, 0.9987248, 0.999525, 0.9993772, 0.9996297, 0.999789, 0.9999357, 0.9999829, 0.9999818, 0.9999806, 0.9999795, 0.9999782, 1, 1, 0.9999738, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3203[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_fely3203[126] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.088172e-06, 7.089022e-06, 0, 0, 0, 1.158536e-05, 1.165834e-05, 0, 7.728819e-06, 1.226107e-05, 1.586671e-05, 2.154375e-05, 3.143228e-05, 2.863107e-05, 3.313349e-05, 2.577746e-05, 3.223556e-05, 3.859187e-05, 4.393197e-05, 4.947876e-05, 6.11805e-05, 6.842461e-05, 5.97418e-05, 7.707541e-05, 9.108563e-05, 9.214982e-05, 0.000108654, 0.0001247883, 0.0001395827, 0.0001627398, 0.0001880872, 0.0002236632, 0.0002735464, 0.0003276337, 0.0003906815, 0.0004638737, 0.0005727166, 0.0007336421, 0.0008894436, 0.001115345, 0.001082381, 0.001413448, 0.001595736, 0.001604586, 0.00150053, 0.001347791, 0.001200969, 0.001065806, 0.0009537895, 0.0008570018, 0.0007726896, 0.0006882502, 0.0006373126, 0.000594093, 0.0005422772, 0.0004931894, 0.0004496874, 0.0004391047, 0.0004015543, 0.0003718276, 0.0003355811, 0.0003235375, 0.0002976178, 0.0002554936, 0.000252245, 0.0002240985, 0.0002082902, 0.000206886, 0.0001403713, 0.0001587668, 8.778577e-05, 7.280545e-05, 5.085664e-05, 3.933864e-05, 4.187379e-05, 4.460194e-05, 4.708319e-05, 5.01263e-05, 4.284443e-05, 4.501945e-05, 6.034925e-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_fehx3203[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_fehy3203[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.970297e-05, 1.970533e-05, 1.587294e-05, 1.598526e-05, 1.618937e-05, 2.365659e-05, 2.380561e-05, 1.695061e-05, 2.148374e-05, 2.503632e-05, 2.835834e-05, 3.374031e-05, 4.314141e-05, 4.079944e-05, 4.547623e-05, 3.881349e-05, 4.5011e-05, 5.152205e-05, 5.688454e-05, 6.263718e-05, 7.443749e-05, 8.18851e-05, 7.359562e-05, 9.104924e-05, 0.0001052189, 0.0001066109, 0.000123351, 0.0001396249, 0.0001547181, 0.0001781859, 0.0002037093, 0.0002395236, 0.0002896028, 0.0003439077, 0.0004071525, 0.0004805124, 0.0005893639, 0.000750314, 0.0009058834, 0.001131022, 0.001089111, 0.001417752, 0.001596883, 0.001602518, 0.001495549, 0.001340627, 0.001192316, 0.001055626, 0.0009426382, 0.0008449316, 0.0007596948, 0.000674496, 0.0006228797, 0.0005788935, 0.000526372, 0.0004766185, 0.0004322399, 0.0004209934, 0.0003826291, 0.0003520395, 0.0003149605, 0.0003022478, 0.0002755685, 0.0002324371, 0.0002280841, 0.0001992403, 0.0001822798, 0.0001796441, 0.0001108934, 0.0001288937, 7.215271e-05, 5.57199e-05, 3.078384e-05, 1.415234e-05, 1.50644e-05, 1.60459e-05, 1.693858e-05, 1.803341e-05, 0, 0, 2.171137e-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}; grae = new TGraphAsymmErrors(126,eff_graph_fx3203,eff_graph_fy3203,eff_graph_felx3203,eff_graph_fehx3203,eff_graph_fely3203,eff_graph_fehy3203); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet320 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_graph31133203 = new TH1F("Graph_Graph_eff_graph31133203","HLT_PFJet320 Efficiency (RECO Jets)",126,0,800); Graph_Graph_eff_graph31133203->SetMinimum(0); Graph_Graph_eff_graph31133203->SetMaximum(1.1); Graph_Graph_eff_graph31133203->SetDirectory(0); Graph_Graph_eff_graph31133203->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph31133203->SetLineColor(ci); Graph_Graph_eff_graph31133203->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph31133203->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph31133203->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31133203->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31133203->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31133203->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph31133203->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph31133203->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph31133203->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph31133203->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph31133203->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph31133203->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph31133203->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph31133203->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph31133203->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph31133203->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph31133203->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph31133203->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph31133203); TF1 *turnon_3203204 = new TF1("turnon_320","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",325,575); turnon_3203204->SetFillColor(19); turnon_3203204->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_3203204->SetLineColor(ci); turnon_3203204->SetLineWidth(2); turnon_3203204->SetChisquare(0.004673615); turnon_3203204->SetNDF(23); turnon_3203204->GetXaxis()->SetLabelFont(42); turnon_3203204->GetXaxis()->SetLabelSize(0.035); turnon_3203204->GetXaxis()->SetTitleSize(0.035); turnon_3203204->GetXaxis()->SetTitleFont(42); turnon_3203204->GetYaxis()->SetLabelFont(42); turnon_3203204->GetYaxis()->SetLabelSize(0.035); turnon_3203204->GetYaxis()->SetTitleSize(0.035); turnon_3203204->GetYaxis()->SetTitleFont(42); turnon_3203204->SetParameter(0,326.8568); turnon_3203204->SetParError(0,0.8975193); turnon_3203204->SetParLimits(0,0,0); turnon_3203204->SetParameter(1,47.12539); turnon_3203204->SetParError(1,2.328338); turnon_3203204->SetParLimits(1,0,0); turnon_3203204->SetParameter(2,0.9874065); turnon_3203204->SetParError(2,0.003463446); turnon_3203204->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_3203204); 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_PFJet320 Efficiency (RECO Jets)"); pt->Draw(); Eff_RECO_PT320->Modified(); Eff_RECO_PT320->cd(); Eff_RECO_PT320->SetSelected(Eff_RECO_PT320); }