*-- Author : S.Burke SUBROUTINE FKINIT ********************************************************************** * * * Initialise counters for errors and points rejected * * * ********************************************************************** *KEEP,FKNPL. * * Per-track values can go in H1WORK; note that LTRUE and LFIRST must * be set at least per event. * * This is about 36k words long; the remaining common blocks are * about 3.6k in total. Some of this could be in /H1WORK/, but the * blocks would have to be reorganised. * * /FKPROJ/ * /FKFILT/ * /FKSMTH/ * /FKINT/ * /FKRSID/ * /FKTRUE/ * /FKDBG/ *KEEP,FKCNTL. *KEEP,FKFLAG. *KEEP,FKRJCT. *KEEP,FKTRUE. *KEEP,FKFTVX. *KEEP,FKINT. *KEEP,FKLERR. *KEND. ********************************************************************** * Set parameter defaults * It would be possible to set up the ZPL and RADL arrays here * Default printout is full summary + fatal errors during execution * These defaults are meant to be overridden * Set error counts to zero CALL FKERR(0,0,0,0,IERR) * Set rejected-point counts to zero CALL VZERO(NNEWP,NPL) CALL VZERO(NBADP,NPL) CALL VZERO(NBADB,NPL) CALL VZERO(NUNRJP,NPL) CALL VZERO(NUNRJB,NPL) CALL VZERO(NRERJP,NPL) CALL VZERO(NFAILP,NPL) CALL VZERO(NFAILB,NPL) *