Go to the source code of this file.
Initial value:=${0##*/}
if [ -z $JPP_DIR ]
Auxiliary data structure for data quality.
Definition at line 5 of file JQAQC.sh.
Initial value:
JCookie.sh
CHECK_EXIT_CODE
if [[ ! -s $QAQC_FILE ]]
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
do set_variable DETECTOR_TXT $WORKDIR detector
#define DEBUG(A)
Message macros.
Definition at line 78 of file JQAQC.sh.
Initial value:{PARAMETERS
then fatal The output file must have the wildcard in the e g root fi 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
do sput $STRING $FLOOR sget MODULE INPUT_FILES
Definition at line 92 of file JQAQC.sh.
do JPrintMeta v& awk version |
Initial value:{
print $2 }
' | read GIT_VERSION
CHECK_EXIT_CODE
JPrintMeta -f ${INPUT_FILE} -k GIT | tr '\n' ' ' | read -A DAQ_VERSION
echo ${(s/./)DAQ_VERSION} | read DAQ_MAJOR DAQ_MINOR DAQ_PATCH
if [[ -z $DAQ_VERSION ]]
Definition at line 99 of file JQAQC.sh.
do JPrintTriggerParameters f |
Initial value:
CHECK_EXIT_CODE
CHECK_EXIT_CODE
CHECK_EXIT_CODE
if [[ "$DAQ_MAJOR" != [0-9][0-9]* ]] || (( $DAQ_MAJOR <= 12 ))
then fatal No hydrophone data file $HYDROPHONE_TXT fi sort gr k
std::istream & read(std::istream &in, JTestSummary &summary, const char delimiter= ' ')
Read test summary.
then usage $script[< detector identifier >< run range >]< QA/QCfile > nExample script to produce data quality plots nWhen a detector identifier and run range are data are downloaded from the database nand subsequently stored in the given QA QC file
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
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
then rm i $OUTPUT_FILE fi let RUN
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
do set_variable DETECTOR_TXT $WORKDIR detector
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
do echo Generating $dir eval D
#define DEBUG(A)
Message macros.
Definition at line 107 of file JQAQC.sh.
Initial value:
JPrintTree -
f ${
OUTPUT_FILE} -@
"type = JACOUSTICS::JEvent" -
k number_of_entries |
read -
A NUMBER_OF_ACOUSTICS_EVENTS
else
NUMBER_OF_ACOUSTICS_EVENTS=(0)
if (( $? == 0 ))
then fatal No hydrophone data file $HYDROPHONE_TXT fi sort gr k
std::istream & read(std::istream &in, JTestSummary &summary, const char delimiter= ' ')
Read test summary.
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
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
then rm i $OUTPUT_FILE fi let RUN
&set_variable OUTPUT_FILE
then eval ls $DIR $ID $TYPE _
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
Definition at line 171 of file JQAQC.sh.