4 if [ -z $JPP_DIR ]; 
then 
    5     echo "Variable JPP_DIR undefined." 
    9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null 
   17     usage "$script [<detector identifier> <first run> <last run>] <QA/QC file>"\
 
   18           "\nExample script to produce data quality plots."\
 
   19           "\nWhen a detector identifier and runs are specified, data are downloaded from the database"\
 
   20           "\nand subsequently stored in the QA/QC file beforehand." 
   24     0)  fatal 
"Wrong number of arguments.";;
 
   35     if ( ! reuse_file $QUALITY_TXT ); 
then 
   49     -
Q "livetime_s;                                            1200     60000"   \
 
   50     -
Q "(UTCMax_s - UTCMin_s) - livetime_s;                   -100     +100"     \
 
   51     -
Q "JDAQEvent / livetime_s;                                0.05     50.0"    \
 
   55     -
Q "FIFO;                                                  0.00     0.01"    \
 
   56     -
Q "MEAN_Rate_Hz;                                          4500    15000"    \
 
   57     -
Q "RMS_Rate_Hz;                                           200      5000"    \
 
   58     -
Q "Acoustics / livetime_s;                                0.0      100.0"   \
 
   59     -
Q "AHRS      / livetime_s;                                0.0      100.0"   \
 
   60     -
V "(JDAQEvent - JTriggerReprocessor) * 1.0 / (JDAQEvent + 1.0e-10);  -5.0e-3  +5.0e-3"  \
 
   66     -
f ${QUALITY_ROOT}:h0                                          \
 
   68     -\^ 
"number of runs"                                           \
 
   73     -
f ${QUALITY_ROOT}:h1                                          \
 
   74     -\^ 
"number of runs"                                           \
 
   80     -
f ${QUALITY_ROOT}:VETO                                        \
 
   93     \^\(JDAQEvent\.\*JTriggerReprocessor\)   event-
count 
  104 for KEY VALUE 
in ${(@kv)BUFFER}; 
do 
  108         -
f ${QUALITY_ROOT}:${KEY}                                      \
 
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]
 
Q(UTCMax_s-UTCMin_s)-livetime_s
 
static const JPBS_t PMT(3, 4, 2, 3)
PBS of photo-multiplier tube (PMT) 
 
then set_variable singlesRate set_variable doublesRate set_variable numberOfSlices echo Generating random background echo Singles rate
 
o $QUALITY_ROOT d $DEBUG!JPlot1D f
 
&set_variable QUALITY_TXT
 
V(JDAQEvent-JTriggerReprocessor)*1.0/(JDAQEvent+1.0e-10)
 
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
 
esac set_variable FILEPREFIX
 
then JCookie sh JDataQuality D $DETECTOR_ID R $RUNS[*] o $QUALITY_TXT d $DEBUG!fi fi JDataQuality f $QUALITY_TXT Q livetime_s
 
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
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
do debug $__line__ echo $__line__ read URL DETECTOR RUNS RUNS
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
 
then usage $script[distance] fi case set_variable R
 
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
 
esac typeset A BUFFER $JPP_DIR examples JAcoustics JCreep f $INPUT_FILE BUFFER
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
 
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
 
do echo Generating $dir eval D
 
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null
 
static const JPBS_t AHRS(3, 4, 3, 4)
PBS of compass 
 
#define DEBUG(A)
Message macros.