ATLAS Offline Software
PixelReadoutGeometryConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 
5 
6 def PixelReadoutManagerCfg(flags, name="PixelReadoutManager", **kwargs):
7  """Return a ComponentAccumulator with configured PixelReadoutManager"""
9  acc.addService(CompFactory.InDetDD.PixelReadoutManager(name, **kwargs), primary=True)
10  return acc
11 
12 
13 def ITkPixelReadoutManagerCfg(flags, name="ITkPixelReadoutManager", **kwargs):
14  """Return a ComponentAccumulator with configured ITkPixelReadoutManager"""
15  acc = ComponentAccumulator()
16  acc.addService(CompFactory.InDetDD.ITk.PixelReadoutManager(name, **kwargs), primary=True)
17  return acc
18 
19 def PLR_ReadoutManagerCfg(flags, name="PLR_ReadoutManager", **kwargs):
20  """Return a ComponentAccumulator with a PLR configured ITkPixelReadoutManager"""
21  acc = ComponentAccumulator()
22  kwargs.setdefault("DetectorName", "PLR")
23  kwargs.setdefault("PixelIDName", "PLR_ID")
24  acc.addService(CompFactory.InDetDD.ITk.PixelReadoutManager(name, **kwargs), primary=True)
25  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.PixelReadoutGeometryConfig.ITkPixelReadoutManagerCfg
def ITkPixelReadoutManagerCfg(flags, name="ITkPixelReadoutManager", **kwargs)
Definition: PixelReadoutGeometryConfig.py:13
python.PixelReadoutGeometryConfig.PLR_ReadoutManagerCfg
def PLR_ReadoutManagerCfg(flags, name="PLR_ReadoutManager", **kwargs)
Definition: PixelReadoutGeometryConfig.py:19
python.PixelReadoutGeometryConfig.PixelReadoutManagerCfg
def PixelReadoutManagerCfg(flags, name="PixelReadoutManager", **kwargs)
Definition: PixelReadoutGeometryConfig.py:6