21 from TrackingGeometryCondAlg.AtlasTrackingGeometryCondAlgConfig
import TrackingGeometryCondAlgCfg
23 geom_cond_key =
'AtlasTrackingGeometry'
25 from TrkConfig.TrkExRungeKuttaPropagatorConfig
import RungeKuttaPropagatorCfg
26 AtlasRungeKuttaPropagator = acc.popToolsAndMerge(
RungeKuttaPropagatorCfg(flags, name=
'AtlasRungeKuttaPropagator'))
29 Trk__PropagationEngine=CompFactory.Trk.PropagationEngine
30 staticPropagator = Trk__PropagationEngine(name = nameprefix+
'StaticPropagation')
32 staticPropagator.Propagator = AtlasRungeKuttaPropagator
34 staticPropagator.OutputPrefix =
'[SP] - '
35 staticPropagator.OutputPostfix =
' - '
36 result.addPublicTool(staticPropagator)
39 Trk__MaterialEffectsEngine=CompFactory.Trk.MaterialEffectsEngine
40 materialEffectsEngine = Trk__MaterialEffectsEngine(name = nameprefix+
'MaterialEffects')
42 materialEffectsEngine.OutputPrefix =
'[ME] - '
43 materialEffectsEngine.OutputPostfix =
' - '
44 result.addPublicTool(materialEffectsEngine)
48 Trk__StaticNavigationEngine=CompFactory.Trk.StaticNavigationEngine
49 staticNavigator = Trk__StaticNavigationEngine(name = nameprefix+
'StaticNavigation')
51 staticNavigator.PropagationEngine = staticPropagator
52 staticNavigator.MaterialEffectsEngine = materialEffectsEngine
53 staticNavigator.TrackingGeometryReadKey = geom_cond_key
56 staticNavigator.OutputPrefix =
'[SN] - '
57 staticNavigator.OutputPostfix =
' - '
59 result.addPublicTool(staticNavigator)
62 Trk__StaticEngine=CompFactory.Trk.StaticEngine
63 staticExtrapolator = Trk__StaticEngine(name = nameprefix+
'StaticExtrapolation')
65 staticExtrapolator.PropagationEngine = staticPropagator
66 staticExtrapolator.MaterialEffectsEngine = materialEffectsEngine
67 staticExtrapolator.NavigationEngine = staticNavigator
69 staticExtrapolator.OutputPrefix =
'[SE] - '
70 staticExtrapolator.OutputPostfix =
' - '
72 result.addPublicTool(staticExtrapolator)
75 extrapolator =
ExEngine(name=nameprefix+
'Extrapolation',
76 ExtrapolationEngines = [ staticExtrapolator ],
77 PropagationEngine = staticPropagator,
78 NavigationEngine = staticNavigator,
79 TrackingGeometryReadKey = geom_cond_key,
80 OutputPrefix =
'[ME] - ',
81 OutputPostfix =
' - ')
83 result.addPublicTool(extrapolator, primary=
True)