diff --git a/Reconstruction/egamma/egammaAlgs/python/egammaSelectedTrackCopyConfig.py b/Reconstruction/egamma/egammaAlgs/python/egammaSelectedTrackCopyConfig.py index e4f30467c71fbb5c8a7bcb5c247b1c30161f6d87..ddffe1437793a92582179ea3e4aad3880838f23d 100644 --- a/Reconstruction/egamma/egammaAlgs/python/egammaSelectedTrackCopyConfig.py +++ b/Reconstruction/egamma/egammaAlgs/python/egammaSelectedTrackCopyConfig.py @@ -6,6 +6,7 @@ from egammaTrackTools.egammaTrackToolsConfig import EMExtrapolationToolsCfg from AthenaCommon.Logging import logging from AthenaConfiguration.ComponentFactory import CompFactory from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator +from egammaCaloTools.egammaCaloToolsFactories import egammaCheckEnergyDepositTool egammaCaloClusterSelector = CompFactory.egammaCaloClusterSelector egammaSelectedTrackCopy = CompFactory.egammaSelectedTrackCopy @@ -25,6 +26,7 @@ def egammaSelectedTrackCopyCfg(flags, name='egammaSelectedTrackCopy', **kwargs): ) kwargs["egammaCaloClusterSelector"] = egammaCaloClusterGSFSelector + kwargs.setdefault("egammaCheckEnergyDepositTool", egammaCheckEnergyDepositTool()) if "ExtrapolationTool" not in kwargs: extraptool = EMExtrapolationToolsCfg(flags)