Skip to content

Commit

Permalink
added pileup weight cut to bbVVSkimmer to handle strange TTbar backgr…
Browse files Browse the repository at this point in the history
…ound
  • Loading branch information
andresnava1000 committed Nov 10, 2023
1 parent ff55bbb commit 235b304
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/HHbbVV/processors/bbVVSkimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,9 @@ def process(self, events: ak.Array):

if self._systematics:
systematics += list(weights.variations)

single_weight_pileup = weights.partial_weight(['single_weight_pileup'])
add_selection("single_weight_pileup", (single_weight_pileup <= 4), *selection_args)

# TODO: need to be careful about the sum of gen weights used for the LHE/QCDScale uncertainties
logger.debug("weights ", weights._weights.keys())
Expand Down

0 comments on commit 235b304

Please sign in to comment.