20 <output>trackingEfficiency_pt_2.00GeV.root</output>
21 <contact>software-tracking@belle2.org</contact>
22 <description>Create events
with 10 muon tracks
with fixed pt value.</description>
27from tracking.validation.tracking_efficiency_helpers import run_simulation, run_reconstruction, get_generated_pt_value
33 b2.set_random_seed(123460)
35 pt_value = get_generated_pt_value(7)
37 output_filename = f'../trackingEfficiency_pt_{pt_value:.2f}GeV.root'
39 print(output_filename)
41 path = b2.create_path()
43 run_simulation(path, pt_value)
44 run_reconstruction(path, output_filename)
46 path.add_module(
'Progress')
53if __name__ ==
'__main__':
57 print(
"This validation deactivated and thus basf2 is not executed.\n"
58 "If you want to run this validation, please set the 'ACTIVE' flag above to 'True'.\n"