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))