Jpp  18.4.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
examples/JCompass/JAHRSMonitor.sh File Reference

Go to the source code of this file.

Functions

then usage $script< detector file > (run[-run])+" "\nAuxiliary script to download acoustic data from database and to process them through the event builder." fi if (( $ set_variable DETECTOR $argv[1] set_array RUNS $argv[2
 

Variables

 version
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
zmodload zsh mathfunc 
set_variable
 
then usage else fatal Wrong
number of arguments fi
set_variable
AHRS_CALIBRATION_FILE $WORKDIR
ahrs_calibration txt eval
JPrintDetector a $DETECTOR O
IDENTIFIER 
if [[!-f $AHRS_CALIBRATION_FILE]]
 
then JAHRSCalibration D
$DETECTOR_ID o
$AHRS_CALIBRATION_FILE d
$DEBUG fi expand_array RUNS
for RUN in 
$RUNS [*]
 
do set_variable INPUT_FILE $WORKDIR KM3NeT_
 

Function Documentation

then usage $script< detector file > ( run   [-run])

Variable Documentation

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

Definition at line 6 of file examples/JCompass/JAHRSMonitor.sh.

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

Definition at line 26 of file examples/JCompass/JAHRSMonitor.sh.

then usage else fatal Wrong number of arguments fi set_variable AHRS_CALIBRATION_FILE $WORKDIR ahrs_calibration txt eval JPrintDetector a $DETECTOR O IDENTIFIER if[[!-f $AHRS_CALIBRATION_FILE]]

Definition at line 43 of file examples/JCompass/JAHRSMonitor.sh.

then JAHRSCalibration D $DETECTOR_ID o $AHRS_CALIBRATION_FILE d $DEBUG fi expand_array RUNS for RUN in $RUNS[*]

Definition at line 53 of file examples/JCompass/JAHRSMonitor.sh.

Initial value:
{(l:8::0::0:)DETECTOR_ID}_${(l:8::0::0:)RUN}_ahrs.root
if [[ ! -f $INPUT_FILE ]]
then fatal Wrong number of arguments fi set_variable ARCHIVE $argv[1] set_variable DETECTOR_ID $argv[2] set_variable VERSION $argv[3] RUN
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
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
Definition: JDataQuality.sh:76
then JFileTuna f $INPUT_FILE
Definition: file-Tuna.sh:66
then eval ls $DIR $ID $TYPE _
Definition: getArchive.sh:104

Definition at line 55 of file examples/JCompass/JAHRSMonitor.sh.