13 <contact>software-tracking@belle2.org</contact>
14 <input>EvtGenSimNoBkg.root</input>
15 <output>CDCCombinedTrackingValidation.root</output>
16 <description>This script validates the combined 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 = 'CDCCombinedTrackingValidation.root'
30class CDCCombined(TrackingValidationRun):
31 """Validate the combined CDC track-finding chain include Legendre step"""
35 generator_module =
'generic'
37 root_input_file =
'../EvtGenSimNoBkg.root'
39 contact =
'software-tracking@belle2.org - why are we not founding this?'
42 """Add the CDC track-finding module to the basf2 path"""
43 tracking.add_cdc_track_finding(path, with_ca=
True)
49 'WhichParticles': [
'CDC'],
53 'UseOnlyAxialCDCHits':
False,
54 "UseReassignedHits":
True,
56 "UseOnlyBeforeTOP":
True,
58 'MinCDCStereoHits': 6,
59 "AllowFirstCDCSuperLayerOnly":
True,
60 "MergeDecayInFlight":
True,
66 output_file_name = VALIDATION_OUTPUT_FILE
70 basf2.set_random_seed(1337)
72 validation_run.configure_and_execute_from_commandline()
75if __name__ ==
'__main__':
76 logging.basicConfig(level=logging.INFO)
80 print(
"This validation deactivated and thus basf2 is not executed.\n"
81 "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....