Skip to content

Commit

Permalink
Fix histogram names
Browse files Browse the repository at this point in the history
  • Loading branch information
vkucera authored and qgp committed Sep 5, 2024
1 parent 5c27d4c commit b4118dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions machine_learning_hep/analysis/analyzer_jets.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def _subtract_sideband(self, hist, var, mcordata, ipt):
self._clip_neg(fh_subtracted)

self._save_hist(fh_subtracted, f'sideband/h_ptjet{label}_subtracted_notscaled_'
'{string_range_pthf(range_pthf)}_{mcordata}.png')
f'{string_range_pthf(range_pthf)}_{mcordata}.png')

# plot subtraction before applying multiplicative corrections
if get_dim(hist) == 2:
Expand Down Expand Up @@ -700,7 +700,7 @@ def _subtract_sideband(self, hist, var, mcordata, ipt):

fh_subtracted.Scale(1. / frac_sig)
self._save_hist(fh_subtracted, f'sideband/h_ptjet{label}_subtracted_'
'{string_range_pthf(range_pthf)}_{mcordata}.png')
f'{string_range_pthf(range_pthf)}_{mcordata}.png')

return fh_subtracted

Expand Down

0 comments on commit b4118dd

Please sign in to comment.