diff --git a/LArCalorimeter/LArDigitization/python/LArDigitizationConfigNew.py b/LArCalorimeter/LArDigitization/python/LArDigitizationConfigNew.py index 5ecee41f17d24b1aea95221ef2f88262cd254e19..fdb15f982ee169983f4d0ce3ddecad3bf73d0867 100644 --- a/LArCalorimeter/LArDigitization/python/LArDigitizationConfigNew.py +++ b/LArCalorimeter/LArDigitization/python/LArDigitizationConfigNew.py @@ -227,9 +227,7 @@ def LArTriggerDigitizationBasicCfg(flags, **kwargs): acc.merge(CaloTriggerTowerCfg(flags)) kwargs.setdefault("NoiseOnOff", flags.Digitization.DoCaloNoise) - if not flags.Digitization.DoXingByXingPileUp: - if flags.Digitization.Pileup: - kwargs.setdefault("PileUp", True) + kwargs.setdefault("PileUp", flags.Digitization.Pileup) if flags.Digitization.PileUpPremixing: kwargs.setdefault("EmTTL1ContainerName", flags.Overlay.BkgPrefix + "LArTTL1EM") kwargs.setdefault("HadTTL1ContainerName", flags.Overlay.BkgPrefix + "LArTTL1HAD")