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

Public Member Functions

def requires (self)
 
TrackQETeacherBaseTask teacher_task (self)
 
Basf2PathTask data_collection_task (self)
 
def task_acronym (self)
 
def output (self)
 
def run (self)
 

Static Public Attributes

 teacher_task = RecoTrackQETeacherTask
 Task that is required by the evaluation base class to create the MVA weightfile that needs to be evaluated.
 
 data_collection_task = RecoTrackQEDataCollectionTask
 Task that is required by the evaluation base class to collect the test data for the evaluation.
 
string task_acronym = 'rec'
 Acronym that is required by the evaluation base class to find the correct collection task file.
 
 cdc_training_target = b2luigi.Parameter()
 Feature/variable to use as truth label for the CDC track quality estimator.
 
 git_hash
 Use git hash / release of basf2 version as additional luigi parameter. More...
 
 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. More...
 
 process_type
 Define which kind of process shall be used. More...
 
 training_target
 Feature/variable to use as truth label in the quality estimator MVA classifier. More...
 
 exclude_variables
 List of collected variables to not use in the training of the QE MVA classifier. More...
 
 fast_bdt_option
 Hyperparameter options for the FastBDT algorithm. More...
 

Detailed Description

Run ``basf2_mva_evaluate.py`` for the final, combined quality estimator on
separate test data

Definition at line 1949 of file combined_quality_estimator_teacher.py.

Member Function Documentation

◆ data_collection_task()

Basf2PathTask data_collection_task (   self)
inherited
Property defining the specific ``DataCollectionTask`` to require.  Must
implemented by the inheriting specific teacher task class.

Definition at line 1793 of file combined_quality_estimator_teacher.py.

◆ output()

def output (   self)
inherited
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 1840 of file combined_quality_estimator_teacher.py.

◆ requires()

def requires (   self)
Generate list of luigi Tasks that this Task depends on.

Reimplemented from TrackQEEvaluationBaseTask.

Definition at line 1966 of file combined_quality_estimator_teacher.py.

◆ run()

def run (   self)
inherited
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 1850 of file combined_quality_estimator_teacher.py.

◆ task_acronym()

def task_acronym (   self)
inherited
Acronym to distinguish between cdc, vxd and rec(o) MVA

Definition at line 1803 of file combined_quality_estimator_teacher.py.

◆ teacher_task()

TrackQETeacherBaseTask teacher_task (   self)
inherited
Property defining specific teacher task to require.

Definition at line 1784 of file combined_quality_estimator_teacher.py.

Member Data Documentation

◆ exclude_variables

exclude_variables
staticinherited
Initial value:
= b2luigi.ListParameter(
)

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 1773 of file combined_quality_estimator_teacher.py.

◆ experiment_number

experiment_number = b2luigi.IntParameter()
staticinherited

Experiment number of the conditions database, e.g.

defines simulation geometry

Definition at line 1758 of file combined_quality_estimator_teacher.py.

◆ fast_bdt_option

fast_bdt_option
staticinherited
Initial value:
= b2luigi.ListParameter(
)

Hyperparameter options for the FastBDT algorithm.

Definition at line 1778 of file combined_quality_estimator_teacher.py.

◆ git_hash

git_hash
staticinherited
Initial value:
= b2luigi.Parameter(
)

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 1749 of file combined_quality_estimator_teacher.py.

◆ process_type

process_type
staticinherited
Initial value:
= b2luigi.Parameter(
)

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 1762 of file combined_quality_estimator_teacher.py.

◆ training_target

training_target
staticinherited
Initial value:
= b2luigi.Parameter(
)

Feature/variable to use as truth label in the quality estimator MVA classifier.

Definition at line 1767 of file combined_quality_estimator_teacher.py.


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