Jpp  18.0.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
JCalibratePMT.sh File Reference

Go to the source code of this file.

Functions

then usage $script< detector_file > (input file)+< PMT parameters file >" fi if (( $ fatal "Wrong number of arguments." fi set_variable DETECTOR $argv[1] set_array INPUT_FILES $argv[2
 
do JPrintDAQHeader f
$INPUT_FILE read ID RUN
FRAME_INDEX UTC 
if (($DETECTOR_ID!=$ID))
 

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR 
set_variable
 
then usage set_variable
PMT_FILE $argv[-1] 
if [[!-d $WORKDIR]]
 
then fatal Invalid detector
identifier $DETECTOR_ID fi
set_variable RUNSETUPID
typeset a RANGE 
RANGE [1]
 

Function Documentation

then usage $script< detector_file > ( input  file)
do JPrintDAQHeader f $INPUT_FILE read ID RUN FRAME_INDEX UTC if ( ($DETECTOR_ID!=$ID )

Variable Documentation

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

Definition at line 5 of file JCalibratePMT.sh.

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

Definition at line 24 of file JCalibratePMT.sh.

then mkdir p $WORKDIR fi JCookie sh eval JPrintDetector a $DETECTOR O IDENTIFIER debug $DETECTOR $DETECTOR_ID if[["$DETECTOR_ID"!=[1-9][0-9]*]]

Definition at line 36 of file JCalibratePMT.sh.

then fatal Invalid detector identifier $DETECTOR_ID fi set_variable RUNSETUPID typeset a RANGE RANGE[1]
Initial value:
=99999999
RANGE[2]=0
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable WORKDIR if do_usage *then usage for INPUT_FILE in $INPUT_FILES[*]
set_variable INPUT_FILE
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
Definition: JCanberra.sh:46
then fatal Invalid detector identifier $DETECTOR_ID fi set_variable RUNSETUPID typeset a RANGE RANGE[1]

Definition at line 55 of file JCalibratePMT.sh.