67 acc = ComponentAccumulator()
68 from FPGATrackSimConfTools.FPGATrackSimDataPrepConfig
import FPGATrackSimReadInputCfg, FPGATrackSimEventSelectionSvcCfg
69 alg = CompFactory.FPGATrackSimMapMakerAlg(
70 GeometryVersion=flags.GeoModel.AtlasVersion,
71 OutFileName=flags.OutFileName,
72 KeyString=flags.KeyString,
73 nSlices=flags.nSlices,
74 region=flags.Trigger.FPGATrackSim.region,
76 globalTrim=flags.globalTrim,
77 eventSelector = acc.getPrimaryAndMerge(FPGATrackSimEventSelectionSvcCfg(flags)),
82 if flags.Trigger.FPGATrackSim.wrapperFileName
and flags.Trigger.FPGATrackSim.wrapperFileName
is not None:
83 alg.InputTool = acc.getPrimaryAndMerge(FPGATrackSimReadInputCfg(flags))
87 from FPGATrackSimSGInput.FPGATrackSimSGInputConfig
import FPGATrackSimSGInputToolCfg
88 alg.SGInputTool = acc.getPrimaryAndMerge(FPGATrackSimSGInputToolCfg(flags))
89 alg.SGInputTool.ReadOfflineClusters=
False
90 alg.SGInputTool.ReadOfflineTracks=
False
92 from ActsAlignmentAlgs.AlignmentAlgsConfig
import ActsGeometryContextAlgCfg
93 from ActsConfig.ActsGeometryConfig
import ActsTrackingGeometrySvcCfg
95 acc.merge(ActsTrackingGeometrySvcCfg(flags))
96 acc.merge(ActsGeometryContextAlgCfg(flags))