8 # ------------------------------------------------------------------------------------------
 
   10 # Utility script to plot PMT generated transition times using JDETECTOR::JPMTDefaultSimulator.
 
   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/histogram.root
 
   29 if ( do_usage $* ); then
 
   30     usage "$script [output file]"
 
   40     $JPP_DIR/examples/JDetector/JTransitTimeGenerator \
 
   51    -f ${OUTPUT_FILE}:tts  \
 
   53    -\^ "number of hits"   \