Jpp  19.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Variables
examples/JAcoustics/plot-canberra.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< detector
file >< inputfile > nInput
file corresponds to the output
of JKatoomba[.sh] fi case
set_variable RANGE 
$argv [3]
 
*fatal Wrong number of
arguments esac eval
JPrintDetector a $DETECTOR O
IDENTIFIER eval JPrintDetector
a $DETECTOR O SUMMARY
set_variable 
FIRST_FLOOR
 
do echo n Creating graphics
for string $STRING 
HISTOGRAMS
 
do set_variable STRING_TXT $WORKDIR string_
 
do sput $STRING $FLOOR sget
MODULE set_variable N
JPrintResult f $WORKDIR
canberra[$EMITTER\] 
root
 
do for EMITTER in {(@k)EMITTERS}
 
do set_variable STRING_TXT awk
 

Variable Documentation

script
Initial value:
=${0##*/}
zmodload zsh/mathfunc
if [ -z $JPP_DIR ]
then usage $script[energy[distance[z of PMT]]] fi case set_variable z
Definition: JDrawPDF.sh:45

Definition at line 2 of file examples/JAcoustics/plot-canberra.sh.

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

Definition at line 23 of file examples/JAcoustics/plot-canberra.sh.

Definition at line 29 of file examples/JAcoustics/plot-canberra.sh.

* fatal Wrong number of arguments esac eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable FIRST_FLOOR
Initial value:
{RANGE%%-*}
set_variable LAST_FLOOR ${RANGE##*-}
JAcoustics.sh $DETECTOR_ID
JCanberra.sh $DETECTOR $INPUT_FILE $WORKDIR/canberra\[%\].root
source JAcousticsToolkit.sh
CHECK_EXIT_CODE
typeset -Z 4 STRING
typeset -Z 2 FLOOR
typeset -A EMITTERS
get_tripods+ $WORKDIR/tripod.txt EMITTERS
get_transmitters+ $WORKDIR/transmitter.txt EMITTERS
kill_child_processes_at_exit
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
then usage eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID JCanberra sh $DETECTOR $INPUT_FILES[*] $WORKDIR canberra[%\] root source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS kill_child_processes_at_exit attach getModule a $DETECTOR typeset Z STRING typeset Z FLOOR for STRING in $STRINGS[*]
then JCalibrateToT a
Definition: JTuneHV.sh:107
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
then JFileTuna f $INPUT_FILE
Definition: file-Tuna.sh:66
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
Definition: JCanberra.sh:48
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
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
then getFile sh $JPP_ARCHIVE $DETECTOR_ID $RUNS[1] $KEY $VERSION $WORKDIR
const JModule & getModule(const JDetector &detector, const JModuleLocation &location)
find module with a given string and floor number
then fatal Invalid detector identifier $DETECTOR_ID fi set_variable RUNSETUPID typeset a RANGE RANGE[1]

Definition at line 38 of file examples/JAcoustics/plot-canberra.sh.

then $JPP_DIR examples JTrigger JEffectiveMassOnline1D f $INPUT_FILE o $WORKDIR v2 root X O Volume d $DEBUG HISTOGRAMS
Initial value:
=()
for EMITTER in ${(@k)EMITTERS}
then fatal No hydrophone data file $HYDROPHONE_TXT fi sort gr k
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
Definition: JCanberra.sh:48

Definition at line 65 of file examples/JAcoustics/plot-canberra.sh.

do set_variable STRING_TXT $WORKDIR string_
Initial value:
{STRING}\[${EMITTER}\].txt
set_variable STRING_ROOT $WORKDIR/string_${STRING}\[${EMITTER}\].root
rm -f $STRING_TXT
for (( FLOOR = $FIRST_FLOOR; $FLOOR <= $LAST_FLOOR; FLOOR += 1 ))
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
then rm
Definition: sftpput.zsh:30
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
then JHobbit a $DETECTOR f
then getFile sh $JPP_ARCHIVE $DETECTOR_ID $RUNS[1] $KEY $VERSION $WORKDIR
do set_variable STRING_TXT $WORKDIR string_

Definition at line 69 of file examples/JAcoustics/plot-canberra.sh.

then set_array P1 JPrintFit f $WORKDIR fit root

Definition at line 81 of file examples/JAcoustics/plot-canberra.sh.

do for EMITTER in {(@k)EMITTERS}

Definition at line 183 of file examples/JAcoustics/plot-canberra.sh.

do set_variable STRING_TXT awk
Initial value:
{ print $2 }' $WORKDIR/string_${STRING}\[${EMITTER}\].txt >> $WORKDIR/p1.txt
awk '{ print $3 }' $WORKDIR/string_${STRING}\[${EMITTER}\].txt >> $WORKDIR/p2.txt
done
done
$JPP_DIR/examples/JGizmo/JHistogram1D
-x "200 $TMIN_MS $TMAX_MS"
-f $WORKDIR/p1.txt
-o $WORKDIR/p1.root
$JPP_DIR/examples/JGizmo/JHistogram1D
-x "200 0.0 0.2"
-f $WORKDIR/p2.txt
-o $WORKDIR/p2.root
typeset -A X_LABEL
X_LABEL[p1]="#Deltat [ms]"
X_LABEL[p2]="#sigma [ms]"
for P in p1 p2
print
Definition: JConvertDusj.sh:44

Definition at line 187 of file examples/JAcoustics/plot-canberra.sh.