Commit 356d18d 1 parent e5c0635 commit 356d18d Copy full SHA for 356d18d
File tree 2 files changed +4
-103
lines changed
2 files changed +4
-103
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 14
14
15
15
from columnflow .util import maybe_import
16
16
from hbw .util import has_tag , IF_MC
17
- from hbw .hist_util import create_columnflow_hist
17
+ from columnflow .hist_util import create_hist_from_variables
18
18
19
19
np = maybe_import ("numpy" )
20
20
ak = maybe_import ("awkward" )
@@ -85,10 +85,10 @@ def hbw_selection_hists(
85
85
if getattr (self , "first_chunk" , True ):
86
86
for key , weight in weight_map .items ():
87
87
if "btag_weight" not in key :
88
- hists [key ] = create_columnflow_hist (self .steps_variable )
89
- hists [f"{ key } _per_process" ] = create_columnflow_hist (self .steps_variable , self .process_variable )
88
+ hists [key ] = create_hist_from_variables (self .steps_variable )
89
+ hists [f"{ key } _per_process" ] = create_hist_from_variables (self .steps_variable , self .process_variable )
90
90
if key == "sum_mc_weight" or "btag_weight" in key :
91
- hists [f"{ key } _per_process_ht_njet_nhf" ] = create_columnflow_hist (
91
+ hists [f"{ key } _per_process_ht_njet_nhf" ] = create_hist_from_variables (
92
92
self .steps_variable ,
93
93
self .process_variable ,
94
94
self .ht_variable ,
You can’t perform that action at this time.
0 commit comments