ATLAS Offline Software
FPGATrackSimSeedingConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def FPGATrackSimSeedingCfg(flags, name='FPGATrackSimSeedingAlg', **kwargs):
8 
9  kwargs.setdefault('FPGATrackSimTrackKey', "FPGATracks")
10  kwargs.setdefault('FPGAPixelClustersKey', "ITkPixelClusters")
11  kwargs.setdefault('FPGASpacePointsKey', "ITkPixelSpacePoints")
12  if flags.Trigger.FPGATrackSim.runF150hw:
13  kwargs.setdefault('OutputSeeds', "ActsValidateF150SWPixelSeeds")
14  else:
15  kwargs.setdefault('OutputSeeds', "ActsValidateF150PixelSeeds")
16 
17  kwargs.setdefault('MinSpacePointsPerSeed', flags.Trigger.FPGATrackSim.MinSpacePointsPerSeed)
18  kwargs.setdefault('MaxSpacePointsPerSeed', flags.Trigger.FPGATrackSim.MaxSpacePointsPerSeed)
19 
20  acc.addEventAlgo(CompFactory.FPGATrackSim.FPGATrackSimSeedingAlg(name, **kwargs))
21  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
FPGATrackSimSeedingConfig.FPGATrackSimSeedingCfg
def FPGATrackSimSeedingCfg(flags, name='FPGATrackSimSeedingAlg', **kwargs)
Definition: FPGATrackSimSeedingConfig.py:6