ATLAS Offline Software
ITkPixelDecodingAlgConfig.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2024 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 ITkPixelDecodingAlgCfg(flags, name = "ITkPixelDecodingAlg", **kwargs):
10 
11  # Required for PixelID
12  from PixelGeoModelXml.ITkPixelGeoModelConfig import ITkPixelReadoutGeometryCfg
13  acc.merge(ITkPixelReadoutGeometryCfg(flags))
14 
15  acc.addEventAlgo(CompFactory.ITkPixelDecodingAlg(name, **kwargs))
16 
17  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ITkPixelGeoModelConfig.ITkPixelReadoutGeometryCfg
def ITkPixelReadoutGeometryCfg(flags)
Definition: ITkPixelGeoModelConfig.py:39
ITkPixelDecodingAlgConfig.ITkPixelDecodingAlgCfg
def ITkPixelDecodingAlgCfg(flags, name="ITkPixelDecodingAlg", **kwargs)
Definition: ITkPixelDecodingAlgConfig.py:8