![]() |
Belle II Software development
|
Public Member Functions | |
output_file_name (self, n_events=None, random_seed=None) | |
Name of the ROOT output file with generated and simulated events. | |
output (self) | |
requires (self) | |
process (self) | |
on_success (self) | |
remove_output (self) | |
Public Attributes | |
job_name = self.task_id | |
set the job name (inherited variable) | |
Static Public Attributes | |
experiment_number = b2luigi.IntParameter() | |
Experiment number of the conditions database, e.g. | |
random_seed = b2luigi.Parameter() | |
Random basf2 seed. | |
n_events = b2luigi.IntParameter() | |
Number of events to generate. | |
bkgfiles_dir | |
Directory with overlay background root files. | |
str | batch_system = 'lsf' |
batch system | |
str | queue = 's' |
queue | |
Generate simulated Monte Carlo with background overlay. Make sure to use different ``random_seed`` parameters for the training data format the classifier trainings and for the test data for the respective evaluation/validation tasks.
Definition at line 289 of file combined_to_pxd_ckf_mva_training.py.
on_success | ( | self | ) |
On success method.
Definition at line 371 of file combined_to_pxd_ckf_mva_training.py.
output | ( | self | ) |
Generate list of output files that the task should produce. The task is considered finished if and only if the outputs all exist.
Definition at line 327 of file combined_to_pxd_ckf_mva_training.py.
output_file_name | ( | self, | |
n_events = None, | |||
random_seed = None ) |
Name of the ROOT output file with generated and simulated events.
Create output file name depending on number of events and production mode that is specified in the random_seed string. :param n_events: Number of events to simulate. :param random_seed: Random seed to use for the simulation to create independent samples.
Definition at line 313 of file combined_to_pxd_ckf_mva_training.py.
process | ( | self | ) |
When all GenerateSimTasks finished, merge the output.
Definition at line 358 of file combined_to_pxd_ckf_mva_training.py.
remove_output | ( | self | ) |
Default function from base b2luigi.Task class.
Definition at line 383 of file combined_to_pxd_ckf_mva_training.py.
requires | ( | self | ) |
This task requires several GenerateSimTask to be finished so that he required number of events is created.
Definition at line 334 of file combined_to_pxd_ckf_mva_training.py.
|
staticinherited |
batch system
Definition at line 189 of file combined_to_pxd_ckf_mva_training.py.
|
static |
Directory with overlay background root files.
Definition at line 306 of file combined_to_pxd_ckf_mva_training.py.
|
static |
Experiment number of the conditions database, e.g.
defines simulation geometry
Definition at line 299 of file combined_to_pxd_ckf_mva_training.py.
|
inherited |
set the job name (inherited variable)
Definition at line 197 of file combined_to_pxd_ckf_mva_training.py.
|
static |
Number of events to generate.
Definition at line 304 of file combined_to_pxd_ckf_mva_training.py.
|
staticinherited |
queue
Definition at line 191 of file combined_to_pxd_ckf_mva_training.py.
|
static |
Random basf2 seed.
It is further used to read of the production process to preserve clearness in the b2luigi output.
Definition at line 302 of file combined_to_pxd_ckf_mva_training.py.