Belle II Software  release-05-01-25
CDCQEHarvestingValidationTask Class Reference
Inheritance diagram for CDCQEHarvestingValidationTask:
Collaboration diagram for CDCQEHarvestingValidationTask:

Public Member Functions

def requires (self)
 
def add_tracking_with_quality_estimation (self, path)
 
TrackQETeacherBaseTask teacher_task (self)
 
None add_tracking_with_quality_estimation (self, basf2.Path path)
 
def output (self)
 
def create_path (self)
 

Static Public Attributes

 training_target = b2luigi.Parameter()
 Feature/variable to use as truth label in the quality estimator MVA classifier.
 
string validation_output_file_name = "cdc_qe_harvesting_validation.root"
 Name of the "harvested" ROOT output file with variables that can be used for validation.
 
string reco_output_file_name = "cdc_qe_reconstruction.root"
 Name of the output of the RootOutput module with reconstructed events.
 
 teacher_task = CDCQETeacherTask
 Teacher task to require to provide a quality estimator weightfile for add_tracking_with_quality_estimation
 
 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 = b2luigi.Parameter(default="BBBAR")
 Define which kind of process shall be used. More...
 
 exclude_variables = b2luigi.ListParameter(hashed=True)
 List of collected variables to not use in the training of the QE MVA classifier. More...
 
 fast_bdt_option = b2luigi.ListParameter(hashed=True, default=[200, 8, 3, 0.1])
 Hyperparameter option of the FastBDT algorithm. More...
 
 components = None
 Components for the MC matching and track fit creation.
 

Detailed Description

Run CDC reconstruction and write out (="harvest") a root file with variables
useful for validation of the CDC Quality Estimator.

Definition at line 1400 of file combined_quality_estimator_teacher.py.

Member Function Documentation

◆ add_tracking_with_quality_estimation() [1/2]

None add_tracking_with_quality_estimation (   self,
basf2.Path  path 
)
inherited
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.

Definition at line 1277 of file combined_quality_estimator_teacher.py.

◆ add_tracking_with_quality_estimation() [2/2]

def add_tracking_with_quality_estimation (   self,
  path 
)
Add modules for CDC standalone tracking with CDC quality estimator to basf2 path.

Definition at line 1443 of file combined_quality_estimator_teacher.py.

◆ create_path()

def create_path (   self)
inherited
Create a basf2 path that uses ``add_tracking_with_quality_estimation()``
and adds the ``CombinedTrackingValidationModule`` to write out variables
for validation.

Definition at line 1320 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 1312 of file combined_quality_estimator_teacher.py.

◆ requires()

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

Reimplemented from HarvestingValidationBaseTask.

Definition at line 1415 of file combined_quality_estimator_teacher.py.

◆ teacher_task()

TrackQETeacherBaseTask teacher_task (   self)
inherited
Teacher task to require to provide a quality estimator weightfile for ``add_tracking_with_quality_estimation``

Definition at line 1271 of file combined_quality_estimator_teacher.py.

Member Data Documentation

◆ exclude_variables

exclude_variables = b2luigi.ListParameter(hashed=True)
staticinherited

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

◆ fast_bdt_option

fast_bdt_option = b2luigi.ListParameter(hashed=True, default=[200, 8, 3, 0.1])
staticinherited

Hyperparameter option of the FastBDT algorithm.

default are the FastBDT default values.

Definition at line 1262 of file combined_quality_estimator_teacher.py.

◆ process_type

process_type = b2luigi.Parameter(default="BBBAR")
staticinherited

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


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