void Eff_GEN_PT400() { //=========Macro generated from canvas: Eff_GEN_PT400/ //========= (Fri May 13 17:52:58 2016) by ROOT version6.06/01 TCanvas *Eff_GEN_PT400 = new TCanvas("Eff_GEN_PT400", "",0,0,600,600); Eff_GEN_PT400->Range(-187.013,-0.2142857,851.9481,1.214286); Eff_GEN_PT400->SetFillColor(0); Eff_GEN_PT400->SetBorderMode(0); Eff_GEN_PT400->SetBorderSize(10); Eff_GEN_PT400->SetGridx(); Eff_GEN_PT400->SetGridy(); Eff_GEN_PT400->SetLeftMargin(0.18); Eff_GEN_PT400->SetRightMargin(0.05); Eff_GEN_PT400->SetTopMargin(0.08); Eff_GEN_PT400->SetBottomMargin(0.15); Eff_GEN_PT400->SetFrameFillStyle(0); Eff_GEN_PT400->SetFrameLineStyle(0); Eff_GEN_PT400->SetFrameBorderMode(0); Eff_GEN_PT400->SetFrameBorderSize(10); Eff_GEN_PT400->SetFrameFillStyle(0); Eff_GEN_PT400->SetFrameLineStyle(0); Eff_GEN_PT400->SetFrameBorderMode(0); Eff_GEN_PT400->SetFrameBorderSize(10); Double_t eff_graph_fx3205[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_fy3205[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.36885e-05, 0, 1.435091e-05, 2.931649e-05, 1.504144e-05, 1.530081e-05, 3.125781e-05, 0.0001118354, 1.628028e-05, 0, 1.712417e-05, 8.669869e-05, 0.0001062737, 5.435767e-05, 0.0001295409, 0.0001136751, 0.0002311382, 0.0002767017, 0.0003802662, 0.0005577706, 0.001288259, 0.002894566, 0.00618391, 0.01526904, 0.03640609, 0.08393843, 0.1706856, 0.2880352, 0.438954, 0.5850734, 0.7183234, 0.8211507, 0.8877828, 0.9348771, 0.9604433, 0.9736597, 0.9825234, 0.9871787, 0.9906749, 0.9929195, 0.9939494, 0.9950793, 0.9964443, 0.9968779, 0.9973705, 0.9978409, 0.9974868, 0.9986451, 0.9988444, 0.9987807, 0.9989153, 0.9993285, 0.9995923, 0.999679, 0.9995222, 0.9998319, 0.999911, 0.9999058, 0.9999497, 0.9999473, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.9999522, 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_felx3205[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_fely3205[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.132377e-05, 0, 1.187174e-05, 1.893571e-05, 1.244298e-05, 1.265754e-05, 2.018962e-05, 4.124193e-05, 1.346781e-05, 0, 1.416591e-05, 3.744798e-05, 4.215323e-05, 2.95832e-05, 4.777108e-05, 4.508893e-05, 6.577935e-05, 7.305371e-05, 8.645515e-05, 7.565141e-05, 0.0001173749, 0.0001795145, 0.0002675141, 0.0004283479, 0.0006640388, 0.001000459, 0.001390188, 0.001704648, 0.001901053, 0.001929634, 0.001798254, 0.001559636, 0.001303703, 0.001047106, 0.0008476272, 0.0007094808, 0.000592656, 0.0005214627, 0.0004557381, 0.0004068389, 0.0003853228, 0.0003562881, 0.0003129389, 0.0002992808, 0.0002805998, 0.0002618926, 0.0002848129, 0.0002223438, 0.000209986, 0.0001499608, 0.0001468483, 0.0001237926, 0.0001039301, 9.822767e-05, 0.0001187686, 8.287247e-05, 7.03779e-05, 7.447628e-05, 6.639914e-05, 6.956689e-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, 0.0001098851, 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_fehx3205[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_fehy3205[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.513451e-05, 1.500818e-05, 1.485151e-05, 1.486926e-05, 1.487575e-05, 1.510719e-05, 1.528251e-05, 1.548627e-05, 1.569687e-05, 1.605077e-05, 1.640343e-05, 1.670408e-05, 1.701327e-05, 1.731652e-05, 1.781244e-05, 1.815121e-05, 1.866368e-05, 1.910132e-05, 1.943114e-05, 1.999721e-05, 2.052606e-05, 2.091834e-05, 2.136898e-05, 2.203341e-05, 2.248386e-05, 2.301567e-05, 2.348664e-05, 2.409622e-05, 2.454142e-05, 3.147637e-05, 2.578176e-05, 3.299951e-05, 3.866507e-05, 3.458733e-05, 3.518374e-05, 4.122537e-05, 6.023064e-05, 3.743593e-05, 3.087982e-05, 3.937637e-05, 5.864693e-05, 6.346908e-05, 5.287243e-05, 6.976525e-05, 6.788898e-05, 8.781501e-05, 9.545185e-05, 0.0001087535, 8.667285e-05, 0.0001285726, 0.0001909719, 0.0002792664, 0.0004403395, 0.0006757886, 0.001011338, 0.001399195, 0.001710652, 0.00190284, 0.001927038, 0.001791333, 0.001549125, 0.001290687, 0.001031801, 0.0008307428, 0.0006915962, 0.000573854, 0.0005017105, 0.0004351516, 0.0003854307, 0.000363011, 0.0003330702, 0.0002886043, 0.0002741679, 0.0002547217, 0.0002349003, 0.0002571365, 0.000192793, 0.0001796633, 0.0001343066, 0.0001302148, 0.0001056992, 8.436917e-05, 7.706614e-05, 9.684173e-05, 5.815855e-05, 4.260099e-05, 4.508199e-05, 3.251887e-05, 3.407036e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.95339e-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}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(136,eff_graph_fx3205,eff_graph_fy3205,eff_graph_felx3205,eff_graph_fehx3205,eff_graph_fely3205,eff_graph_fehy3205); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet400 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_graph30153205 = new TH1F("Graph_Graph_eff_graph30153205","HLT_PFJet400 Efficiency (GEN Jets)",136,0,800); Graph_Graph_eff_graph30153205->SetMinimum(0); Graph_Graph_eff_graph30153205->SetMaximum(1.1); Graph_Graph_eff_graph30153205->SetDirectory(0); Graph_Graph_eff_graph30153205->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30153205->SetLineColor(ci); Graph_Graph_eff_graph30153205->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30153205->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30153205->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30153205->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30153205->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30153205->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30153205->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30153205->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30153205->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30153205->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30153205->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30153205->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30153205->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30153205->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30153205->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30153205->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30153205->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30153205->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30153205); TF1 *turnon_4003206 = new TF1("turnon_400","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",395,630); turnon_4003206->SetFillColor(19); turnon_4003206->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_4003206->SetLineColor(ci); turnon_4003206->SetLineWidth(2); turnon_4003206->SetChisquare(0.0006151606); turnon_4003206->SetNDF(20); turnon_4003206->GetXaxis()->SetLabelFont(42); turnon_4003206->GetXaxis()->SetLabelSize(0.035); turnon_4003206->GetXaxis()->SetTitleSize(0.035); turnon_4003206->GetXaxis()->SetTitleFont(42); turnon_4003206->GetYaxis()->SetLabelFont(42); turnon_4003206->GetYaxis()->SetLabelSize(0.035); turnon_4003206->GetYaxis()->SetTitleSize(0.035); turnon_4003206->GetYaxis()->SetTitleFont(42); turnon_4003206->SetParameter(0,398.6783); turnon_4003206->SetParError(0,0.2841637); turnon_4003206->SetParLimits(0,0,0); turnon_4003206->SetParameter(1,40.72566); turnon_4003206->SetParError(1,0.7112426); turnon_4003206->SetParLimits(1,0,0); turnon_4003206->SetParameter(2,0.9940676); turnon_4003206->SetParError(2,0.001410726); turnon_4003206->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_4003206); grae->Draw("ap"); Double_t eff_graph_fx3207[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_fy3207[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.239649e-05, 0, 0, 1.315668e-05, 0, 0, 1.406687e-05, 0, 0, 1.50069e-05, 3.060491e-05, 4.71372e-05, 1.592357e-05, 4.920049e-05, 5.023779e-05, 1.70097e-05, 6.92353e-05, 0.0001770507, 9.023805e-05, 0.0001116965, 0.0003571093, 0.0003413228, 0.00059097, 0.001311929, 0.002568328, 0.006245104, 0.01520961, 0.03622859, 0.08090307, 0.162223, 0.2881526, 0.4418344, 0.6003693, 0.7404696, 0.8382802, 0.9083303, 0.9453308, 0.9688356, 0.9810384, 0.9875133, 0.9913211, 0.9942134, 0.9956742, 0.9967892, 0.9971671, 0.9980946, 0.9983049, 0.9986503, 0.9988447, 0.9987522, 0.9991717, 0.9991498, 0.9994246, 0.9996307, 0.9997478, 0.999833, 0.9998237, 0.9998131, 0.9999407, 0.9999581, 0.9999341, 1, 0.9999752, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_felx3207[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_fely3207[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.025495e-05, 0, 0, 1.088382e-05, 0, 0, 1.163677e-05, 0, 0, 1.241441e-05, 1.976791e-05, 2.56536e-05, 1.317271e-05, 2.677651e-05, 2.734104e-05, 1.407121e-05, 3.313467e-05, 5.503737e-05, 3.897673e-05, 4.430413e-05, 8.119089e-05, 7.968879e-05, 7.60636e-05, 0.0001161981, 0.0001654831, 0.0002616706, 0.0004160283, 0.000647161, 0.0009595412, 0.001320976, 0.001661578, 0.001853183, 0.00186908, 0.001702024, 0.00145911, 0.001166487, 0.0009385733, 0.000733476, 0.0005919906, 0.0004945782, 0.0004204506, 0.0003532855, 0.0003140835, 0.000277716, 0.0002671411, 0.000228173, 0.000220636, 0.0002033323, 0.0001918493, 0.0002024592, 0.0001737385, 0.0001783478, 0.0001045869, 8.958535e-05, 8.011067e-05, 7.124034e-05, 7.520029e-05, 7.9735e-05, 5.772304e-05, 5.529256e-05, 6.412051e-05, 4.337948e-05, 5.705363e-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_fehx3207[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_fehy3207[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.571026e-05, 1.566748e-05, 1.560559e-05, 1.561618e-05, 1.576704e-05, 1.590228e-05, 1.61257e-05, 1.644167e-05, 1.666386e-05, 1.699631e-05, 1.721725e-05, 1.75152e-05, 1.78919e-05, 1.826792e-05, 1.868111e-05, 1.915478e-05, 1.947101e-05, 1.999005e-05, 2.03419e-05, 2.079266e-05, 2.141746e-05, 2.173043e-05, 2.223619e-05, 2.850547e-05, 2.328494e-05, 2.377662e-05, 3.025349e-05, 2.486391e-05, 2.554246e-05, 3.23464e-05, 2.644161e-05, 2.722804e-05, 3.450792e-05, 4.036429e-05, 4.584957e-05, 3.66157e-05, 4.78564e-05, 4.886532e-05, 3.911315e-05, 5.474014e-05, 7.55371e-05, 6.104093e-05, 6.670741e-05, 0.0001021323, 0.0001008766, 8.653815e-05, 0.0001269594, 0.000176474, 0.0002727964, 0.0004273812, 0.0006583762, 0.0009699657, 0.001329665, 0.001667277, 0.001854798, 0.001866173, 0.001694836, 0.001448617, 0.001153381, 0.0009237629, 0.0007173271, 0.000574662, 0.0004763013, 0.0004016009, 0.000333601, 0.0002935522, 0.000256445, 0.0002450411, 0.0002049082, 0.000196476, 0.0001781496, 0.0001660984, 0.0001757991, 0.0001456078, 0.0001494716, 8.947193e-05, 7.334605e-05, 6.23821e-05, 5.190644e-05, 5.479195e-05, 5.80963e-05, 3.229736e-05, 2.707918e-05, 3.58771e-05, 0, 2.052568e-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(133,eff_graph_fx3207,eff_graph_fy3207,eff_graph_felx3207,eff_graph_fehx3207,eff_graph_fely3207,eff_graph_fehy3207); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet400 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_graph30353207 = new TH1F("Graph_Graph_eff_graph30353207","HLT_PFJet400 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30353207->SetMinimum(0); Graph_Graph_eff_graph30353207->SetMaximum(1.1); Graph_Graph_eff_graph30353207->SetDirectory(0); Graph_Graph_eff_graph30353207->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30353207->SetLineColor(ci); Graph_Graph_eff_graph30353207->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30353207->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30353207->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30353207->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30353207->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30353207->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30353207->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30353207->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30353207->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30353207->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30353207->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30353207->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30353207->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30353207->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30353207->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30353207->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30353207->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30353207->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30353207); TF1 *turnon_4003208 = new TF1("turnon_400","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",395,575); turnon_4003208->SetFillColor(19); turnon_4003208->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_4003208->SetLineColor(ci); turnon_4003208->SetLineWidth(2); turnon_4003208->SetChisquare(0.0005167682); turnon_4003208->SetNDF(16); turnon_4003208->GetXaxis()->SetLabelFont(42); turnon_4003208->GetXaxis()->SetLabelSize(0.035); turnon_4003208->GetXaxis()->SetTitleSize(0.035); turnon_4003208->GetXaxis()->SetTitleFont(42); turnon_4003208->GetYaxis()->SetLabelFont(42); turnon_4003208->GetYaxis()->SetLabelSize(0.035); turnon_4003208->GetYaxis()->SetTitleSize(0.035); turnon_4003208->GetYaxis()->SetTitleFont(42); turnon_4003208->SetParameter(0,398.2018); turnon_4003208->SetParError(0,0.2793607); turnon_4003208->SetParLimits(0,0,0); turnon_4003208->SetParameter(1,37.84179); turnon_4003208->SetParError(1,0.7074203); turnon_4003208->SetParLimits(1,0,0); turnon_4003208->SetParameter(2,0.9944045); turnon_4003208->SetParError(2,0.001641639); turnon_4003208->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_4003208); grae->Draw("p"); Double_t eff_graph_fx3209[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_fy3209[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.70097e-05, 0, 1.770507e-05, 0, 1.861608e-05, 3.759045e-05, 3.792476e-05, 0.0001280435, 0.0004441965, 0.001080838, 0.002592932, 0.006444162, 0.01553852, 0.03679996, 0.07860279, 0.1482161, 0.2458601, 0.3611708, 0.4881558, 0.5991484, 0.6976907, 0.7715496, 0.8261536, 0.8685634, 0.8957115, 0.9192097, 0.9333475, 0.9455871, 0.9558515, 0.9603825, 0.9678742, 0.9731989, 0.9755878, 0.9809377, 0.9823804, 0.984703, 0.9881762, 0.9901344, 0.9927773, 0.994215, 0.9956085, 0.9966863, 0.997533, 0.9981207, 0.9991196, 0.9994287, 0.9995994, 0.9997023, 0.9997634, 0.9999445, 0.9998529, 0.9999689, 0.9999344, 0.9999654, 1, 1, 1, 1, 1, 0.999953, 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_felx3209[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_fely3209[133] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.407121e-05, 0, 1.464646e-05, 0, 1.540009e-05, 2.427991e-05, 2.449584e-05, 3.504987e-05, 6.746407e-05, 0.000107322, 0.0001688323, 0.0002719142, 0.0004282223, 0.0006622388, 0.0009637869, 0.001302498, 0.001604947, 0.0018296, 0.001935413, 0.001934089, 0.001844535, 0.001717147, 0.001577586, 0.001438454, 0.001327186, 0.001197152, 0.0011154, 0.001034139, 0.0009517595, 0.0009208251, 0.0008516196, 0.0007954599, 0.000774274, 0.0006947376, 0.0006820654, 0.0006502267, 0.0005838361, 0.000384312, 0.0003403218, 0.00031704, 0.0002871606, 0.0002592677, 0.0002336377, 0.0002130428, 0.0001578088, 0.000135408, 0.0001225844, 0.0001131152, 0.0001080196, 7.315943e-05, 9.947808e-05, 7.14768e-05, 8.648346e-05, 7.959965e-05, 6.677161e-05, 7.0113e-05, 7.326598e-05, 7.780196e-05, 8.230634e-05, 0.0001080673, 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_fehx3209[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_fehy3209[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.571026e-05, 1.566748e-05, 1.560559e-05, 1.561618e-05, 1.576704e-05, 1.590228e-05, 1.61257e-05, 1.644167e-05, 1.666386e-05, 1.699631e-05, 1.721725e-05, 1.75152e-05, 1.78919e-05, 1.826792e-05, 1.868111e-05, 1.915478e-05, 1.947101e-05, 1.999005e-05, 2.03419e-05, 2.079266e-05, 2.141746e-05, 2.173043e-05, 2.223619e-05, 2.282194e-05, 2.328494e-05, 2.377662e-05, 2.422144e-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.911315e-05, 3.186541e-05, 4.071209e-05, 3.322549e-05, 4.280686e-05, 4.957701e-05, 5.001789e-05, 4.626471e-05, 7.857412e-05, 0.0001185329, 0.0001801678, 0.0002835563, 0.0004399928, 0.0006737934, 0.000974646, 0.001311973, 0.001612009, 0.001833622, 0.001935767, 0.001931017, 0.001838206, 0.001708153, 0.001566423, 0.001425298, 0.00131253, 0.001181311, 0.001098479, 0.001016115, 0.0009327877, 0.0009009811, 0.0008306108, 0.0007734598, 0.0007513969, 0.0006711713, 0.0006575308, 0.0006246151, 0.0005572753, 0.0003702945, 0.0003254342, 0.0003010512, 0.0002700975, 0.000241118, 0.0002142291, 0.0001923217, 0.0001352646, 0.0001113009, 9.617839e-05, 8.473336e-05, 7.736585e-05, 3.582991e-05, 6.352264e-05, 2.571485e-05, 4.235585e-05, 2.863734e-05, 0, 0, 0, 0, 0, 3.887987e-05, 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_fx3209,eff_graph_fy3209,eff_graph_felx3209,eff_graph_fehx3209,eff_graph_fely3209,eff_graph_fehy3209); grae->SetName("eff_graph"); grae->SetTitle("HLT_PFJet400 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_graph30553209 = new TH1F("Graph_Graph_eff_graph30553209","HLT_PFJet400 Efficiency (GEN Jets)",133,0,800); Graph_Graph_eff_graph30553209->SetMinimum(0); Graph_Graph_eff_graph30553209->SetMaximum(1.1); Graph_Graph_eff_graph30553209->SetDirectory(0); Graph_Graph_eff_graph30553209->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_eff_graph30553209->SetLineColor(ci); Graph_Graph_eff_graph30553209->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_eff_graph30553209->GetXaxis()->SetLabelFont(42); Graph_Graph_eff_graph30553209->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30553209->GetXaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30553209->GetXaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30553209->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_eff_graph30553209->GetXaxis()->SetTitleFont(42); Graph_Graph_eff_graph30553209->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_eff_graph30553209->GetYaxis()->SetLabelFont(42); Graph_Graph_eff_graph30553209->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_eff_graph30553209->GetYaxis()->SetLabelSize(0.05); Graph_Graph_eff_graph30553209->GetYaxis()->SetTitleSize(0.055); Graph_Graph_eff_graph30553209->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_eff_graph30553209->GetYaxis()->SetTitleFont(42); Graph_Graph_eff_graph30553209->GetZaxis()->SetLabelFont(42); Graph_Graph_eff_graph30553209->GetZaxis()->SetLabelSize(0.035); Graph_Graph_eff_graph30553209->GetZaxis()->SetTitleSize(0.035); Graph_Graph_eff_graph30553209->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph_eff_graph30553209); TF1 *turnon_4003210 = new TF1("turnon_400","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",415,730); turnon_4003210->SetFillColor(19); turnon_4003210->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_4003210->SetLineColor(ci); turnon_4003210->SetLineWidth(2); turnon_4003210->SetChisquare(0.004156659); turnon_4003210->SetNDF(23); turnon_4003210->GetXaxis()->SetLabelFont(42); turnon_4003210->GetXaxis()->SetLabelSize(0.035); turnon_4003210->GetXaxis()->SetTitleSize(0.035); turnon_4003210->GetXaxis()->SetTitleFont(42); turnon_4003210->GetYaxis()->SetLabelFont(42); turnon_4003210->GetYaxis()->SetLabelSize(0.035); turnon_4003210->GetYaxis()->SetTitleSize(0.035); turnon_4003210->GetYaxis()->SetTitleFont(42); turnon_4003210->SetParameter(0,412.6252); turnon_4003210->SetParError(0,1.215453); turnon_4003210->SetParLimits(0,0,0); turnon_4003210->SetParameter(1,63.14795); turnon_4003210->SetParError(1,2.978849); turnon_4003210->SetParLimits(1,0,0); turnon_4003210->SetParameter(2,0.9831285); turnon_4003210->SetParError(2,0.003531281); turnon_4003210->SetParLimits(2,0,0); grae->GetListOfFunctions()->Add(turnon_4003210); 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_PFJet400 Efficiency (GEN Jets)"); pt->Draw(); Eff_GEN_PT400->Modified(); Eff_GEN_PT400->cd(); Eff_GEN_PT400->SetSelected(Eff_GEN_PT400); }