Jpp 19.3.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
JPMTAngularAcceptance.sh
Go to the documentation of this file.
1#!/usr/bin/env zsh
2#
3# \author mdejong
4#
5script=${0##*/}
6
7# ------------------------------------------------------------------------------------------
8#
9# Utility script to generate PMT angular acceptance function from CSV table.
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 >& /dev/null
19
20set_variable DEBUG 2
21
22if do_usage $*; then
23 usage "$script <input file>"
24fi
25
26case $# in
27 1) set_variable INPUT_FILE $1;;
28esac
29
30JPMTAngularAcceptance \
31 -f $INPUT_FILE \
32 -d $DEBUG