8 # ------------------------------------------------------------------------------------------ 
   10 #                         Utility script to print PDFs. 
   12 # ------------------------------------------------------------------------------------------ 
   15 if [ -z $JPP_DIR ]; 
then 
   16     echo "Variable JPP_DIR undefined." 
   21 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null 
   29 T_NS=(-2.5 0.0 +2.5 10.0 50.0 100.0)
 
   36 for R in 10 50 100; 
do 
   38     for CD in 0.7 -0.7; 
do 
   45                 echo "$T_NS[*]" | JDrawPDG -
F $type -
D "${D}" -
R $R -
c $CD
 
then usage $script[energy[distance[cosine]]] fi case set_variable CD
 
then for dir in NORTH EAST SOUTH WEST
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
 
then usage $script[distance] fi case set_variable R
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable NORTH set_variable EAST set_variable SOUTH set_variable WEST set_variable E T_NS
 
$WORKDIR ev_configure_domsimulator txt echo process $DOM_SIMULATOR $i $SOURCE_HOST[$index] csh c(setenv ROOTSYS $ROOTSYS &&source $JPP_DIR/setenv.csh $JPP_DIR &&($DOM_SIMULATOR\-u\$NAME\$\-H\$SERVER\$\-M\$LOGGER\$\-d $DEBUG</dev/null > &/dev/null &))'
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
 
do echo Generating $dir eval D
 
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null