Jpp
17.1.0
the software that should make you happy
|
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 set_variable MUL 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 D0ARCA009 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 expand_array RUNS mkdir p $HOMEDIR cd $HOMEDIR | if [[!-f $DETECTOR_INITIAL]] |
then cat $TRIPOD_INITIAL << EOF3+587848.700+4016749.700-3450.4677+587198.628+4016228.693-3433.3068+588257.896+4017034.442-3457.2409+587646.419+4017109.956-3456.98010+587763.722+4017253.398-3453.894EOFfiJEditDetector-a $DETECTOR_INITIAL-s"-1 mul $MUL"-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.datxEXCLUDED_STRINGS=(19) FIXED_STRINGS=(${STRINGS[*]:|EXCLUDED_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.020;numberOfHits=200;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 |
script |
Definition at line 2 of file pre-calibration_00000116.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 set_variable MUL 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 D0ARCA009 detector fi set_variable WORKDIR pwd set_variable HOMEDIR $WORKDIR case set_variable HOMEDIR |
Definition at line 21 of file pre-calibration_00000116.sh.
& set_variable TRIPOD |
Definition at line 32 of file pre-calibration_00000116.sh.
set_variable DETECTOR |
Definition at line 33 of file pre-calibration_00000116.sh.
Definition at line 33 of file pre-calibration_00000116.sh.
timer_lap stage_3& stage log |
Definition at line 140 of file pre-calibration_00000116.sh.