Skip to content

Commit

Permalink
Merge pull request #450 from andrzejnovak/fatmatch
Browse files Browse the repository at this point in the history
fix: add matched_gen for FatJet
  • Loading branch information
nsmith- authored Feb 11, 2021
2 parents fdc953f + 91842b7 commit 5465597
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions coffea/nanoevents/methods/nanoaod.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ def isTightLeptonVeto(self):
def subjets(self):
return self._events().SubJet._apply_global_index(self.subJetIdxG)

@property
def matched_gen(self):
return self._events().GenJet._apply_global_index(self.genJetAK8IdxG)


_set_repr_name("FatJet")

Expand Down

0 comments on commit 5465597

Please sign in to comment.