ATLAS Offline Software
ITkPixelTranslatorAlgConfig.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 #
4 
5 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory import CompFactory
7 
8 def ITkPixelTranslatorAlgCfg(flags, name = "ITkPixelTranslatorAlg", **kwargs):
10 
11  # Required for PixelID
12  from PixelGeoModelXml.ITkPixelGeoModelConfig import ITkPixelReadoutGeometryCfg
13  acc.merge(ITkPixelReadoutGeometryCfg(flags))
14 
15 
16  acc.addEventAlgo(CompFactory.ITkPixelTranslatorAlg(name, **kwargs))
17 
18  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ITkPixelGeoModelConfig.ITkPixelReadoutGeometryCfg
def ITkPixelReadoutGeometryCfg(flags)
Definition: ITkPixelGeoModelConfig.py:39
ITkPixelTranslatorAlgConfig.ITkPixelTranslatorAlgCfg
def ITkPixelTranslatorAlgCfg(flags, name="ITkPixelTranslatorAlg", **kwargs)
Definition: ITkPixelTranslatorAlgConfig.py:8