9 if [ -z $JPP_DIR ]; 
then 
   10     echo "Variable JPP_DIR undefined." 
   14 source $JPP_DIR/setenv.sh $JPP_DIR
 
   21     usage "$script <input file>" 
   24 if (( $# != 1 )); 
then 
   25     fatal 
"Wrong number of parameters." 
   33     rm -
f /tmp/dynamis.root
 
   39     -
o /tmp/dynamics.root  \
 
   45     -
f /tmp/dynamics.root:position             \
 
   46     -
f /tmp/dynamics.root:gandalf              \
 
   52     -
o coverage.gif                            $BACKGROUND
 
do echo Generating $dir eval DIR
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
 
case $OPTION in clean clean
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
then JFileTuna f $INPUT_FILE
 
*set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2,-2] set_variable OUTPUT_FILE $argv[-1]
 
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
 
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR tmp set_variable JDAQ_TIMESLICE JDAQTimeslice if do_usage *then usage $script< detector file >< inputfile > fi case set_variable WORKDIR