Skip to content

Commit

Permalink
fix wrong key in pileup variable map
Browse files Browse the repository at this point in the history
  • Loading branch information
mafrahm committed Feb 22, 2024
1 parent 0a20752 commit 8cc10e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion columnflow/production/cms/pileup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def pu_weight(self: Producer, events: ak.Array, **kwargs) -> ak.Array:
("pu_weight_minbias_xs_down", "down"),
):
# get the inputs for this type of variation
variable_map_syst = {**variable_map, "systematic": syst}
variable_map_syst = {**variable_map, "weights": syst}
inputs = [variable_map_syst[inp.name] for inp in self.pileup_corrector.inputs]

# evaluate and store the produced column
Expand Down

0 comments on commit 8cc10e4

Please sign in to comment.