8# ------------------------------------------------------------------------------------------
10# Example script for UTC profiling.
12# ------------------------------------------------------------------------------------------
15if [ -z $JPP_DIR ]; then
16 echo "Variable JPP_DIR undefined."
21source $JPP_DIR/setenv.sh $JPP_DIR
25set_variable OUTPUT_FILE utc.root
26set_variable: FORMAT GRAPHICS_FORMAT gif
27set_variable+ BATCH GRAPHICS_BATCH -B
30 usage "$script <input file> [output file]"
34 2) set_variable OUTPUT_FILE $2;&
35 1) set_variable INPUT_FILE $1;;
40 check_input_file $INPUT_FILE
42 $JPP_DIR/examples/JDAQ/JUTCProfile \
52 -f ${OUTPUT_FILE}:UTC \
65 -f ${OUTPUT_FILE}:dt \
68 -\^ "number of events [a.u.]" \