2from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
3from AthenaConfiguration.ComponentFactory
import CompFactory
7 """Return a ComponentAccumulator with configured PixelReadoutManager"""
8 acc = ComponentAccumulator()
9 acc.addService(CompFactory.InDetDD.PixelReadoutManager(name, **kwargs), primary=True)
13def ITkPixelReadoutManagerCfg(flags, name="ITkPixelReadoutManager", **kwargs):
14 """Return a ComponentAccumulator with configured ITkPixelReadoutManage
r"""
15 acc = ComponentAccumulator()
16 acc.addService(CompFactory.InDetDD.ITk.PixelReadoutManager(name, **kwargs), primary=True)
19def PLR_ReadoutManagerCfg(flags, name="PLR_ReadoutManager", **kwargs):
20 """Return a ComponentAccumulator with a PLR configured ITkPixelReadoutManage
r"""
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)
PixelReadoutManagerCfg(flags, name="PixelReadoutManager", **kwargs)