Skip to content
Snippets Groups Projects
Commit cce75ff7 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Add decay option to runner

parent 625fd0ee
No related branches found
No related tags found
1 merge request!43Secondary Decay Option
Pipeline #37933 failed
...@@ -117,6 +117,13 @@ ARGPARSE_GENERAL_PARAMS = [{ ...@@ -117,6 +117,13 @@ ARGPARSE_GENERAL_PARAMS = [{
"action": argparse.BooleanOptionalAction, "action": argparse.BooleanOptionalAction,
"help": "Do tau propagation", "help": "Do tau propagation",
"default": False "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"], "option_strings": ["--zenith", "-z"],
"dest": "zenith", "dest": "zenith",
...@@ -201,7 +208,7 @@ def main(): ...@@ -201,7 +208,7 @@ def main():
args.target, args.target,
seed=args.seed, seed=args.seed,
fluxfile=fluxfile, fluxfile=fluxfile,
do_decay=False) do_decay=args.decay)
jc["neutrinoanalysis"]["outputEvents"] = True jc["neutrinoanalysis"]["outputEvents"] = True
jc["neutrinoanalysis"]["inclusiveAnalysis"] = False jc["neutrinoanalysis"]["inclusiveAnalysis"] = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment