Jpp  18.0.0-rc.4
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
JTurbot.sh File Reference

Go to the source code of this file.

Functions

then usage $script< input file > fi if (($#!=1))
 
then JDetectorDB D
$DETECTOR_ID r $RUN o
$DETECTOR fi 
if (!reuse_file turbot_ ${RUN}.root)
 
do echo n Creating graphics
for string $STRING 
for ((FLOOR=1;$FLOOR<=18;FLOOR+=1))
 

Variables

 version
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
set_variable DEBUG
set_variable WORKDIR
set_variable DETECTOR detector
datx set_variable XMIN
set_variable XMAX 
set_variable
 
then fatal Wrong number of
arguments fi set_variable
INPUT_FILE JCookie sh typeset
Z DETECTOR_ID typeset Z RUN
JPrintDAQHeader f $INPUT_FILE
read DETECTOR_ID RUN
FRAME_INDEX UTC 
if [[!-f $DETECTOR]]
 
then JTurbot a $DETECTOR f
$INPUT_FILE d o 
turbot_
 

Function Documentation

then usage $script<input file> fi if ( ($#!=1)  )
then JDetectorDB D $DETECTOR_ID r $RUN o $DETECTOR fi if ( !reuse_file turbot_ ${RUN}.  root)
do echo n Creating graphics for string $STRING for ( (FLOOR=1;$FLOOR<=18;FLOOR+=1)  )

Variable Documentation

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

Definition at line 5 of file JTurbot.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable WORKDIR set_variable DETECTOR detector datx set_variable XMIN set_variable XMAX set_variable

Definition at line 29 of file JTurbot.sh.

then fatal Wrong number of arguments fi set_variable INPUT_FILE JCookie sh typeset Z DETECTOR_ID typeset Z RUN JPrintDAQHeader f $INPUT_FILE read DETECTOR_ID RUN FRAME_INDEX UTC if[[!-f $DETECTOR]]

Definition at line 46 of file JTurbot.sh.

then JTurbot a $DETECTOR f $INPUT_FILE d o turbot_
Initial value:
{RUN}.root >& turbot_${RUN}.log
eval `JPrintDetector -a $DETECTOR -O SUMMARY`
kill_child_processes_at_exit
typeset -Z 4 STRING
typeset -Z 2 FLOOR
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
then JTurbot a $DETECTOR f $INPUT_FILE d o turbot_
Definition: JTurbot.sh:56
do JCanberra a $DETECTOR f $INPUT_FILE o $WORKDIR canberra[${EMITTER}\] root T $WORKDIR tripod txt V $WORKDIR sound_velocity txt M $WORKDIR mechanics txt H $WORKDIR hydrophone txt E $EMITTER $DISABLE d $DEBUG!done kill_child_processes_at_exit attach getModule a $DETECTOR typeset Z STRING typeset Z FLOOR for STRING in $STRINGS[*]
Definition: JCanberra.sh:68
then JCalibrateToT a
Definition: JTuneHV.sh:116
then rm i $OUTPUT_FILE fi let RUN
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
do set_variable MODULE getModule a $WORKDIR detector_a datx L $STRING JEditDetector a $WORKDIR detector_a datx M $MODULE setz o $WORKDIR detector_a datx JEditDetector a $WORKDIR detector_b datx M $MODULE setz o $WORKDIR detector_b datx done echo Output stored at $WORKDIR detector_a datx and $WORKDIR tripod_a txt JDrawDetector2D a $WORKDIR detector_a datx a $WORKDIR detector_b datx L BL o detector $FORMAT $BATCH JDrawDetector2D T $WORKDIR tripod_a txt T $WORKDIR tripod_b txt L BL o tripod $FORMAT $BATCH JCompareDetector a $WORKDIR detector_a datx b $WORKDIR detector_b datx o $WORKDIR abc root &dev null for KEY in X Y Z
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:46
const JModule & getModule(const JDetector &detector, const JModuleLocation &location)
find module with a given string and floor number

Definition at line 56 of file JTurbot.sh.