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

Go to the source code of this file.

Functions

then usage $script< detector
file >< inputfile > fi 
if (($#!=2))
 

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null set_variable 
DEBUG
 
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 source
JAcoustics sh $DETECTOR_ID
CHECK_EXIT_CODE typeset A
TRIPODS get_tripods $WORKDIR
tripod txt TRIPODS for EMITTER 
in {(@k)TRIPODS}
 
do JCanberra a $DETECTOR f
$INPUT_FILE o $WORKDIR
canberra[${EMITTER}\] root T
$WORKDIR tripod txt V $WORKDIR
sound_velocity txt E $EMITTER
d $DEBUG!done 
HISTOGRAMS
 
do set_variable STRING_TXT $WORKDIR string_
 
do sput $STRING $FLOOR sget
MODULE set_variable N
JPrintResult f $WORKDIR
canberra[$EMITTER\] 
root
 

Function Documentation

then usage $script<detector file><inputfile> fi if ( ($#!=2)  )

Variable Documentation

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

Definition at line 2 of file plot-canberra.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR& dev null set_variable DEBUG
Initial value:
set_variable WORKDIR ${ACOUSTICS_WORKDIR:-./}
set_variable BACKGROUND ${ACOUSTICS_BACKGROUND:+-B}
set_variable FORMULA "[0] * exp(-0.5 * (x-[1])*(x-[1]) / ([2]*[2]))"
set_variable NUMBER_OF_ENTRIES 100
set_variable TMIN_MS -1.0
set_variable TMAX_MS +1.0
if ( do_usage $* )
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable ACOUSTICS_DEBUG
Definition: JAcoustics.sh:17
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
Definition: JLegolas.sh:28

Definition at line 13 of file plot-canberra.sh.

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 source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in {(@k)TRIPODS}

Definition at line 44 of file plot-canberra.sh.

do echo n Creating graphics for string $STRING HISTOGRAMS

Definition at line 57 of file 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 ))
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
do set_variable STRING_TXT $WORKDIR string_
do set_array DAQHEADER JPrintDAQHeader f
Definition: JTuneHV.sh:79
then display $WORKDIR
Definition: plot-Domino.sh:127

Definition at line 112 of file plot-canberra.sh.

then set_variable X JPrintResult f $WORKDIR canberra [$EMITTER\] root

Definition at line 124 of file plot-canberra.sh.