next up previous
Next: Customizing the run Up: GSIM User's Guide Version Previous: Introduction

Quick start

 

First perform CLAS setup (e.g. on the CEBAF HP cluster):

source /clas/cebafb/u1/etc/profile/.clascshrc
(This can be done in your own .cshrc file.) Then type:
gsim_bat
or
$CTEST_EXE/gsim_bat
to start the production or test batch versions of GSIM. The test version is more up to date, the production version is more stable (use the test version for now, 10/95...EJW). After the prompt:
CLAS_FFGO I: enter FFREAD data cards now:
enter the FFREAD cards for the run (see GEANT manual), e.g:
trig 100
stop
to generate 100 events using the default kinematics generator. By default, all physics processes are turned on, full showers are generated in the calorimeter, etc. The BOS/FPACK event output file created is named gsimout.evt. Note that the start counter geometry is NOT generated by default (see ffread section if you want the start counter).

The interactive version is started with:

gsim_int
or
$CTEST_EXE/gsim_int
Enter 1 for the terminal type (assuming the DISPLAY environment variable is set properly). Then proceed as for the batch version. See the GEANT manual for numerous drawing, run control, and data display commands.

Command line switches can simplify running GSIM. The above procedure could be shortened to:

gsim_bat -noffread -trig 100
or
gsim_int -noffread -trig 100
Finally, type:
gsim_bat -help
to view the GSIM help file ($CLAS_DOC/gsim.hlp), which lists numerous command line options, additional CLAS ffread keys, which environment variables are used, etc. This file will always be kept up to date. See also the appendices on command line flags, environment variables, kinematics generator options, ffread flags, and switch usage.



next up previous
Next: Customizing the run Up: GSIM User's Guide Version Previous: Introduction



Elliott Wolin
Tue Apr 2 15:43:53 EST 1996