Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
cmantill authored Oct 16, 2024
2 parents b42bb3a + 1337bdc commit 97776c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/HH4b/processors/ttSkimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,9 @@ def process(self, events: ak.Array):

# b-tagged and dPhi from muon < 2
# consider btagDeepFlavB for 2022 only (problem with v12 private production)
if year == "2022" and self._nano_version == "v12_private":
if year == "2022" and (
self._nano_version == "v12_private" or self._nano_version == "v12v2_private"
):
ak4_jet_selector_btag_muon = ak4_jet_selector * (
(ak4_jets.btagDeepFlavB > self.btag_medium_deepJet[year])
* (np.abs(ak4_jets.delta_phi(muon)) < self.ak4_jet_selection["delta_phi_muon"])
Expand Down

0 comments on commit 97776c2

Please sign in to comment.