ATLAS Offline Software
|
Class for any process which can be configured. More...
Public Member Functions | |
def | __init__ (self) |
Constructor. More... | |
def | add_keyword (self, keyword, value=None, name=None, frozen=None, hidden=None, description=None, **kwargs) |
Register configurable parameter that is exposed to the user. More... | |
def | expose (self) |
Add all names to the interface of this object. More... | |
def | has_keyword (self, keyword) |
def | has_parameter (self, parameter) |
def | parameters_by_keyword (self, keyword) |
Retrieve all parameters that use a given keyword. More... | |
def | parameters_by_name (self, name) |
Retrieve all parameters that use a given name. More... | |
Public Attributes | |
parameters | |
List of available parameters. More... | |
Class for any process which can be configured.
Definition at line 10 of file configurable.py.
def python.processes.configurable.Configurable.__init__ | ( | self | ) |
Constructor.
Definition at line 16 of file configurable.py.
def python.processes.configurable.Configurable.add_keyword | ( | self, | |
keyword, | |||
value = None , |
|||
name = None , |
|||
frozen = None , |
|||
hidden = None , |
|||
description = None , |
|||
** | kwargs | ||
) |
Register configurable parameter that is exposed to the user.
keyword | Powheg keyword that gets written to the runcard. |
value | Value of the parameter. |
name | Configurable parameter name exposed to the user. |
hidden | True if this parameter should be hidden from the user. |
frozen | True if this parameter cannot be changed. |
description | Description for the run card. |
parameter | Name used in the run card if different. |
Definition at line 21 of file configurable.py.
def python.processes.configurable.Configurable.expose | ( | self | ) |
def python.processes.configurable.Configurable.has_keyword | ( | self, | |
keyword | |||
) |
Definition at line 51 of file configurable.py.
def python.processes.configurable.Configurable.has_parameter | ( | self, | |
parameter | |||
) |
Definition at line 54 of file configurable.py.
def python.processes.configurable.Configurable.parameters_by_keyword | ( | self, | |
keyword | |||
) |
Retrieve all parameters that use a given keyword.
keyword | Powheg keyword that gets written to the runcard. |
Definition at line 57 of file configurable.py.
def python.processes.configurable.Configurable.parameters_by_name | ( | self, | |
name | |||
) |
Retrieve all parameters that use a given name.
name | Configurable parameter name exposed to the user. |
Definition at line 64 of file configurable.py.
python.processes.configurable.Configurable.parameters |
List of available parameters.
Definition at line 19 of file configurable.py.