Jpp  17.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Variables
pre-calibration_00000100.sh File Reference

Go to the source code of this file.

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null set_variable
DETECTOR_ID set_array RUNS if
do_usage *then usage $script
< detector file >< tripodfile >
nThe user directory should be
specified when this script is
submitted in a batch queue
nThe detector file and tripod
file correspond to a pre
calibrated D_ORCA006 detector
fi set_variable WORKDIR pwd
set_variable HOMEDIR $WORKDIR
case set_variable 
HOMEDIR
 
&set_variable TRIPOD
 
set_variable DETECTOR
 
*fatal Wrong number of
arguments esac set_variable
TRIPOD_INITIAL tripod_initial
txt set_variable
DETECTOR_INITIAL
detector_initial datx mkdir p
$HOMEDIR cd $HOMEDIR 
if [[!-f $DETECTOR_INITIAL]]
 
then cat $TRIPOD_INITIAL
<< EOF2+256815.500+4743395.000-2436.6773+257096.200+4743636.000-2439.3544+256919.238+4743354.178-2439.354EOFfiJEditDetector-a $DETECTOR_INITIAL-o detector.datxeval`JPrintDetector-a $DETECTOR_INITIAL-O SUMMARY`;STRINGS_INITIAL=($STRINGS[*]) eval`JPrintDetector-a $DETECTOR-O SUMMARY`JEditDetector-a detector.datx-r"$STRINGS[*]"-o detector.datxJMergeDetector-a detector.datx-a $DETECTOR-o detector.datxJEditDetector-a detector.datx-k"$STRINGS_INITIAL[*]"-o detector.datxFIXED_STRINGS=($STRINGS[*]) cp-p $TRIPOD_INITIAL tripod.txtsource JAcousticsToolkit.shtypeset-A TRIPODS_INITIALtypeset-A TRIPODSget_tripods $TRIPOD_INITIAL TRIPODS_INITIALget_tripods $TRIPOD TRIPODSJEditTripod-f tripod.txt-D"${(k)TRIPODS}"JMergeTripod-f tripod.txt-f $TRIPOD-o tripod.txtJEditTripod-f tripod.txt-K"${(k)TRIPODS_INITIAL}"FIXED_TRIPODS=(${(k) TRIPODS[*]}) set_variable DETECTOR detector.datxset_variable TRIPOD tripod.txtJAcoustics.sh $DETECTOR_IDcat > acoustics_trigger_parameters txt<< EOFQ=0.0;TMax_s=0.015;numberOfHits=150;EOFJAcousticsEventBuilder.sh $DETECTOR $RUNS[*]INPUT_FILES=(`ls KM3NeT_ ${(l:8::0::0:) DETECTOR_ID}_0 *${^RUNS}_event.root`) cd $WORKDIRif[!$HOMEDIR-ef $WORKDIR];then cp-p $HOMEDIR/$DETECTOR $WORKDIR cp-p $HOMEDIR/$TRIPOD $WORKDIR cp-p $HOMEDIR/${^INPUT_FILES}$WORKDIR cp-p $HOMEDIR/{acoustics_fit_parameters, acoustics_trigger_parameters, disable, hydrophone, mechanics, sound_velocity, tripod, waveform}.txt $WORKDIRfisource $JPP_DIR/examples/JAcoustics/acoustics-fit-toolkit.shtimer_startinitialisefixStrings $FIXED_STRINGS[*]fixTripods $FIXED_TRIPODS[*]stage_0 > &stage 
log
 

Variable Documentation

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

Definition at line 2 of file pre-calibration_00000100.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR& dev null set_variable DETECTOR_ID set_array RUNS if do_usage* then usage $script<detector file><tripodfile> nThe user directory should be specified when this script is submitted in a batch queue nThe detector file and tripod file correspond to a pre calibrated D_ORCA006 detector fi set_variable WORKDIR pwd set_variable HOMEDIR $WORKDIR case set_variable HOMEDIR

Definition at line 20 of file pre-calibration_00000100.sh.

& set_variable TRIPOD

Definition at line 31 of file pre-calibration_00000100.sh.

set_variable DETECTOR

Definition at line 32 of file pre-calibration_00000100.sh.

timer_lap if[!$HOMEDIR-ef $WORKDIR]

Definition at line 32 of file pre-calibration_00000100.sh.

timer_lap stage_3& stage log

Definition at line 133 of file pre-calibration_00000100.sh.