9 if [ -z $JPP_DIR ]; 
then 
   10     echo "Variable JPP_DIR undefined." 
   14 source $JPP_DIR/setenv.sh $JPP_DIR
 
   20     usage "$script <detector identifier>"\
 
   21           "\nAuxiliary script to download compass calibration data from database." 
   24 if (( $# != 1 )); 
then 
   25     fatal 
"Wrong number of parameters." 
   33 if [[ ! -
f $AHRS_CALIBRATION_FILE ]]; 
then 
   37         -
o $AHRS_CALIBRATION_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]
 
o $QUALITY_ROOT d $DEBUG!JPlot1D f
 
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 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 echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
 
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
 
do echo Generating $dir eval D
 
#define DEBUG(A)
Message macros.