Belle II Software development
VXDQEHarvestingValidationTask Class Reference
Inheritance diagram for VXDQEHarvestingValidationTask:
HarvestingValidationBaseTask

Public Member Functions

def add_tracking_with_quality_estimation (self, path)
 

Static Public Attributes

str validation_output_file_name = "vxd_qe_harvesting_validation.root"
 Name of the "harvested" ROOT output file with variables that can be used for validation.
 
str reco_output_file_name = "vxd_qe_reconstruction.root"
 Name of the output of the RootOutput module with reconstructed events.
 
VXDQETeacherTask teacher_task = VXDQETeacherTask
 Teacher task to require to provide a quality estimator weightfile for add_tracking_with_quality_estimation
 

Detailed Description

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

Definition at line 1545 of file combined_quality_estimator_teacher.py.

Member Function Documentation

◆ add_tracking_with_quality_estimation()

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

Reimplemented from HarvestingValidationBaseTask.

Definition at line 1558 of file combined_quality_estimator_teacher.py.

1558 def add_tracking_with_quality_estimation(self, path):
1559 """
1560 Add modules for VXDTF2 tracking with VXD quality estimator to basf2 path.
1561 """
1562 tracking.add_vxd_track_finding_vxdtf2(
1563 path,
1564 components=["SVD"],
1565 reco_tracks="RecoTracks",
1566 add_mva_quality_indicator=True,
1567 )
1568 # Replace the weightfiles of all quality estimator module by those
1569 # produced in this training by b2luigi
1570 basf2.set_module_parameters(
1571 path,
1572 name="VXDQualityEstimatorMVA",
1573 WeightFileIdentifier=self.get_input_file_names(
1574 self.teacher_task.get_weightfile_xml_identifier(self.teacher_task, fast_bdt_option=self.fast_bdt_option)
1575 )[0],
1576 )
1577 tracking.add_mc_matcher(path, components=["SVD"])
1578 tracking.add_track_fit_and_track_creator(path, components=["SVD"])
1579
1580

Member Data Documentation

◆ reco_output_file_name

str reco_output_file_name = "vxd_qe_reconstruction.root"
static

Name of the output of the RootOutput module with reconstructed events.

Definition at line 1554 of file combined_quality_estimator_teacher.py.

◆ teacher_task

VXDQETeacherTask teacher_task = VXDQETeacherTask
static

Teacher task to require to provide a quality estimator weightfile for add_tracking_with_quality_estimation

Definition at line 1556 of file combined_quality_estimator_teacher.py.

◆ validation_output_file_name

str validation_output_file_name = "vxd_qe_harvesting_validation.root"
static

Name of the "harvested" ROOT output file with variables that can be used for validation.

Definition at line 1552 of file combined_quality_estimator_teacher.py.


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