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

Go to the source code of this file.

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null 
set_variable
 
then usage $script< archive >
(input file)+< QA/QC file >
" "\nThe archive should
correspond to the GIT
repository\"auxiliary_data/jpp/\"""\nAuxiliary
script to produce the
following QA/QC data then
fatal Wrong number of
arguments fi set_variable 
ARCHIVE
 
then fatal No archive $ARCHIVE fi if [[!-s $QAQC_FILE]]
 
then echo
 
do JPrintMeta v &awk version
 
then JPrintMeta f
 
then JEditDetector a
 
then set_variable OUTPUT_FILE KM3NeT_
 

Variable Documentation

script
Initial value:
=${0##*/}
if [ -z $JPP_DIR ]
version
Definition: JEditTuneHV.sh:5
Auxiliary data structure for data quality.
Definition: JRunQuality.hh:34

Definition at line 5 of file JQAQC.sh.

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

Definition at line 63 of file JQAQC.sh.

then usage $script<archive> (input file)+ <QA/QC file>" "\nThe archive should correspond to the GIT repository \"auxiliary_data/jpp/\"" "\nAuxiliary script to produce the following QA/QC data then fatal Wrong number of arguments fi set_variable ARCHIVE
Initial value:
{argv[1]}
set_array INPUT_FILES ${argv[2,-2]}
mkdir -p ${WORKDIR}
pushd ${WORKDIR}
set_variable ACOUSTICS_DEBUG ${DEBUG}
set_variable COMPASS_DEBUG ${DEBUG}
set_variable DAQX daq.detx # detector used during data taking
set_variable DETECTOR detector.datx # fixed nomenclature
JCookie.sh
CHECK_EXIT_CODE
if [[ ! -d $ARCHIVE ]]
set_variable QAQC_FILE
then JCalibrateToT a
Definition: JTuneHV.sh:113
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
Definition: JLegolas.sh:20
do sput $STRING $FLOOR sget MODULE INPUT_FILES
Definition: JCanberra.sh:79
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
set_variable DETECTOR
do set_variable DETECTOR_TXT $WORKDIR detector
#define DEBUG(A)
Message macros.
Definition: JMessage.hh:62

Definition at line 76 of file JQAQC.sh.

then fatal No archive $ARCHIVE fi if[[!-s $QAQC_FILE]]

Definition at line 95 of file JQAQC.sh.

then echo
Initial value:
{PARAMETERS
set_variable INPUT_FILE
do sput $STRING $FLOOR sget MODULE INPUT_FILES
Definition: JCanberra.sh:79
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:48

Definition at line 96 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 | read DAQ_VERSION
echo ${(s/./)DAQ_VERSION} | read DAQ_MAJOR DAQ_MINOR DAQ_PATCH
if [[ -z $DAQ_VERSION ]]
print
Definition: JConvertDusj.sh:44

Definition at line 103 of file JQAQC.sh.

do JPrintTriggerParameters f
Initial value:
{INPUT_FILE} -k SVN | read DAQ_VERSION
getUUID -f ${INPUT_FILE} -d 0 | read UUID
CHECK_EXIT_CODE
JPrintDAQHeader -f ${INPUT_FILE} -d 0 | read -A DAQ_HEADER
CHECK_EXIT_CODE
set_variable DETECTOR_ID ${DAQ_HEADER[1]}
set_variable RUN ${DAQ_HEADER[2]}
JDetectorDB -D ${DETECTOR_ID} -r ${RUN} -o ${DAQX} -d ${DEBUG} # install detector file as-is for JTriggerReprocessor
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
Definition: JDataQuality.sh:19
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 fatal Wrong number of arguments fi set_variable ARCHIVE $argv[1] set_variable ID $argv[2] set_variable VERSION $argv[3] source JAcousticsToolkit sh RUN
data_type r[M+1]
Definition: JPolint.hh:868
is
Definition: JDAQCHSM.chsm:167
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
set_variable INPUT_FILE
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
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
Definition: JDrawLED.sh:53
#define DEBUG(A)
Message macros.
Definition: JMessage.hh:62

Definition at line 111 of file JQAQC.sh.

then JEditDetector a

Definition at line 128 of file JQAQC.sh.

Initial value:
{(l:8::0::0:)DETECTOR_ID}_${(l:8::0::0:)RUN}_event.root
JPrintTree -f ${OUTPUT_FILE} |& awk '/JACOUSTICS::JEvent/ { print $3 }' | read -A NUMBER_OF_ACOUSTICS_EVENTS
else
NUMBER_OF_ACOUSTICS_EVENTS=(0)
JAHRS.sh ${DETECTOR_ID} ${RUN}
if (( $? == 0 ))
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
Definition: JSquid.sh:28
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
Definition: JDataQuality.sh:76
then fatal Wrong number of arguments fi set_variable ARCHIVE $argv[1] set_variable ID $argv[2] set_variable VERSION $argv[3] source JAcousticsToolkit sh RUN
do set_variable STRING_TXT awk
&set_variable OUTPUT_FILE
then eval ls $DIR $ID $TYPE _
Definition: getArchive.sh:104
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A

Definition at line 178 of file JQAQC.sh.