8 # ------------------------------------------------------------------------------------------
10 # Utility script to plot light emission profile from EM showers.
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/
27 if ( do_usage $* ); then
28 usage "$script [working directory]"
36 set_variable OUTPUT_FILE $WORKDIR/geanx.root
42 -f ${OUTPUT_FILE}:Probability \
46 -\^ "dP/dcos(#theta)" \