3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
11 from TrkConfig.AtlasExtrapolatorConfig
import AtlasExtrapolatorCfg
14 from TrkConfig.TrkTruthCreatorToolsConfig
import TruthToTrackToolCfg
16 from TrkConfig.TrkConfigFlags
import TrackingComponent
17 FPGATrackSimSGInputTool = CompFactory.FPGATrackSimSGToRawHitsTool(maxEta=5.0, minPt=0.8 * GeV,
18 Extrapolator = extrapolatorTool, TruthToTrackTool = truthToTrackTool, ReadOfflineTracks=TrackingComponent.AthenaChain
in flags.Tracking.recoChain)
19 acc.setPrivateTools(FPGATrackSimSGInputTool)
25 Configure FPGATrackSim wrappers generation, outFile will be taken from flags in the future
29 from PixelGeoModelXml.ITkPixelGeoModelConfig
import ITkPixelReadoutGeometryCfg
31 from StripGeoModelXml.ITkStripGeoModelConfig
import ITkStripReadoutGeometryCfg
34 wrapperAlg = CompFactory.TrigFPGATrackSimRawHitsWrapperAlg(
36 OutFileName=flags.Trigger.FPGATrackSim.wrapperFileName,
37 WrapperMetaData=flags.Trigger.FPGATrackSim.wrapperMetaData
39 acc.addEventAlgo(wrapperAlg)