13 <contact>software-tracking@belle2.org</contact>
14 <input>MuonGenSimNoBkg.root</input>
15 <output>MuonTrackingValidation.root</output>
16 <description>This script validates the full track finding chain
in easy 1 muon events.</description>
20from tracking.validation.run import TrackingValidationRun
24VALIDATION_OUTPUT_FILE = 'MuonTrackingValidation.root'
29class Muon(TrackingValidationRun):
30 """Validate the full track-finding chain with single-muon events"""
34 generator_module =
'gun'
36 root_input_file =
'../MuonGenSimNoBkg.root'
38 finder_module = staticmethod(tracking.add_tracking_reconstruction)
45 "UseReassignedHits":
True,
46 'UseOnlyBeforeTOP':
True,
53 use_fit_information =
True
55 use_expert_folder =
False
61 output_file_name = VALIDATION_OUTPUT_FILE
65 basf2.set_random_seed(1337)
66 validation_run =
Muon()
67 validation_run.configure_and_execute_from_commandline()
70if __name__ ==
'__main__':
71 logging.basicConfig(level=logging.INFO)
75 print(
"This validation deactivated and thus basf2 is not executed.\n"
76 "If you want to run this validation, please set the 'ACTIVE' flag above to 'True'.\n"