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

Update command line tool

parent be77e7d4
No related branches found
No related tags found
No related merge requests found
...@@ -27,12 +27,19 @@ ARGPARSE_GENERAL_PARAMS = [{ ...@@ -27,12 +27,19 @@ ARGPARSE_GENERAL_PARAMS = [{
"help": "Number of events which are simulated", "help": "Number of events which are simulated",
"required": True "required": True
}, { }, {
"option_strings": ["--split", "-s"], "option_strings": ["--multifile", "-m"],
"dest": "split", "dest": "multifile",
"type": int, "type": int,
"help": "How many km3net files to write from the dataset", "help": "How many km3net files to write from the dataset",
"required": False, "required": False,
"default": 1 "default": 1
}, {
"option_strings": ["--seed", "-s"],
"dest": "seed",
"type": int,
"help": "Seed which should be used for the (pseudo) random number gen.",
"required": False,
"default": 0
}, { }, {
"option_strings": ["--flavor", "-f"], "option_strings": ["--flavor", "-f"],
"dest": "flavor", "dest": "flavor",
...@@ -178,8 +185,9 @@ def main(): ...@@ -178,8 +185,9 @@ def main():
args.flavor, args.flavor,
tuple(args.energy), tuple(args.energy),
args.target, args.target,
seed=args.seed,
fluxfile=fluxfile, fluxfile=fluxfile,
do_decay=True) do_decay=False)
jc["neutrinoanalysis"]["outputEvents"] = True jc["neutrinoanalysis"]["outputEvents"] = True
jc["neutrinoanalysis"]["inclusiveAnalysis"] = False jc["neutrinoanalysis"]["inclusiveAnalysis"] = False
...@@ -218,7 +226,7 @@ def main(): ...@@ -218,7 +226,7 @@ def main():
geometry=volume, geometry=volume,
ofile=outfilename, ofile=outfilename,
run_number=args.runnumber, run_number=args.runnumber,
no_files=args.split, no_files=args.multifile,
propagate_tau=args.tauprop) propagate_tau=args.tauprop)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment