13 if "egammaCaloClusterSelector" not in kwargs:
14 from egammaCaloTools.egammaCaloToolsConfig
import (
15 egammaCaloClusterSelectorGSFCfg,
18 kwargs[
"egammaCaloClusterSelector"] = acc.popToolsAndMerge(
22 if "ExtrapolationTool" not in kwargs:
23 from egammaTrackTools.egammaTrackToolsConfig
import (
24 EMExtrapolationToolsCfg,
28 flags, name=
"EMExtrapolationTools")
29 kwargs[
"ExtrapolationTool"] = acc.popToolsAndMerge(extraptool)
31 kwargs.setdefault(
"ClusterContainerName",
32 flags.Egamma.Keys.Internal.EgammaTopoClusters)
33 kwargs.setdefault(
"TrackParticleContainerName",
34 flags.Egamma.Keys.Input.TrackParticles)
35 kwargs.setdefault(
"OutputTrkPartContainerName",
36 flags.Egamma.Keys.Output.TrkPartContainerName)
38 if flags.Reco.EnableHGTDExtension:
39 kwargs.setdefault(
"TrackParticleTimeDecoration",
40 flags.Egamma.Keys.Input.TrackParticles+
".time")
42 doFwd = flags.Detector.GeometryITk
and flags.Egamma.doForward
43 kwargs.setdefault(
"doFwdTracks", doFwd)
45 kwargs.setdefault(
"FwdClusterContainerName",
46 flags.Egamma.Keys.Internal.ForwardTopoClusters)
49 if flags.Detector.GeometryITk:
54 "InDetDD::SiDetectorElementCollection",
55 "ConditionStore+ITkPixelDetectorElementCollection",
58 "InDetDD::SiDetectorElementCollection",
59 "ConditionStore+ITkStripDetectorElementCollection",
68 "InDetDD::SiDetectorElementCollection",
69 "ConditionStore+PixelDetectorElementCollection",
72 "InDetDD::SiDetectorElementCollection",
73 "ConditionStore+SCT_DetectorElementCollection",
78 egseltrkcpAlg = CompFactory.egammaSelectedTrackCopy(name, **kwargs)
80 acc.addEventAlgo(egseltrkcpAlg)