Jpp  16.0.3
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
hydrophone-Z: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
HYDROPHONE_TXT $WORKDIR 
hydrophonez_
 
then fatal No hydrophone data
file $HYDROPHONE_TXT fi sort
gr 
k
 
then fatal No hydrophone data
file $HYDROPHONE_TXT fi sort
gr $HYDROPHONE_TXT tail read X
Y JGraph f $HYDROPHONE_TXT o
$HYDROPHONE_ROOT 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 hydrophone-Z:fit.sh.

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

Definition at line 18 of file hydrophone-Z:fit.sh.

then fatal Wrong number of arguments fi set_variable STRING $argv [1] set_variable HYDROPHONE_TXT $WORKDIR hydrophonez_
Initial value:
{STRING}.txt
set_variable HYDROPHONE_ROOT $WORKDIR/hydrophonez_${STRING}.root
if [[ ! -f $HYDROPHONE_TXT ]]
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 fatal Wrong number of arguments fi set_variable STRING $argv[1] set_variable HYDROPHONE_TXT $WORKDIR hydrophonez_
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:20
then display $WORKDIR
Definition: plot-Domino.sh:128

Definition at line 28 of file hydrophone-Z:fit.sh.

then fatal No hydrophone data file $HYDROPHONE_TXT fi sort gr k

Definition at line 35 of file hydrophone-Z:fit.sh.

then fatal No hydrophone data file $HYDROPHONE_TXT fi sort gr $HYDROPHONE_TXT tail read X Y JGraph f $HYDROPHONE_TXT o $HYDROPHONE_ROOT let XMIN
Initial value:
="$X - 2.5"
let XMAX="$X + 2.5"
-f ${HYDROPHONE_ROOT}:\.\*
-o $WORKDIR/fit.root
-F "$FORMULA"
-x "$XMIN $XMAX"
-@"@"p0 = $Y"
-@"@"p1 = 0.001"
-@"@"p2 = $X"
-@"@"p3 = 0.3"
-d $DEBUG
set_array P2 `JPrintFit -f $WORKDIR/fit.root:\.\* -@p2`
printf "result %7.3f +/- %7.3f [m]\n" $P2[1] $P2[2]
if (( $# == 2 ))
o $QUALITY_ROOT d $DEBUG!JPlot1D f
Definition: JDataQuality.sh:66
then awk F
then JConvertDetectorFormat a $DETECTOR[1] o
then display $WORKDIR
Definition: plot-Domino.sh:128

Definition at line 41 of file hydrophone-Z:fit.sh.