diff --git a/Reconstruction/egamma/egammaAlgs/python/egammaSelectedTrackCopy.py b/Reconstruction/egamma/egammaAlgs/python/egammaSelectedTrackCopy.py index 6e14d9b53999bfe332399625709b84b7ad465ca0..5ad301f2d2dbdad9b6744dfa3d3fb418a9b7517c 100644 --- a/Reconstruction/egamma/egammaAlgs/python/egammaSelectedTrackCopy.py +++ b/Reconstruction/egamma/egammaAlgs/python/egammaSelectedTrackCopy.py @@ -8,6 +8,8 @@ from egammaAlgs import egammaAlgsConf from egammaRec.Factories import ToolFactory, AlgFactory # to set jobproperties.egammaRecFlags from egammaRec.egammaRecFlags import jobproperties +from egammaCaloTools.egammaCaloToolsFactories import ( + egammaCheckEnergyDepositTool) from InDetRecExample.InDetKeys import InDetKeys from egammaTrackTools.egammaTrackToolsFactories import ( EMExtrapolationTools, EMExtrapolationToolsCommonCache) @@ -16,6 +18,7 @@ from egammaCaloTools import egammaCaloToolsConf egammaCaloClusterGSFSelector = ToolFactory( egammaCaloToolsConf.egammaCaloClusterSelector, name='caloClusterGSFSelector', + egammaCheckEnergyDepositTool=egammaCheckEnergyDepositTool, EMEtCut=2250., EMEtSplittingFraction=0.7, EMFCut=0.5 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)