13 <contact>software-tracking@belle2.org</contact>
14 <input>CosmicsSimNoBkgTrackingVolume.root</input>
15 <output>CosmicsTrackingValidation.root</output>
16 <description>Validation of the default cosmic track finding (VXD+CDC).</description>
20from tracking.validation.run import TrackingValidationRun
21from tracking import add_cr_tracking_reconstruction
24VALIDATION_OUTPUT_FILE = 'CosmicsTrackingValidation.root'
25CONTACT = 'software-tracking@belle2.org'
30class Cosmics(TrackingValidationRun):
32 derived class that sets up the cosmics
validation
37 generator_module = 'Cosmics'
39 root_input_file =
'../CosmicsSimNoBkgTrackingVolume.root'
43 finder_module = staticmethod(add_cr_tracking_reconstruction)
46 'WhichParticles': [
'CDC'],
50 'UseOnlyAxialCDCHits':
False,
51 "UseReassignedHits":
True,
59 output_file_name = VALIDATION_OUTPUT_FILE
63 basf2.set_random_seed(1337)
65 validation_run.configure_and_execute_from_commandline()
68if __name__ ==
'__main__':
69 logging.basicConfig(level=logging.INFO)
73 print(
"This validation deactivated and thus basf2 is not executed.\n"
74 "If you want to run this validation, please set the 'ACTIVE' flag above to 'True'.\n"