Belle II Software development
|
Public Member Functions | |
TrackQETeacherBaseTask | teacher_task (self) |
None | add_tracking_with_quality_estimation (self, basf2.Path path) |
def | requires (self) |
def | output (self) |
def | create_path (self) |
Static Public Attributes | |
b2luigi | n_events_testing = b2luigi.IntParameter() |
Number of events to generate for the test data set. | |
b2luigi | n_events_training = b2luigi.IntParameter() |
Number of events to generate for the training data set. | |
b2luigi | experiment_number = b2luigi.IntParameter() |
Experiment number of the conditions database, e.g. | |
b2luigi | process_type |
Define which kind of process shall be used. | |
b2luigi | exclude_variables |
List of collected variables to not use in the training of the QE MVA classifier. | |
b2luigi | fast_bdt_option |
Hyperparameter option of the FastBDT algorithm. | |
str | validation_output_file_name = "harvesting_validation.root" |
Name of the "harvested" ROOT output file with variables that can be used for validation. | |
str | reco_output_file_name = "reconstruction.root" |
Name of the output of the RootOutput module with reconstructed events. | |
None | components = None |
Components for the MC matching and track fit creation. | |
Run track reconstruction with MVA quality estimator and write out (="harvest") a root file with variables useful for the validation.
Definition at line 1411 of file combined_quality_estimator_teacher.py.
None add_tracking_with_quality_estimation | ( | self, | |
basf2.Path | path | ||
) |
Add modules for track reconstruction to basf2 path that are to be validated. Besides track finding it should include MC matching, fitted track creation and a quality estimator module.
Reimplemented in VXDQEHarvestingValidationTask, CDCQEHarvestingValidationTask, and RecoTrackQEHarvestingValidationTask.
Definition at line 1458 of file combined_quality_estimator_teacher.py.
def create_path | ( | self | ) |
Create a basf2 path that uses ``add_tracking_with_quality_estimation()`` and adds the ``CombinedTrackingValidationModule`` to write out variables for validation.
Definition at line 1501 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 1493 of file combined_quality_estimator_teacher.py.
def requires | ( | self | ) |
Generate list of luigi Tasks that this Task depends on.
Reimplemented in CDCQEHarvestingValidationTask, and RecoTrackQEHarvestingValidationTask.
Definition at line 1466 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``
Definition at line 1452 of file combined_quality_estimator_teacher.py.
|
static |
Components for the MC matching and track fit creation.
Definition at line 1449 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 1433 of file combined_quality_estimator_teacher.py.
|
static |
Experiment number of the conditions database, e.g.
defines simulation geometry
Definition at line 1422 of file combined_quality_estimator_teacher.py.
|
static |
Hyperparameter option of the FastBDT algorithm.
default are the FastBDT default values.
Definition at line 1439 of file combined_quality_estimator_teacher.py.
|
static |
Number of events to generate for the test data set.
Definition at line 1418 of file combined_quality_estimator_teacher.py.
|
static |
Number of events to generate for the training data set.
Definition at line 1420 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 1426 of file combined_quality_estimator_teacher.py.
|
static |
Name of the output of the RootOutput module with reconstructed events.
Definition at line 1447 of file combined_quality_estimator_teacher.py.
|
static |
Name of the "harvested" ROOT output file with variables that can be used for validation.
Definition at line 1445 of file combined_quality_estimator_teacher.py.