Helpers for configuring the AddressRemappingSvc
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
def AddressRemappingConfig.InputRenameCfg |
( |
|
type, |
|
|
|
from_name, |
|
|
|
to_name |
|
) |
| |
Add a new input renaming.
For example:
InputRenameCfg ("Foo", "foo", "bar")
to rename the object of type Foo named `foo' to `bar'.
May also be used to rename dynamic (but NOT static) auxiliary variables:
InputRenameCfg ("Foo", "foo.d1", "foo.x1")
If both are combined, write it like this:
InputRenameCfg ("Foo", "foo", "bar")
InputRenameCfg ("Foo", "foo.d1", "bar.x1")
Definition at line 28 of file AddressRemappingConfig.py.
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")