Skip to content

Commit

Permalink
fix python3 error
Browse files Browse the repository at this point in the history
  • Loading branch information
ahinzmann committed Feb 14, 2020
1 parent aa70e05 commit 7a02dd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PhysicsTools/PatAlgos/python/tools/jetCollectionTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ def addRecoJetCollection(self,
)
)
if recoJetInfo.jetPUMethod == "puppi":
getattr(proc, jetCollection).src = self.pfLabel
getattr(proc, jetCollection).srcWeights = self.pfCand
getattr(proc, jetCollection).applyPuppiWeights = True
getattr(proc, jetCollection).src = self.pfLabel
getattr(proc, jetCollection).srcWeights = pfCand
getattr(proc, jetCollection).applyPuppiWeights = True
currentTasks.append(jetCollection)
else:
jetCollection = inputCollection
Expand Down

0 comments on commit 7a02dd3

Please sign in to comment.