4 if [ -z $JPP_DIR ]; 
then 
    5     echo "Variable JPP_DIR undefined." 
    9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null 
   16     usage "$script <string identifier> <floor[-floor]> <detector file> (input file)+" 
   20     fatal 
"Wrong number of arguments." 
   28 eval `JPrintDetector -
a $DETECTOR -O IDENTIFIER`
 
   31 source JAcoustics.sh   $DETECTOR_ID
 
   35 if [[ -z 
"${STRINGS[(r)$STRING]}" ]]; 
then 
   36     fatal 
"Invalid string $STRING; "\
 
   37           "possible values: ${STRINGS[*]}" 
   40 if (( ${FLOORS%%-*} < $FIRST_FLOOR || ${FLOORS##*-} > $LAST_FLOOR )); 
then 
   41     fatal 
"Invalid floor $FLOORS; "\
 
   42           "possible values: $FIRST_FLOOR-$LAST_FLOOR" 
   48 for (( FLOOR = ${FLOORS%%-*}; $FLOOR <= ${FLOORS##*-}; FLOOR += 1 )); 
do 
   53     for (( Z = -1.0; $Z <= +1.0; Z += 0.05 )); 
do 
   60             -
M "$MODULE add 0.0 0.0 $Z"               \
 
   63         rm -
f $TMPDIR/katoomba.root
 
   67             -
f "$INPUT_FILES[*]"                      \
 
   68             -
o $TMPDIR/katoomba.root                  \
 
   72             -@ 
$WORKDIR/acoustics_fit_parameters.txt  \
 
   79         set_array RESULT `JPrintResult -
f $TMPDIR/katoomba.root:chi2 -
F "GetMean" -
F "GetRMS / sqrt(GetEntries)"`
 
   81         if (( ${#RESULT} == 2 )); 
then 
   82             printf 
"%7.3f %7.3f %7.3f\n" $Z $RESULT[*] >> $MODULE_TXT
 
then fatal No hydrophone data file $HYDROPHONE_TXT fi sort gr k
 
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
 
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
 
*set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2,-2] set_variable OUTPUT_FILE $argv[-1]
 
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
 
do typeset Z STRING typeset Z FLOOR set_variable MODULE_TXT $WORKDIR modulez_
 
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR tmp set_variable JDAQ_TIMESLICE JDAQTimeslice if do_usage *then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
 
do set_variable DETECTOR_TXT $WORKDIR detector
 
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null
 
const JModule & getModule(const JDetector &detector, const JModuleLocation &location)
find module with a given string and floor number