ATLAS Offline Software
Loading...
Searching...
No Matches
PixelReadoutGeometryConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3from AthenaConfiguration.ComponentFactory import CompFactory
4
5
6def PixelReadoutManagerCfg(flags, name="PixelReadoutManager", **kwargs):
7 """Return a ComponentAccumulator with configured PixelReadoutManager"""
8 acc = ComponentAccumulator()
9 acc.addService(CompFactory.InDetDD.PixelReadoutManager(name, **kwargs), primary=True)
10 return acc
11
12
13def 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
19def 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
PixelReadoutManagerCfg(flags, name="PixelReadoutManager", **kwargs)