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                   \
 
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison fi case set_variable RANGE $argv[3]
 
Q(UTCMax_s-UTCMin_s)-livetime_s
 
then usage $script< detector file >< inputfile > nUtility script to create PDF and CDF of transition time distribution fi case set_variable WORKDIR
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null if do_usage *then usage $script< detector identifier > fi case set_variable DETECTOR_ID
 
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
 
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
 
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
 
do set_variable INPUT_FILE $WORKDIR KM3NeT_
 
do echo Generating $dir eval D
 
do if[[!-f $ACOUSTICS_WORKDIR/${KEY}.txt]]