Jpp - 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 echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR 
if (do_usage $*)
 
then usage $script< daq file >
< detectorfile >
< outputdirectory > fi 
if (($#< 3))
 
do for ((FLOOR=$FIRST_FLOOR;$FLOOR<=$LAST_FLOOR;FLOOR+=1))
 

Variables

 version
 
then fatal Not enough
arguments fi set_variable
DAQ_FILE $argv[1] set_variable
DETECTOR_FILE $argv[2]
set_variable OUTPUT_DIR $argv[3]
set_variable 
OUTPUT_JC_TOT
 
do GAINS
 
do rate
 

Function Documentation

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR if ( do_usage $*  )
then usage $script<daq file><detectorfile><outputdirectory> fi if ( ($#< 3)  )
do for ( (FLOOR=$FIRST_FLOOR;$FLOOR<=$LAST_FLOOR;FLOOR+=1)  )

Variable Documentation

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

Definition at line 3 of file JAcceptanceTest.sh.

then fatal Not enough arguments fi set_variable DAQ_FILE $argv [1] set_variable DETECTOR_FILE $argv [2] set_variable OUTPUT_DIR $argv [3] set_variable OUTPUT_JC_TOT

Definition at line 26 of file JAcceptanceTest.sh.

do GAINS
Initial value:
=()
RATES=()
sput $STRING $FLOOR
sget MODULE
for (( CHAN = 0; $CHAN < $NUMBER_OF_PMTS; CHAN += 1 ))
then fatal Invalid string $STRING

Definition at line 72 of file JAcceptanceTest.sh.

do rate
Initial value:
=`JPrintResult -f ${OUTPUT_JDA}:rate_${MODULE}.${CHAN}$ -F "GetMean"`
if [[ $rate == "" ]]
do set_array DAQHEADER JPrintDAQHeader f
Definition: JTuneHV.sh:79
then awk F

Definition at line 80 of file JAcceptanceTest.sh.