Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
JDIS.sh
Go to the documentation of this file.
1#!/usr/bin/env zsh
2script=${0##*/}
3
4if [ -z $JPP_DIR ]; then
5 echo "Variable JPP_DIR undefined."
6 exit
7fi
8
9source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
10
11set_variable: DEBUG PHYSICS_DEBUG 3
12set_variable: WORKDIR PHYSICS_WORKDIR ${TMPDIR:-/tmp}
13set_variable: FORMAT GRAPHICS_FORMAT gif
14set_variable+ BATCH GRAPHICS_BATCH -B
15
16if do_usage $*; then
17 usage "$script"
18fi
19
20$JPP_DIR/examples/JPhysics/JDIS \
21 -o $WORKDIR/dis.root \
22 -d $DEBUG
23
24JPlot1D \
25 -f $WORKDIR/dis.root:sigma \
26 -y "3e-3 1.0e1" -Y \
27 -XX \
28 -> "E [GeV]" \
29 -\^ "#sigma [#mub]" \
30 -G X \
31 -G Y \
32 -T "DIS" \
33 -o sigma.$FORMAT $BATCH
34
35JPlot1D \
36 -f $WORKDIR/dis.root:v \
37 -y "1e-6 1.0e0" -Y \
38 -XX \
39 -> "v" \
40 -\^ "#frac{d#sigma}{dv}" \
41 -G X \
42 -G Y \
43 -T "DIS" \
44 -L BL \
45 -O "][" \
46 -o fig.15.$FORMAT $BATCH
47
48JPlot1D \
49 -f $WORKDIR/dis.root:RMS \
50 -y "1e-6 1.0" -Y \
51 -XX \
52 -> "v" \
53 -\^ "<#theta^{2}>^{1/2}" \
54 -G X \
55 -G Y \
56 -T "DIS" \
57 -L TL \
58 -O "][" \
59 -o fig.16.$FORMAT $BATCH
60
61$JPP_DIR/examples/JPhysics/JDIS \
62 -o $WORKDIR/dis.root \
63 -n 1000000 \
64 -d $DEBUG
65
66JPlot1D \
67 -f $WORKDIR/dis.root:ran \
68 -f $WORKDIR/dis.root:v \
69 -g 3 \
70 -y "1e-2 1.0e4" -Y \
71 -XX \
72 -> "v" \
73 -\^ "#frac{d#sigma}{dv}" \
74 -G X \
75 -G Y \
76 -T "DIS" \
77 -L BL \
78 -O "][" \
79 -o fig.15.$FORMAT $BATCH
80