4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory
import CompFactory
6 from AthenaConfiguration.Enums
import BeamType
15 from PixelGeoModel.PixelGeoModelConfig
import PixelReadoutGeometryCfg
17 from SCT_GeoModel.SCT_GeoModelConfig
import SCT_ReadoutGeometryCfg
21 acc.addCondAlgo(CompFactory.InDet.SiDetElementsRoadCondAlg_xk(name =
"SiDetElementsRoadCondAlg_xk"))
23 from TrkConfig.TrkExRungeKuttaPropagatorConfig
import RungeKuttaPropagatorCfg
25 acc.addPublicTool(InDetPatternPropagator)
26 kwargs.setdefault(
"PropagatorTool", InDetPatternPropagator)
28 kwargs.setdefault(
"usePixel", flags.Tracking.ActiveConfig.usePixel )
29 kwargs.setdefault(
"PixManagerLocation",
'Pixel')
30 kwargs.setdefault(
"useSCT", flags.Tracking.ActiveConfig.useSCT)
31 kwargs.setdefault(
"SCTManagerLocation",
'SCT')
32 kwargs.setdefault(
"RoadWidth", flags.Tracking.ActiveConfig.roadWidth)
34 acc.setPrivateTools(CompFactory.InDet.SiDetElementsRoadMaker_xk(
35 name+flags.Tracking.ActiveConfig.extension, **kwargs))
41 if 'PropagatorTool' not in kwargs:
42 from TrkConfig.TrkExRungeKuttaPropagatorConfig
import RungeKuttaPropagatorCfg
44 name=
"InDetTrigPatternPropagator"))
45 acc.addPublicTool(InDetPatternPropagator)
46 kwargs.setdefault(
"PropagatorTool", InDetPatternPropagator)
56 kwargs.setdefault(
"RoadWidth", 50.
if flags.Beam.Type
is BeamType.Cosmics
else 35.)
57 kwargs.setdefault(
"MaxStep", 20.)
67 from PixelGeoModelXml.ITkPixelGeoModelConfig
import ITkPixelReadoutGeometryCfg
69 from StripGeoModelXml.ITkStripGeoModelConfig
import ITkStripReadoutGeometryCfg
73 acc.addCondAlgo(CompFactory.InDet.SiDetElementsRoadCondAlg_xk(name =
"SiDetElementsRoadCondAlg_xk",
74 PixelDetEleCollKey =
"ITkPixelDetectorElementCollection",
75 SCTDetEleCollKey =
"ITkStripDetectorElementCollection"))
77 from TrkConfig.TrkExRungeKuttaPropagatorConfig
import RungeKuttaPropagatorCfg
79 acc.addPublicTool(ITkPatternPropagator)
80 kwargs.setdefault(
"PropagatorTool", ITkPatternPropagator)
82 kwargs.setdefault(
"usePixel", flags.Tracking.ActiveConfig.useITkPixel )
83 kwargs.setdefault(
"PixManagerLocation",
'ITkPixel')
84 kwargs.setdefault(
"useSCT", flags.Tracking.ActiveConfig.useITkStrip)
85 kwargs.setdefault(
"SCTManagerLocation",
'ITkStrip')
86 kwargs.setdefault(
"RoadWidth", flags.Tracking.ActiveConfig.roadWidth)
88 acc.setPrivateTools(CompFactory.InDet.SiDetElementsRoadMaker_xk(
89 name+flags.Tracking.ActiveConfig.extension, **kwargs))