8 # ------------------------------------------------------------------------------------------
10 # Example script for JDAQSummaryslice.
12 # ------------------------------------------------------------------------------------------
15 if [ -z $JPP_DIR ]; then
16 echo "Variable JPP_DIR undefined."
21 source $JPP_DIR/setenv.sh $JPP_DIR
24 set_variable WORKDIR /tmp/
25 define_variable INPUT_FILE
26 set_variable OUTPUT_FILE histogram.root
28 if ( do_usage $* ); then
29 usage "$script <input file> [output file]"
33 2) set_variable OUTPUT_FILE $2;&
34 1) set_variable INPUT_FILE $1;;
35 *) fatal "Wrong number of arguments."
40 print_variable INPUT_FILE OUTPUT_FILE
41 check_input_file $INPUT_FILE
45 $JPP_DIR/examples/JDAQ/JDAQSummaryslice \
58 -f ${OUTPUT_FILE}:h0 \
61 -\^ "number of events / kHz [a.u.]"
64 -f ${OUTPUT_FILE}:h1 \
65 -> "high-rate veto PMT" \
66 -\^ "number of events [a.u.]"