Skip to content
Snippets Groups Projects
Commit 8f71985a authored by Joshua Newell's avatar Joshua Newell
Browse files

Added fit_type of pol0 for len(o_recoeff_fit) == 0 case

parent bc28a288
No related branches found
No related tags found
2 merge requests!687242024-02-09: Sweep 23.0 into main,!65939Updated post-processing and plotting scripts for 2023 data in ZLumiScripts directory
Pipeline #6803869 failed
......@@ -222,7 +222,7 @@ if len(arr_mu) == 0:
arr_rec_err.append(1)
tg_fit = ROOT.TGraphErrors(len(arr_mu), arr_mu, arr_rec_eff, ROOT.nullptr, arr_rec_err)
if len(o_recoeff_fit) == 1:
if len(o_recoeff_fit) == 0 or len(o_recoeff_fit) == 1:
fit_type = "pol0"
elif len(o_recoeff_fit) == 2:
fit_type = "pol1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment