Jpp
16.0.0-rc.2
the software that should make you happy
|
Go to the source code of this file.
Functions | |
then usage $script[user directory] nThe user directory should be specified when this script is submitted in a batch queue fi set_variable WORKDIR pwd | if (($#==1)) |
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 |
then set_variable HOMEDIR else set_variable HOMEDIR $WORKDIR fi set_variable TRIPOD_INITIAL tripod_initial txt set_variable TRIPOD tripod txt set_variable DETECTOR_INITIAL detector_initial datx set_variable DETECTOR detector datx mkdir p $HOMEDIR cd $HOMEDIR | if [[!-f $DETECTOR_INITIAL]] |
then cat $TRIPOD_INITIAL << EOF2+587441.700+4017014.700-3459.6003+587848.700+4016749.700-3459.6004+587657.170+4017113.940-3459.6005+587906.500+4017094.300-3459.600EOFfiJEditDetector-a $DETECTOR_INITIAL-s"-1 mul $MUL"-o $DETECTORcp-p $TRIPOD_INITIAL $TRIPODJAcoustics.sh $DETECTOR_IDJAcousticsEventBuilder.sh $DETECTOR $RUNS[*]cd $WORKDIRif[!$HOMEDIR-ef $WORKDIR];then cp-p $HOMEDIR/$TRIPOD $WORKDIR cp-p $HOMEDIR/$DETECTOR $WORKDIR for RANGE in $RUNS[*];do for((RUN=${RANGE%%-*};$RUN<=${RANGE##*-};RUN+=1));do cp-p $HOMEDIR/KM3NeT_ ${(l:8::0::0:) DETECTOR_ID}_ ${(l:8::0::0:) RUN}_event.root $WORKDIR done done JAcoustics.sh $DETECTOR_IDfifor STAGE in`echo $STAGES`;do $JPP_DIR/examples/JAcoustics/acoustics-fit.sh $DETECTOR $TRIPOD $STAGE $WORKDIR/KM3NeT_ ${(l:8::0::0:) DETECTOR_ID}_ *event.root > $HOMEDIR | stage |
then usage $script [user directory] nThe user directory should be specified when this script is submitted in a batch queue fi set_variable WORKDIR pwd if | ( | ($#==1) | ) |
script |
Definition at line 2 of file acoustics-fit_00000075.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 |
Definition at line 24 of file acoustics-fit_00000075.sh.
then JDetectorDB D $DETECTOR_ID t A03166911 p A02980895 q A02980908 WW o $DETECTOR_INITIAL fi if[[!-f $TRIPOD_INITIAL]] |
Definition at line 49 of file acoustics-fit_00000075.sh.
then cat $TRIPOD_INITIAL<<EOF2 +587441.700 +4017014.700 -3459.6003 +587848.700 +4016749.700 -3459.6004 +587657.170 +4017113.940 -3459.6005 +587906.500 +4017094.300 -3459.600EOFfiJEditDetector -a $DETECTOR_INITIAL -s "-1 mul $MUL" -o $DETECTORcp -p $TRIPOD_INITIAL $TRIPODJAcoustics.sh $DETECTOR_IDJAcousticsEventBuilder.sh $DETECTOR $RUNS[*]cd $WORKDIRif [ ! $HOMEDIR -ef $WORKDIR ]; then cp -p $HOMEDIR/$TRIPOD $WORKDIR cp -p $HOMEDIR/$DETECTOR $WORKDIR for RANGE in $RUNS[*]; do for (( RUN = ${RANGE%%-*}; $RUN <= ${RANGE##*-}; RUN += 1 )); do cp -p $HOMEDIR/KM3NeT_${(l:8::0::0:)DETECTOR_ID}_${(l:8::0::0:)RUN}_event.root $WORKDIR done done JAcoustics.sh $DETECTOR_IDfifor STAGE in `echo $STAGES`; do $JPP_DIR/examples/JAcoustics/acoustics-fit.sh $DETECTOR $TRIPOD $STAGE $WORKDIR/KM3NeT_${(l:8::0::0:)DETECTOR_ID}_*event.root > $HOMEDIR stage |
Definition at line 106 of file acoustics-fit_00000075.sh.