4 if [ -z $JPP_DIR ]; 
then 
    5     echo "Variable JPP_DIR undefined." 
    9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null 
   14     usage "$script <detector identifer> <run> <output file>" 
   17 if (( $# != 3 )); 
then 
   18     fatal 
"Wrong number of arguments." 
   29     DOM_POSITION_CALIBRATION
 
   30     DOM_ROTATION_CALIBRATION
 
   31     ACOUSTIC_T0_CALIBRATION
 
   36 JDetectorDB      -
D $DETECTOR_ID  -
r $RUN        -
o $OUTPUT_FILE  
 
   38 JEditDetector       -
a $OUTPUT_FILE  -M 
"-1 reset"                   -
o $OUTPUT_FILE
 
   39 JConstructDetector  -
a $OUTPUT_FILE  -
f$WORKDIR/${^CALIBRATION}.txt  -
o $OUTPUT_FILE
 
then usage $script< detector identifier >< startdate\"YYYY-MM-DDHH:MM:SS\"><finaldate\"YYYY-MM-DDHH:MM:SS\"><QA/QCfile> fi case set_variable QAQC_TXT $argv[4]
 
then usage $script< directory A >< directoryB > nIn each there should be a file detector datx and tripod txt
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O SUMMARY JPrintDAQHeader f $INPUT_FILE read A DAQ_HEADER set_variable DETECTOR_ID
 
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
 
usr share Modules init zsh export TMPDIR
 
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
 
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 echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
 
&set_variable OUTPUT_FILE
 
then JCookie sh JDataQuality D $DETECTOR_ID R
 
static JNullStream null
Null I/O stream. 
 
do echo Generating $dir eval D