13 <contact>software-tracking@belle2.org</contact>
14 <input>EvtGenSimNoBkg.root</input>
15 <output>CDCFullTrackingValidation.root</output>
16 <description>This script validates the full CDC tracking chain
with a legendre step first
17 and a cellular automaton step second
in Y(4S) runs.</description>
21from tracking.validation.run import TrackingValidationRun
25VALIDATION_OUTPUT_FILE = 'CDCFullTrackingValidation.root'
30class CDCFull(TrackingValidationRun):
31 """Validate the full CDC track-finding chain"""
35 generator_module =
'generic'
37 root_input_file =
'../EvtGenSimNoBkg.root'
40 """Add the CDC track-finding module to the basf2 path"""
41 tracking.add_cdc_track_finding(path)
47 'WhichParticles': [
'CDC'],
51 'UseOnlyAxialCDCHits':
False,
52 "UseReassignedHits":
True,
54 "UseOnlyBeforeTOP":
True,
56 'MinCDCStereoHits': 6,
57 "AllowFirstCDCSuperLayerOnly":
True,
63 output_file_name = VALIDATION_OUTPUT_FILE
67 basf2.set_random_seed(1337)
69 validation_run.configure_and_execute_from_commandline()
72if __name__ ==
'__main__':
73 logging.basicConfig(level=logging.INFO)
77 print(
"This validation deactivated and thus basf2 is not executed.\n"
78 "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....