Jpp  17.3.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
JAcceptanceTest.sh File Reference

Go to the source code of this file.

Functions

then usage $script< daq file >
< detectorfile >
< outputdirectory > fi 
if (($#!=3))
 
do for ((FLOOR=$FIRST_FLOOR;$FLOOR<=$LAST_FLOOR;FLOOR+=1))
 
do set_array PMTparameters (JPrintPMTParameters-P ${PMT_PARAMETERS_FILE}-p"$MODULE.$PMT"-k"gain") set_variable gain $
 
set_variable rate (JPrintResult-f ${OUTPUT_JDA}:rate_ ${MODULE}.${PMT}$-F"GetMean") if[[-z $rate]]
 

Variables

 version
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
set_variable DEFAULT_VALUE
NULL 
set_variable
 
then fatal Wrong number of
arguments fi set_variable
OUTPUT_DIR $argv[3]
set_variable DETECTOR_FILE
$argv[2] set_variable DAQ_FILE
$argv[1] set_variable 
OUTPUT_JC_TOT
 
do GAINS
 
then rate
 

Function Documentation

then usage $script<daq file><detectorfile><outputdirectory> fi if ( ($#!=3)  )
do for ( (FLOOR=$FIRST_FLOOR;$FLOOR<=$LAST_FLOOR;FLOOR+=1)  )
do set_array PMTparameters ( JPrintPMTParameters-P ${PMT_PARAMETERS_FILE}-p"$MODULE.$PMT"-k"gain"  )

Definition at line 88 of file JAcceptanceTest.sh.

88  {PMT_PARAMETERS_FILE} -p "$MODULE.$PMT" -k "gain")
then fatal No hydrophone data file $HYDROPHONE_TXT fi sort gr k
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:21
do set_array PMTparameters(JPrintPMTParameters-P ${PMT_PARAMETERS_FILE}-p"$MODULE.$PMT"-k"gain") set_variable gain $
then $JPP_DIR examples JDetector JToT o $OUTPUT_FILE n N $NPE P gain
Definition: JToT.sh:47
set_variable rate ( JPrintResult-f ${OUTPUT_JDA}:rate_ ${MODULE}.${PMT}$-F"GetMean"  )

Variable Documentation

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

Definition at line 3 of file JAcceptanceTest.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEFAULT_VALUE NULL set_variable

Definition at line 18 of file JAcceptanceTest.sh.

then fatal Wrong number of arguments fi set_variable OUTPUT_DIR $argv [3] set_variable DETECTOR_FILE $argv [2] set_variable DAQ_FILE $argv [1] set_variable OUTPUT_JC_TOT

Definition at line 30 of file JAcceptanceTest.sh.

do GAINS
Initial value:
=()
RATES=()
sput $STRING $FLOOR
sget MODULE
for (( PMT = 0; $PMT < $NUMBER_OF_PMTS; PMT += 1 ))
static const JPBS_t PMT(3, 4, 2, 3)
PBS of photo-multiplier tube (PMT)
then fatal Invalid string $STRING

Definition at line 80 of file JAcceptanceTest.sh.

then rate
Initial value:
=$DEFAULT_VALUE
fi
if [[ -z $gain ]]

Definition at line 94 of file JAcceptanceTest.sh.