4 if [ -
z $JPP_DIR ];
then
5 echo "Variable JPP_DIR undefined."
9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null
13 set_variable: NMIN ACOUSTICS_NMIN 150
18 usage "$script <detector file> (input file)+ <disable file>"\
19 "\nAuxiliary script for disabling transmissions."\
20 "\nInput files correspond to the output of JAcousticsEventBuilder[.sh]."
24 fatal
"Wrong number of arguments."
31 eval `JPrintDetector -
a $DETECTOR -O IDENTIFIER`
33 JAcoustics.sh $DETECTOR_ID
37 mv acoustics_fit_parameters.txt .acoustics_fit_parameters.txt
39 cat>acoustics_fit_parameters.txt<<EOF
52 JCanberra.sh
$DETECTOR $DIR/katoomba.root $DIR/canberra\[%\].root
54 mv .acoustics_fit_parameters.txt acoustics_fit_parameters.txt
59 -
f $DIR/canberra\*.root \
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
then JLigier sh continue fi cat
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DETECTOR_ID set_array RUNS if do_usage *then usage $script< source directory > nThe source directory corresponds to a pre calibrated D0ARCA009 detector fi case set_variable DIR
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
do set_variable OUTPUT_DIRECTORY $WORKDIR T
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable WORKDIR if do_usage *then usage for INPUT_FILE in $INPUT_FILES[*]
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
then usage $script[energy[distance[z of PMT]]] fi case set_variable z
then usage $script< input file >[option[primary[working directory]]] nWhere option can be N
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 JHobbit a $DETECTOR f
do sput $STRING $FLOOR sget MODULE INPUT_FILES
then getFile sh $JPP_ARCHIVE $DETECTOR_ID $RUNS[1] $KEY $VERSION $WORKDIR
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null
#define DEBUG(A)
Message macros.