Skip to content

Commit

Permalink
bug in fill_hist
Browse files Browse the repository at this point in the history
  • Loading branch information
aalvesan committed Jul 25, 2024
1 parent f265547 commit f6bd6b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hbt/config/hist_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ def ana_ABCD(task, hists):
quit()

# add QCD histogram to hists
# for cat_parent="incl":
# Bshape = rate_int_dic[cat_parent]["Bshape"]
# TODO: BUG in fill_hist function (ValueError: got multi-dimensional hist but only one dimensional data)
# hists[cfg.processes.n.qcd] = fill_hist(qcd_hist, rate) * scale_factor["incl"]
# hists[cfg.processes.n.qcd] = fill_hist(qcd_hist, Bshape) * scale_factor[cat_parent]

return hists

Expand Down

0 comments on commit f6bd6b9

Please sign in to comment.