ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsConfig
python
ActsPhaseIIRawDataEdmConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
4
from
AthenaConfiguration.ComponentFactory
import
CompFactory
5
6
def
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
24
def
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
ActsPhaseIIRawDataEdmConfig.PhaseIIStripRawDataContainerCfg
PhaseIIStripRawDataContainerCfg(flags, **kwargs)
Definition
ActsPhaseIIRawDataEdmConfig.py:24
ActsPhaseIIRawDataEdmConfig.PhaseIIPixelRawDataContainerCfg
PhaseIIPixelRawDataContainerCfg(flags, **kwargs)
Definition
ActsPhaseIIRawDataEdmConfig.py:6
Generated on
for ATLAS Offline Software by
1.17.0