Skip to content
Snippets Groups Projects
Commit 03b87e55 authored by Daniela Boerner's avatar Daniela Boerner
Browse files

add tool also to second config

parent 633d2ad4
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment