Privacy and Security Notice

Archived Messages for CLAS_TOF_1997@cebaf.gov: catch-all bank

catch-all bank

Simon Taylor (staylor@CEBAF.GOV)
Mon, 13 Oct 1997 10:56:56 -0400 (EDT)

Hi, everybody.

I've created some routines for obtaining data from the CALL (catch-all)
bank. The new routines are in the "st" package because I didn't think it
was worthwhile adding a new package for what amounts to a few numbers.
The new files are:

call.inc <- defines some constants for using with get_call
call_init.F <- initialization routine
call_maputil.c <- fills callcal.inc common with calibration values
callcal.inc <- include file for calibration common
get_call.c <- function for returning adc/time data from CALL bank

The routine get_call.c contains a function called get_call_ that can be
called by a fortran routine by dropping the final underscore. Usage is as
follows:
In fortran:
real variable = get_call(item,data_type,CAllcal_values)
where <item> can be one of the following (so far):
RF1,RF2,LASER1,LASER2,LASER3,LASER4,HZ
and <data_type> can be one of the following:
TDC_data,ADC_data
These parameters are defined in call.inc; the CAllcal_values array is
defined in callcal.inc.

Note that the hooks for these routines have not been added to the relevant
recsis routines (rebgrn.F, etc.), so one would have to add a call to
call_init.F in one's local copy of rebgrn.F until I fix this problem.

Simon.