double precision function kget_track_err_mass(ktrk) * * begin_doc * * Returns the mass error of a track to the caller. * * Input Parameters: * ktrk integer variable * Track number * * Output Parameters: * None * * Return value: * Error on mass * * Other routines: * * Notes: * * The mass can be written as * * M = sqrt(E**2 - Px**2 - Py**2 - Pz**2) * * so dM = (E*dE - Px*dPx - Py*dPy - Pz*dPz) / M * * The covariance matrix of the mass is then * * sig**2 = A*Vx0*A(t) * * where A = (-Px, -Py, -Pz, E) / M * * Author: Paul Avery Created: Tue Aug 26 19:35:08 EDT 1997 * * Major revisions: * * * end_doc