2 from AthenaConfiguration.ComponentFactory
import CompFactory
3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8 if "LastCaloExtentionTool" not in kwargs:
9 from TrackToCalo.TrackToCaloConfig
import ParticleCaloExtensionToolCfg
10 kwargs.setdefault(
"LastCaloExtentionTool", result.popToolsAndMerge(
14 if flags.Detector.GeometryITk:
15 kwargs.setdefault(
"ExtraInputs", [
16 (
"InDetDD::SiDetectorElementCollection",
"ConditionStore+ITkPixelDetectorElementCollection"),
17 (
"InDetDD::SiDetectorElementCollection",
"ConditionStore+ITkStripDetectorElementCollection"),
20 kwargs.setdefault(
"ExtraInputs", [
21 (
"InDetDD::SiDetectorElementCollection",
"ConditionStore+PixelDetectorElementCollection"),
22 (
"InDetDD::SiDetectorElementCollection",
"ConditionStore+SCT_DetectorElementCollection"),
25 result.addEventAlgo(CompFactory.Trk.CaloExtensionBuilderAlg(name, **kwargs))
30 kwargs.setdefault(
"TrkPartContainerName",
"InDetLargeD0TrackParticles")
31 kwargs.setdefault(
"ParticleCache",
"ParticleCaloExtension_LRT")
37 if flags.Tracking.doLargeD0
and flags.Tracking.storeSeparateLargeD0Container: