Jpp
18.2.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 if do_usage *then usage $script < source directory >[user directory] nThe source directory corresponds to a pre calibrated D_ORCA006 detector nThe user directory should be specified when this script is submitted in a batch queue fi set_variable WORKDIR pwd set_variable HOMEDIR $WORKDIR case set_variable | HOMEDIR |
&set_variable | DIR {1:a} |
*fatal Wrong number of arguments esac set_variable DETECTOR $DIR detector datx set_variable TRIPOD $DIR tripod txt set_variable DETECTOR_INITIAL detector_initial datx set_variable TRIPOD_INITIAL tripod_initial txt expand_array RUNS 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.354EOFfieval`JPrintDetector-a $DETECTOR_INITIAL-O SUMMARY`;FINAL_STRINGS=($STRINGS[*]) eval`JPrintDetector-a $DETECTOR-O SUMMARY`;FIXED_STRINGS=($STRINGS[*]) if[[!-f detector.datx]];then JEditDetector-a $DETECTOR_INITIAL-o detector.datx JEditDetector-a detector.datx-r"$FIXED_STRINGS[*]"-o detector.datx JMergeDetector-a detector.datx-a $DETECTOR-o detector.datx JEditDetector-a detector.datx-k"$FINAL_STRINGS[*]"-o detector.datxfisource JAcousticsToolkit.shtypeset-A TRIPODSget_tripods $TRIPOD_INITIAL TRIPODS;FINAL_TRIPODS=(${(k) TRIPODS[*]}) get_tripods $TRIPOD TRIPODS;FIXED_TRIPODS=(${(k) TRIPODS[*]}) if[[!-f tripod.txt]];then cp-p $TRIPOD_INITIAL tripod.txt JEditTripod-f tripod.txt-r"${FIXED_TRIPODS}"-o tripod.txt JMergeTripod-f tripod.txt-f $TRIPOD-o tripod.txt JEditTripod-f tripod.txt-k"${FINAL_TRIPODS}"-o tripod.txtfiset_variable DETECTOR detector.datxset_variable TRIPOD tripod.txtecho Fixed strings:$FIXED_STRINGS[*]echo Fixed tripods:$FIXED_TRIPODS[*]JAcoustics.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 $WORKDIRsource $JPP_DIR/examples/JAcoustics/acoustics-fit-toolkit.shif[!$HOMEDIR-ef $WORKDIR];then cp-p $HOMEDIR/$DETECTOR $WORKDIR cp-p $HOMEDIR/${^ACOUSTICS_KEYS}.txt $WORKDIR cp-p $HOMEDIR/${^INPUT_FILES}$WORKDIRfitimer_startinitialisefixStrings $FIXED_STRINGS[*]fixTripods $FIXED_TRIPODS[*]stage_0 1 0 100.0e-6 10.0 0.5 10 > &stage | log |
backup | $HOMEDIR |
script |
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<source directory> [user directory] nThe source directory corresponds to a pre calibrated D_ORCA006 detector nThe user directory should be specified when this script is submitted in a batch queue 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 DIR {1:a} |
Definition at line 31 of file pre-calibration_00000100.sh.
Definition at line 31 of file pre-calibration_00000100.sh.
timer_lap stage_c& stage log |
Definition at line 138 of file pre-calibration_00000100.sh.
backup $HOMEDIR |
Definition at line 138 of file pre-calibration_00000100.sh.