ATLAS Offline Software
|
Base class for substep arguments. More...
Public Member Functions | |
def | __init__ (self, value=None, runarg=True, name=None, defaultSubstep='all', separator=':') |
argSubstep constructor More... | |
def | value (self) |
Return argument value. More... | |
def | value (self, value) |
Set argument value. More... | |
def | returnMyValue (self, name=None, substep=None, first=False, exe=None) |
Return the value of this substep arg for an executor with the given parameters. More... | |
def | prodsysDescription (self) |
def | isRunarg (self) |
Return runarg status. More... | |
def | name (self) |
Name getter. More... | |
def | name (self, value) |
Name setter. More... | |
def | __str__ (self) |
String conversion of our value. More... | |
def | __repr__ (self) |
Repr conversion of our value. More... | |
def | __eq__ (self, other) |
Comparison is based on value attribute. More... | |
def | __nq__ (self, other) |
def | __lt__ (self, other) |
def | __gt__ (self, other) |
Public Attributes | |
value | |
Private Member Functions | |
def | _parseStringAsSubstep (self, string) |
Parse a string for substep:value format. More... | |
Private Attributes | |
_defaultSubstep | |
_separator | |
_value | |
_runarg | |
_name | |
Base class for substep arguments.
Sets up a dictionary with {substep1: value1, substep2: value2, ...} In this base class we don't put any restructions on the values - they will be specialised in children.
Definition at line 1926 of file trfArgClasses.py.
def python.trfArgClasses.argSubstep.__init__ | ( | self, | |
value = None , |
|||
runarg = True , |
|||
name = None , |
|||
defaultSubstep = 'all' , |
|||
separator = ':' |
|||
) |
argSubstep constructor
defaultSubstep | Default substep to use when no specific substep has been given - this should be set to first for arguments that apply, by default, to the first executor in the chain (e.g., maxEvents ) |
Reimplemented in python.trfArgClasses.argSubstepFloat.
Definition at line 1931 of file trfArgClasses.py.
|
inherited |
Comparison is based on value attribute.
Definition at line 161 of file trfArgClasses.py.
|
inherited |
Definition at line 170 of file trfArgClasses.py.
|
inherited |
Definition at line 167 of file trfArgClasses.py.
|
inherited |
Definition at line 164 of file trfArgClasses.py.
|
inherited |
Repr conversion of our value.
Reimplemented in python.trfArgClasses.argList.
Definition at line 157 of file trfArgClasses.py.
|
inherited |
String conversion of our value.
Reimplemented in python.trfArgClasses.argFile, python.trfArgClasses.argKeyFloatValueList, python.trfArgClasses.argIntList, python.trfArgClasses.argList, and python.trfArgClasses.argString.
Definition at line 153 of file trfArgClasses.py.
|
private |
Parse a string for substep:value format.
If the string matches the substep specifier regexp then we return the two parts; if not then the substep is returned as self._defaultSubstep
, with the entire string passed back as the value
string | The string which should be parsed |
Reimplemented in python.trfArgClasses.argSubstepList.
Definition at line 1967 of file trfArgClasses.py.
|
inherited |
Return runarg status.
Definition at line 134 of file trfArgClasses.py.
|
inherited |
Name getter.
Reimplemented in python.trfArgClasses.argFile.
Definition at line 139 of file trfArgClasses.py.
|
inherited |
Name setter.
Reimplemented in python.trfArgClasses.argFile.
Definition at line 144 of file trfArgClasses.py.
def python.trfArgClasses.argSubstep.prodsysDescription | ( | self | ) |
Reimplemented from python.trfArgClasses.argument.
Reimplemented in python.trfArgClasses.argSubstepConditions, python.trfArgClasses.argSubstepSteering, python.trfArgClasses.argSubstepFloat, python.trfArgClasses.argSubstepInt, python.trfArgClasses.argSubstepBool, python.trfArgClasses.argSubstepString, and python.trfArgClasses.argSubstepList.
Definition at line 2025 of file trfArgClasses.py.
def python.trfArgClasses.argSubstep.returnMyValue | ( | self, | |
name = None , |
|||
substep = None , |
|||
first = False , |
|||
exe = None |
|||
) |
Return the value of this substep arg for an executor with the given parameters.
name | Executor name |
substep | Executor substep nickname |
first | Boolean flag set true if this is the first executor in the chain |
exe | Executor instance, from which 'name', 'substep' and 'first' can be taken. |
Definition at line 1987 of file trfArgClasses.py.
def python.trfArgClasses.argSubstep.value | ( | self | ) |
Return argument value.
Reimplemented from python.trfArgClasses.argument.
Reimplemented in python.trfArgClasses.argSubstepConditions, python.trfArgClasses.argSubstepSteering, python.trfArgClasses.argSubstepFloat, python.trfArgClasses.argSubstepInt, python.trfArgClasses.argSubstepBool, python.trfArgClasses.argSubstepString, and python.trfArgClasses.argSubstepList.
Definition at line 1938 of file trfArgClasses.py.
def python.trfArgClasses.argSubstep.value | ( | self, | |
value | |||
) |
Set argument value.
Reimplemented from python.trfArgClasses.argument.
Reimplemented in python.trfArgClasses.argSubstepConditions, python.trfArgClasses.argSubstepSteering, python.trfArgClasses.argSubstepFloat, python.trfArgClasses.argSubstepInt, python.trfArgClasses.argSubstepBool, python.trfArgClasses.argSubstepString, and python.trfArgClasses.argSubstepList.
Definition at line 1943 of file trfArgClasses.py.
|
private |
Definition at line 1932 of file trfArgClasses.py.
|
privateinherited |
Definition at line 111 of file trfArgClasses.py.
|
privateinherited |
Definition at line 110 of file trfArgClasses.py.
|
private |
Definition at line 1933 of file trfArgClasses.py.
|
private |
Definition at line 1946 of file trfArgClasses.py.
|
inherited |
@value
.setter function! Definition at line 118 of file trfArgClasses.py.