4 if [ -z $JPP_DIR ]; then
5 echo "Variable JPP_DIR undefined."
9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
11 set_variable: DEBUG ACOUSTICS_DEBUG 2
12 set_variable: WORKDIR ACOUSTICS_WORKDIR ./
13 set_variable: FORMAT GRAPHICS_FORMAT gif
14 set_variable+ BATCH GRAPHICS_BATCH -B
17 usage "$script <input file> <input file>"\
18 "\nInput files correspond to the output of JKatoomba[.sh]."
21 if (( $# != 2 )); then
22 fatal "Wrong number of arguments."
25 set_array INPUT_FILES $argv[1] $argv[2]
30 -o $WORKDIR/comparison.root \
33 echo "Creating graphics output in directory $WORKDIR"
37 for H2 in `JPrintName -f "$WORKDIR/comparison.root:string\[[0-9][0-9]*\]"`; do
39 set_variable STRING `echo $H2 | sed 's/.*\[\([0-9]*\)\].*/\1/'`
45 -f "$WORKDIR/comparison.root:${H2}" \
47 -> "#DeltaTx [mrad]" \
48 -< "#DeltaTy [mrad]" \
53 -o $WORKDIR/tilt_${STRING}.$FORMAT $BATCH