subroutine kfit_vertex_fixed(ktrk, update_track, vertex, chisq, * error) * * begin_doc * * Constrain a track to come from a fixed 3-D vertex. * * Input Parameters: * ktrk integer variable * Track number to fit * * update_track integer variable * 0 ==> Calculate chisquare only (do not update track) * 1 ==> Calculate chisquare, update track * 2 ==> Calculate chisquare, update track & cov matrix * * vertex(3) double precision array * Vertex point to constrain to * * Output Parameters: * chisq double precision variable * Chisquare of fit * * error integer variable * 0 ==> All OK * >0 ==> Error * * Other routines: * * Notes: * * Author: Paul Avery Created: Tue Sep 23 21:58:38 EDT 1997 * * Major revisions: * * * end_doc