ATLAS Offline Software
Loading...
Searching...
No Matches
ActsPhaseIIRawDataEdmConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5def PhaseIIPixelRawDataContainerCfg(flags, **kwargs) :
6 """
7 supported kwargs:
8 RDOKey:str = 'ITkPixelRDOs' name of the Pixel RDO container that should use the PhaseII container type.
9 """
10 acc = ComponentAccumulator()
11 rdoKey = kwargs.pop("RDOKey","ITkPixelRDOs")
12 AddressRemappingSvc = CompFactory.AddressRemappingSvc(
13 TypeKeyOverwriteMaps = [f"PixelRDO_Container#{rdoKey}->PhaseIIPixelRawDataContainer#{rdoKey}" ]
14 )
15 acc.addService(AddressRemappingSvc)
16
17 ProxyProviderSvc = CompFactory.ProxyProviderSvc(
18 ProviderNames = [ AddressRemappingSvc.name ]
19 )
20 acc.addService(ProxyProviderSvc)
21 return acc