8 # ------------------------------------------------------------------------------------------ 
   10 #                         Utility script to plot PDFs. 
   12 # ------------------------------------------------------------------------------------------ 
   15 if [ -z $JPP_DIR ]; 
then 
   16     echo "Variable JPP_DIR undefined." 
   21 source $JPP_DIR/setenv.sh $JPP_DIR
 
   35 if ( do_usage $* ); 
then 
   36     usage "$script [distance]" 
   48         echo "Generating $dir." 
   52         $JPP_DIR/examples/JPhysics/JDrawLED \
 
   53             -D 
"${D}" -
R $R -c $CT      \
 
   70         -\^ 
"dP/dt [npe/ns]"              \
 
do echo Generating $dir eval D
 
void set_variable(const std::string &name, const std::string &value)
Set environment variable. 
 
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
 
then for dir in NORTH EAST SOUTH WEST
 
fatal Invalid number of arguments esac let YMIN
 
do montage tile geometry tmp
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
then usage $script[distance] fi case set_variable R
 
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR