![]() |
Belle II Software development
|
Public Member Functions | |
| TrackQETeacherBaseTask | teacher_task (self) |
Teacher task to require to provide a quality estimator weightfile for add_tracking_with_quality_estimation | |
| Basf2PathTask | data_collection_task (self) |
| task_acronym (self) | |
| requires (self) | |
| output (self) | |
| run (self) | |
Public Attributes | |
| teacher_task = None | |
| Task that is required by the evaluation base class to create the MVA weightfile that needs to be evaluated. | |
Static Public Attributes | |
| git_hash | |
| Use git hash / release of basf2 version as additional luigi parameter. | |
| n_events_testing = b2luigi.IntParameter() | |
| Number of events to generate for the test data set. | |
| n_events_training = b2luigi.IntParameter() | |
| Number of events to generate for the training data set. | |
| experiment_number = b2luigi.IntParameter() | |
| Experiment number of the conditions database, e.g. | |
| process_type | |
| Define which kind of process shall be used. | |
| training_target | |
| Feature/variable to use as truth label in the quality estimator MVA classifier. | |
| exclude_variables | |
| List of collected variables to not use in the training of the QE MVA classifier. | |
| fast_bdt_option | |
| Hyperparameter options for the FastBDT algorithm. | |
Base class for evaluating a quality estimator ``basf2_mva_evaluate.py`` on a separate test data set. Evaluation tasks for VXD, CDC and combined QE can inherit from it.
Definition at line 1878 of file combined_quality_estimator_teacher.py.
| Basf2PathTask data_collection_task | ( | self | ) |
Property defining the specific ``DataCollectionTask`` to require. Must implemented by the inheriting specific teacher task class.
Definition at line 1941 of file combined_quality_estimator_teacher.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 2002 of file combined_quality_estimator_teacher.py.
| requires | ( | self | ) |
Generate list of luigi Tasks that this Task depends on.
Reimplemented in RecoTrackQEEvaluationTask.
Definition at line 1959 of file combined_quality_estimator_teacher.py.
| run | ( | self | ) |
Run ``basf2_mva_evaluate.py`` subprocess to evaluate QE MVA. The MVA weight file created from training on the training data set is evaluated on separate test data.
Definition at line 2011 of file combined_quality_estimator_teacher.py.
| task_acronym | ( | self | ) |
Acronym to distinguish between cdc, vxd and rec(o) MVA
Definition at line 1951 of file combined_quality_estimator_teacher.py.
| TrackQETeacherBaseTask teacher_task | ( | self | ) |
Teacher task to require to provide a quality estimator weightfile for add_tracking_with_quality_estimation
Property defining specific teacher task to require.
Definition at line 1932 of file combined_quality_estimator_teacher.py.
|
static |
List of collected variables to not use in the training of the QE MVA classifier.
In addition to variables containing the "truth" substring, which are excluded by default.
Definition at line 1918 of file combined_quality_estimator_teacher.py.
|
static |
Experiment number of the conditions database, e.g.
defines simulation geometry
Definition at line 1901 of file combined_quality_estimator_teacher.py.
|
static |
Hyperparameter options for the FastBDT algorithm.
Definition at line 1924 of file combined_quality_estimator_teacher.py.
|
static |
Use git hash / release of basf2 version as additional luigi parameter.
This parameter is already set in all other tasks that inherit from Basf2Task. For this task, I decided against inheriting from Basf2Task because it already calls a subprocess and therefore does not need a dispatchable process method.
Definition at line 1891 of file combined_quality_estimator_teacher.py.
|
static |
Number of events to generate for the test data set.
Definition at line 1897 of file combined_quality_estimator_teacher.py.
|
static |
Number of events to generate for the training data set.
Definition at line 1899 of file combined_quality_estimator_teacher.py.
|
static |
Define which kind of process shall be used.
Decide between simulating BBBAR or BHABHA, MUMU, YY, DDBAR, UUBAR, SSBAR, CCBAR, reconstructing DATA or already simulated files (USESIMBB/EE) or running on existing reconstructed files (USERECBB/EE)
Definition at line 1905 of file combined_quality_estimator_teacher.py.
| teacher_task = None |
Task that is required by the evaluation base class to create the MVA weightfile that needs to be evaluated.
Definition at line 2038 of file combined_quality_estimator_teacher.py.
|
static |
Feature/variable to use as truth label in the quality estimator MVA classifier.
Definition at line 1911 of file combined_quality_estimator_teacher.py.