Jpp  17.3.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
JARCAEnergyCorrection.sh File Reference

Go to the source code of this file.

Functions

then JDetector sh $DETECTOR fi for ((i=1;$i<=$NUMBER_OF_RUNS;++i))
 
then if (!reuse_file $WORKDIR/energy_correction.root)
 
then set_array INPUT_FILES ls
$WORKDIR jchain arca_ *root 
if ((${#INPUT_FILES}==0))
 

Variables

 version
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
zmodload zsh mathfunc
set_variable DEBUG
set_variable 
WORKDIR
 
then usage $script< working
directory >< option >
nPossible 
options
 
then fatal Wrong number of
arguments fi set_variable
WORKDIR $argv[1] set_variable
OPTION $argv[2] 
if [[$OPTION!="run"&&$OPTION!="fit"&&$OPTION!="interpolate"]]
 
do JSirene sh $DETECTOR
$JPP_DATA genhen
km3net_wpd_V2_0 evt gz
$WORKDIR 
sirene_
 

Function Documentation

then JDetector sh $DETECTOR fi for ( (i=1;$i<=$NUMBER_OF_RUNS;++i)  )
then if ( !reuse_file $WORKDIR/energy_correction.  root)
then set_array INPUT_FILES ls $WORKDIR jchain arca_* root if ( (${#INPUT_FILES}==0)  )

Variable Documentation

version
Initial value:
=1.0
script=${0##*/}
if [ -z $JPP_DIR ]

Definition at line 5 of file JARCAEnergyCorrection.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR zmodload zsh mathfunc set_variable DEBUG set_variable WORKDIR
Initial value:
{TMPDIR:-/tmp}/
set_variable NUMBER_OF_RUNS 10
set_variable NUMBER_OF_BINS 40
set_variable RANGE_LOGE 3.0 6.5
set_variable: FORMAT GRAPHICS_FORMAT gif
set_variable+ BATCH GRAPHICS_BATCH -B
if do_usage $*
usr share Modules init zsh export TMPDIR
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:21

Definition at line 24 of file JARCAEnergyCorrection.sh.

then usage $script<working directory><option> nPossible options

Definition at line 36 of file JARCAEnergyCorrection.sh.

then fatal No input file in directory $WORKDIR fi else set_array INPUT_FILES ls $WORKDIR energy_correction root fi if[[$OPTION=="fit"]]

Definition at line 43 of file JARCAEnergyCorrection.sh.

do JSirene sh $DETECTOR $JPP_DATA genhen km3net_wpd_V2_0 evt gz $WORKDIR sirene_
Initial value:
{i}.root
JTriggerEfficiency.sh $DETECTOR $DETECTOR $WORKDIR/sirene_${i}.root $WORKDIR/trigger_efficiency_${i}.root
JARCAMuonReconstruction.sh $DETECTOR $WORKDIR/trigger_efficiency_${i}.root $WORKDIR/%_${i}.root $JPP_DATA/PMT_parameters.txt
fi
if [[ $OPTION == "fit" || $OPTION == "interpolate" ]]
do JSirene sh $DETECTOR $JPP_DATA genhen km3net_wpd_V2_0 evt gz $WORKDIR sirene_
then set_variable MODULE getModule a $DETECTOR L $STRING $FLOOR JEditDetector a $DETECTOR M $MODULE add $X o $DETECTOR else echo No update of detector $DETECTOR
then display $WORKDIR
Definition: plot-Domino.sh:128
*fatal Wrong option $OPTION
esac done
Definition: JAddHDE.sh:21

Definition at line 58 of file JARCAEnergyCorrection.sh.