![]() |
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. | |
n_events = b2luigi.IntParameter() | |
Number of events to generate. | |
random_seed = b2luigi.Parameter() | |
Random basf2 seed. | |
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 277 of file cdc_and_svd_ckf_merger_mva_training.py.
on_success | ( | self | ) |
On success method.
Definition at line 359 of file cdc_and_svd_ckf_merger_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 315 of file cdc_and_svd_ckf_merger_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 301 of file cdc_and_svd_ckf_merger_mva_training.py.
process | ( | self | ) |
When all GenerateSimTasks finished, merge the output.
Definition at line 346 of file cdc_and_svd_ckf_merger_mva_training.py.
remove_output | ( | self | ) |
Default function from base b2luigi.Task class.
Definition at line 371 of file cdc_and_svd_ckf_merger_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 322 of file cdc_and_svd_ckf_merger_mva_training.py.
|
staticinherited |
batch system
Definition at line 177 of file cdc_and_svd_ckf_merger_mva_training.py.
|
static |
Directory with overlay background root files.
Definition at line 294 of file cdc_and_svd_ckf_merger_mva_training.py.
|
static |
Experiment number of the conditions database, e.g.
defines simulation geometry
Definition at line 287 of file cdc_and_svd_ckf_merger_mva_training.py.
|
inherited |
set the job name (inherited variable)
Definition at line 185 of file cdc_and_svd_ckf_merger_mva_training.py.
|
static |
Number of events to generate.
Definition at line 289 of file cdc_and_svd_ckf_merger_mva_training.py.
|
staticinherited |
queue
Definition at line 179 of file cdc_and_svd_ckf_merger_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 292 of file cdc_and_svd_ckf_merger_mva_training.py.