diff --git a/python/postprocessing/modules/jme/fatJetUncertainties.py b/python/postprocessing/modules/jme/fatJetUncertainties.py index e6d6f23e621..a3aa4911c8d 100644 --- a/python/postprocessing/modules/jme/fatJetUncertainties.py +++ b/python/postprocessing/modules/jme/fatJetUncertainties.py @@ -547,8 +547,8 @@ def analyze(self, event): genGroomedSubJets = None genGroomedJet = None if jet.subJetIdx1 >= 0 and jet.subJetIdx2 >= 0: - groomedP4 = subJets[jet.subJetIdx1].p4() + subJets[ - jet.subJetIdx2].p4() # check subjet jecs + groomedP4 = (subJets[jet.subJetIdx1].p4() * (1. - subJets[jet.subJetIdx1].rawFactor)) \ + + (subJets[jet.subJetIdx2].p4() * (1. - subJets[jet.subJetIdx2].rawFactor)) else: groomedP4 = None