8 # ------------------------------------------------------------------------------------------
 
   10 #     Utility script to plot time slewing from JDETECTOR::JPMTSignalProcessorInterface.
 
   12 # ------------------------------------------------------------------------------------------
 
   15 if [ -z $JPP_DIR ]; then
 
   16     echo "Variable JPP_DIR undefined."
 
   21 source $JPP_DIR/setenv.sh $JPP_DIR
 
   25 set_variable     WORKDIR         /tmp/
 
   26 set_variable     OUTPUT_FILE     $WORKDIR/slewing.root
 
   29 if ( do_usage $* ); then
 
   30     usage "$script [output file]"
 
   40     $JPP_DIR/examples/JDetector/JSlewing \
 
   51    -f ${OUTPUT_FILE}:\.\*          \
 
   53    -> "time over threshold [ns]"  \
 
   54    -\^ "rise time [ns]"            \