ATLAS Offline Software
Loading...
Searching...
No Matches
ActsPhaseIIRawDataEdmConfig Namespace Reference

Functions

 PhaseIIPixelRawDataContainerCfg (flags, **kwargs)
 PhaseIIStripRawDataContainerCfg (flags, **kwargs)

Function Documentation

◆ PhaseIIPixelRawDataContainerCfg()

ActsPhaseIIRawDataEdmConfig.PhaseIIPixelRawDataContainerCfg ( flags,
** kwargs )
supported kwargs:
RDOKey:str = 'ITkPixelRDOs' name of the Pixel RDO container that should use the PhaseII container type.

Definition at line 6 of file ActsPhaseIIRawDataEdmConfig.py.

6def PhaseIIPixelRawDataContainerCfg(flags, **kwargs) :
7 """
8 supported kwargs:
9 RDOKey:str = 'ITkPixelRDOs' name of the Pixel RDO container that should use the PhaseII container type.
10 """
11 acc = ComponentAccumulator()
12 rdoKey = kwargs.pop("RDOKey","ITkPixelRDOs")
13 AddressRemappingSvc = CompFactory.AddressRemappingSvc(
14 TypeKeyOverwriteMaps = [f"PixelRDO_Container#{rdoKey}->PhaseIIPixelRawDataContainer#{rdoKey}" ]
15 )
16 acc.addService(AddressRemappingSvc)
17
18 ProxyProviderSvc = CompFactory.ProxyProviderSvc(
19 ProviderNames = [ AddressRemappingSvc.name ]
20 )
21 acc.addService(ProxyProviderSvc)
22 return acc
23

◆ PhaseIIStripRawDataContainerCfg()

ActsPhaseIIRawDataEdmConfig.PhaseIIStripRawDataContainerCfg ( flags,
** kwargs )
supported kwargs:
RDOKey:str = 'ITkStripRDOs' name of the Strip RDO container that should use the PhaseII container type.

Definition at line 24 of file ActsPhaseIIRawDataEdmConfig.py.

24def PhaseIIStripRawDataContainerCfg(flags, **kwargs) :
25 """
26 supported kwargs:
27 RDOKey:str = 'ITkStripRDOs' name of the Strip RDO container that should use the PhaseII container type.
28 """
29 acc = ComponentAccumulator()
30 rdoKey = kwargs.pop("RDOKey","ITkStripRDOs")
31 AddressRemappingSvc = CompFactory.AddressRemappingSvc(
32 TypeKeyOverwriteMaps = [f"SCT_RDO_Container#{rdoKey}->PhaseIIStripRawDataContainer#{rdoKey}" ]
33 )
34 acc.addService(AddressRemappingSvc)
35
36 ProxyProviderSvc = CompFactory.ProxyProviderSvc(
37 ProviderNames = [ AddressRemappingSvc.name ]
38 )
39 acc.addService(ProxyProviderSvc)
40 return acc