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

Go to the source code of this file.

Functions

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

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null set_variable 
DEBUG
 
then fatal Wrong number of
arguments fi set_variable
HYDROPHONE_TXT set_variable 
BASENAME
 
then fatal No sound hydrophone
file $HYDROPHONE_TXT fi JGraph
f $HYDROPHONE_TXT o
$HYDROPHONE_ROOT sort gr 
k
 
then fatal No sound hydrophone
file $HYDROPHONE_TXT fi JGraph
f $HYDROPHONE_TXT o
$HYDROPHONE_ROOT sort gr
$HYDROPHONE_TXT tail read X Y
let 
XMIN
 

Function Documentation

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

Variable Documentation

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

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

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR& dev null set_variable DEBUG
Initial value:
set_variable WORKDIR ${ACOUSTICS_WORKDIR:-./}
set_variable BACKGROUND ${ACOUSTICS_BACKGROUND:+-B}
set_variable FORMULA "[0] + [1]*(sqrt(1.0 + 0.5*(x-[2])*(x-[2])/([3]*[3])) - 1.0)"
if ( do_usage $* )
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable ACOUSTICS_DEBUG
Definition: JAcoustics.sh:17
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
Definition: JLegolas.sh:28

Definition at line 11 of file hydrophone-phi:fit.sh.

then fatal Wrong number of arguments fi set_variable HYDROPHONE_TXT set_variable BASENAME
Initial value:
{${HYDROPHONE_TXT/.txt}##*/}
set_variable HYDROPHONE_ROOT $WORKDIR/${BASENAME}.root
source JAcoustics.sh --
CHECK_EXIT_CODE
if [[ ! -f $HYDROPHONE_TXT ]]
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
do set_array DAQHEADER JPrintDAQHeader f
Definition: JTuneHV.sh:79
then fatal Wrong number of arguments fi set_variable HYDROPHONE_TXT set_variable BASENAME
then display $WORKDIR
Definition: plot-Domino.sh:127

Definition at line 25 of file hydrophone-phi:fit.sh.

then fatal No sound hydrophone file $HYDROPHONE_TXT fi JGraph f $HYDROPHONE_TXT o $HYDROPHONE_ROOT sort gr k

Definition at line 40 of file hydrophone-phi:fit.sh.

then fatal No sound hydrophone file $HYDROPHONE_TXT fi JGraph f $HYDROPHONE_TXT o $HYDROPHONE_ROOT sort gr $HYDROPHONE_TXT tail read X Y let XMIN
Initial value:
="$X - 0.35"
let XMAX="$X + 0.35"
-f ${HYDROPHONE_ROOT}:\.\*
-o $WORKDIR/fit.root
-F "$FORMULA"
-x "$XMIN $XMAX"
-@"@"p0 = $Y"
-@"@"p1 = 1.0"
-@"@"p2 = $X"
-@"@"p3 = 0.4"
-d $DEBUG
set_array P2 `JPrintFit -f $WORKDIR/fit.root:\.\* -@p2`
printf "result %10.5f +/- %10.5f\n" $P2[1] $P2[2]
if (( $# == 2 ))
do set_array DAQHEADER JPrintDAQHeader f
Definition: JTuneHV.sh:79
do $DIR JTransitTime o
Definition: JTransitTime.sh:44
then awk F
then display $WORKDIR
Definition: plot-Domino.sh:127

Definition at line 42 of file hydrophone-phi:fit.sh.