Jpp  17.3.0-rc.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
toashort_monitor.sh File Reference

Go to the source code of this file.

Functions

then usage $script< detector file > (input file)+" "\nInput files correspond to the output of JAcousticsEventBuilder[.sh]." fi if (( $ fatal "Wrong number of arguments." fi set_variable DETECTOR $argv[1] set_array INPUT_FILES $argv[2
 
then usage eval JPrintDetector
a $DETECTOR O SUMMARY eval
JPrintDetector a $DETECTOR O
IDENTIFIER 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
set_variable HISTOGRAM
set_variable FORMULA *[0] 
exp (-0.5 *(x-[1])*(x-[1])/([2]*[2]))+[3]" typeset -A BUFFER for EMITTER in -1 $
 

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null zmodload zsh
mathfunc 
set_variable
 
do echo Processing $EMITTER
$JPP_DIR examples JAcoustics
JToAshortMonitor a $DETECTOR f
$INPUT_FILES[*] o $WORKDIR
toashort root E $EMITTER T
$RANGE_S x $HISTOGRAM d JFit f
$WORKDIR toashort 
root
 
then BUFFER [$EMITTER]
 

Function Documentation

then usage $script< detector file > ( input  file)

Definition at line 18 of file hydrophone-t0:run.sh.

21  {#} < 2 )); then
then usage eval JPrintDetector a $DETECTOR O SUMMARY eval JPrintDetector a $DETECTOR O IDENTIFIER 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 set_variable HISTOGRAM set_variable FORMULA* [0] exp ( -0.5 *  x-[1])*(x-[1])/([2]*[2])

Definition at line 46 of file toashort_monitor.sh.

50  {(@k)EMITTERS}; do
then fatal No hydrophone data file $HYDROPHONE_TXT fi sort gr k

Variable Documentation

script
Initial value:
=${0##*/}
if [ -z $JPP_DIR ]

Definition at line 2 of file toashort_monitor.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR& dev null zmodload zsh mathfunc set_variable

Definition at line 19 of file toashort_monitor.sh.

do echo Processing $EMITTER $JPP_DIR examples JAcoustics JToAshortMonitor a $DETECTOR f $INPUT_FILES [*] o $WORKDIR toashort root E $EMITTER T $RANGE_S x $HISTOGRAM d JFit f $WORKDIR toashort root

Definition at line 50 of file toashort_monitor.sh.

then BUFFER[$EMITTER]
Initial value:
=$(($P0[1] / $P3[1]))
fi
JPlot1D
-f ${TMPDIR:-/tmp}/fit.root:\.\*
-x "-1.0e-3 +1.0e-3"
-Y
-\> "#Deltat [s]"
-\^ "number of events [a.u.]"
-N "X 505"
-s 1000000000
-T "[$EMITTER]"
-o $WORKDIR/T_${EMITTER}.$FORMAT $BATCH
for KEY VALUE in ${(kv)BUFFER}
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
Definition: JDataQuality.sh:76
then JShowerPostfit f $INPUT_FILE o $OUTPUT_FILE N
usr share Modules init zsh export TMPDIR
then fatal Wrong number of arguments fi set_variable STRING $argv[1] set_variable DETECTORXY_TXT $WORKDIR $DETECTORXY_TXT tail read X Y CHI2 RMS printf optimum n $X $Y $CHI2 $RMS awk v Y
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
do set_variable OUTPUT_DIRECTORY $WORKDIR T
esac typeset A BUFFER $JPP_DIR examples JAcoustics JCreep f $INPUT_FILE BUFFER
Definition: JCreep.sh:34
then display $WORKDIR
Definition: plot-Domino.sh:128
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
Definition: JCanberra.sh:46
esac done
Definition: JAddHDE.sh:21

Definition at line 78 of file toashort_monitor.sh.