Jpp - the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JAAnetDynamics.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 #
3 #
4 # \author mdejong
5 #
6 version=1.0
7 script=${0##*/}
8 
9 if [ -z $JPP_DIR ]; then
10  echo "Variable JPP_DIR undefined."
11  exit
12 fi
13 
14 source $JPP_DIR/setenv.sh $JPP_DIR
15 
18 set_variable DIR $JPP_DIR/examples/JAAnet/
19 
20 if ( do_usage $* ); then
21  usage "$script <input file>"
22 fi
23 
24 if (( $# != 1 )); then
25  fatal "Wrong number of parameters."
26 fi
27 
29 
30 
31 function clean()
32 {
33  rm -f /tmp/dynamis.root
34 }
35 
36 
37 $DIR/JAAnetDynamics \
38  -f $INPUT_FILE \
39  -o /tmp/dynamics.root \
40  -d $DEBUG
41 
42 JPlot1D \
43  -w 1200x600 \
44  -f /tmp/dynamics.root:orientation \
45  -f /tmp/dynamics.root:position \
46  -f /tmp/dynamics.root:gandalf \
47  -\^ "coverage" \
48  -t "$TIMESTAMP" \
49  -T "" \
50  -O "][" \
51  -L BL \
52  -o coverage.gif $BACKGROUND
53 
54 clean
data_type w[N+1][M+1]
Definition: JPolint.hh:741
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
set_variable INPUT_FILE
exit
Definition: JPizza.sh:36
do set_array DAQHEADER JPrintDAQHeader f
Definition: JTuneHV.sh:79
do echo Generating $dir eval DIR
Definition: JPlotNPE1D.sh:52
then echo
case $OPTION in clean clean
do set_variable OUTPUT_DIRECTORY $WORKDIR T
do $DIR JTransitTime o
Definition: JTransitTime.sh:44
* usage
then JFileTuna f $INPUT_FILE
Definition: file-Tuna.sh:66
*set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2,-2] set_variable OUTPUT_FILE $argv[-1]
Definition: JDomino.sh:39
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:45
version
Definition: JCalibratePMT.sh:7
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
Definition: JLegolas.sh:28
#define DEBUG(A)
Message macros.
Definition: JMessage.hh:62