From cce75ff7b8b7eefab53f429eb828fdd4280eac24 Mon Sep 17 00:00:00 2001 From: Johannes Schumann <johannes.schumann@fau.de> Date: Tue, 7 Mar 2023 12:03:36 +0100 Subject: [PATCH] Add decay option to runner --- km3buu/cmd.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/km3buu/cmd.py b/km3buu/cmd.py index 5509d91..a32b5a2 100755 --- a/km3buu/cmd.py +++ b/km3buu/cmd.py @@ -117,6 +117,13 @@ ARGPARSE_GENERAL_PARAMS = [{ "action": argparse.BooleanOptionalAction, "help": "Do tau propagation", "default": False +}, { + "option_strings": ["--decay"], + "dest": "decay", + "action": argparse.BooleanOptionalAction, + "help": + "Decay final state particles (according to the decays done in gSeaGen)", + "default": True }, { "option_strings": ["--zenith", "-z"], "dest": "zenith", @@ -201,7 +208,7 @@ def main(): args.target, seed=args.seed, fluxfile=fluxfile, - do_decay=False) + do_decay=args.decay) jc["neutrinoanalysis"]["outputEvents"] = True jc["neutrinoanalysis"]["inclusiveAnalysis"] = False -- GitLab