Skip to content

Commit

Permalink
Subtract sidebands for all jet pt bins
Browse files Browse the repository at this point in the history
  • Loading branch information
vkucera authored and qgp committed Sep 5, 2024
1 parent 5307fff commit 7f28fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine_learning_hep/analysis/analyzer_jets.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def _subtract_sideband(self, hist, var, mcordata, ipt):
subtract_sidebands = False
if mcordata == 'data' and self.cfg('sidesub_per_ptjet'):
self.logger.info('Subtracting sidebands in pt jet bins')
for iptjet in range(1, get_nbins(fh_subtracted, 0)):
for iptjet in range(get_nbins(fh_subtracted, 0)):
if rws := self.roo_ws_ptjet[mcordata][iptjet][ipt]:
f = rws.pdf("bkg").asTF(self.roo_ws[mcordata][ipt].var("m"))
else:
Expand Down

0 comments on commit 7f28fef

Please sign in to comment.