Belle II Software development
CosmicsHough Class Reference
Inheritance diagram for CosmicsHough:
TrackingValidationRun BrowseTFileOnTerminateRunMixin ReadOrGenerateTrackedEventsRun PostProcessingRunMixin ReadOrGenerateEventsRun EmptyRun MinimalRun EmptyRun

Public Member Functions

def finder_module (self, path)
 

Static Public Attributes

N_EVENTS n_events = N_EVENTS
 number of events to generate
 
str generator_module = 'Cosmics'
 Generator to be used in the simulation (-so)
 
str root_input_file = '../CosmicsSimNoBkg.root'
 no background overlay
 
None components = None
 use full detector for validation
 
dict tracking_coverage
 Define the user parameters for the track-finding module.
 
bool pulls = True
 Include pulls in the validation output.
 
VALIDATION_OUTPUT_FILE output_file_name = VALIDATION_OUTPUT_FILE
 name of the output ROOT file
 

Detailed Description

Validate the CDC Hough track-segment finder with cosmic rays

Definition at line 29 of file cosmicsHoughTrackingValidation.py.

Member Function Documentation

◆ finder_module()

def finder_module (   self,
  path 
)
Add the CDC Hough track finder and related modules to the basf2 path

Reimplemented from ReadOrGenerateTrackedEventsRun.

Definition at line 40 of file cosmicsHoughTrackingValidation.py.

40 def finder_module(self, path):
41 """Add the CDC Hough track finder and related modules to the basf2 path"""
42 path.add_module('TFCDC_WireHitPreparer')
43 path.add_module('TFCDC_ClusterPreparer')
44 path.add_module('TFCDC_SegmentFinderFacetAutomaton',
45 SegmentOrientation="downwards")
46 path.add_module('TFCDC_AxialTrackCreatorSegmentHough',
47 tracks="CDCAxialTrackVector")
48 path.add_module('TFCDC_StereoHitFinder',
49 inputTracks="CDCAxialTrackVector")
50 path.add_module('TFCDC_TrackExporter',
51 inputTracks="CDCAxialTrackVector")
52
53 interactive_display = False
54 if interactive_display:
55 cdc_display_module = cdcdisplay.CDCSVGDisplayModule(os.getcwd(), interactive=True)
56 cdc_display_module.draw_recotracks = True
57 cdc_display_module.draw_recotrack_seed_trajectories = True
58 path.add_module(cdc_display_module)
59

Member Data Documentation

◆ components

None components = None
static

use full detector for validation

Definition at line 38 of file cosmicsHoughTrackingValidation.py.

◆ generator_module

str generator_module = 'Cosmics'
static

Generator to be used in the simulation (-so)

Definition at line 34 of file cosmicsHoughTrackingValidation.py.

◆ n_events

N_EVENTS n_events = N_EVENTS
static

number of events to generate

Definition at line 32 of file cosmicsHoughTrackingValidation.py.

◆ output_file_name

VALIDATION_OUTPUT_FILE output_file_name = VALIDATION_OUTPUT_FILE
static

name of the output ROOT file

Definition at line 72 of file cosmicsHoughTrackingValidation.py.

◆ pulls

bool pulls = True
static

Include pulls in the validation output.

Definition at line 70 of file cosmicsHoughTrackingValidation.py.

◆ root_input_file

str root_input_file = '../CosmicsSimNoBkg.root'
static

no background overlay

Definition at line 36 of file cosmicsHoughTrackingValidation.py.

◆ tracking_coverage

dict tracking_coverage
static
Initial value:
= {
'WhichParticles': ['CDC'], # Include all particles seen in CDC, also secondaries
'UsePXDHits': False,
'UseSVDHits': False,
'UseCDCHits': True,
'UseOnlyAxialCDCHits': False,
"UseReassignedHits": True,
}

Define the user parameters for the track-finding module.

Definition at line 61 of file cosmicsHoughTrackingValidation.py.


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