Jpp  17.0.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Variables
archive-put-Detector.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 DEBUG
set_variable 
WORKDIR
 
then usage $script< archive >
< variant >< detectorfile >
< tripodfile > nPut 
pcal
 
then usage $script< archive >
< variant >< detectorfile >
< tripodfile > nPut 
ccal
 
then usage $script< archive >
< variant >< detectorfile >
< tripodfile > nPut 
tripod
 
then usage $script< archive >
< variant >< detectorfile >
< tripodfile > nPut
transmitter and hydrophone
data into archive fi case
set_variable HYDROPHONE 
$argv [6]
 
*fatal Wrong number of
arguments esac eval
JPrintDetector a $DETECTOR O
IDENTIFIER 
RUNS
 
then putFile sh $TRANSMITTER
$ARCHIVE $DETECTOR_ID $RUNS[1]
$RUNS[2] transmitter $VARIANT
fi 
if [[-n"$HYDROPHONE"]]
 

Variable Documentation

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

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

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR& dev null set_variable DEBUG set_variable WORKDIR
Initial value:
{TMPDIR:-/tmp}
if do_usage $*
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR if do_usage *then usage $script[(input file)+] fi set_variable DEBUG set_variable WORKDIR TMPDIR

Definition at line 12 of file archive-put-Detector.sh.

then usage $script<archive><variant><detectorfile><tripodfile> nPut pcal

Definition at line 16 of file archive-put-Detector.sh.

then usage $script<archive><variant><detectorfile><tripodfile> nPut ccal

Definition at line 16 of file archive-put-Detector.sh.

then usage $script<archive><variant><detectorfile><tripodfile> nPut tripod

Definition at line 16 of file archive-put-Detector.sh.

Definition at line 16 of file archive-put-Detector.sh.

do echo Processing $INPUT_FILE JPrintDAQHeader f $INPUT_FILE read DETECTOR_ID RUN FRAME_INDEX UTC getUTC f $INPUT_FILE read A UTC RUNS
Initial value:
=(1 99999999)
JDestructDetector
-o ${TMPDIR:-/tmp}/%.txt
-d $DEBUG
CHECK_EXIT_CODE
putFile.sh ${TMPDIR:-/tmp}/pcal.txt $ARCHIVE $DETECTOR_ID $RUNS[1] $RUNS[2] pcal $VARIANT
putFile.sh ${TMPDIR:-/tmp}/ccal.txt $ARCHIVE $DETECTOR_ID $RUNS[1] $RUNS[2] ccal $VARIANT
putFile.sh $TRIPOD $ARCHIVE $DETECTOR_ID $RUNS[1] $RUNS[2] tripod $VARIANT
if [[ -n "$TRANSMITTER" ]]
const int n
Definition: JPolint.hh:676
then fatal Detector file should be binary format fi eval JPrintDetector a $DETECTOR O IDENTIFIER typeset a INPUT_FILES for RANGE in $RUNS[*]
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR if do_usage *then usage $script[(input file)+] fi set_variable DEBUG set_variable WORKDIR TMPDIR
then usage $script< archive >< detectorfile >< run > nGet pcal
then JConvertDetectorFormat a $DETECTOR[1] o
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
then JCalibrateToT a
Definition: JTuneHV.sh:116
then set_variable MODULE getModule a $DETECTOR L $STRING $FLOOR JEditDetector a $DETECTOR M $MODULE add $X o $DETECTOR else echo No update of detector $DETECTOR
then usage $script< archive >< detectorfile >< run > nGet ccal
then fatal Invalid tripod $TRIPOD
then usage $script< archive >< detectorfile >< run > nGet tripod

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

then putFile sh $TRANSMITTER $ARCHIVE $DETECTOR_ID $RUNS [1] $RUNS [2] transmitter $VARIANT fi if[[-n"$HYDROPHONE"]]

Definition at line 48 of file archive-put-Detector.sh.