8 # ------------------------------------------------------------------------------------------
 
   10 #                    Utility script to plot weighing of hadronic showers
 
   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      ./
 
   26 if ( do_usage $* ); then
 
   27     usage "$script [working directory]"
 
   38    -o $WORKDIR/pythia.root \
 
   44     -f $WORKDIR/pythia.root:E\.\* \