1 """ Helpers for configuring the AddressRemappingSvc
3 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
6 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
7 from AthenaConfiguration.ComponentFactory
import CompFactory
12 Creates a ComponentAccumulator instance containing the
13 AddressRemappingSvc and other needed services
16 AddressRemappingSvc, ProxyProviderSvc=CompFactory.getComps(
"AddressRemappingSvc",
"ProxyProviderSvc",)
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. """