![]() |
Belle II Software
release-08-02-05
|


Public Member Functions | |
| def | __init__ (self) |
| def | AddOptionValue (self, option, value, substitute=False) |
| def | IncreaseOptionValue (self, option, value) |
| def | Close (self) |
| def | OptionFileName (self) |
| def | SetFileName (self, filename) |
| def | Open (self) |
| def | Write (self, lines) |
| def | WriteHeader (self, eventtype, descriptor) |
| def | AddExtraOptions (self, eventtype) |
| def | AddEventTypeNumber (self, eventtype) |
| def | AddEvtGenUserDecayFile (self, eventtype) |
| def | AddDecayOptions (self, eventtype) |
Public Attributes | |
| list_algorithm | |
| list of algorithms | |
| list_tool | |
| list of tools | |
| filename | |
| name of the file | |
| f | |
| alternative name of the file | |
Static Public Attributes | |
| string | comment = '#' |
| comment string | |
| string | suffix = '.py' |
| suffix string | |
| string | true_string = 'True' |
| true string | |
| string | list_begin = '[' |
| open list parenthesis | |
| string | list_end = ']' |
| close list parenthesis | |
Class to read generic option file in .py format.
Attributes:
comment comment string
suffix suffix string
true_string true string
list_begin open list parenthesis
list_end close list parenthesis
Definition at line 178 of file CreateProdScripts.py.
| def __init__ | ( | self | ) |
Constructor.
Attributes:
list_algorithm list of algorithms
list_tool list of tools
Reimplemented from GenericOptionFile.
Definition at line 202 of file CreateProdScripts.py.
|
inherited |
Specify options for .dec file.
Definition at line 125 of file CreateProdScripts.py.
|
inherited |
Adds the Event Type Number.
Definition at line 112 of file CreateProdScripts.py.
|
inherited |
Set the EvtGen .dec file.
Definition at line 118 of file CreateProdScripts.py.
|
inherited |
Adds extra options.
Definition at line 106 of file CreateProdScripts.py.
| def AddOptionValue | ( | self, | |
| option, | |||
| value, | |||
substitute = False |
|||
| ) |
Add option string.
Definition at line 216 of file CreateProdScripts.py.
|
inherited |
Close file.
Definition at line 57 of file CreateProdScripts.py.
| def IncreaseOptionValue | ( | self, | |
| option, | |||
| value | |||
| ) |
Add option string.
Definition at line 227 of file CreateProdScripts.py.
|
inherited |
Open file.
Definition at line 76 of file CreateProdScripts.py.
|
inherited |
Set option file name.
Definition at line 64 of file CreateProdScripts.py.
|
inherited |
Set file name.
Definition at line 70 of file CreateProdScripts.py.
|
inherited |
Write the lines in the file.
Definition at line 83 of file CreateProdScripts.py.
|
inherited |
Write header of .dec file.
Definition at line 90 of file CreateProdScripts.py.