SUBROUTINE  : FFOUT(JTR,NPS,NRS)
 
AUTHOR : Stephen Burke
 
DATE : 26/07/93
 
LANGUAGE : FORTRAN
 
SHORT SUMMARY of PURPOSE:                                                
                                                                                
 Add the information from a fitted track to the output banks (JTR               
 non-zero) or finish the banks and tidy up (JTR zero). Some tracks              
 are rejected here (chi-squared cut and FFKILL).                                
                                                                                
 Also fill most of the monitoring histograms in area FTREC 0.                   
                                                                                
LIST and DESCRIPTION of INPUT VARIABLES/ARGUMENTS:                       
                                                                                
 JTR - track number in the FTUR (pattern-recognised track) bank                 
                                                                                
 Various Kalman filter common blocks with information on the fitted             
 track (FKFLAG, FKCONS, FKMEAS, FKSMTH, FKRSID).                                
                                                                                
LIST and DESCRIPTION of OUTPUT VARIABLES/ARGUMENTS:                      
                                                                                
 FTKR/FTPR/FTPX/FTRX banks (main FTREC output on E list)                        
                                                                                
 FTKX bank giving relations between FTKR and FTUR tracks (goes on R list)       
                                                                                
 NPS, NRS - number of planar/radial segments (used for diagnostics)             
                                                                                
 
CALLING TREE from FFOUT :
 
  CALL FKITOE      == tree ==>
  CALL FFHTHS      == tree ==>
 
FUNCTIONS USED :
 
FFKILL                                                                            
 
KEEP SEQUENCES USED :
 
 FKNPL FFSTEE FFSCAL FFWBI FFGEO FKFLAG FKCONS FKMEAS FKSMTH FKRSID                                           
 FTHIST FKPIDP BCS BOSMDL FTFUNCT STFUNCT                                                                     
 

Comments from FFOUT