Belle II Software development
RecoTrackQEEvaluationTask Class Reference
Inheritance diagram for RecoTrackQEEvaluationTask:
TrackQEEvaluationBaseTask

Public Member Functions

def requires (self)
 

Static Public Attributes

RecoTrackQETeacherTask teacher_task = RecoTrackQETeacherTask
 Task that is required by the evaluation base class to create the MVA weightfile that needs to be evaluated.
 
RecoTrackQEDataCollectionTask data_collection_task = RecoTrackQEDataCollectionTask
 Task that is required by the evaluation base class to collect the test data for the evaluation.
 
str task_acronym = 'rec'
 Acronym that is required by the evaluation base class to find the correct collection task file.
 
b2luigi cdc_training_target = b2luigi.Parameter()
 Feature/variable to use as truth label for the CDC track quality estimator.
 

Detailed Description

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

Definition at line 1967 of file combined_quality_estimator_teacher.py.

Member Function Documentation

◆ requires()

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

Reimplemented from TrackQEEvaluationBaseTask.

Definition at line 1984 of file combined_quality_estimator_teacher.py.

1984 def requires(self):
1985 """
1986 Generate list of luigi Tasks that this Task depends on.
1987 """
1988 yield self.teacher_task(
1989 n_events_training=self.n_events_training,
1990 experiment_number=self.experiment_number,
1991 process_type=self.process_type,
1992 training_target=self.training_target,
1993 exclude_variables=self.exclude_variables,
1994 cdc_training_target=self.cdc_training_target,
1995 fast_bdt_option=self.fast_bdt_option,
1996 )
1997 if 'USEREC' in self.process_type:
1998 if 'USERECBB' in self.process_type:
1999 process = 'BBBAR'
2000 elif 'USERECEE' in self.process_type:
2001 process = 'BHABHA'
2002 yield CheckExistingFile(
2003 filename='datafiles/qe_records_N' + str(self.n_events_testing) + '_' + process + '_test_' +
2004 self.task_acronym + '.root'
2005 )
2006 else:
2007 yield self.data_collection_task(
2008 num_processes=MasterTask.num_processes,
2009 n_events=self.n_events_testing,
2010 experiment_number=self.experiment_number,
2011 random_seed=self.process_type + "_test",
2012 cdc_training_target=self.cdc_training_target,
2013 )
2014
2015

Member Data Documentation

◆ cdc_training_target

b2luigi cdc_training_target = b2luigi.Parameter()
static

Feature/variable to use as truth label for the CDC track quality estimator.

Definition at line 1982 of file combined_quality_estimator_teacher.py.

◆ data_collection_task

Task that is required by the evaluation base class to collect the test data for the evaluation.

Definition at line 1977 of file combined_quality_estimator_teacher.py.

◆ task_acronym

str task_acronym = 'rec'
static

Acronym that is required by the evaluation base class to find the correct collection task file.

Definition at line 1980 of file combined_quality_estimator_teacher.py.

◆ teacher_task

Task that is required by the evaluation base class to create the MVA weightfile that needs to be evaluated.

Definition at line 1974 of file combined_quality_estimator_teacher.py.


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