ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self, algorithm, prefix, type) |
def | __getattr__ (self, name) |
def | __setattr__ (self, key, value) |
def | __str__ (self) |
Private Attributes | |
_algorithm | |
_prefix | |
_type | |
_props | |
Standalone Private Tool Configuration This class is used to mimic the behaviour of Athena tool configurable classes. To be able to set the properties of private tools used by dual-use algorithms in a way that's valid for both Athena and EventLoop.
Definition at line 298 of file AnaAlgorithmConfig.py.
def python.AnaAlgorithmConfig.PrivateToolConfig.__init__ | ( | self, | |
algorithm, | |||
prefix, | |||
type | |||
) |
Constructor for an private tool configuration object
Definition at line 306 of file AnaAlgorithmConfig.py.
def python.AnaAlgorithmConfig.PrivateToolConfig.__getattr__ | ( | self, | |
name | |||
) |
Get a previously set property value from the configuration This function allows us to retrieve the value of a tool property that was already set for an algorithm's private tool, to possibly use it in some configuration decisions in the Python code itself. Keyword arguments: name -- The name of the property
Definition at line 317 of file AnaAlgorithmConfig.py.
def python.AnaAlgorithmConfig.PrivateToolConfig.__setattr__ | ( | self, | |
key, | |||
value | |||
) |
Set a tool property on an existing configuration object This function allows us to set/override properties on a private tool of an algorithm configuration object. Allowing for the following syntax: alg = ... alg.Tool.IntProperty = 66 alg.Tool.FloatProperty = 3.141592 alg.Tool.StringProperty = "Foo" Keyword arguments: key -- The key/name of the property value -- The value to set for the property
Definition at line 337 of file AnaAlgorithmConfig.py.
def python.AnaAlgorithmConfig.PrivateToolConfig.__str__ | ( | self | ) |
Print the private tool configuration in a user friendly way This is just to help with debugging configurations, allowing the user to get a nice printout of their job configuration.
Definition at line 366 of file AnaAlgorithmConfig.py.
|
private |
Definition at line 310 of file AnaAlgorithmConfig.py.
|
private |
Definition at line 311 of file AnaAlgorithmConfig.py.
|
private |
Definition at line 313 of file AnaAlgorithmConfig.py.
|
private |
Definition at line 312 of file AnaAlgorithmConfig.py.