13 Test to ensure the reconstruction can be run standalone without load evtgen/simulation
14 performed before in the same process.
21 evtgen_steering = basf2.find_file(
'reconstruction/tests/evtgen.py_noexec')
22 reco_steering = basf2.find_file(
'reconstruction/tests/reco.py_noexec')
25 with tempfile.TemporaryDirectory()
as tempdir:
26 print(
"Moving to temporary directory " + str(tempdir))
30 assert(0 == os.system(
"basf2 " + evtgen_steering))
32 assert(0 == os.system(
"basf2 " + reco_steering))
34 assert(0 == os.system(
"b2file-check -n10 evtgen_bbar.root"))