\section{Fitter Class Reference}
\label{classFitter}\index{Fitter@{Fitter}}


A class to make it quick to fit a track or hits and get back the chi2, Ndf and chi2prob values and also bundle the code used for that, so it doesn't have to be copied all over the places.  




{\ttfamily \#include $<$Fitter.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries Fitter} (Track $\ast$track, Marlin\-Trk\-::\-I\-Marlin\-Trk\-System $\ast$trk\-System)  throw ( Fitter\-Exception )\label{classFitter_a504170f9b9cbb87e91ff26352b1ba227}

\item 
{\bfseries Fitter} (std\-::vector$<$ Tracker\-Hit $\ast$ $>$ tracker\-Hits, Marlin\-Trk\-::\-I\-Marlin\-Trk\-System $\ast$trk\-System)  throw ( Fitter\-Exception )\label{classFitter_a6a3dcb4bdcd730e168e22b36bf4a8cea}

\item 
{\bfseries Fitter} (Track $\ast$track, Marlin\-Trk\-::\-I\-Marlin\-Trk\-System $\ast$trk\-System, int V\-X\-D\-Flag)  throw ( Fitter\-Exception )\label{classFitter_a9c0782acc910b5ec467990925bf09fd5}

\item 
double {\bfseries get\-Chi2\-Prob} (int track\-State\-Location)  throw ( Fitter\-Exception )\label{classFitter_af389b663807c2f8486bd936ce366f9d2}

\item 
double {\bfseries get\-Chi2} (int track\-State\-Location)  throw ( Fitter\-Exception )\label{classFitter_ad25aeec34c7cb1b4fa8834c5f574a151}

\item 
int {\bfseries get\-Ndf} (int track\-State\-Location)  throw ( Fitter\-Exception )\label{classFitter_a811982145b83f17792715cdfb1ab21cb}

\item 
const Track\-State $\ast$ {\bfseries get\-Track\-State} (int track\-State\-Location)  throw ( Fitter\-Exception )\label{classFitter_ac1bcdafd6831f1eea47d30bcbb5bac13}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
A class to make it quick to fit a track or hits and get back the chi2, Ndf and chi2prob values and also bundle the code used for that, so it doesn't have to be copied all over the places. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Fitter.\-h\item 
Fitter.\-cc\end{DoxyCompactItemize}
