void RECOeffcanvasAK8() { //=========Macro generated from canvas: RECOeffcanvasAK8/ //========= (Tue May 10 13:02:53 2016) by ROOT version6.06/01 TCanvas *RECOeffcanvasAK8 = new TCanvas("RECOeffcanvasAK8", "",0,0,600,600); RECOeffcanvasAK8->Range(-187.013,-0.2142857,851.9481,1.214286); RECOeffcanvasAK8->SetFillColor(0); RECOeffcanvasAK8->SetBorderMode(0); RECOeffcanvasAK8->SetBorderSize(10); RECOeffcanvasAK8->SetGridx(); RECOeffcanvasAK8->SetGridy(); RECOeffcanvasAK8->SetLeftMargin(0.18); RECOeffcanvasAK8->SetRightMargin(0.05); RECOeffcanvasAK8->SetTopMargin(0.08); RECOeffcanvasAK8->SetBottomMargin(0.15); RECOeffcanvasAK8->SetFrameFillStyle(0); RECOeffcanvasAK8->SetFrameLineStyle(0); RECOeffcanvasAK8->SetFrameBorderMode(0); RECOeffcanvasAK8->SetFrameBorderSize(10); RECOeffcanvasAK8->SetFrameFillStyle(0); RECOeffcanvasAK8->SetFrameLineStyle(0); RECOeffcanvasAK8->SetFrameBorderMode(0); RECOeffcanvasAK8->SetFrameBorderSize(10); Double_t Graph_from_hRecoAK8JetPT_PassjetFilter_40_fx81[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 Graph_from_hRecoAK8JetPT_PassjetFilter_40_fy81[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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; TGraph *graph = new TGraph(136,Graph_from_hRecoAK8JetPT_PassjetFilter_40_fx81,Graph_from_hRecoAK8JetPT_PassjetFilter_40_fy81); graph->SetName("Graph_from_hRecoAK8JetPT_PassjetFilter_40"); graph->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ff0000"); graph->SetLineColor(ci); graph->SetLineWidth(3); ci = TColor::GetColor("#ff0000"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(0.9); TH1F *Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081 = new TH1F("Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081","Efficiencies for AK8 HLT paths - Using RECO jets",136,0,800); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->SetMinimum(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->SetMaximum(1.1); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->SetDirectory(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->SetLineColor(ci); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetXaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetXaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetXaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetXaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetYaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetYaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetYaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetYaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetZaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetZaxis()->SetLabelSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetZaxis()->SetTitleSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_4081); TF1 *turnon_4082 = new TF1("turnon_40","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",0,2172.25); turnon_4082->SetFillColor(19); turnon_4082->SetFillStyle(0); ci = TColor::GetColor("#ff0000"); turnon_4082->SetLineColor(ci); turnon_4082->SetLineWidth(2); turnon_4082->SetChisquare(7.493585e-40); turnon_4082->SetNDF(133); turnon_4082->GetXaxis()->SetLabelFont(42); turnon_4082->GetXaxis()->SetLabelSize(0.035); turnon_4082->GetXaxis()->SetTitleSize(0.035); turnon_4082->GetXaxis()->SetTitleFont(42); turnon_4082->GetYaxis()->SetLabelFont(42); turnon_4082->GetYaxis()->SetLabelSize(0.035); turnon_4082->GetYaxis()->SetTitleSize(0.035); turnon_4082->GetYaxis()->SetTitleFont(42); turnon_4082->SetParameter(0,2140.22); turnon_4082->SetParError(0,0.08995806); turnon_4082->SetParLimits(0,0,0); turnon_4082->SetParameter(1,561.405); turnon_4082->SetParError(1,0.686338); turnon_4082->SetParLimits(1,0,0); turnon_4082->SetParameter(2,4.313178e-20); turnon_4082->SetParError(2,3.57871e-23); turnon_4082->SetParLimits(2,0,0); graph->GetListOfFunctions()->Add(turnon_4082); graph->Draw("ap"); Double_t Graph_from_hRecoAK8JetPT_PassjetFilter_60_fx83[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 Graph_from_hRecoAK8JetPT_PassjetFilter_60_fy83[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2729122, 0.4376175, 0.5872468, 0.7122584, 0.8005836, 0.8706585, 0.9181089, 0.9495898, 0.9688358, 0.9813657, 0.9888958, 0.9931875, 0.9960914, 0.9977458, 0.9986772, 0.9992762, 0.9994996, 0.9997929, 0.9998342, 0.9998968, 0.9999487, 0.9999843, 0.9999853, 0.9999408, 1, 1, 0.9999652, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; graph = new TGraph(136,Graph_from_hRecoAK8JetPT_PassjetFilter_60_fx83,Graph_from_hRecoAK8JetPT_PassjetFilter_60_fy83); graph->SetName("Graph_from_hRecoAK8JetPT_PassjetFilter_60"); graph->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); ci = TColor::GetColor("#00ff00"); graph->SetLineColor(ci); graph->SetLineWidth(3); ci = TColor::GetColor("#00ff00"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(0.9); TH1F *Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083 = new TH1F("Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083","Efficiencies for AK8 HLT paths - Using RECO jets",136,0,800); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->SetMinimum(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->SetMaximum(1.1); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->SetDirectory(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->SetLineColor(ci); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetXaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetXaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetXaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetXaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetYaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetYaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetYaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetYaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetZaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetZaxis()->SetLabelSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetZaxis()->SetTitleSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_6083); TF1 *turnon_6084 = new TF1("turnon_60","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",57.5,122.5); turnon_6084->SetFillColor(19); turnon_6084->SetFillStyle(0); ci = TColor::GetColor("#00ff00"); turnon_6084->SetLineColor(ci); turnon_6084->SetLineWidth(2); turnon_6084->SetChisquare(0.0008131681); turnon_6084->SetNDF(11); turnon_6084->GetXaxis()->SetLabelFont(42); turnon_6084->GetXaxis()->SetLabelSize(0.035); turnon_6084->GetXaxis()->SetTitleSize(0.035); turnon_6084->GetXaxis()->SetTitleFont(42); turnon_6084->GetYaxis()->SetLabelFont(42); turnon_6084->GetYaxis()->SetLabelSize(0.035); turnon_6084->GetYaxis()->SetTitleSize(0.035); turnon_6084->GetYaxis()->SetTitleFont(42); turnon_6084->SetParameter(0,59.21128); turnon_6084->SetParError(0,0.2366776); turnon_6084->SetParLimits(0,0,0); turnon_6084->SetParameter(1,21.84219); turnon_6084->SetParError(1,0.6394467); turnon_6084->SetParLimits(1,0,0); turnon_6084->SetParameter(2,0.991543); turnon_6084->SetParError(2,0.003513329); turnon_6084->SetParLimits(2,0,0); graph->GetListOfFunctions()->Add(turnon_6084); graph->Draw("p"); Double_t Graph_from_hRecoAK8JetPT_PassjetFilter_80_fx85[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 Graph_from_hRecoAK8JetPT_PassjetFilter_80_fy85[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.004888573, 0.02034461, 0.05470982, 0.1244591, 0.2274861, 0.3607154, 0.4894724, 0.6101252, 0.7164439, 0.7962508, 0.8599851, 0.9087166, 0.9405473, 0.9641011, 0.9774606, 0.9861004, 0.9916655, 0.994386, 0.9969186, 0.9979399, 0.9989761, 0.9991505, 0.9994984, 0.9995407, 0.9997537, 0.9999239, 0.9999261, 0.9998736, 1, 0.9999741, 1, 0.9999304, 1, 1, 1, 0.9999715, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; graph = new TGraph(136,Graph_from_hRecoAK8JetPT_PassjetFilter_80_fx85,Graph_from_hRecoAK8JetPT_PassjetFilter_80_fy85); graph->SetName("Graph_from_hRecoAK8JetPT_PassjetFilter_80"); graph->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); ci = TColor::GetColor("#0000ff"); graph->SetLineColor(ci); graph->SetLineWidth(3); ci = TColor::GetColor("#0000ff"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(0.9); TH1F *Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085 = new TH1F("Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085","Efficiencies for AK8 HLT paths - Using RECO jets",136,0,800); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->SetMinimum(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->SetMaximum(1.1); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->SetDirectory(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->SetLineColor(ci); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetXaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetXaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetXaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetXaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetYaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetYaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetYaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetYaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetZaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetZaxis()->SetLabelSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetZaxis()->SetTitleSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_8085); TF1 *turnon_8086 = new TF1("turnon_80","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",82.5,152.5); turnon_8086->SetFillColor(19); turnon_8086->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); turnon_8086->SetLineColor(ci); turnon_8086->SetLineWidth(2); turnon_8086->SetChisquare(0.0003196517); turnon_8086->SetNDF(12); turnon_8086->GetXaxis()->SetLabelFont(42); turnon_8086->GetXaxis()->SetLabelSize(0.035); turnon_8086->GetXaxis()->SetTitleSize(0.035); turnon_8086->GetXaxis()->SetTitleFont(42); turnon_8086->GetYaxis()->SetLabelFont(42); turnon_8086->GetYaxis()->SetLabelSize(0.035); turnon_8086->GetYaxis()->SetTitleSize(0.035); turnon_8086->GetYaxis()->SetTitleFont(42); turnon_8086->SetParameter(0,82.45267); turnon_8086->SetParError(0,0.1806022); turnon_8086->SetParLimits(0,0,0); turnon_8086->SetParameter(1,25.53883); turnon_8086->SetParError(1,0.466292); turnon_8086->SetParLimits(1,0,0); turnon_8086->SetParameter(2,0.9944179); turnon_8086->SetParError(2,0.002090912); turnon_8086->SetParLimits(2,0,0); graph->GetListOfFunctions()->Add(turnon_8086); graph->Draw("p"); Double_t Graph_from_hRecoAK8JetPT_PassjetFilter_140_fx87[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 Graph_from_hRecoAK8JetPT_PassjetFilter_140_fy87[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.184814e-06, 6.59751e-06, 1.030346e-05, 0.00013086, 0.0001596337, 0.0005145455, 0.001565284, 0.005105871, 0.01288432, 0.02888558, 0.0556533, 0.09498347, 0.1435071, 0.2001637, 0.2669912, 0.3423836, 0.4316081, 0.5156159, 0.604006, 0.6816112, 0.7564682, 0.8171174, 0.8661124, 0.9085378, 0.9357572, 0.9564223, 0.9705507, 0.9804105, 0.9868548, 0.9914871, 0.9945472, 0.9961751, 0.9975229, 0.9982007, 0.9989811, 0.999041, 0.9992273, 0.9995673, 0.9997771, 0.9997346, 0.9997696, 0.9998493, 0.9999321, 0.9999669, 0.9999458, 0.9999028, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; graph = new TGraph(136,Graph_from_hRecoAK8JetPT_PassjetFilter_140_fx87,Graph_from_hRecoAK8JetPT_PassjetFilter_140_fy87); graph->SetName("Graph_from_hRecoAK8JetPT_PassjetFilter_140"); graph->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); ci = TColor::GetColor("#ff00ff"); graph->SetLineColor(ci); graph->SetLineWidth(3); ci = TColor::GetColor("#ff00ff"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(0.9); TH1F *Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087 = new TH1F("Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087","Efficiencies for AK8 HLT paths - Using RECO jets",136,0,800); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->SetMinimum(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->SetMaximum(1.1); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->SetDirectory(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->SetLineColor(ci); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetXaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetXaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetXaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetXaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetYaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetYaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetYaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetYaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetZaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetZaxis()->SetLabelSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetZaxis()->SetTitleSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_14087); TF1 *turnon_14088 = new TF1("turnon_140","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",132.5,222.5); turnon_14088->SetFillColor(19); turnon_14088->SetFillStyle(0); ci = TColor::GetColor("#ff00ff"); turnon_14088->SetLineColor(ci); turnon_14088->SetLineWidth(2); turnon_14088->SetChisquare(5.530919e-05); turnon_14088->SetNDF(16); turnon_14088->GetXaxis()->SetLabelFont(42); turnon_14088->GetXaxis()->SetLabelSize(0.035); turnon_14088->GetXaxis()->SetTitleSize(0.035); turnon_14088->GetXaxis()->SetTitleFont(42); turnon_14088->GetYaxis()->SetLabelFont(42); turnon_14088->GetYaxis()->SetLabelSize(0.035); turnon_14088->GetYaxis()->SetTitleSize(0.035); turnon_14088->GetYaxis()->SetTitleFont(42); turnon_14088->SetParameter(0,136.3619); turnon_14088->SetParError(0,0.06247956); turnon_14088->SetParLimits(0,0,0); turnon_14088->SetParameter(1,32.80803); turnon_14088->SetParError(1,0.1667972); turnon_14088->SetParLimits(1,0,0); turnon_14088->SetParameter(2,0.9963913); turnon_14088->SetParError(2,0.0006901352); turnon_14088->SetParLimits(2,0,0); graph->GetListOfFunctions()->Add(turnon_14088); graph->Draw("p"); Double_t Graph_from_hRecoAK8JetPT_PassjetFilter_200_fx89[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 Graph_from_hRecoAK8JetPT_PassjetFilter_200_fy89[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.134427e-06, 1.756642e-05, 4.011157e-05, 3.385838e-05, 6.313952e-05, 0.0001188474, 0.0002266652, 0.0003019102, 0.0004231189, 0.001082209, 0.002259008, 0.00533772, 0.01036576, 0.02032188, 0.03521408, 0.05522702, 0.08142206, 0.1139943, 0.1521215, 0.1861455, 0.2263325, 0.2706846, 0.3222735, 0.3793699, 0.4440205, 0.5157581, 0.5927555, 0.6657953, 0.7322299, 0.7956521, 0.8415501, 0.8843135, 0.9182618, 0.942201, 0.9572394, 0.9724445, 0.980401, 0.9873854, 0.9909072, 0.9938861, 0.9954181, 0.996868, 0.9976125, 0.9984976, 0.9987537, 0.9988291, 0.9994701, 0.9997321, 0.9998515, 0.9997705, 0.9999571, 0.999963, 1, 0.9999859, 0.9999337, 0.9999675, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; graph = new TGraph(136,Graph_from_hRecoAK8JetPT_PassjetFilter_200_fx89,Graph_from_hRecoAK8JetPT_PassjetFilter_200_fy89); graph->SetName("Graph_from_hRecoAK8JetPT_PassjetFilter_200"); graph->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); ci = TColor::GetColor("#ffff00"); graph->SetLineColor(ci); graph->SetLineWidth(3); ci = TColor::GetColor("#ffff00"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(0.9); TH1F *Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089 = new TH1F("Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089","Efficiencies for AK8 HLT paths - Using RECO jets",136,0,800); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->SetMinimum(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->SetMaximum(1.1); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->SetDirectory(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->SetLineColor(ci); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetXaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetXaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetXaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetXaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetYaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetYaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetYaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetYaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetZaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetZaxis()->SetLabelSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetZaxis()->SetTitleSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_20089); TF1 *turnon_20090 = new TF1("turnon_200","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",187.5,292.5); turnon_20090->SetFillColor(19); turnon_20090->SetFillStyle(0); ci = TColor::GetColor("#ffff00"); turnon_20090->SetLineColor(ci); turnon_20090->SetLineWidth(2); turnon_20090->SetChisquare(5.523734e-05); turnon_20090->SetNDF(19); turnon_20090->GetXaxis()->SetLabelFont(42); turnon_20090->GetXaxis()->SetLabelSize(0.035); turnon_20090->GetXaxis()->SetTitleSize(0.035); turnon_20090->GetXaxis()->SetTitleFont(42); turnon_20090->GetYaxis()->SetLabelFont(42); turnon_20090->GetYaxis()->SetLabelSize(0.035); turnon_20090->GetYaxis()->SetTitleSize(0.035); turnon_20090->GetYaxis()->SetTitleFont(42); turnon_20090->SetParameter(0,191.2279); turnon_20090->SetParError(0,0.06262507); turnon_20090->SetParLimits(0,0,0); turnon_20090->SetParameter(1,36.68354); turnon_20090->SetParError(1,0.1630982); turnon_20090->SetParLimits(1,0,0); turnon_20090->SetParameter(2,0.9973723); turnon_20090->SetParError(2,0.0005675463); turnon_20090->SetParLimits(2,0,0); graph->GetListOfFunctions()->Add(turnon_20090); graph->Draw("p"); Double_t Graph_from_hRecoAK8JetPT_PassjetFilter_260_fx91[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 Graph_from_hRecoAK8JetPT_PassjetFilter_260_fy91[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.465903e-06, 9.900181e-08, 3.693484e-06, 9.296671e-07, 6.650555e-07, 3.043313e-05, 7.696438e-05, 3.619801e-05, 8.782354e-05, 4.061389e-05, 0.0001411519, 0.0002403398, 0.0004032282, 0.0005539286, 0.001034929, 0.001838503, 0.003433641, 0.006739751, 0.01213268, 0.02101863, 0.03492472, 0.05070105, 0.07319681, 0.09980749, 0.1243218, 0.1556412, 0.1824626, 0.2209847, 0.2505831, 0.291701, 0.340317, 0.3907386, 0.4550489, 0.520538, 0.5948012, 0.6638219, 0.7250357, 0.7864725, 0.8331191, 0.8771783, 0.9084131, 0.9316973, 0.9537297, 0.9649399, 0.979787, 0.9887747, 0.9936426, 0.9965937, 0.9979751, 0.9988939, 0.9991884, 0.9995268, 0.9997237, 0.9995969, 0.9998396, 0.9998617, 0.9998882, 0.999929, 1, 0.9999432, 1, 0.9999768, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.9999396, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; graph = new TGraph(136,Graph_from_hRecoAK8JetPT_PassjetFilter_260_fx91,Graph_from_hRecoAK8JetPT_PassjetFilter_260_fy91); graph->SetName("Graph_from_hRecoAK8JetPT_PassjetFilter_260"); graph->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); ci = TColor::GetColor("#ffcc00"); graph->SetLineColor(ci); graph->SetLineWidth(3); ci = TColor::GetColor("#ffcc00"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(0.9); TH1F *Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091 = new TH1F("Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091","Efficiencies for AK8 HLT paths - Using RECO jets",136,0,800); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->SetMinimum(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->SetMaximum(1.1); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->SetDirectory(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->SetLineColor(ci); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetXaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetXaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetXaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetXaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetYaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetYaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetYaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetYaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetZaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetZaxis()->SetLabelSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetZaxis()->SetTitleSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_26091); TF1 *turnon_26092 = new TF1("turnon_260","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",242.5,355); turnon_26092->SetFillColor(19); turnon_26092->SetFillStyle(0); ci = TColor::GetColor("#ffcc00"); turnon_26092->SetLineColor(ci); turnon_26092->SetLineWidth(2); turnon_26092->SetChisquare(7.335321e-05); turnon_26092->SetNDF(15); turnon_26092->GetXaxis()->SetLabelFont(42); turnon_26092->GetXaxis()->SetLabelSize(0.035); turnon_26092->GetXaxis()->SetTitleSize(0.035); turnon_26092->GetXaxis()->SetTitleFont(42); turnon_26092->GetYaxis()->SetLabelFont(42); turnon_26092->GetYaxis()->SetLabelSize(0.035); turnon_26092->GetYaxis()->SetTitleSize(0.035); turnon_26092->GetYaxis()->SetTitleFont(42); turnon_26092->SetParameter(0,245.7236); turnon_26092->SetParError(0,0.08798322); turnon_26092->SetParLimits(0,0,0); turnon_26092->SetParameter(1,38.72954); turnon_26092->SetParError(1,0.2358479); turnon_26092->SetParLimits(1,0,0); turnon_26092->SetParameter(2,0.9966647); turnon_26092->SetParError(2,0.0009347735); turnon_26092->SetParLimits(2,0,0); graph->GetListOfFunctions()->Add(turnon_26092); graph->Draw("p"); Double_t Graph_from_hRecoAK8JetPT_PassjetFilter_320_fx93[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 Graph_from_hRecoAK8JetPT_PassjetFilter_320_fy93[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.465903e-06, 0, 3.693484e-06, 0, 2.863755e-08, 1.809374e-05, 6.551664e-05, 3.317304e-05, 6.552744e-05, 8.878481e-06, 8.429401e-05, 0.0001081128, 0.0001932928, 0.0001893899, 0.0002717588, 0.000328396, 0.000481544, 0.0006796943, 0.001467793, 0.001919278, 0.003406717, 0.004797578, 0.00799273, 0.0113779, 0.01618685, 0.02171476, 0.02922593, 0.04040869, 0.05178487, 0.06633469, 0.08061277, 0.0962392, 0.1143522, 0.1311913, 0.1515607, 0.1726462, 0.1917008, 0.2194287, 0.2428076, 0.2745194, 0.3082278, 0.3557416, 0.4055841, 0.4660446, 0.5652096, 0.6987194, 0.8082825, 0.8911737, 0.9442529, 0.9721187, 0.9863786, 0.9925468, 0.9956428, 0.9977328, 0.9985099, 0.9990284, 0.9994179, 0.9992642, 0.9997401, 0.999736, 0.9998081, 0.9998373, 0.9998775, 0.999869, 0.9999472, 0.9999689, 1, 1, 1, 1, 1, 0.9999396, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; graph = new TGraph(136,Graph_from_hRecoAK8JetPT_PassjetFilter_320_fx93,Graph_from_hRecoAK8JetPT_PassjetFilter_320_fy93); graph->SetName("Graph_from_hRecoAK8JetPT_PassjetFilter_320"); graph->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); ci = TColor::GetColor("#33ff00"); graph->SetLineColor(ci); graph->SetLineWidth(3); ci = TColor::GetColor("#33ff00"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(0.9); TH1F *Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093 = new TH1F("Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093","Efficiencies for AK8 HLT paths - Using RECO jets",136,0,800); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->SetMinimum(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->SetMaximum(1.1); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->SetDirectory(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->SetLineColor(ci); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetXaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetXaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetXaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetXaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetYaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetYaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetYaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetYaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetZaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetZaxis()->SetLabelSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetZaxis()->SetTitleSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_32093); TF1 *turnon_32094 = new TF1("turnon_320","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",297.5,405); turnon_32094->SetFillColor(19); turnon_32094->SetFillStyle(0); ci = TColor::GetColor("#33ff00"); turnon_32094->SetLineColor(ci); turnon_32094->SetLineWidth(2); turnon_32094->SetChisquare(3.124225e-05); turnon_32094->SetNDF(9); turnon_32094->GetXaxis()->SetLabelFont(42); turnon_32094->GetXaxis()->SetLabelSize(0.035); turnon_32094->GetXaxis()->SetTitleSize(0.035); turnon_32094->GetXaxis()->SetTitleFont(42); turnon_32094->GetYaxis()->SetLabelFont(42); turnon_32094->GetYaxis()->SetLabelSize(0.035); turnon_32094->GetYaxis()->SetTitleSize(0.035); turnon_32094->GetYaxis()->SetTitleFont(42); turnon_32094->SetParameter(0,300.0614); turnon_32094->SetParError(0,0.09350452); turnon_32094->SetParLimits(0,0,0); turnon_32094->SetParameter(1,40.0317); turnon_32094->SetParError(1,0.2552642); turnon_32094->SetParLimits(1,0,0); turnon_32094->SetParameter(2,0.9980066); turnon_32094->SetParError(2,0.0008650084); turnon_32094->SetParLimits(2,0,0); graph->GetListOfFunctions()->Add(turnon_32094); graph->Draw("p"); Double_t Graph_from_hRecoAK8JetPT_PassjetFilter_400_fx95[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 Graph_from_hRecoAK8JetPT_PassjetFilter_400_fy95[136] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.257277e-06, 0, 1.572418e-05, 2.223385e-06, 0, 1.753719e-05, 3.249115e-05, 4.200522e-05, 5.720696e-05, 8.288567e-05, 4.716437e-05, 0.0001127099, 8.680742e-05, 9.980753e-05, 0.0001182303, 0.0002707764, 0.000146797, 0.0002862634, 0.0005660313, 0.0006549978, 0.0007621326, 0.001140436, 0.001775536, 0.00234219, 0.00382041, 0.004883345, 0.006761917, 0.007709639, 0.01068933, 0.01476778, 0.0179332, 0.02311716, 0.02922329, 0.03515412, 0.04155159, 0.04942817, 0.06134324, 0.06972077, 0.08272885, 0.1016875, 0.1289701, 0.1597297, 0.195692, 0.2403422, 0.3070465, 0.3896188, 0.509799, 0.6392198, 0.7596325, 0.8544785, 0.9208665, 0.9570686, 0.9776306, 0.9882427, 0.9931634, 0.9954871, 0.9979119, 0.9984888, 0.9988652, 0.999441, 0.9989977, 0.9996296, 0.9997401, 0.9996322, 0.9997953, 0.9997626, 0.9998515, 0.999751, 0.9999843, 0.9999234, 0.9999457, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; graph = new TGraph(136,Graph_from_hRecoAK8JetPT_PassjetFilter_400_fx95,Graph_from_hRecoAK8JetPT_PassjetFilter_400_fy95); graph->SetName("Graph_from_hRecoAK8JetPT_PassjetFilter_400"); graph->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); ci = TColor::GetColor("#00ffcc"); graph->SetLineColor(ci); graph->SetLineWidth(3); ci = TColor::GetColor("#00ffcc"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(0.9); TH1F *Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095 = new TH1F("Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095","Efficiencies for AK8 HLT paths - Using RECO jets",136,0,800); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->SetMinimum(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->SetMaximum(1.1); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->SetDirectory(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->SetLineColor(ci); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetXaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetXaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetXaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetXaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetYaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetYaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetYaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetYaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetZaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetZaxis()->SetLabelSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetZaxis()->SetTitleSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_40095); TF1 *turnon_40096 = new TF1("turnon_400","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",365,495); turnon_40096->SetFillColor(19); turnon_40096->SetFillStyle(0); ci = TColor::GetColor("#00ffcc"); turnon_40096->SetLineColor(ci); turnon_40096->SetLineWidth(2); turnon_40096->SetChisquare(0.0001655839); turnon_40096->SetNDF(11); turnon_40096->GetXaxis()->SetLabelFont(42); turnon_40096->GetXaxis()->SetLabelSize(0.035); turnon_40096->GetXaxis()->SetTitleSize(0.035); turnon_40096->GetXaxis()->SetTitleFont(42); turnon_40096->GetYaxis()->SetLabelFont(42); turnon_40096->GetYaxis()->SetLabelSize(0.035); turnon_40096->GetYaxis()->SetTitleSize(0.035); turnon_40096->GetYaxis()->SetTitleFont(42); turnon_40096->SetParameter(0,373.8406); turnon_40096->SetParError(0,0.1779041); turnon_40096->SetParLimits(0,0,0); turnon_40096->SetParameter(1,42.04037); turnon_40096->SetParError(1,0.4600179); turnon_40096->SetParLimits(1,0,0); turnon_40096->SetParameter(2,0.9982008); turnon_40096->SetParError(2,0.001568757); turnon_40096->SetParLimits(2,0,0); graph->GetListOfFunctions()->Add(turnon_40096); graph->Draw("p"); Double_t Graph_from_hRecoAK8JetPT_PassjetFilter_450_fx97[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 Graph_from_hRecoAK8JetPT_PassjetFilter_450_fy97[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, 2.223385e-06, 0, 1.438232e-05, 9.533189e-06, 0, 3.554238e-05, 2.222263e-05, 1.65163e-05, 6.714527e-05, 5.131442e-05, 4.495999e-05, 8.738727e-05, 9.928318e-05, 5.874371e-05, 0.0001054313, 0.0001860381, 0.0002043313, 0.0001435501, 0.000169882, 0.000379699, 0.0003303329, 0.0005580168, 0.000557757, 0.0009582324, 0.001292653, 0.001614632, 0.002523248, 0.002959625, 0.00457813, 0.005715182, 0.006844891, 0.00852414, 0.01059377, 0.01418471, 0.0171241, 0.02299134, 0.02884222, 0.04001982, 0.05555704, 0.07164229, 0.0922235, 0.1152593, 0.1364039, 0.1696754, 0.2051726, 0.252986, 0.3259077, 0.4274803, 0.5448286, 0.677139, 0.788378, 0.8710623, 0.9297682, 0.9643409, 0.9810453, 0.9897864, 0.9945567, 0.9959524, 0.9974661, 0.9983553, 0.9986469, 0.9990941, 0.9989419, 0.9996607, 0.9990491, 0.9993664, 0.9998136, 0.9998437, 1, 0.9999645, 0.9999346, 1, 0.9999726, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; graph = new TGraph(136,Graph_from_hRecoAK8JetPT_PassjetFilter_450_fx97,Graph_from_hRecoAK8JetPT_PassjetFilter_450_fy97); graph->SetName("Graph_from_hRecoAK8JetPT_PassjetFilter_450"); graph->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); ci = TColor::GetColor("#0033ff"); graph->SetLineColor(ci); graph->SetLineWidth(3); ci = TColor::GetColor("#0033ff"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(0.9); TH1F *Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097 = new TH1F("Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097","Efficiencies for AK8 HLT paths - Using RECO jets",136,0,800); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->SetMinimum(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->SetMaximum(1.1); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->SetDirectory(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->SetLineColor(ci); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetXaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetXaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetXaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetXaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetYaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetYaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetYaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetYaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetZaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetZaxis()->SetLabelSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetZaxis()->SetTitleSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_45097); TF1 *turnon_45098 = new TF1("turnon_450","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",415,545); turnon_45098->SetFillColor(19); turnon_45098->SetFillStyle(0); ci = TColor::GetColor("#0033ff"); turnon_45098->SetLineColor(ci); turnon_45098->SetLineWidth(2); turnon_45098->SetChisquare(0.0001304731); turnon_45098->SetNDF(11); turnon_45098->GetXaxis()->SetLabelFont(42); turnon_45098->GetXaxis()->SetLabelSize(0.035); turnon_45098->GetXaxis()->SetTitleSize(0.035); turnon_45098->GetXaxis()->SetTitleFont(42); turnon_45098->GetYaxis()->SetLabelFont(42); turnon_45098->GetYaxis()->SetLabelSize(0.035); turnon_45098->GetYaxis()->SetTitleSize(0.035); turnon_45098->GetYaxis()->SetTitleFont(42); turnon_45098->SetParameter(0,420.9439); turnon_45098->SetParError(0,0.1707542); turnon_45098->SetParLimits(0,0,0); turnon_45098->SetParameter(1,42.45802); turnon_45098->SetParError(1,0.4419265); turnon_45098->SetParLimits(1,0,0); turnon_45098->SetParameter(2,0.9980704); turnon_45098->SetParError(2,0.001377075); turnon_45098->SetParLimits(2,0,0); graph->GetListOfFunctions()->Add(turnon_45098); graph->Draw("p"); Double_t Graph_from_hRecoAK8JetPT_PassjetFilter_500_fx99[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 Graph_from_hRecoAK8JetPT_PassjetFilter_500_fy99[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, 1.064055e-06, 0, 3.117555e-05, 5.090054e-06, 0, 3.501152e-05, 4.196986e-05, 1.581514e-05, 5.709415e-05, 5.291139e-05, 3.050392e-05, 7.627405e-05, 8.240877e-05, 0.0001439287, 0.0001055317, 8.646039e-05, 0.0001577357, 0.0001174626, 0.0001797053, 0.000179588, 0.0001084677, 0.0002593025, 0.0003332567, 0.0003820039, 0.0003927152, 0.0007592165, 0.001053314, 0.0009363006, 0.001494326, 0.001760867, 0.002986957, 0.003337706, 0.004929842, 0.006393571, 0.01002264, 0.01502039, 0.02064882, 0.02934549, 0.03990448, 0.04957821, 0.06630058, 0.07949646, 0.09795336, 0.1191471, 0.1430912, 0.1702092, 0.2110944, 0.2676066, 0.3536401, 0.4666089, 0.5861939, 0.7118375, 0.8089297, 0.8874696, 0.9357927, 0.9636327, 0.9825291, 0.9898976, 0.9936398, 0.9961315, 0.997098, 0.9975762, 0.9983988, 0.9988331, 0.9994164, 0.9995124, 0.9996898, 0.9998028, 0.9998866, 0.9999726, 0.999931, 0.9999013, 0.9999485, 1, 1, 1, 0.9999703, 1, 1, 0.9999515, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; graph = new TGraph(136,Graph_from_hRecoAK8JetPT_PassjetFilter_500_fx99,Graph_from_hRecoAK8JetPT_PassjetFilter_500_fy99); graph->SetName("Graph_from_hRecoAK8JetPT_PassjetFilter_500"); graph->SetTitle("Efficiencies for AK8 HLT paths - Using RECO jets"); ci = TColor::GetColor("#cc00ff"); graph->SetLineColor(ci); graph->SetLineWidth(3); ci = TColor::GetColor("#cc00ff"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(0.9); TH1F *Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099 = new TH1F("Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099","Efficiencies for AK8 HLT paths - Using RECO jets",136,0,800); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->SetMinimum(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->SetMaximum(1.1); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->SetDirectory(0); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->SetLineColor(ci); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetXaxis()->SetTitle("P_{T} [GeV/c]"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetXaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetXaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetXaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetXaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetXaxis()->SetTitleOffset(1.3); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetXaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetYaxis()->SetTitle("Efficiency"); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetYaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetYaxis()->SetLabelOffset(0.014); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetYaxis()->SetLabelSize(0.05); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetYaxis()->SetTitleSize(0.055); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetYaxis()->SetTitleOffset(1.6); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetYaxis()->SetTitleFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetZaxis()->SetLabelFont(42); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetZaxis()->SetLabelSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetZaxis()->SetTitleSize(0.035); Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph_from_hRecoAK8JetPT_PassjetFilter_50099); TF1 *turnon_500100 = new TF1("turnon_500","0.5*[2]*(1 + TMath::Erf((x - [0])/[1]))",465,610); turnon_500100->SetFillColor(19); turnon_500100->SetFillStyle(0); ci = TColor::GetColor("#cc00ff"); turnon_500100->SetLineColor(ci); turnon_500100->SetLineWidth(2); turnon_500100->SetChisquare(6.50134e-05); turnon_500100->SetNDF(12); turnon_500100->GetXaxis()->SetLabelFont(42); turnon_500100->GetXaxis()->SetLabelSize(0.035); turnon_500100->GetXaxis()->SetTitleSize(0.035); turnon_500100->GetXaxis()->SetTitleFont(42); turnon_500100->GetYaxis()->SetLabelFont(42); turnon_500100->GetYaxis()->SetLabelSize(0.035); turnon_500100->GetYaxis()->SetTitleSize(0.035); turnon_500100->GetYaxis()->SetTitleFont(42); turnon_500100->SetParameter(0,467.7298); turnon_500100->SetParError(0,0.1304181); turnon_500100->SetParLimits(0,0,0); turnon_500100->SetParameter(1,43.60701); turnon_500100->SetParError(1,0.3295417); turnon_500100->SetParLimits(1,0,0); turnon_500100->SetParameter(2,0.9973434); turnon_500100->SetParError(2,0.0008635999); turnon_500100->SetParLimits(2,0,0); graph->GetListOfFunctions()->Add(turnon_500100); graph->Draw("p"); TLegend *leg = new TLegend(0.74,0.17,0.94,0.57,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("Graph_from_hRecoAK8JetPT_PassjetFilter_40","HLT_PFJet40","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("Graph_from_hRecoAK8JetPT_PassjetFilter_60","HLT_PFJet60","LP"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#00ff00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("Graph_from_hRecoAK8JetPT_PassjetFilter_80","HLT_PFJet80","LP"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#0000ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("Graph_from_hRecoAK8JetPT_PassjetFilter_140","HLT_PFJet140","LP"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#ff00ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("Graph_from_hRecoAK8JetPT_PassjetFilter_200","HLT_PFJet200","LP"); ci = TColor::GetColor("#ffff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#ffff00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("Graph_from_hRecoAK8JetPT_PassjetFilter_260","HLT_PFJet260","LP"); ci = TColor::GetColor("#ffcc00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#ffcc00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("Graph_from_hRecoAK8JetPT_PassjetFilter_320","HLT_PFJet320","LP"); ci = TColor::GetColor("#33ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#33ff00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("Graph_from_hRecoAK8JetPT_PassjetFilter_400","HLT_PFJet400","LP"); ci = TColor::GetColor("#00ffcc"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#00ffcc"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("Graph_from_hRecoAK8JetPT_PassjetFilter_450","HLT_PFJet450","LP"); ci = TColor::GetColor("#0033ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#0033ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(0.9); entry->SetTextFont(42); entry=leg->AddEntry("Graph_from_hRecoAK8JetPT_PassjetFilter_500","HLT_PFJet500","LP"); ci = TColor::GetColor("#cc00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); ci = TColor::GetColor("#cc00ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); 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("Efficiencies for AK8 HLT paths - Using RECO jets"); pt->Draw(); RECOeffcanvasAK8->Modified(); RECOeffcanvasAK8->cd(); RECOeffcanvasAK8->SetSelected(RECOeffcanvasAK8); }