![]() |
ATLAS Offline Software
|
Schedule algorithms in appropriate order. More...
Public Member Functions | |
def | __init__ (self) |
Constructor. More... | |
def | add (self, name, *args) |
Add a component to the sequence. More... | |
def | print_structure (self) |
Print the sequence to the logger. More... | |
def | run_preprocessors (self) |
Run all preprocessors in order. More... | |
def | run_generators (self) |
Run all event generators in order. More... | |
def | run_postprocessors (self) |
Run all postprocessors in order. More... | |
Public Attributes | |
sequence | |
Sequence of functions to run. More... | |
Static Public Attributes | |
string | powheg_LHE_output = "pwgevents.lhe" |
Name of PowhegBox output LHE events. More... | |
list | ordered_preprocessors = ["directory cleaner", "reweighter"] |
Preprocessing evaluation order. More... | |
list | ordered_event_generators = ["singlecore", "multicore", "merge output", "output validation"] |
Event generation evaluation order. More... | |
list | ordered_postprocessors |
Postprocessing evaluation order. More... | |
dictionary | preprocessor_fn_dict |
Map preprocessing names to functions. More... | |
dictionary | generator_fn_dict |
Map event generation names to functions. More... | |
dictionary | postprocessor_fn_dict |
Map postprocessing names to functions. More... | |
Schedule algorithms in appropriate order.
Definition at line 14 of file scheduler.py.
def python.algorithms.scheduler.Scheduler.__init__ | ( | self | ) |
def python.algorithms.scheduler.Scheduler.add | ( | self, | |
name, | |||
* | args | ||
) |
Add a component to the sequence.
name | name of component to add. |
args | arguments to pass to this component when it runs. |
Definition at line 94 of file scheduler.py.
def python.algorithms.scheduler.Scheduler.print_structure | ( | self | ) |
Print the sequence to the logger.
Definition at line 112 of file scheduler.py.
def python.algorithms.scheduler.Scheduler.run_generators | ( | self | ) |
Run all event generators in order.
Definition at line 130 of file scheduler.py.
def python.algorithms.scheduler.Scheduler.run_postprocessors | ( | self | ) |
Run all postprocessors in order.
Definition at line 135 of file scheduler.py.
def python.algorithms.scheduler.Scheduler.run_preprocessors | ( | self | ) |
Run all preprocessors in order.
Definition at line 125 of file scheduler.py.
|
static |
Map event generation names to functions.
Definition at line 56 of file scheduler.py.
|
static |
Event generation evaluation order.
Definition at line 27 of file scheduler.py.
|
static |
Postprocessing evaluation order.
Definition at line 30 of file scheduler.py.
|
static |
Preprocessing evaluation order.
Definition at line 24 of file scheduler.py.
|
static |
Map postprocessing names to functions.
Definition at line 64 of file scheduler.py.
|
static |
Name of PowhegBox output LHE events.
Definition at line 21 of file scheduler.py.
|
static |
Map preprocessing names to functions.
Definition at line 50 of file scheduler.py.
python.algorithms.scheduler.Scheduler.sequence |
Sequence of functions to run.
Definition at line 87 of file scheduler.py.