void Eff_GEN_PT80() { //=========Macro generated from canvas: Eff_GEN_PT80/ //========= (Fri May 13 17:52:57 2016) by ROOT version6.06/01 TCanvas *Eff_GEN_PT80 = new TCanvas("Eff_GEN_PT80", "",0,0,600,600); Eff_GEN_PT80->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_GEN_PT80->SetFillColor(0); Eff_GEN_PT80->SetBorderMode(0); Eff_GEN_PT80->SetBorderSize(10); Eff_GEN_PT80->SetGridx(); Eff_GEN_PT80->SetGridy(); Eff_GEN_PT80->SetLeftMargin(0.18); Eff_GEN_PT80->SetRightMargin(0.05); Eff_GEN_PT80->SetTopMargin(0.08); Eff_GEN_PT80->SetBottomMargin(0.15); Eff_GEN_PT80->SetFrameFillStyle(0); Eff_GEN_PT80->SetFrameLineStyle(0); Eff_GEN_PT80->SetFrameBorderMode(0); Eff_GEN_PT80->SetFrameBorderSize(10); Eff_GEN_PT80->SetFrameFillStyle(0); Eff_GEN_PT80->SetFrameLineStyle(0); Eff_GEN_PT80->SetFrameBorderMode(0); Eff_GEN_PT80->SetFrameBorderSize(10); Double_t eff_graph_fx3145[136] = { 2.5, 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_fy3145[136] = { 0, 0, 0, 0, 0, 0, 4.506281e-05, 4.251475e-05, 0.0002076412, 0.0007347943, 0.002596332, 0.007639581, 0.02611741, 0.08144815, 0.2065488, 0.3998853, 0.612004, 0.7801384, 0.884979, 0.9438509, 0.973185, 0.986373, 0.992872, 0.9959351, 0.997662, 0.9984198, 0.9990228, 0.9994084, 0.9995134, 0.9996057, 0.9997995, 0.9998588, 0.9998885, 0.9998977, 0.9999536, 0.9999761, 0.9999756, 1, 1, 1, 1, 1, 0.999972, 1, 1, 1, 0.9999847, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3145[136] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fely3145[136] = { 0, 0, 0, 0, 0, 0, 2.156625e-05, 2.03468e-05, 4.494461e-05, 8.195668e-05, 0.0001506497, 0.0002529931, 0.000457461, 0.0007816075, 0.001151472, 0.001395422, 0.00139011, 0.001192788, 0.0009265914, 0.0006756474, 0.0004800432, 0.0003509961, 0.000260063, 0.000200833, 0.0001562316, 0.0001314513, 0.0001071749, 8.662515e-05, 8.083927e-05, 7.487773e-05, 5.735918e-05, 5.102073e-05, 4.757011e-05, 4.669861e-05, 3.670936e-05, 3.156946e-05, 3.221486e-05, 2.301567e-05, 2.348664e-05, 2.409622e-05, 2.454142e-05, 2.520052e-05, 3.693999e-05, 2.641998e-05, 2.698578e-05, 2.769123e-05, 3.518374e-05, 2.877274e-05, 2.941262e-05, 2.99719e-05, 3.087982e-05, 3.152547e-05, 3.192232e-05, 3.260816e-05, 3.335733e-05, 3.406907e-05, 3.487912e-05, 3.546023e-05, 3.638604e-05, 3.684555e-05, 1.901589e-05, 1.976407e-05, 2.057492e-05, 2.143991e-05, 2.245233e-05, 2.31116e-05, 2.391374e-05, 2.505237e-05, 2.596319e-05, 2.683513e-05, 2.797781e-05, 2.90529e-05, 2.997093e-05, 3.069704e-05, 3.212508e-05, 3.339e-05, 3.429436e-05, 3.527881e-05, 3.659507e-05, 3.773055e-05, 3.891078e-05, 4.035919e-05, 4.17466e-05, 4.335088e-05, 4.45553e-05, 4.566828e-05, 4.731862e-05, 4.870309e-05, 5.090347e-05, 5.188911e-05, 2.737419e-05, 2.894191e-05, 3.09047e-05, 3.263012e-05, 3.475861e-05, 3.665481e-05, 3.867699e-05, 4.096902e-05, 4.335496e-05, 4.634308e-05, 4.855409e-05, 5.167356e-05, 5.463634e-05, 5.778669e-05, 6.145153e-05, 6.473144e-05, 6.771718e-05, 7.0978e-05, 7.427392e-05, 7.8926e-05, 8.388901e-05, 8.797805e-05, 9.32025e-05, 9.853508e-05, 0.0001025872, 0.0001098074, 0.00011505, 0.00012206, 0.0001273806, 0.0001329745, 5.843971e-05, 6.670629e-05, 7.551385e-05, 8.673051e-05, 9.741412e-05, 0.0001119576, 0.0001265662, 0.0001441347, 0.0001621485, 0.0001846391, 0.0002123703, 0.0002358796, 0.0002696709, 0.0003090041, 0.0003552093, 0.0004021524}; Double_t eff_graph_fehx3145[136] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fehy3145[136] = { 0.01960128, 0.0002181584, 4.169743e-05, 2.38203e-05, 2.144066e-05, 2.113665e-05, 3.56292e-05, 3.361463e-05, 5.590924e-05, 9.16421e-05, 0.0001596298, 0.0002614444, 0.0004653224, 0.0007884673, 0.001156224, 0.001397044, 0.001388295, 0.001188175, 0.000920171, 0.0006681332, 0.0004719013, 0.0003424072, 0.0002511241, 0.0001916202, 0.0001467437, 0.0001217125, 9.703679e-05, 7.614008e-05, 6.99785e-05, 6.366726e-05, 4.559567e-05, 3.865322e-05, 3.465915e-05, 3.344424e-05, 2.22201e-05, 1.546063e-05, 1.577672e-05, 0, 0, 0, 0, 0, 1.809085e-05, 0, 0, 0, 1.265754e-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(136,eff_graph_fx3145,eff_graph_fy3145,eff_graph_felx3145,eff_graph_fehx3145,eff_graph_fely3145,eff_graph_fehy3145); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet80 Efficiency (GEN 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_graph30053145 = new TH1F("Graph_Graph_eff_graph30053145","HLT_PFJet80 Efficiency (GEN Jets)",136,0,800); Graph_Graph_eff_graph30053145->SetMinimum(0); Graph_Graph_eff_graph30053145->SetMaximum(1.1); Graph_Graph_eff_graph30053145->SetDirectory(0); Graph_Graph_eff_graph30053145->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30053145->SetLineColor(ci); Graph_Graph_eff_graph30053145->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30053145->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30053145->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30053145->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30053145->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30053145->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30053145->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30053145->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30053145->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30053145->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30053145->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30053145->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30053145->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30053145->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30053145->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30053145->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30053145->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30053145->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30053145); TF1 *turnon_803146 = new TF1("turnon_80","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",77.5,127.5); turnon_803146->SetFillColor(19); turnon_803146->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_803146->SetLineColor(ci); turnon_803146->SetLineWidth(2); turnon_803146->SetChisquare(0.000470671); turnon_803146->SetNDF(8); turnon_803146->GetXaxis()->SetLabelFont(42); turnon_803146->GetXaxis()->SetLabelSize(0.035); turnon_803146->GetXaxis()->SetTitleSize(0.035); turnon_803146->GetXaxis()->SetTitleFont(42); turnon_803146->GetYaxis()->SetLabelFont(42); turnon_803146->GetYaxis()->SetLabelSize(0.035); turnon_803146->GetYaxis()->SetTitleSize(0.035); turnon_803146->GetYaxis()->SetTitleFont(42); turnon_803146->SetParameter(0,79.74558); turnon_803146->SetParError(0,0.1426929); turnon_803146->SetParLimits(0,0,0); turnon_803146->SetParameter(1,14.23408); turnon_803146->SetParError(1,0.3825806); turnon_803146->SetParLimits(1,0,0); turnon_803146->SetParameter(2,0.9921267); turnon_803146->SetParError(2,0.00327756); turnon_803146->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_803146); grae->Draw("ap"); Double_t eff_graph_fx3147[133] = { 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_fy3147[133] = { 0, 0, 0, 2.5745e-05, 0.0001136407, 0.0002782987, 0.001049507, 0.003679511, 0.01332243, 0.04275398, 0.1147264, 0.2452218, 0.4212058, 0.6044083, 0.7539141, 0.8581317, 0.9220986, 0.9584089, 0.9778568, 0.9870861, 0.9924511, 0.9954855, 0.9973908, 0.9982209, 0.999067, 0.999484, 0.9996144, 0.9997295, 0.9998942, 0.9999457, 0.9999006, 1, 0.9999884, 0.9999882, 1, 0.9999876, 0.9999874, 1, 0.9999737, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3147[133] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fely3147[133] = { 0, 0, 0, 1.662886e-05, 3.716538e-05, 5.759939e-05, 0.000108587, 0.0001946002, 0.0003578741, 0.000615119, 0.0009507057, 0.001274541, 0.001445945, 0.001431604, 0.001260449, 0.001023491, 0.0007922668, 0.000595097, 0.00044412, 0.0003462958, 0.000269495, 0.0002130181, 0.0001655194, 0.0001397129, 0.0001052168, 8.19115e-05, 7.323085e-05, 6.412615e-05, 4.512515e-05, 3.672601e-05, 4.541183e-05, 2.079266e-05, 2.675123e-05, 2.714214e-05, 2.223619e-05, 2.850547e-05, 2.908376e-05, 2.377662e-05, 3.470442e-05, 2.486391e-05, 2.554246e-05, 2.589708e-05, 2.644161e-05, 2.722804e-05, 2.762765e-05, 2.817175e-05, 2.892645e-05, 2.93152e-05, 3.01926e-05, 3.082915e-05, 3.131473e-05, 3.186541e-05, 3.259488e-05, 3.322549e-05, 3.427202e-05, 3.460182e-05, 3.490954e-05, 1.813298e-05, 1.901785e-05, 1.970126e-05, 2.031317e-05, 2.126114e-05, 2.205584e-05, 2.274975e-05, 2.35642e-05, 2.466471e-05, 2.546861e-05, 2.655833e-05, 2.739333e-05, 2.840078e-05, 2.933996e-05, 3.034238e-05, 3.133445e-05, 3.265501e-05, 3.385543e-05, 3.450907e-05, 3.562905e-05, 3.686916e-05, 3.78913e-05, 3.921245e-05, 4.078839e-05, 4.217118e-05, 4.359107e-05, 4.430973e-05, 4.594523e-05, 4.765052e-05, 4.891531e-05, 2.583567e-05, 2.719225e-05, 2.901947e-05, 3.07406e-05, 3.244953e-05, 3.440653e-05, 3.641771e-05, 3.859105e-05, 4.045408e-05, 4.337948e-05, 4.567848e-05, 4.839073e-05, 5.106159e-05, 5.414941e-05, 5.722627e-05, 6.036152e-05, 6.372981e-05, 6.677161e-05, 7.0113e-05, 7.326598e-05, 7.780196e-05, 8.230634e-05, 8.652263e-05, 9.149788e-05, 9.565279e-05, 0.0001018663, 0.0001076815, 0.0001129051, 0.0001189758, 0.0001240504, 5.441188e-05, 6.177527e-05, 7.06159e-05, 7.959825e-05, 9.03883e-05, 0.0001035101, 0.0001163295, 0.0001334081, 0.000151177, 0.0001690729, 0.0001972822, 0.0002195634, 0.0002479851, 0.0002840241, 0.0003277052, 0.0003697632}; Double_t eff_graph_fehx3147[133] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fehy3147[133] = { 5.144686e-05, 2.683513e-05, 2.397572e-05, 3.395483e-05, 5.189419e-05, 7.095663e-05, 0.0001204337, 0.0002051325, 0.0003674823, 0.0006236269, 0.0009575804, 0.001279013, 0.001447294, 0.001429821, 0.00125613, 0.00101739, 0.0007849974, 0.0005871195, 0.0004356646, 0.0003374804, 0.0002604251, 0.0002036619, 0.0001559369, 0.0001298853, 9.502009e-05, 7.130981e-05, 6.226682e-05, 5.270489e-05, 3.287768e-05, 2.345024e-05, 3.252263e-05, 0, 9.623844e-06, 9.764476e-06, 0, 1.025495e-05, 1.0463e-05, 0, 1.699598e-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, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(133,eff_graph_fx3147,eff_graph_fy3147,eff_graph_felx3147,eff_graph_fehx3147,eff_graph_fely3147,eff_graph_fehy3147); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet80 Efficiency (GEN 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_graph30253147 = new TH1F("Graph_Graph_eff_graph30253147","HLT_PFJet80 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30253147->SetMinimum(0); Graph_Graph_eff_graph30253147->SetMaximum(1.1); Graph_Graph_eff_graph30253147->SetDirectory(0); Graph_Graph_eff_graph30253147->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30253147->SetLineColor(ci); Graph_Graph_eff_graph30253147->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30253147->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30253147->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30253147->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30253147->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30253147->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30253147->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30253147->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30253147->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30253147->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30253147->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30253147->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30253147->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30253147->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30253147->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30253147->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30253147->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30253147->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30253147); TF1 *turnon_803148 = new TF1("turnon_80","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",77.5,132.5); turnon_803148->SetFillColor(19); turnon_803148->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_803148->SetLineColor(ci); turnon_803148->SetLineWidth(2); turnon_803148->SetChisquare(0.0004446594); turnon_803148->SetNDF(9); turnon_803148->GetXaxis()->SetLabelFont(42); turnon_803148->GetXaxis()->SetLabelSize(0.035); turnon_803148->GetXaxis()->SetTitleSize(0.035); turnon_803148->GetXaxis()->SetTitleFont(42); turnon_803148->GetYaxis()->SetLabelFont(42); turnon_803148->GetYaxis()->SetLabelSize(0.035); turnon_803148->GetYaxis()->SetTitleSize(0.035); turnon_803148->GetYaxis()->SetTitleFont(42); turnon_803148->SetParameter(0,79.47013); turnon_803148->SetParError(0,0.1521067); turnon_803148->SetParLimits(0,0,0); turnon_803148->SetParameter(1,16.62978); turnon_803148->SetParError(1,0.4079726); turnon_803148->SetParLimits(1,0,0); turnon_803148->SetParameter(2,0.9917423); turnon_803148->SetParError(2,0.002937765); turnon_803148->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_803148); grae->Draw("p"); Double_t eff_graph_fx3149[133] = { 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_fy3149[133] = { 0, 0, 0, 0, 0, 1.209995e-05, 0.0001241353, 0.0004134281, 0.001343929, 0.005161874, 0.02066479, 0.06051382, 0.1454452, 0.279469, 0.4423714, 0.5969073, 0.7226176, 0.817051, 0.8797803, 0.9198996, 0.946913, 0.9630071, 0.9759184, 0.9826466, 0.9881142, 0.9923098, 0.9942973, 0.9960151, 0.9973982, 0.998317, 0.9989503, 0.9992998, 0.9995347, 0.9996459, 0.9997826, 0.9998388, 0.9999241, 0.9999871, 0.9999605, 0.999973, 0.9999723, 0.9999859, 1, 0.9999852, 0.999985, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3149[133] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fely3149[133] = { 0, 0, 0, 0, 0, 1.000964e-05, 3.685103e-05, 6.508473e-05, 0.0001141998, 0.0002177414, 0.0004240855, 0.0007057048, 0.0010311, 0.001311444, 0.001449776, 0.001433676, 0.001316401, 0.001143361, 0.0009702336, 0.0008194473, 0.0006831456, 0.0005824201, 0.0004780007, 0.0004122016, 0.0003475374, 0.000285137, 0.0002500982, 0.0002137524, 0.0001764385, 0.0001461993, 0.0001190537, 0.0001006629, 8.580036e-05, 7.715577e-05, 6.425976e-05, 5.822703e-05, 4.532308e-05, 2.969789e-05, 3.839215e-05, 3.562493e-05, 3.659713e-05, 3.23464e-05, 2.644161e-05, 3.400879e-05, 3.450792e-05, 2.817175e-05, 2.892645e-05, 2.93152e-05, 3.01926e-05, 3.082915e-05, 3.131473e-05, 3.186541e-05, 3.259488e-05, 3.322549e-05, 3.427202e-05, 3.460182e-05, 3.490954e-05, 1.813298e-05, 1.901785e-05, 1.970126e-05, 2.031317e-05, 2.126114e-05, 2.205584e-05, 2.274975e-05, 2.35642e-05, 2.466471e-05, 2.546861e-05, 2.655833e-05, 2.739333e-05, 2.840078e-05, 2.933996e-05, 3.034238e-05, 3.133445e-05, 3.265501e-05, 3.385543e-05, 3.450907e-05, 3.562905e-05, 3.686916e-05, 3.78913e-05, 3.921245e-05, 4.078839e-05, 4.217118e-05, 4.359107e-05, 4.430973e-05, 4.594523e-05, 4.765052e-05, 4.891531e-05, 2.583567e-05, 2.719225e-05, 2.901947e-05, 3.07406e-05, 3.244953e-05, 3.440653e-05, 3.641771e-05, 3.859105e-05, 4.045408e-05, 4.337948e-05, 4.567848e-05, 4.839073e-05, 5.106159e-05, 5.414941e-05, 5.722627e-05, 6.036152e-05, 6.372981e-05, 6.677161e-05, 7.0113e-05, 7.326598e-05, 7.780196e-05, 8.230634e-05, 8.652263e-05, 9.149788e-05, 9.565279e-05, 0.0001018663, 0.0001076815, 0.0001129051, 0.0001189758, 0.0001240504, 5.441188e-05, 6.177527e-05, 7.06159e-05, 7.959825e-05, 9.03883e-05, 0.0001035101, 0.0001163295, 0.0001334081, 0.000151177, 0.0001690729, 0.0001972822, 0.0002195634, 0.0002479851, 0.0002840241, 0.0003277052, 0.0003697632}; Double_t eff_graph_fehx3149[133] = { 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 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_fehy3149[133] = { 5.144686e-05, 2.683513e-05, 2.397572e-05, 2.369827e-05, 2.324583e-05, 2.782359e-05, 4.983621e-05, 7.623051e-05, 0.0001243267, 0.0002270741, 0.0004326881, 0.000713441, 0.001037176, 0.00131521, 0.001450756, 0.001432027, 0.001312575, 0.001137863, 0.0009635503, 0.0008119059, 0.0006750009, 0.0005738023, 0.0004690103, 0.0004029094, 0.0003379134, 0.0002751905, 0.0002398543, 0.0002031663, 0.0001655809, 0.0001349419, 0.0001074605, 8.866646e-05, 7.325626e-05, 6.42809e-05, 5.076058e-05, 4.411306e-05, 3.010093e-05, 1.068394e-05, 2.14809e-05, 1.74468e-05, 1.792293e-05, 1.163677e-05, 0, 1.223484e-05, 1.241441e-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(133,eff_graph_fx3149,eff_graph_fy3149,eff_graph_felx3149,eff_graph_fehx3149,eff_graph_fely3149,eff_graph_fehy3149); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet80 Efficiency (GEN 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_graph30453149 = new TH1F("Graph_Graph_eff_graph30453149","HLT_PFJet80 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30453149->SetMinimum(0); Graph_Graph_eff_graph30453149->SetMaximum(1.1); Graph_Graph_eff_graph30453149->SetDirectory(0); Graph_Graph_eff_graph30453149->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30453149->SetLineColor(ci); Graph_Graph_eff_graph30453149->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30453149->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30453149->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30453149->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30453149->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30453149->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30453149->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30453149->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30453149->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30453149->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30453149->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30453149->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30453149->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30453149->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30453149->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30453149->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30453149->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30453149->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30453149); TF1 *turnon_803150 = new TF1("turnon_80","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",87.5,167.5); turnon_803150->SetFillColor(19); turnon_803150->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_803150->SetLineColor(ci); turnon_803150->SetLineWidth(2); turnon_803150->SetChisquare(0.001532256); turnon_803150->SetNDF(14); turnon_803150->GetXaxis()->SetLabelFont(42); turnon_803150->GetXaxis()->SetLabelSize(0.035); turnon_803150->GetXaxis()->SetTitleSize(0.035); turnon_803150->GetXaxis()->SetTitleFont(42); turnon_803150->GetYaxis()->SetLabelFont(42); turnon_803150->GetYaxis()->SetLabelSize(0.035); turnon_803150->GetYaxis()->SetTitleSize(0.035); turnon_803150->GetYaxis()->SetTitleFont(42); turnon_803150->SetParameter(0,88.87509); turnon_803150->SetParError(0,0.2902736); turnon_803150->SetParLimits(0,0,0); turnon_803150->SetParameter(1,21.29681); turnon_803150->SetParError(1,0.7660096); turnon_803150->SetParLimits(1,0,0); turnon_803150->SetParameter(2,0.9894265); turnon_803150->SetParError(2,0.003475967); turnon_803150->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_803150); 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 (GEN Jets)"); pt->Draw(); Eff_GEN_PT80->Modified(); Eff_GEN_PT80->cd(); Eff_GEN_PT80->SetSelected(Eff_GEN_PT80); }