Jpp  15.0.3
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
makedeclinationtable.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 
16 set_variable: DEBUG COMPASS_DEBUG 2
17 
18 if do_usage $*; then
19  usage "$script <detector file>"
20 fi
21 
22 if (( $# != 1 )); then
23  fatal "Wrong number of parameters."
24 fi
25 
27 
28 eval `JPrintDetector -a $DETECTOR -O HEADER`
29 
30 if (( $DEBUG >= 3 )); then
32  JPrintDetector -a $DETECTOR -O header
33 fi
34 
35 notice makedeclinationtable.py $UTM_EAST $UTM_NORTH ${UTM_ZONE//[^0-9]/} ${UTM_ZONE//[0-9]/}
36 
37 makedeclinationtable.py $UTM_EAST $UTM_NORTH ${UTM_ZONE//[^0-9]/} ${UTM_ZONE//[0-9]/}
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn only modules within the given range of floors are used fi case set_variable RANGE $argv[3]
exit
Definition: JPizza.sh:36
then echo
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:20
* usage
then JCalibrateToT a
Definition: JTuneHV.sh:116
then set_variable MODULE getModule a $DETECTOR L $STRING $FLOOR JEditDetector a $DETECTOR M $MODULE add $X o $DETECTOR else echo No update of detector $DETECTOR
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
set_variable DETECTOR
version
Definition: JCalibratePMT.sh:7