4 if [ -z $JPP_DIR ];
then
5 echo "Variable JPP_DIR undefined."
9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null
13 set_variable FORMULA
"[0] * exp([1]*sqrt(x) + [2]*x) + [3]"
18 usage "$script <input file> [working directory]"
24 *) fatal
"Wrong number of arguments.";;
29 X=(-0.5 3.5 6.5 9.5 12.5 15.5 18.5
30 20.5 21.5 22.5 23.5 24.5 25.5 26.5 27.5 28.5 29.5
31 30.5 31.5 32.5 33.5 34.5 35.5 36.5 37.5 38.5 39.5
32 40.5 42.5 44.5 46.5 48.5
33 50.5 52.5 54.5 56.5 58.5
38 100.5 120.5 140.5 160.5 180.5 200.5 250.5)
48 -\>
"time-over-threshold [ns]" \
49 -\^
"#partialL/#partialt" \
66 -\>
"time-over-threshold [ns]" \
68 -
T "Time-slewing correction" \
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
do set_variable OUTPUT_DIRECTORY $WORKDIR T
then break fi done getCenter read X Y Z let X
then $JPP_DIR examples JDetector JSlewing P slewing
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
double Gauss(const double x, const double sigma)
Normalised Gauss function.
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR tmp set_variable JDAQ_TIMESLICE JDAQTimeslice if do_usage *then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null