Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JMatch.sh
Go to the documentation of this file.
1#!/usr/bin/env zsh
2#
3# \author mdejong
4#
5version=1.0
6script=${0##*/}
7
8# ------------------------------------------------------------------------------------------
9#
10# Utility script to plot match criteria.
11#
12# ------------------------------------------------------------------------------------------
13
14
15if [ -z $JPP_DIR ]; then
16 echo "Variable JPP_DIR undefined."
17 exit
18fi
19
20
21source $JPP_DIR/setenv.sh $JPP_DIR
22
23
24set_variable DEBUG 2
25set_variable WORKDIR ${TMPDIR:-/tmp}/
26set_variable OUTPUT_FILE $WORKDIR/match.root
27set_variable: FORMAT GRAPHICS_FORMAT gif
28set_variable+ BATCH GRAPHICS_BATCH -B
29
30if do_usage $*; then
31 usage "$script"
32fi
33
34$JPP_DIR/examples/JTrigger/JMatch \
35 -o $OUTPUT_FILE \
36 -d $DEBUG
37
38JPlot1D \
39 -f ${OUTPUT_FILE}:\.\* \
40 -> "D [m]" \
41 -\^ "#Deltat [ns]" \
42 -g 2 \
43 -L TL \
44 -O "][" \
45 -T "" \
46 -o match.$FORMAT $BATCH