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 31 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 41 of file clusterFilterValidation.py.

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

◆ 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 46 of file clusterFilterValidation.py.

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

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 34 of file clusterFilterValidation.py.

◆ output_file_name

str output_file_name = "ClusterFilterValidation.root"
static

output ROOT file

Definition at line 39 of file clusterFilterValidation.py.

◆ py_profile

bool py_profile = True
static

create a python profile

Definition at line 37 of file clusterFilterValidation.py.


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