Privacy and Security Notice

Archived Messages for CLAS_OFFLINE_1997@cebaf.gov: Re: help, please!

Re: help, please!

Arne P. Freyberger (freyberg@claspc1.cebaf.gov)
Wed, 10 Sep 1997 13:24:37 -0400

burin,

there already is a variable that the users can access to determine if
the file is DATA or GSIM....here's a piece of code...

IF (EVTYPE .EQ. -3) THEN
CVTYPE = 'ClasSim'
ELSEIF (EVTYPE .EQ. -2) THEN
CVTYPE = 'GEANT '
ELSEIF (EVTYPE .EQ. -1) THEN
CVTYPE = 'SDA '
ELSE
CVTYPE = 'DATA '
ENDIF

EVTYPE is held in the clasmdl.inc common block.....

hope this helps...

Arne