Jpp  16.0.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
hydrophone-XY:fit.sh File Reference

Go to the source code of this file.

Functions

then usage $script< string
identifier >[< hydrophone file >
] fi 
if (($#==0||$# > 2))
 

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null 
set_variable
 
then fatal Wrong number of
arguments fi set_variable
STRING $argv[1] set_variable
HYDROPHONE_TXT $WORKDIR 
hydrophonexy_
 
then fatal Wrong number of
arguments fi set_variable
STRING $argv[1] set_variable
HYDROPHONE_TXT $WORKDIR
$HYDROPHONE_TXT tail read X Y
Z RMS echo $X $Y $G1_TXT
JGraph f $G1_TXT o $G1_ROOT
awk 
BEGIN
 
then let XMIN
 

Function Documentation

then usage $script<string identifier> [<hydrophone file>] fi if ( ($#==0||$# > 2)  )

Variable Documentation

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

Definition at line 2 of file hydrophone-XY:fit.sh.

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

Definition at line 17 of file hydrophone-XY:fit.sh.

then fatal Wrong number of arguments fi set_variable STRING $argv [1] set_variable HYDROPHONE_TXT $WORKDIR hydrophonexy_
Initial value:
{STRING}.txt
set_variable HYDROPHONE_ROOT $WORKDIR/hydrophonexy_${STRING}.root
set_variable G1_ROOT $WORKDIR/g1.root
if [[ ! -f $HYDROPHONE_TXT ]] then
fatal "No hydrophone data file $HYDROPHONE_TXT."
fi
JGraph2D
-f $HYDROPHONE_TXT
-o $HYDROPHONE_ROOT
sort -gr -k 3
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
o $QUALITY_ROOT d $DEBUG!JPlot1D f
Definition: JDataQuality.sh:66
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:20
then JConvertDetectorFormat a $DETECTOR[1] o
then display $WORKDIR
Definition: plot-Domino.sh:128
then fatal Wrong number of arguments fi set_variable STRING $argv[1] set_variable HYDROPHONE_TXT $WORKDIR hydrophonexy_
Double_t g1(const Double_t x)
Function.
Definition: JQuantiles.cc:25

Definition at line 27 of file hydrophone-XY:fit.sh.

then fatal Wrong number of arguments fi set_variable STRING $argv [1] set_variable HYDROPHONE_TXT $WORKDIR $HYDROPHONE_TXT tail read X Y Z RMS echo $X $Y $G1_TXT JGraph f $G1_TXT o $G1_ROOT awk BEGIN
Initial value:
{
XMIN = +1e3
XMAX = -1e3
YMIN = +1e3
YMAX = -1e3
}
END { print XMIN, XMAX, YMIN, YMAX }
$1 !~ /^#/ {
if ( $1 < XMIN ) { XMIN = $1 }
if ( $1 > XMAX ) { XMAX = $1 }
if ( $2 < YMIN ) { YMIN = $2 }
if ( $2 > YMAX ) { YMAX = $2 }
}
' $HYDROPHONE_TXT | read XMIN XMAX YMIN YMAX
if (( $X > $XMIN && $X < $XMAX && $Y > $YMIN && $Y < $YMAX ))
fatal Invalid number of arguments esac let YMIN
Definition: testToT.sh:39
print
Definition: JConvertDusj.sh:44
then let XMIN

Definition at line 49 of file hydrophone-XY:fit.sh.

then let XMIN

Definition at line 66 of file hydrophone-XY:fit.sh.