//............................. // fit_result_t class fit_result_t:public state_t{ public: enum{ kFitStatusSucceeded, kFitStatusFailed, kFitStatusUnknown }; int status; // value from enum above float sumResi; // sum of residuals int Ndof; // Number of degrees of freedom float chisq_per_dof; // chi-squared per degree of freedom from fit };