Belle II Software development
ClusterFilterValidationRun Class Reference
Inheritance diagram for ClusterFilterValidationRun:
BrowseTFileOnTerminateRunMixin StandardEventGenerationRun PostProcessingRunMixin ReadOrGenerateEventsRun EmptyRun MinimalRun EmptyRun

Public Member Functions

def create_argument_parser (self, **kwds)
 
def create_path (self)
 

Static Public Attributes

basf2 cluster_preparation_module = basf2.register_module("TFCDC_ClusterPreparer")
 basf2 module for CDC cluster preparation
 
bool py_profile = True
 create a python profile
 
str output_file_name = "ClusterFilterValidation.root"
 output ROOT file
 

Detailed Description

Prepare and execute a basf2 job to read generated events or generate new events then validate the CDC cluster filter

Definition at line 34 of file clusterFilterValidation.py.

Member Function Documentation

◆ create_argument_parser()

def create_argument_parser (   self,
**  kwds 
)
Configure the basf2 job script using the translated command-line arguments

Reimplemented from BrowseTFileOnTerminateRunMixin.

Definition at line 44 of file clusterFilterValidation.py.

44 def create_argument_parser(self, **kwds):
45 """Configure the basf2 job script using the translated command-line arguments"""
46 argument_parser = super().create_argument_parser(**kwds)
47 return argument_parser
48

◆ create_path()

def create_path (   self)
Sets up a path that plays back pregenerated events or generates events
based on the properties in the base class.

Reimplemented from ReadOrGenerateEventsRun.

Definition at line 49 of file clusterFilterValidation.py.

49 def create_path(self):
50 """
51 Sets up a path that plays back pregenerated events or generates events
52 based on the properties in the base class.
53 """
54 main_path = super().create_path()
55
56 cluster_preparation_module = self.get_basf2_module(self.cluster_preparation_module)
57 main_path.add_module(cluster_preparation_module)
58
59 # main_path.add_module(AxialStereoPairFitterModule())
60 validation_module = ClusterFilterValidationModule(output_file_name=self.output_file_name)
61 if self.py_profile:
62 main_path.add_module(metamodules.PyProfilingModule(validation_module))
63 else:
64 main_path.add_module(validation_module)
65
66 return main_path
67
68

Member Data Documentation

◆ cluster_preparation_module

basf2 cluster_preparation_module = basf2.register_module("TFCDC_ClusterPreparer")
static

basf2 module for CDC cluster preparation

Definition at line 37 of file clusterFilterValidation.py.

◆ output_file_name

str output_file_name = "ClusterFilterValidation.root"
static

output ROOT file

Definition at line 42 of file clusterFilterValidation.py.

◆ py_profile

bool py_profile = True
static

create a python profile

Definition at line 40 of file clusterFilterValidation.py.


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