diff --git a/hbt/config/hist_hooks.py b/hbt/config/hist_hooks.py index fd174cb..737a351 100644 --- a/hbt/config/hist_hooks.py +++ b/hbt/config/hist_hooks.py @@ -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