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

Go to the source code of this file.

Functions

then usage $script< source
directory >
< detectoridentifier >< suffix >
< archive >< version >
nAuxiliary script to download
online detector files from
database and to store these in
archive nNote that the given
suffix and version should
match with that in the file
names fi 
if (($#==5))
 
then set_variable DIR $argv[1]
set_variable DETECTOR_ID $argv[2]
set_variable SUFFIX $argv[3]
set_variable ARCHIVE $argv[4]
set_variable VERSION $argv[5]
else fatal Wrong number of
arguments fi set_variable 
DETECTOR_ID (getDetector-D $DETECTOR_ID-O int) set_variable PREFIX KM3NeT_ $
 

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null 
set_variable
 
set_variable SUFFIX
 
do BUFFER
 

Function Documentation

then usage $script<source directory><detectoridentifier><suffix><archive><version> nAuxiliary script to download online detector files from database and to store these in archive nNote that the given suffix and version should match with that in the file names fi if ( ($#==5)  )
then set_variable DIR $argv [1] set_variable DETECTOR_ID $argv [2] set_variable SUFFIX $argv [3] set_variable ARCHIVE $argv [4] set_variable VERSION $argv [5] else fatal Wrong number of arguments fi set_variable DETECTOR_ID ( getDetector-D $DETECTOR_ID-O  int)

Definition at line 31 of file archive-put-pmt.sh.

32  {(l:8::0::0:)DETECTOR_ID}
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O SUMMARY JPrintDAQHeader f $INPUT_FILE read A DAQ_HEADER set_variable DETECTOR_ID
Definition: JSquid.sh:28

Variable Documentation

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

Definition at line 2 of file archive-put-pmt.sh.

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

Definition at line 15 of file archive-put-pmt.sh.

set_variable SUFFIX
Initial value:
typeset -A DATABASE
typeset -T BUFFER ARRAY _
for FILE_NAME in `ls ${DIR}/${PREFIX}_*\.${SUFFIX}.txt`
esac done BUFFER
Definition: JMakePDF.sh:77
then fatal Wrong number of arguments fi DIR
set_variable SUFFIX
do set_variable OUTPUT_DIRECTORY $WORKDIR T
#define VERSION
Definition: elog-version.h:27
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
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A

Definition at line 33 of file archive-put-pmt.sh.

do BUFFER
Initial value:
=${${FILE_NAME:t}%%\.*}
let "ID = $ARRAY[2]"
let "RUN = $ARRAY[3]"
DATABASE[$RUN]=$FILE_NAME
if (( ${#DATABASE} == 0 ))
esac done
Definition: JAddHDE.sh:21

Definition at line 40 of file archive-put-pmt.sh.