Belle II Software development
|
Public Member Functions | |
def | get_records_file_name (self, n_events=None, random_seed=None, recotrack_option=None) |
Filename of the recorded/collected data for the final QE MVA training. | |
def | get_input_files (self, n_events=None, random_seed=None) |
def | requires (self) |
def | output (self) |
def | create_path (self) |
Static Public Attributes | |
b2luigi | n_events = b2luigi.IntParameter() |
Number of events to generate. | |
b2luigi | experiment_number = b2luigi.IntParameter() |
Experiment number of the conditions database, e.g. | |
b2luigi | random_seed = b2luigi.Parameter() |
Random basf2 seed used by the GenerateSimTask. | |
b2luigi | cdc_training_target = b2luigi.Parameter() |
Feature/variable to use as truth label for the CDC track quality estimator. | |
b2luigi | recotrack_option |
RecoTrack option, use string that is additive: deleteCDCQI0XY (= deletes CDCTracks with CDC-QI below 0.XY), useCDC (= uses trained CDC stored in datafiles/), useVXD (uses trained VXD stored in datafiles/), noVXD (= doesn't use the VXD MVA at all) | |
b2luigi | fast_bdt_option |
Hyperparameter option of the FastBDT algorithm. | |
str | queue = 'l' |
specify queue. | |
Collect variables/features from the reco track reconstruction including the fit and write them to a ROOT file. These variables are to be used as labelled training data for the MVA classifier which is the MVA track quality estimator. The collected variables include the classifier outputs from the VXD and CDC quality estimators, namely the CDC and VXD quality indicators, combined with fit, merger, timing, energy loss information etc. This task requires the subdetector quality estimators to be trained.
Definition at line 911 of file combined_quality_estimator_teacher.py.
def create_path | ( | self | ) |
Create basf2 reconstruction path that should mirror the default path from ``add_tracking_reconstruction()``, but with modules for the VXD QE and CDC QE application and for collection of variables for the reco track quality estimator.
Definition at line 1038 of file combined_quality_estimator_teacher.py.
def get_input_files | ( | self, | |
n_events = None , |
|||
random_seed = None |
|||
) |
Get input file names depending on the use case: If they already exist, search in the corresponding folders, for data check the specified list and if they are created in the same run, check for the task that produced them.
Definition at line 973 of file combined_quality_estimator_teacher.py.
def get_records_file_name | ( | self, | |
n_events = None , |
|||
random_seed = None , |
|||
recotrack_option = None |
|||
) |
Filename of the recorded/collected data for the final QE MVA training.
Create output file name depending on number of events and production mode that is specified in the random_seed string.
Definition at line 951 of file combined_quality_estimator_teacher.py.
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 1031 of file combined_quality_estimator_teacher.py.
def requires | ( | self | ) |
Generate list of luigi Tasks that this Task depends on.
Definition at line 996 of file combined_quality_estimator_teacher.py.
|
static |
Feature/variable to use as truth label for the CDC track quality estimator.
Definition at line 932 of file combined_quality_estimator_teacher.py.
|
static |
Experiment number of the conditions database, e.g.
defines simulation geometry
Definition at line 927 of file combined_quality_estimator_teacher.py.
|
static |
Hyperparameter option of the FastBDT algorithm.
default are the FastBDT default values.
Definition at line 942 of file combined_quality_estimator_teacher.py.
|
static |
Number of events to generate.
Definition at line 925 of file combined_quality_estimator_teacher.py.
|
static |
specify queue.
E.g. choose between 'l' (long), 's' (short) or 'sx' (short, extra ram)
Definition at line 948 of file combined_quality_estimator_teacher.py.
|
static |
Random basf2 seed used by the GenerateSimTask.
It is further used to read of the production process to preserve clearness in the b2luigi output.
Definition at line 930 of file combined_quality_estimator_teacher.py.
|
static |
RecoTrack option, use string that is additive: deleteCDCQI0XY (= deletes CDCTracks with CDC-QI below 0.XY), useCDC (= uses trained CDC stored in datafiles/), useVXD (uses trained VXD stored in datafiles/), noVXD (= doesn't use the VXD MVA at all)
Definition at line 936 of file combined_quality_estimator_teacher.py.