Jpp - the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
detector-Zmul+zoom:fit.sh File Reference

Go to the source code of this file.

Functions

then usage $script< string
identifier >[< detector 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
DETECTOR_TXT $WORKDIR 
detectorzmul_
 
then fatal Wrong number of
arguments fi set_variable
STRING $argv[1] set_variable
DETECTOR_TXT $WORKDIR
$DETECTOR_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> [<detector file>] fi if ( ($#==0||$# > 2)  )

Variable Documentation

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

Definition at line 2 of file detector-Zmul+zoom:fit.sh.

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

Definition at line 20 of file detector-Zmul+zoom:fit.sh.

then fatal Wrong number of arguments fi set_variable STRING $argv [1] set_variable DETECTOR_TXT $WORKDIR detectorzmul_
Initial value:
{STRING}.txt
set_variable G1_ROOT $WORKDIR/g1.root
if [[ ! -f $DETECTOR_TXT ]] then
fatal "No detector data file $DETECTOR_TXT."
fi
JGraph2D
-f $DETECTOR_TXT
-o $DETECTOR_ROOT
sort -gr -k 3
then fatal Wrong number of arguments fi set_variable STRING $argv[1] set_variable DETECTOR_TXT $WORKDIR detectorzmul_
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 JPizza f
Definition: JPizza.sh:46
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:20
do $DIR JTransitTime o
Definition: JTransitTime.sh:44
then display $WORKDIR
Definition: plot-Domino.sh:127
Double_t g1(const Double_t x)
Function.
Definition: JQuantiles.cc:25

Definition at line 30 of file detector-Zmul+zoom:fit.sh.

then fatal Wrong number of arguments fi set_variable STRING $argv [1] set_variable DETECTOR_TXT $WORKDIR $DETECTOR_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 }
}
' $DETECTOR_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 52 of file detector-Zmul+zoom:fit.sh.

then let XMIN

Definition at line 69 of file detector-Zmul+zoom:fit.sh.