Jpp  19.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JBellhop.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 #
3 # \author mdejong
4 #
5 version=1.0
6 script=${0##*/}
7 
8 # ------------------------------------------------------------------------------------------
9 #
10 # Example script for ray tracing of sound.
11 #
12 # ------------------------------------------------------------------------------------------
13 
14 source $JPP_DIR/setenv.sh $JPP_DIR
15 
16 set_variable DIR `pwd`
18 set_variable: FORMAT GRAPHICS_FORMAT gif
19 set_variable+ BATCH GRAPHICS_BATCH -B
20 
21 if do_usage $*; then
22  usage "$script"
23 fi
24 
25 $DIR/JBellhop \
26  -o ${TMPDIR:-/tmp}/bellhop.root \
27  -d $DEBUG
28 
29 JPlot2D \
30  -f ${TMPDIR:-/tmp}/bellhop.root:h2 \
31  -XX \
32  -YY \
33  -\> "#Deltax [m]" \
34  -\< "#Deltaz [m]" \
35  -\^ "#Deltat [#mus]" \
36  -O COLZ \
37  -N "X 505" \
38  -N "Y 505" \
39  -T "" \
40  -o bellhop.$FORMAT $BATCH
version
Definition: JEditTuneHV.sh:5
set_variable LOGY YY
Definition: JMuonPostfit.sh:83
then
Definition: datalogs.sh:34
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DETECTOR_ID set_array RUNS if do_usage *then usage $script< source directory > nThe source directory corresponds to a pre calibrated D0ARCA009 detector fi case set_variable DIR
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 if do_usage *then usage $script[(input file)+] fi set_variable DEBUG set_variable WORKDIR TMPDIR
do set_variable OUTPUT_DIRECTORY $WORKDIR T
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
* usage
set_variable LOG XX
Definition: JMuonPostfit.sh:81
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonStart.sh:47
then usage $script< input file >[option[primary[working directory]]] nWhere option can be N
Definition: JMuonPostfit.sh:40
then JHobbit a $DETECTOR f
#define DEBUG(A)
Message macros.
Definition: JMessage.hh:62