Skip to content
Snippets Groups Projects
Unverified Commit e700a1b0 authored by Hernán Asorey's avatar Hernán Asorey
Browse files

Minor bug corrected in do_sims, needed to be compatible with the new gamma...

Minor bug corrected in do_sims, needed to be compatible with the new gamma sources functionalities under development
parent 77b4f390
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
# #
VERSION="v1r9"; VERSION="v1r9";
arti_path="${LAGO_ARTI}" arti_path="${ARTI}"
odir="" odir=""
wdir="${PWD}" wdir="${PWD}"
dirlw=0 dirlw=0
...@@ -74,7 +74,7 @@ showhelp() { ...@@ -74,7 +74,7 @@ showhelp() {
echo -e "USAGE $0:" echo -e "USAGE $0:"
echo echo
echo -e " -o <origin directory> : Origin dir, where the DAT files are located" echo -e " -o <origin directory> : Origin dir, where the DAT files are located"
echo -e " -r <ARTI directory> : ARTI installation directory, generally pointed by \$LAGO_ARTI (default)" echo -e " -r <ARTI directory> : ARTI installation directory, generally pointed by \$ARTI (default)"
echo -e " -w <working directory> : Working dir, where the analysis will be done (default is current directory, ${wdir})" echo -e " -w <working directory> : Working dir, where the analysis will be done (default is current directory, ${wdir})"
echo -e " -e <energy bins> : Number of energy secondary bins (default: $energy_bins)" echo -e " -e <energy bins> : Number of energy secondary bins (default: $energy_bins)"
echo -e " -d <distance bins> : Number of distance secondary bins (default: $distance_bins)" echo -e " -d <distance bins> : Number of distance secondary bins (default: $distance_bins)"
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
VERSION="v1r9"; VERSION="v1r9";
wdir=${PWD} wdir=${PWD}
arti_path=${LAGO_ARTI} arti_path=${ARTI}
prj="" prj=""
prims=10 prims=10
...@@ -59,7 +59,7 @@ showhelp() { ...@@ -59,7 +59,7 @@ showhelp() {
echo -e "USAGE $0:" echo -e "USAGE $0:"
echo echo
echo -e " -w <working directory> : Working directory, where the pri.bz2 iles are located" echo -e " -w <working directory> : Working directory, where the pri.bz2 iles are located"
echo -e " -r <ARTI directory> : ARTI installation directory, generally pointed by \$LAGO_ARTI (default)" echo -e " -r <ARTI directory> : ARTI installation directory, generally pointed by \$ARTI (default)"
echo -e " -m <bins per decade> : Produce files with the energy distribution of the primary flux per nuclei. Not compatible with parallel" echo -e " -m <bins per decade> : Produce files with the energy distribution of the primary flux per nuclei. Not compatible with parallel"
echo -e " -? : Shows this help and exit." echo -e " -? : Shows this help and exit."
echo echo
......
...@@ -333,7 +333,7 @@ echo -e "# INFO : Executable file is ($corsika_bin)" ...@@ -333,7 +333,7 @@ echo -e "# INFO : Executable file is ($corsika_bin)"
direct=$wdir/$prj direct=$wdir/$prj
basearti=${LAGO_ARTI} basearti=${ARTI}
#helium -> Usually for 1 hour flux, 4 different procces is enough #helium -> Usually for 1 hour flux, 4 different procces is enough
prcHe=$procs prcHe=$procs
......
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