diff --git a/launcher/simc-launcher.in b/launcher/simc-launcher.in index a3dc3e6e19173ed1572d77c822d5c37db76310d9..fe2424352f09eaf706de6085b7095e224fe878ef 100644 --- a/launcher/simc-launcher.in +++ b/launcher/simc-launcher.in @@ -94,5 +94,7 @@ with tempfile.TemporaryDirectory() as tmpdir: launcher.close() print('\nCalling SIMC, good luck!') subprocess.call(['sh', run_name]) - print('All done!') - #subprocess.call(['cp', run_name, '/tmp/']) +print('\nConverting output to ROOT') +os.chdir(output_dir) +subprocess.call(['h2root', '{conf}.rzdat'.format(conf=tmp_conf_name)) +print('All done!')