13 <contact>software-tracking@belle2.org</contact>
14 <input>EvtGenSim.root</input>
15 <output>CDCLegendreTrackingValidationBkg.root</output>
16 <description>This module validates that legendre track finding
is capable of reconstructing tracks
in Y(4S) runs.</description>
20from tracking.validation.run import TrackingValidationRun
23VALIDATION_OUTPUT_FILE = 'CDCLegendreTrackingValidationBkg.root'
28class CDCLegendre(TrackingValidationRun):
29 """Validate the combined CDC Legendre track-finding algorithm"""
33 generator_module =
'generic'
35 root_input_file =
'../EvtGenSim.root'
39 """Add the CDC Legendre track-finding module and related modules to the basf2 path"""
40 path.add_module(
'TFCDC_WireHitPreparer')
42 use_legendre_finder =
True
43 if use_legendre_finder:
44 path.add_module(
'TFCDC_AxialTrackFinderLegendre')
46 path.add_module(
'TFCDC_AxialTrackFinderHough')
48 path.add_module(
'TFCDC_TrackExporter')
52 'WhichParticles': [
'CDC'],
56 'UseOnlyAxialCDCHits':
True,
57 "UseReassignedHits":
True,
58 'UseOnlyBeforeTOP':
True,
67 output_file_name = VALIDATION_OUTPUT_FILE
71 exclude_profile_pr_parameter = [
"Seed tan #lambda",
"Seed #theta"]
75 basf2.set_random_seed(1337)
77 validation_run.configure_and_execute_from_commandline()
80if __name__ ==
'__main__':
81 logging.basicConfig(level=logging.INFO)
85 print(
"This validation deactivated and thus basf2 is not executed.\n"
86 "If you want to run this validation, please set the 'ACTIVE' flag above to 'True'.\n"
None finder_module
Name of the finder module to be used - can be everything that is accepted by tracking....