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

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. More...
 
def get_input_files (self, n_events=None, random_seed=None)
 
def requires (self)
 
def output (self)
 
def create_path (self)
 

Static Public Attributes

 n_events = b2luigi.IntParameter()
 Number of events to generate.
 
 experiment_number = b2luigi.IntParameter()
 Experiment number of the conditions database, e.g. More...
 
 random_seed = b2luigi.Parameter()
 Random basf2 seed used by the GenerateSimTask. More...
 
 cdc_training_target = b2luigi.Parameter()
 Feature/variable to use as truth label for the CDC track quality estimator.
 
 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) More...
 
 fast_bdt_option
 Hyperparameter option of the FastBDT algorithm. More...
 
string queue = 'l'
 specify queue. More...
 

Detailed Description

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

Member Function Documentation

◆ create_path()

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

◆ get_input_files()

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

◆ get_records_file_name()

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

◆ output()

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

◆ requires()

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

Definition at line 991 of file combined_quality_estimator_teacher.py.

Member Data Documentation

◆ experiment_number

experiment_number = b2luigi.IntParameter()
static

Experiment number of the conditions database, e.g.

defines simulation geometry

Definition at line 924 of file combined_quality_estimator_teacher.py.

◆ fast_bdt_option

fast_bdt_option
static
Initial value:
= b2luigi.ListParameter(
)

Hyperparameter option of the FastBDT algorithm.

default are the FastBDT default values.

Definition at line 938 of file combined_quality_estimator_teacher.py.

◆ queue

string queue = 'l'
static

specify queue.

E.g. choose between 'l' (long), 's' (short) or 'sx' (short, extra ram)

Definition at line 943 of file combined_quality_estimator_teacher.py.

◆ random_seed

random_seed = b2luigi.Parameter()
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 927 of file combined_quality_estimator_teacher.py.

◆ recotrack_option

recotrack_option
static
Initial value:
= b2luigi.Parameter(
)

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


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