Skip to content

Commit

Permalink
temporary fix for btagging
Browse files Browse the repository at this point in the history
  • Loading branch information
cmantill committed Oct 15, 2024
1 parent 793205e commit d977065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HH4b/processors/ttSkimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ 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 d977065

Please sign in to comment.