4# --------------------------------------------------------------------------------------------
6# Auxiliary script to derive the geometry of the D0ARCA020 (116) detector from other detectors.
8# --------------------------------------------------------------------------------------------
10if [ -z $JPP_DIR ]; then
11 echo "Variable JPP_DIR undefined."
15source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
17set_variable DETECTOR_ID 116
20 usage "$script <source directory>" \
21 "\nThe source directory corresponds to a pre-calibrated D0ARCA021 detector."
25 1) set_variable DIR ${1:a};;
26 *) fatal "Wrong number of arguments."
29set_variable DETECTOR $DIR/detector.datx
30set_variable TRIPOD $DIR/tripod.txt
32if [[ ! -f $DETECTOR ]]; then
33 fatal "Missing pre-calibrated D0ARCA021 input detector file"
36if [[ ! -f $TRIPOD ]]; then
37 fatal "Missing pre-calibrated D0ARCA021 input tripod file"
44 -@ "id=$DETECTOR_ID" \
54 -f $DIR_DETECTOR_A/transmitter.txt \
59 -f $DIR_DETECTOR_A/hydrophone.txt \
65# waveform identifier; emitter identifier