1""" Helpers for configuring the AddressRemappingSvc
3Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
6from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
7from AthenaConfiguration.ComponentFactory
import CompFactory
12 Creates a ComponentAccumulator instance containing the
13 AddressRemappingSvc and other needed services
16 AddressRemappingSvc, ProxyProviderSvc=CompFactory.getComps(
"AddressRemappingSvc",
"ProxyProviderSvc",)
18 acc = ComponentAccumulator()
20 svc.TypeKeyRenameMaps = renameMaps
21 svc.TypeKeyOverwriteMaps = overwriteMaps
29 """ Add a new input renaming.
33 InputRenameCfg ("Foo", "foo", "bar")
35 to rename the object of type Foo named `foo' to `bar'.
37 May also be used to rename dynamic (but NOT static) auxiliary variables:
39 InputRenameCfg ("Foo", "foo.d1", "foo.x1")
41 If both are combined, write it like this:
43 InputRenameCfg ("Foo", "foo", "bar")
44 InputRenameCfg ("Foo", "foo.d1", "bar.x1")
51 """ Add a new type overwrite mapping. """
This class provides the interface to the LCG POOL persistency software.
manages the address providers and add proxies on demand to the store
InputRenameCfg(type, from_name, to_name)
InputOverwriteCfg(from_type, from_name, to_type, to_name)
AddressRemappingCfg(renameMaps=[], overwriteMaps=[])