4 if [ -z $JPP_DIR ]; 
then 
    5     echo "Variable JPP_DIR undefined." 
    9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null 
   21     usage "$script <detector file> <string identifier> [<detector file>]" 
   24 if (( $# == 0 || $# > 3 )); 
then 
   25     fatal 
"Wrong number of arguments." 
   31 set_variable  
FORMULA             "[0] * exp(-0.5 * (x-[1])*(x-[1]) / ([2]*[2]))" 
   37     -
f hydrophone.root:$MODULE                   \
 
   46 P1=$((0.5*($RESULT[-1] + $RESULT[1])))           # average
 
   47 P2=$((1.5*($RESULT[-1] - $RESULT[1])))           # width
 
   53     -
@"p0 = GetMaximum * 0.8"                    \
 
   61 printf 
"string t0    %4d %9.3f +/- %9.3f us\n" $STRING $(($P1[1] * 1.0e6)) $(($P1[2] * 1.0e6))
 
   62 printf 
"string sigma %4d %9.3f +/- %9.3f us\n" $STRING $(($P2[1] * 1.0e6)) $(($P2[2] * 1.0e6))
 
   68     set_array P1  `JPrintFit -
f  /tmp/
F\[${
STRING}\].root:Add -@
p1`
 
   70     let TIME_OFFSET_NS=
"$P1[1] * 1.0e9" 
   72     printf 
"Add time offset %12.6d to hydrophone.\n" $TIME_OFFSET_NS
 
   77         -
M "$MODULE SUB $TIME_OFFSET_NS"     \
 
   85     -\^ 
"number of events [a.u.]"                \
 
   88     -
o hydrophonet0_${
STRING}.$FORMAT            $BATCH
 
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison fi case set_variable RANGE $argv[3]
 
Q(UTCMax_s-UTCMin_s)-livetime_s
 
std::istream & read(std::istream &in, JTestSummary &summary, const char delimiter= ' ')
Read test summary. 
 
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
 
then usage $script< detector file >< inputfile > nUtility script to create PDF and CDF of transition time distribution fi case set_variable WORKDIR
 
then JShowerPostfit f $INPUT_FILE o $OUTPUT_FILE N
 
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
 
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
 
do set_variable MODULE getModule a $WORKDIR detector_a datx L $STRING JEditDetector a $WORKDIR detector_a datx M $MODULE setz o $WORKDIR detector_a datx JEditDetector a $WORKDIR detector_b datx M $MODULE setz o $WORKDIR detector_b datx done echo Output stored at $WORKDIR detector_a datx and $WORKDIR tripod_a txt JDrawDetector2D a $WORKDIR detector_a datx a $WORKDIR detector_b datx L BL o detector $FORMAT $BATCH JDrawDetector2D T $WORKDIR tripod_a txt T $WORKDIR tripod_b txt L BL o tripod $FORMAT $BATCH JCompareDetector a $WORKDIR detector_a datx b $WORKDIR detector_b datx o $WORKDIR abc root &dev null for KEY in X Y Z
 
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