4 if [ -z $JPP_DIR ]; 
then 
    5     echo "Variable JPP_DIR undefined." 
    9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null 
   18     usage "$script <detector file> <string identifier> [<detector file>]" 
   21 if (( $# == 0 || $# > 3 )); 
then 
   22     fatal 
"Wrong number of arguments." 
   28 set_variable  FORMULA             
"[0] * exp(-0.5 * (x-[1])*(x-[1]) / ([2]*[2]))" 
   34     -
f hydrophone.root:$MODULE                   \
 
   43 P1=$((0.5*($RESULT[-1] + $RESULT[1])))           # average
 
   44 P2=$((1.5*($RESULT[-1] - $RESULT[1])))           # width
 
   50     -
@"p0 = GetMaximum * 0.8"                    \
 
   55 printf 
"string %4d %9.6f +/- %9.6f\n" $STRING `JPrintFit -
f  /tmp/
F\[${
STRING}\].root:Add -@
p1`
 
   63     set_array P1  `JPrintFit -
f  /tmp/
F\[${
STRING}\].root:Add -@
p1`
 
   65     let TIME_OFFSET_NS=
"$P1[1] * 1.0e9" 
   67     printf 
"Add time offset %12.6d to hydrophone.\n" $TIME_OFFSET_NS
 
   72         -
M "$MODULE SUB $TIME_OFFSET_NS"     \
 
   80     -\^ 
"number of events [a.u.]"                \
 
   83     -
o hydrophonet0_${
STRING}.gif                $BACKGROUND
 
Q(UTCMax_s-UTCMin_s)-livetime_s
 
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
 
bool read(Vec &v, std::istream &is)
Read a Vec(tor) from a stream. 
 
static const double H
Planck constant [eV s]. 
 
then fatal Invalid string $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
 
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
 
then usage $script[input file[working directory[option]]] nWhere option can be N
 
source $JPP_DIR setenv csh $JPP_DIR eval JShellParser o a A
 
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