Jpp  17.3.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
JDataQuality.sh File Reference

Go to the source code of this file.

Functions

then if (!reuse_file $QUALITY_TXT)
 
 Q (UTCMax_s-UTCMin_s)-livetime_s
 
 V (JDAQEvent-JTriggerReprocessor)*1.0/(JDAQEvent+1.0e-10)
 

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null 
set_variable
 
then usage $script[< detector
identifier >< run range >]< QA/QCfile >
nExample script to produce
data quality plots nWhen a
detector identifier and run
range are 
specified
 
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 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 unless this file
already exists fi case fatal
Wrong number of 
arguments
 
set_variable DETECTOR_ID $argv[1]
set_variable RANGE 
$argv [2]
 
esac set_variable FILEPREFIX
 
then JCookie sh JDataQuality D
$DETECTOR_ID 
R
 
Q JDAQEvent livetime_s
 
Q HRV
 
Q DAQ
 
Q WR
 
Q FIFO
 
Q MEAN_Rate_Hz
 
Q RMS_Rate_Hz
 
V out_sync
 
V out_usync
 
o $QUALITY_ROOT d
$DEBUG!CHECK_EXIT_CODE JPlot1D 
f
 

Function Documentation

then if ( !reuse_file  $QUALITY_TXT)
Q ( UTCMax_s-  UTCMin_s)
V ( JDAQEvent-  JTriggerReprocessor)

Variable Documentation

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

Definition at line 2 of file JDataQuality.sh.

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

Definition at line 16 of file JDataQuality.sh.

then usage $script [<detector identifier> <run range>]<QA/QCfile> nExample script to produce data quality plots nWhen a detector identifier and run range are specified

Definition at line 19 of file JDataQuality.sh.

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

Definition at line 19 of file JDataQuality.sh.

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 unless this file already exists fi case fatal Wrong number of arguments

Definition at line 19 of file JDataQuality.sh.

Definition at line 24 of file JDataQuality.sh.

esac set_variable FILEPREFIX
Initial value:
{${QUALITY_TXT%%.*}##.*/}
set_variable QUALITY_ROOT ${QUALITY_TXT%%.*}.root
if (( $# == 3 ))
&set_variable QUALITY_TXT
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:21

Definition at line 30 of file JDataQuality.sh.

then JCookie sh JDataQuality D $DETECTOR_ID R
Initial value:
{RANGE%%-*} ${RANGE##*-}"
-o $QUALITY_TXT
-d $DEBUG --!
else
echo "Note that the specified detector identifer and runs are discarded."
fi
fi
JDataQuality
-D "$DETECTOR_ID"
-R "${RANGE%%-*} ${RANGE##*-}"
-f $QUALITY_TXT
then usage $script< detector file >< inputfiles > n Note that if more than one input file is specified
Definition: JTuneHV.sh:36
Q JDAQEvent livetime_s
Definition: JDataQuality.sh:57
then usage $script< input file >< outputfiles > n n Note
Definition: JEditTuneHV.sh:38
do set_variable DETECTOR_TXT $WORKDIR detector
then fatal Invalid detector identifier $DETECTOR_ID fi set_variable RUNSETUPID typeset a RANGE RANGE[1]

Definition at line 41 of file JDataQuality.sh.

Q AHRS livetime_s

Definition at line 57 of file JDataQuality.sh.

Q HRV

Definition at line 58 of file JDataQuality.sh.

Q DAQ

Definition at line 59 of file JDataQuality.sh.

Q WR

Definition at line 60 of file JDataQuality.sh.

Q FIFO

Definition at line 61 of file JDataQuality.sh.

Q MEAN_Rate_Hz

Definition at line 62 of file JDataQuality.sh.

Q RMS_Rate_Hz

Definition at line 63 of file JDataQuality.sh.

V out_sync

Definition at line 67 of file JDataQuality.sh.

V out_usync

Definition at line 68 of file JDataQuality.sh.

then JPlot1D f

Definition at line 76 of file JDataQuality.sh.