Corsika

Documentation and examples for running corsika.py

The corsika.py script has various options:

Usage: corsika.py [options]

Options:
  -h, --help            show this help message and exit
  --no-execute          boolean condition to execute
  --nshowers=NSHOWERS   Number of generated CR showers
  --procnum=PROCNUM     process number
  --seed=SEED           RNG seed
  --nproc=NPROC         Number of processes for (RNG)
  --gcdfile=GCDFILE     GeoCalibDetStatus filename
  --outputfile=OUTPUTFILE
                        Output filename
  --inputfile=INPUTFILE
                        Input filename (only if you are not generating file)
  --no-RunCorsika       Run CORSIKA or only generate INPUTS file
  --RunNum=RUNNUM       Run Number
  --summaryfile=SUMMARYFILE
                        JSON Summary filename
  --atmospheres=ATMOSPHERES
                        Atmospheric models
  --eslope=ESLOPE       CR spectral index (only if ranpri=0)
  --ranpri=RANPRI       CR spectrum: 0=individual-nuclei, 1=Wiebel-Sooth,
                        2=Hoerandel, 3=5-component
  --crtype=CRTYPE       CR Particle Type (only if not dcorsika)
  --pnorm=PNORM         5-component relative contribution H,He,N,Al,Fe
  --pgam=PGAM           5-component spectral indices H,He,N,Al,Fe
  --locut=LOCUT         Enables skew angle cutfoff
  --kcut=KCUT           minimum neutrino energy required to keep the shower
  --CORSIKAseed=CORSIKASEED
                        CORSIKA seed
  --dslope=DSLOPE       Change in spectral index
  --eprimarymax=EPRIMARYMAX
                        CR max energy
  --eprimarymin=EPRIMARYMIN
                        CR min energy
  --fluxsum=FLUXSUM
  --OverSampling=OVERSAMPLING
                        Number of times to sample each shower
  --LegacyOverSampling  Legacy mode for oversmapling
  --model=MODEL         corsika model
  --lemodel=LEMODEL     corsika low-energy model
  --corsikaVersion=CORSIKAVERSION
                        version of corsika to run
  --corsikaName=CORSIKANAME
                        Corsika binary name
  --cthmin=CTHMIN       Min theta of injected cosmic rays
  --cthmax=CTHMAX       Max theta of injected cosmic rays
  --ecuts1=ECUTS1       hadron min energy (see corsika docs)
  --ecuts2=ECUTS2       muon min energy (see corsika docs)
  --ecuts3=ECUTS3       electron min energy (see corsika docs)
  --ecuts4=ECUTS4       photon min energy (see corsika docs)
  --CutoffType=CUTOFFTYPE
                        Sets SPRIC=T (EnergyPerNucleon) or F
                        (EnergyPerParticle)
  --UpperCutoffType=UPPERCUTOFFTYPE
                        Upper cutoff type (defaults to CutoffType)
  --RepoURL=REPOURL     URL of repository containing corsika tarballs
  --CVMFS=CVMFS         Path to CVMFS repository
  --SimulateIceTop      Simulate IceTop detector
  --SelectNeutrino      Randomly select CORSIKA neutrino and force interaction
  --UsePipe             Use pipe for corsika output
  --compress            compress corsika output
  --skipoptions=SKIPOPTIONS
                        Options to skip
  --HistogramFilename=HISTOGRAMFILENAME
                        Histogram filename.
  --EnableHistogram     Write a SanityChecker histogram file.
  --UseGSLRNG           Use I3GSLRandomService
  --CylinderHeight=CYLINDERHEIGHT
                        Volume cylinder height in meters
  --CylinderRadius=CYLINDERRADIUS
                        Volume cylinder radius in meters