Skip to content

Commit 81a4a84

Browse files
committed
derive producer for different btag reweighting modi
1 parent 1c50840 commit 81a4a84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hbw/production/normalized_btag.py

+5
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ def normalized_btag_weights_requires(self: Producer, reqs: dict) -> None:
8181
reqs["btag_renormalization_sf"] = GetBtagNormalizationSF.req(self.task)
8282

8383

84+
normalized_btag_weights_full = normalized_btag_weights.derive("normalized_btag_weights_full", cls_dict=dict(
85+
modes=["ht_njet_nhf", "ht_njet", "njet", "ht"],
86+
))
87+
88+
8489
@normalized_btag_weights.setup
8590
def normalized_btag_weights_setup(self: Producer, reqs: dict, inputs: dict, reader_targets: InsertableDict) -> None:
8691
# create the corrector

0 commit comments

Comments
 (0)