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 ./
25 set_variable: FORMAT GRAPHICS_FORMAT gif
26 set_variable+ BATCH GRAPHICS_BATCH -B
29 usage "$script [working directory]"
33 1) set_variable WORKDIR $1;;
40 -o $WORKDIR/pythia.root \
46 -f $WORKDIR/pythia.root:E\.\* \
51 -o pythia.$FORMAT $BATCH