Generator | Location | Contact Person | Description |
Celeg | $CLAS_PACK/celeg | John Price | Physics: Baryon Resonances on Nucleon |
Build-in | GSIM internal | CERN | One particle per event - "on the fly" |
Example Code: gsim_bos_io | $CLAS_PACK/utilities/bosanal | Maurik Holtrop | Programming example. |
*L shell rm -f [LOGFILE]
*L shell echo STEPPING through clas
> [LOGFILE]
DO J=[PHI],[PHIMAX],[PSTEP]
DO I=[THTMIN],[THTMAX],[STEP]
*M Message 'ANGLES = ' [I], [J]
*L shell echo 'ANGLES = ' [I], [J]
>> [LOGFILE]
IF [DRAW] > 1 THEN
FORT/FILE 66 step_[I].ps
META 66 -113
ENDIF
IF [DRAW] >0 THEN
next
dcut clas 2 0 7 10 0.018 0.018
* dcut clas 2 0 0 10 0.06 0.06
ENDIF
KINE 3 [PID] [MOM] [MOM] [I]
[I] [J] [J]
trig 1
*
IF [DRAW] > 1 THEN
CLOSE 66
ENDIF
ENDDO
ENDDO
cvs checkout utilities/bosanal/gsim_bos_io.c utilities/bosanal/Makefileto compile enter the utilities/bosanal directory that was just created and execute:
make gsim_bos_ioHelp on using the program is given with gsim_bos_io -help.