Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JPreprocessor.sh
Go to the documentation of this file.
1#!/usr/bin/env zsh
2#
3# \author mdejong
4#
5script=${0##*/}
6
7# ------------------------------------------------------------------------------------------
8#
9# Example script to run JTriggerEfficiency.
10#
11# ------------------------------------------------------------------------------------------
12
13if [ -z $JPP_DIR ]; then
14 echo "Variable JPP_DIR undefined."
15 exit
16fi
17
18source $JPP_DIR/setenv.sh $JPP_DIR
19
20set_variable DEBUG 3
21set_variable TMAX_NS 20
22set_variable OPTION none
23
24DATA=(
25 "1 1 20"
26 "1 20 20"
27 "2 20 20"
28 "1 40 20"
29 "1 60 20")
30
31if do_usage $*; then
32 usage "$script [OPTION]"
33fi
34
35case $# in
36 1) set_variable OPTION $1;;
37 0) ;;
38 *) fatal "Wrong number of arguments."
39esac
40
41if (( 1 )); then
42
43 JPreprocessor \
44 -u "$DATA[*]" \
45 -T $TMAX_NS \
46 -O $OPTION \
47 -d $DEBUG --!
48
49fi
50
51