void Eff_GEN_PT140() { //=========Macro generated from canvas: Eff_GEN_PT140/ //========= (Fri May 13 17:52:57 2016) by ROOT version6.06/01 TCanvas *Eff_GEN_PT140 = new TCanvas("Eff_GEN_PT140", "",0,0,600,600); Eff_GEN_PT140->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_GEN_PT140->SetFillColor(0); Eff_GEN_PT140->SetBorderMode(0); Eff_GEN_PT140->SetBorderSize(10); Eff_GEN_PT140->SetGridx(); Eff_GEN_PT140->SetGridy(); Eff_GEN_PT140->SetLeftMargin(0.18); Eff_GEN_PT140->SetRightMargin(0.05); Eff_GEN_PT140->SetTopMargin(0.08); Eff_GEN_PT140->SetBottomMargin(0.15); Eff_GEN_PT140->SetFrameFillStyle(0); Eff_GEN_PT140->SetFrameLineStyle(0); Eff_GEN_PT140->SetFrameBorderMode(0); Eff_GEN_PT140->SetFrameBorderSize(10); Eff_GEN_PT140->SetFrameFillStyle(0); Eff_GEN_PT140->SetFrameLineStyle(0); Eff_GEN_PT140->SetFrameBorderMode(0); Eff_GEN_PT140->SetFrameBorderSize(10); Double_t eff_graph_fx3157[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_fy3157[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.220777e-06, 2.445646e-05, 3.226821e-05, 0.0001292271, 0.000218166, 0.0004102968, 0.000747105, 0.001623486, 0.003862386, 0.007951246, 0.01723201, 0.0396142, 0.0848258, 0.165875, 0.2896812, 0.4391478, 0.5898257, 0.7215945, 0.817584, 0.8891411, 0.934252, 0.960504, 0.9761703, 0.9850159, 0.9899855, 0.9932491, 0.9947566, 0.9961519, 0.9974006, 0.9981247, 0.9983475, 0.9987228, 0.9987834, 0.9992931, 0.9992503, 0.9994999, 0.9996006, 0.9997395, 0.9995974, 0.9998288, 0.9997572, 0.9998406, 0.9999456, 0.9998334, 0.9998484, 0.9999037, 0.9999605, 0.9999199, 0.9999897, 0.9999785, 0.9999776, 1, 1, 0.9999874, 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}; Double_t eff_graph_felx3157[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_fely3157[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.800608e-06, 1.331003e-05, 1.544301e-05, 3.19648e-05, 4.172144e-05, 5.782125e-05, 7.858171e-05, 0.0001166782, 0.0001810853, 0.0002622634, 0.0003885665, 0.0005878669, 0.0008477624, 0.001142343, 0.001413771, 0.001562634, 0.001572067, 0.001451232, 0.001263281, 0.001044413, 0.0008380122, 0.0006675109, 0.0005310301, 0.0004321878, 0.0003601948, 0.0003021238, 0.000270853, 0.000237281, 0.0001995193, 0.0001741198, 0.0001664077, 0.0001501373, 0.0001486364, 0.0001188428, 0.0001230816, 0.0001049281, 9.68987e-05, 8.273953e-05, 0.0001000609, 7.305904e-05, 8.374386e-05, 7.279264e-05, 5.287243e-05, 7.605355e-05, 7.473561e-05, 6.514628e-05, 5.213335e-05, 6.329484e-05, 2.37516e-05, 2.831801e-05, 2.947977e-05, 2.143991e-05, 2.245233e-05, 2.886726e-05, 2.391374e-05, 2.505237e-05, 3.242897e-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_fehx3157[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_fehy3157[136] = { 0.01960128, 0.0002181584, 4.169743e-05, 2.38203e-05, 2.144066e-05, 2.113665e-05, 2.074019e-05, 1.956745e-05, 1.820326e-05, 1.690951e-05, 1.614819e-05, 1.554091e-05, 1.890364e-05, 2.378892e-05, 2.551336e-05, 4.105088e-05, 5.057735e-05, 6.660175e-05, 8.73084e-05, 0.0001253652, 0.000189745, 0.0002709859, 0.0003972682, 0.0005962859, 0.0008554777, 0.001148654, 0.001417854, 0.001563838, 0.00157024, 0.001446617, 0.001256549, 0.001035914, 0.0008282638, 0.0006569554, 0.0005198526, 0.000420413, 0.0003480164, 0.0002895245, 0.0002579168, 0.0002239132, 0.000185782, 0.0001598986, 0.0001518056, 0.0001350624, 0.0001332091, 0.0001027242, 0.0001067095, 8.793107e-05, 7.933442e-05, 6.442939e-05, 8.158596e-05, 5.323167e-05, 6.409217e-05, 5.213356e-05, 2.95832e-05, 5.44692e-05, 5.244777e-05, 4.159831e-05, 2.553191e-05, 3.831322e-05, 8.544698e-06, 1.386825e-05, 1.443722e-05, 0, 0, 1.038511e-05, 0, 0, 1.166648e-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}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(136,eff_graph_fx3157,eff_graph_fy3157,eff_graph_felx3157,eff_graph_fehx3157,eff_graph_fely3157,eff_graph_fehy3157); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet140 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_graph30073157 = new TH1F("Graph_Graph_eff_graph30073157","HLT_PFJet140 Efficiency (GEN Jets)",136,0,800); Graph_Graph_eff_graph30073157->SetMinimum(0); Graph_Graph_eff_graph30073157->SetMaximum(1.1); Graph_Graph_eff_graph30073157->SetDirectory(0); Graph_Graph_eff_graph30073157->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30073157->SetLineColor(ci); Graph_Graph_eff_graph30073157->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30073157->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30073157->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30073157->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30073157->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30073157->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30073157->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30073157->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30073157->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30073157->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30073157->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30073157->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30073157->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30073157->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30073157->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30073157->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30073157->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30073157->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30073157); TF1 *turnon_1403158 = new TF1("turnon_140","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",137.5,222.5); turnon_1403158->SetFillColor(19); turnon_1403158->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_1403158->SetLineColor(ci); turnon_1403158->SetLineWidth(2); turnon_1403158->SetChisquare(0.0005160322); turnon_1403158->SetNDF(15); turnon_1403158->GetXaxis()->SetLabelFont(42); turnon_1403158->GetXaxis()->SetLabelSize(0.035); turnon_1403158->GetXaxis()->SetTitleSize(0.035); turnon_1403158->GetXaxis()->SetTitleFont(42); turnon_1403158->GetYaxis()->SetLabelFont(42); turnon_1403158->GetYaxis()->SetLabelSize(0.035); turnon_1403158->GetYaxis()->SetTitleSize(0.035); turnon_1403158->GetYaxis()->SetTitleFont(42); turnon_1403158->SetParameter(0,139.2646); turnon_1403158->SetParError(0,0.151414); turnon_1403158->SetParLimits(0,0,0); turnon_1403158->SetParameter(1,20.40037); turnon_1403158->SetParError(1,0.3866008); turnon_1403158->SetParLimits(1,0,0); turnon_1403158->SetParameter(2,0.993964); turnon_1403158->SetParError(2,0.001812292); turnon_1403158->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_1403158); grae->Draw("ap"); Double_t eff_graph_fx3159[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_fy3159[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 9.234122e-06, 3.552177e-05, 3.49892e-05, 0.0001621368, 0.0002042466, 0.0003899263, 0.001136643, 0.002415149, 0.00526043, 0.01191248, 0.02718537, 0.05649037, 0.1097971, 0.1991621, 0.3199916, 0.4592501, 0.6016988, 0.7289978, 0.8247253, 0.8908631, 0.9356432, 0.9610068, 0.9775471, 0.9867842, 0.9917375, 0.9947339, 0.9957728, 0.9973566, 0.9979465, 0.9986449, 0.9985954, 0.9989178, 0.9991841, 0.9994973, 0.999719, 0.9998199, 0.9998164, 0.9997957, 0.9999045, 0.999918, 0.9999163, 0.999932, 0.9999481, 1, 0.9999459, 0.9999628, 0.9999812, 1, 0.9999902, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3159[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_fely3159[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.638894e-06, 1.70001e-05, 1.674522e-05, 3.686488e-05, 4.139652e-05, 5.727359e-05, 9.802186e-05, 0.0001435812, 0.0002125882, 0.0003211562, 0.0004862047, 0.0006950669, 0.0009509219, 0.001223169, 0.001441853, 0.001557999, 0.001548066, 0.00142327, 0.001234973, 0.001023491, 0.0008187924, 0.0006541388, 0.0005090075, 0.0004010954, 0.0003228512, 0.0002637417, 0.0002409961, 0.0001955115, 0.000175913, 0.0001470044, 0.0001515607, 0.0001368488, 0.0001217559, 0.0001001121, 8.037114e-05, 6.842026e-05, 6.976758e-05, 7.379989e-05, 5.706e-05, 5.546929e-05, 5.663868e-05, 5.379419e-05, 5.050778e-05, 3.259488e-05, 5.266347e-05, 4.910449e-05, 4.321878e-05, 3.490954e-05, 2.264882e-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_fehx3159[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_fehy3159[133] = { 5.144686e-05, 2.683513e-05, 2.397572e-05, 2.369827e-05, 2.324583e-05, 2.227601e-05, 2.077576e-05, 1.902807e-05, 1.792884e-05, 2.123379e-05, 2.808575e-05, 2.766468e-05, 4.637649e-05, 5.077376e-05, 6.636972e-05, 0.0001068514, 0.0001523585, 0.0002213089, 0.0003298233, 0.0004947275, 0.0007031481, 0.0009581616, 0.001228818, 0.001445289, 0.001558793, 0.001546041, 0.001418606, 0.001228187, 0.00101518, 0.0008092683, 0.0006438637, 0.0004980981, 0.0003896001, 0.0003110223, 0.0002515034, 0.0002283706, 0.0001824941, 0.0001625397, 0.0001332353, 0.000137431, 0.0001222187, 0.0001067874, 8.454798e-05, 6.389001e-05, 5.125023e-05, 5.225952e-05, 5.591214e-05, 3.789636e-05, 3.541885e-05, 3.616558e-05, 3.256205e-05, 2.826007e-05, 0, 2.946628e-05, 2.404849e-05, 1.554828e-05, 0, 8.147963e-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}; grae = new TGraphAsymmErrors(133,eff_graph_fx3159,eff_graph_fy3159,eff_graph_felx3159,eff_graph_fehx3159,eff_graph_fely3159,eff_graph_fehy3159); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet140 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_graph30273159 = new TH1F("Graph_Graph_eff_graph30273159","HLT_PFJet140 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30273159->SetMinimum(0); Graph_Graph_eff_graph30273159->SetMaximum(1.1); Graph_Graph_eff_graph30273159->SetDirectory(0); Graph_Graph_eff_graph30273159->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30273159->SetLineColor(ci); Graph_Graph_eff_graph30273159->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30273159->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30273159->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30273159->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30273159->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30273159->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30273159->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30273159->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30273159->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30273159->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30273159->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30273159->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30273159->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30273159->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30273159->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30273159->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30273159->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30273159->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30273159); TF1 *turnon_1403160 = new TF1("turnon_140","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",137.5,217.5); turnon_1403160->SetFillColor(19); turnon_1403160->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_1403160->SetLineColor(ci); turnon_1403160->SetLineWidth(2); turnon_1403160->SetChisquare(0.0003631636); turnon_1403160->SetNDF(14); turnon_1403160->GetXaxis()->SetLabelFont(42); turnon_1403160->GetXaxis()->SetLabelSize(0.035); turnon_1403160->GetXaxis()->SetTitleSize(0.035); turnon_1403160->GetXaxis()->SetTitleFont(42); turnon_1403160->GetYaxis()->SetLabelFont(42); turnon_1403160->GetYaxis()->SetLabelSize(0.035); turnon_1403160->GetYaxis()->SetTitleSize(0.035); turnon_1403160->GetYaxis()->SetTitleFont(42); turnon_1403160->SetParameter(0,138.654); turnon_1403160->SetParError(0,0.1408357); turnon_1403160->SetParLimits(0,0,0); turnon_1403160->SetParameter(1,20.96345); turnon_1403160->SetParError(1,0.3566765); turnon_1403160->SetParLimits(1,0,0); turnon_1403160->SetParameter(2,0.9947399); turnon_1403160->SetParError(2,0.001661119); turnon_1403160->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_1403160); grae->Draw("p"); Double_t eff_graph_fx3161[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_fy3161[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.533515e-06, 1.702055e-05, 8.47666e-06, 0.0001102714, 0.000359703, 0.0006391984, 0.002294904, 0.005117351, 0.01183935, 0.02725309, 0.05790813, 0.1125784, 0.193127, 0.2996487, 0.4142203, 0.5317546, 0.6367569, 0.7264919, 0.7910567, 0.8453372, 0.8819423, 0.9101511, 0.9305738, 0.9445257, 0.9561747, 0.9656072, 0.9717658, 0.9768783, 0.9820467, 0.9856799, 0.9872316, 0.9899429, 0.9914611, 0.9931751, 0.9947521, 0.9960191, 0.9967528, 0.9971867, 0.9980269, 0.9982345, 0.9986898, 0.9991337, 0.9990878, 0.9993234, 0.9994311, 0.9998621, 0.9998347, 0.9998609, 0.9999559, 0.9999538, 0.9999641, 0.9999753, 1, 1, 0.9999862, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3161[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_fely3161[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.059319e-06, 1.099369e-05, 7.012286e-06, 3.018517e-05, 5.527436e-05, 7.411852e-05, 0.000141546, 0.0002132153, 0.0003254794, 0.0004949391, 0.0007148027, 0.000975981, 0.001232484, 0.00144601, 0.001573315, 0.001615072, 0.001570788, 0.00147675, 0.001360157, 0.001224729, 0.001110869, 0.0009932462, 0.0008946451, 0.0008176975, 0.0007401712, 0.0006674551, 0.0006136873, 0.00056561, 0.0005083324, 0.0004595991, 0.0004398283, 0.0003985509, 0.000371521, 0.0003374972, 0.0003023114, 0.0002674633, 0.0002471269, 0.0002338719, 0.0002005183, 0.0001925024, 0.0001705699, 0.000143881, 0.0001497358, 0.0001325569, 0.000123934, 4.757242e-05, 5.250312e-05, 5.02657e-05, 3.489566e-05, 3.652411e-05, 3.495965e-05, 3.259582e-05, 2.35642e-05, 2.466471e-05, 3.181122e-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_fehx3161[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_fehy3161[133] = { 5.144686e-05, 2.683513e-05, 2.397572e-05, 2.369827e-05, 2.324583e-05, 2.227601e-05, 2.077576e-05, 1.902807e-05, 1.792884e-05, 1.700007e-05, 1.634895e-05, 1.610384e-05, 1.962277e-05, 2.244847e-05, 1.949203e-05, 3.984376e-05, 6.44946e-05, 8.324798e-05, 0.000150535, 0.00022224, 0.0003344395, 0.0005037494, 0.0007231257, 0.0009833888, 0.001238472, 0.00145, 0.001575061, 0.001614409, 0.001567886, 0.001471813, 0.001353699, 0.001216892, 0.001101936, 0.0009835056, 0.0008841728, 0.0008065917, 0.0007285317, 0.0006553098, 0.0006011376, 0.0005525714, 0.0004947687, 0.0004457194, 0.0004255962, 0.0003837792, 0.0003564597, 0.0003220447, 0.000286337, 0.0002511654, 0.0002302525, 0.000216576, 0.0001827871, 0.0001743985, 0.0001518821, 0.0001245608, 0.0001298227, 0.0001122186, 0.0001032594, 3.640733e-05, 4.088278e-05, 3.808117e-05, 2.112223e-05, 2.210796e-05, 1.956032e-05, 1.596329e-05, 0, 0, 1.144423e-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}; grae = new TGraphAsymmErrors(133,eff_graph_fx3161,eff_graph_fy3161,eff_graph_felx3161,eff_graph_fehx3161,eff_graph_fely3161,eff_graph_fehy3161); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet140 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_graph30473161 = new TH1F("Graph_Graph_eff_graph30473161","HLT_PFJet140 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30473161->SetMinimum(0); Graph_Graph_eff_graph30473161->SetMaximum(1.1); Graph_Graph_eff_graph30473161->SetDirectory(0); Graph_Graph_eff_graph30473161->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30473161->SetLineColor(ci); Graph_Graph_eff_graph30473161->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30473161->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30473161->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30473161->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30473161->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30473161->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30473161->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30473161->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30473161->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30473161->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30473161->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30473161->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30473161->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30473161->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30473161->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30473161->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30473161->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30473161->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30473161); TF1 *turnon_1403162 = new TF1("turnon_140","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",147.5,277.5); turnon_1403162->SetFillColor(19); turnon_1403162->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_1403162->SetLineColor(ci); turnon_1403162->SetLineWidth(2); turnon_1403162->SetChisquare(0.003792258); turnon_1403162->SetNDF(24); turnon_1403162->GetXaxis()->SetLabelFont(42); turnon_1403162->GetXaxis()->SetLabelSize(0.035); turnon_1403162->GetXaxis()->SetTitleSize(0.035); turnon_1403162->GetXaxis()->SetTitleFont(42); turnon_1403162->GetYaxis()->SetLabelFont(42); turnon_1403162->GetYaxis()->SetLabelSize(0.035); turnon_1403162->GetYaxis()->SetTitleSize(0.035); turnon_1403162->GetYaxis()->SetTitleFont(42); turnon_1403162->SetParameter(0,150.4024); turnon_1403162->SetParError(0,0.4159708); turnon_1403162->SetParLimits(0,0,0); turnon_1403162->SetParameter(1,30.01577); turnon_1403162->SetParError(1,1.099048); turnon_1403162->SetParLimits(1,0,0); turnon_1403162->SetParameter(2,0.9870632); turnon_1403162->SetParError(2,0.003180762); turnon_1403162->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_1403162); 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_PFJet140 Efficiency (GEN Jets)"); pt->Draw(); Eff_GEN_PT140->Modified(); Eff_GEN_PT140->cd(); Eff_GEN_PT140->SetSelected(Eff_GEN_PT140); }