Belle II Software  release-08-01-10
SplitNMergeSimTask Class Reference
Inheritance diagram for SplitNMergeSimTask:
Collaboration diagram for SplitNMergeSimTask:

Public Member Functions

def output_file_name (self, n_events=None, random_seed=None)
 Name of the ROOT output file with generated and simulated events. More...
 
def output (self)
 
def requires (self)
 
def process (self)
 

Static Public Attributes

 experiment_number = b2luigi.IntParameter()
 Experiment number of the conditions database, e.g. More...
 
 random_seed = b2luigi.Parameter()
 Random basf2 seed. More...
 
 n_events = b2luigi.IntParameter()
 Number of events to generate.
 
 bkgfiles_dir
 Directory with overlay background root files. More...
 
string queue = 'sx'
 specify queue. More...
 

Detailed Description

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 251 of file combined_to_pxd_ckf_mva_training.py.

Member Function Documentation

◆ output()

def 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 290 of file combined_to_pxd_ckf_mva_training.py.

◆ output_file_name()

def 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 276 of file combined_to_pxd_ckf_mva_training.py.

◆ process()

def process (   self)
When all GenerateSimTasks finished, merge the output.

Definition at line 321 of file combined_to_pxd_ckf_mva_training.py.

◆ requires()

def requires (   self)
This task requires several GenerateSimTask to be finished so that he required number of events is created.

Definition at line 297 of file combined_to_pxd_ckf_mva_training.py.

Member Data Documentation

◆ bkgfiles_dir

bkgfiles_dir
static
Initial value:
= b2luigi.Parameter(
)

Directory with overlay background root files.

Definition at line 268 of file combined_to_pxd_ckf_mva_training.py.

◆ experiment_number

experiment_number = b2luigi.IntParameter()
static

Experiment number of the conditions database, e.g.

defines simulation geometry

Definition at line 261 of file combined_to_pxd_ckf_mva_training.py.

◆ queue

string queue = 'sx'
static

specify queue.

E.g. choose between 'l' (long), 's' (short) or 'sx' (short, extra ram)

Definition at line 273 of file combined_to_pxd_ckf_mva_training.py.

◆ random_seed

random_seed = b2luigi.Parameter()
static

Random basf2 seed.

It is further used to read of the production process to preserve clearness in the b2luigi output.

Definition at line 264 of file combined_to_pxd_ckf_mva_training.py.


The documentation for this class was generated from the following file: