8 # ------------------------------------------------------------------------------------------
10 # Utility script to test JHistogram1D.
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 ${TMPDIR:-/tmp}/
26 set_variable NUMBER_OF_BINS 17
29 usage "$script [working directory]"
33 1) set_variable WORKDIR $1;;
37 set_variable OUTPUT_FILE $WORKDIR/histogram.root
40 $JPP_DIR/examples/JTools/JHistogram1D \
49 -f ${OUTPUT_FILE}:h\. \
54 -f ${OUTPUT_FILE}:i\. \