9 if [ -z $JPP_DIR ];
then
10 echo "Variable JPP_DIR undefined."
14 source $JPP_DIR/setenv.sh $JPP_DIR
20 usage "$script <detector file> <run>"
23 if (( $# != 2 ));
then
24 fatal
"Wrong number of parameters."
32 eval `JPrintDetector -
a $DETECTOR -O IDENTIFIER`
40 echo -
n "Writing $INPUT_FILE... "
44 -@
"detid = $DETECTOR_ID" \
57 if [[ ! -
f $AHRS_CALIBRATION_FILE ]];
then
61 -
o $AHRS_CALIBRATION_FILE \
67 -c $AHRS_CALIBRATION_FILE \
do echo Generating $dir eval D
Q(UTCMax_s-UTCMin_s)-livetime_s
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
then rm i $OUTPUT_FILE fi let RUN
then JFileTuna f $INPUT_FILE
*set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2,-2] set_variable OUTPUT_FILE $argv[-1]
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
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
alias put_queue eval echo n
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR tmp set_variable JDAQ_TIMESLICE JDAQTimeslice if do_usage *then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
do set_variable INPUT_FILE $WORKDIR KM3NeT_
do if[[!-f $ACOUSTICS_WORKDIR/${KEY}.txt]]