Belle II Software development
|
Public Member Functions | |
def | __init__ (self, result_queue, log_file_name, parameters, path, random_seed=None, max_event=0) |
def | prepare (self) |
def | initialize_output (self) |
def | start_process (self) |
Public Attributes | |
random_seed | |
Random seed to set. | |
path | |
Path to process. | |
max_event | |
The maximum number of events to process. | |
is_valid | |
Set is_valid to false to not show this process in any listings. | |
Overload implementation of the HEPProcess with the correct handling of the path calculation.
Definition at line 17 of file calculation_process.py.
def __init__ | ( | self, | |
result_queue, | |||
log_file_name, | |||
parameters, | |||
path, | |||
random_seed = None , |
|||
max_event = 0 |
|||
) |
Create a new basf2 calculation process.
Reimplemented from CalculationProcess.
Definition at line 23 of file calculation_process.py.
def initialize_output | ( | self | ) |
Make sure all output by python and or C is written to the same output file
Definition at line 50 of file calculation_process.py.
def prepare | ( | self | ) |
A function to prepare a path with the modules given in path.
Reimplemented from CalculationProcess.
Definition at line 35 of file calculation_process.py.
def start_process | ( | self | ) |
The function given to the process to start the calculation. Do not call by yourself. Resets the logging system, logs onto console and a file and sets the queues (the result queue and the process queue) correctly.
Reimplemented from CalculationProcess.
Definition at line 70 of file calculation_process.py.
is_valid |
Set is_valid to false to not show this process in any listings.
Definition at line 48 of file calculation_process.py.
max_event |
The maximum number of events to process.
Leave 0 to process al events
Definition at line 30 of file calculation_process.py.
path |
Path to process.
Definition at line 28 of file calculation_process.py.
random_seed |