8 # ------------------------------------------------------------------------------------------
 
   10 #                         Example script for UTC profiling.
 
   12 # ------------------------------------------------------------------------------------------
 
   15 if [ -z $JPP_DIR ]; then
 
   16     echo "Variable JPP_DIR undefined."
 
   21 source $JPP_DIR/setenv.sh $JPP_DIR
 
   25 define_variable  INPUT_FILE     
 
   26 set_variable     OUTPUT_FILE    utc.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;;
 
   39     check_input_file   $INPUT_FILE
 
   41     $JPP_DIR/examples/JDAQ/JUTCProfile \
 
   51    -f ${OUTPUT_FILE}:UTC         \
 
   64    -f ${OUTPUT_FILE}:dt          \
 
   67    -\^ "number of events [a.u.]" \