Skip to content

Commit

Permalink
Fix code style issues with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Nov 27, 2023
1 parent 4aebd20 commit 3678d81
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/HHbbVV/processors/bbVVSkimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,17 +481,18 @@ def process(self, events: ak.Array):
>= self.preselection["bbFatJetParticleNetMD_Txbb"]
)
add_selection("ak8bb_txbb", txbb_cut, *selection_args)

# XHY->bbWW Semi-resolved Channel Veto
Wqq_excess = ak.count(fatjets["particleNet_H4qvsQCD"][fatjets["particleNet_H4qvsQCD"] >= 0.8],axis=-1 )

#if Wqq_excess for an event is == 2 then we need to make sure that the Hbb is included in these two
Wqq_cut = (
(Wqq_excess < 3)
& ((Wqq_excess == 2 & ak8FatJetVars["ak8FatJetParticleNet_Th4q"][bb_mask] >= 0.8)
| (Wqq_excess < 2))
)

Wqq_excess = ak.count(
fatjets["particleNet_H4qvsQCD"][fatjets["particleNet_H4qvsQCD"] >= 0.8], axis=-1
)

# if Wqq_excess for an event is == 2 then we need to make sure that the Hbb is included in these two
Wqq_cut = (Wqq_excess < 3) & (
(Wqq_excess == 2 & ak8FatJetVars["ak8FatJetParticleNet_Th4q"][bb_mask] >= 0.8)
| (Wqq_excess < 2)
)

add_selection("ak8_semi_resolved_Wqq", Wqq_cut, *selection_args)

# 2018 HEM cleaning
Expand Down

0 comments on commit 3678d81

Please sign in to comment.