ATLAS Offline Software
ITkPixelEncodingAlgConfig.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 ITkPixelEncodingAlgCfg(flags, name = "ITkPixelEncodingAlg", **kwargs):
10 
11  # Required for PixelID
12  from PixelGeoModelXml.ITkPixelGeoModelConfig import ITkPixelReadoutGeometryCfg
13  acc.merge(ITkPixelReadoutGeometryCfg(flags))
14 
15  acc.addEventAlgo(CompFactory.ITkPixelEncodingAlg(name, **kwargs))
16 
17  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ITkPixelEncodingAlgConfig.ITkPixelEncodingAlgCfg
def ITkPixelEncodingAlgCfg(flags, name="ITkPixelEncodingAlg", **kwargs)
Definition: ITkPixelEncodingAlgConfig.py:8
ITkPixelGeoModelConfig.ITkPixelReadoutGeometryCfg
def ITkPixelReadoutGeometryCfg(flags, setGeometryAlignable=False, setAlignmentFolderName="/Indet/Align")
Definition: ITkPixelGeoModelConfig.py:39