Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KM3BUU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simulation
KM3BUU
Commits
aaaa507c
Commit
aaaa507c
authored
1 year ago
by
Johannes Schumann
Browse files
Options
Downloads
Patches
Plain Diff
Add help page as doctring for cmd.py
parent
656c408b
No related branches found
Branches containing commit
No related tags found
1 merge request
!53
Update docs
Pipeline
#40022
passed
1 year ago
Stage: test
Stage: coverage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
km3buu/cmd.py
+42
-0
42 additions, 0 deletions
km3buu/cmd.py
with
42 additions
and
0 deletions
km3buu/cmd.py
+
42
−
0
View file @
aaaa507c
...
...
@@ -2,6 +2,48 @@
# coding=utf-8
# Filename: cmd.py
# Author: Johannes Schumann <jschumann@km3net.de>
"""
Runscript for GIBUU/KM3BUU
options:
-h, --help show this help message and exit
--events EVENTS, -n EVENTS
Number of events which are simulated
--multifile MULTIFILE, -m MULTIFILE
How many km3net files to write from the dataset
--seed SEED, -s SEED Seed which should be used for the (pseudo) random number gen.
--flavor {electron,muon,tau}, -f {electron,muon,tau}
Simulated neutrino flavor
--interaction {nc,cc,antinc,anticc}, -i {nc,cc,antinc,anticc}
The current type of the weak interaction
--target A Z, -t A Z The number of nucleons/protons in the target nucleus
--timesteps TIMESTEPS, -x TIMESTEPS
The number of timesteps performed by GiBUU
--geometry {no,can,sphere,cylindrical}, -g {no,can,sphere,cylindrical}
Type of detector enviroment geometry should be used
--center x y z, -c x y z
Center (offset) if a geometry is used (otherwise ignored)
--dimensions [DIMENSIONS ...], -d [DIMENSIONS ...]
Dimensions of the geometry; sphere -> -d <radius> / can -> -d <radius> <zmin> <zmax> / cylindrical -> -d
<seawaterheight> <rockheight> <radius> <canradius> <canzmin> <canzmax>
--output-dir OUTPUT, -o OUTPUT
Output directory
--run RUNNUMBER, -r RUNNUMBER
Run number to use
--gibuuparams GIBUUPARAMS, -p GIBUUPARAMS
JSON file for modified GiBUU namelist params
--taupropagation, --no-taupropagation
Do tau propagation (default: False)
--decay, --no-decay Decay final state particles (according to the decays done in gSeaGen) (default: True)
--zenith cosZmin cosZmax, -z cosZmin cosZmax
Zenith range of the direction if a geometry is used
modes:
{single,range} Modes
single Run in single energy mode
range Run in energy range mode
"""
import
numpy
as
np
import
argparse
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment