\section{Base\-Fitter Class Reference}
\label{classBaseFitter}\index{Base\-Fitter@{Base\-Fitter}}


Abstract base class for fitting engines of kinematic fits.  




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

Inheritance diagram for Base\-Fitter\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classBaseFitter}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void {\bfseries add\-Fit\-Object} ({\bf Base\-Fit\-Object} $\ast$fitobject\-\_\-)\label{classBaseFitter_a63bbfbc1d54214d295950062f6ae218b}

\item 
virtual void {\bfseries add\-Fit\-Object} ({\bf Base\-Fit\-Object} \&fitobject\-\_\-)\label{classBaseFitter_a043dd4a876a82289da4981266590cd39}

\item 
virtual void {\bfseries add\-Constraint} ({\bf Base\-Constraint} $\ast$constraint\-\_\-)\label{classBaseFitter_a6d0f4ac02df8aae8f17b7c94618aedff}

\item 
virtual void {\bfseries add\-Constraint} ({\bf Base\-Constraint} \&constraint\-\_\-)\label{classBaseFitter_ab91485a1ecd35315bd38698b0aae8630}

\item 
virtual void {\bfseries add\-Hard\-Constraint} ({\bf Base\-Hard\-Constraint} $\ast$constraint\-\_\-)\label{classBaseFitter_a0e1369da07e651532c4976dc82246014}

\item 
virtual void {\bfseries add\-Hard\-Constraint} ({\bf Base\-Hard\-Constraint} \&constraint\-\_\-)\label{classBaseFitter_a9333d1fcf16c95f2ea107dc92a63e118}

\item 
virtual void {\bfseries add\-Soft\-Constraint} ({\bf Base\-Soft\-Constraint} $\ast$constraint\-\_\-)\label{classBaseFitter_a6d27c6de8ff2946cfc71949cb29ff465}

\item 
virtual void {\bfseries add\-Soft\-Constraint} ({\bf Base\-Soft\-Constraint} \&constraint\-\_\-)\label{classBaseFitter_a3bf25cf144eee0b1d6e05a749e9cfdaa}

\item 
virtual std\-::vector\\*
$<$ {\bf Base\-Fit\-Object} $\ast$ $>$ $\ast$ {\bfseries get\-Fit\-Objects} ()\label{classBaseFitter_a63c6bf0ba14ceb169090b4cd89cd4d8e}

\item 
virtual std\-::vector\\*
$<$ {\bf Base\-Hard\-Constraint} $\ast$ $>$ $\ast$ {\bfseries get\-Constraints} ()\label{classBaseFitter_ab2543e3f25b216eea3b2d37c9eefd1e0}

\item 
virtual std\-::vector\\*
$<$ {\bf Base\-Soft\-Constraint} $\ast$ $>$ $\ast$ {\bfseries get\-Soft\-Constraints} ()\label{classBaseFitter_a36a95935aed6448811ed9281b3f5386f}

\item 
virtual double {\bfseries fit} ()=0\label{classBaseFitter_a02178a33825df3118fc4f405b9f9a232}

\item 
virtual int {\bfseries get\-Error} () const =0\label{classBaseFitter_a184ea533d5e363ce849c1ef7cd817c39}

\item 
virtual double {\bfseries get\-Probability} () const =0\label{classBaseFitter_a0e87df4eb88fb7f1a692efc1203d2d5b}

\item 
virtual double {\bfseries get\-Chi2} () const =0\label{classBaseFitter_ab7859c11e412ea9522190c5e35f31aac}

\item 
virtual int {\bfseries get\-Do\-F} () const =0\label{classBaseFitter_af3eda15db59b6194a5cbc23eb97a9c54}

\item 
virtual int {\bfseries get\-Iterations} () const =0\label{classBaseFitter_a98349cd4140e63fee8ba96b581d79277}

\item 
virtual void {\bfseries reset} ()\label{classBaseFitter_abe82be9ae99c9eb69843c547bdd5b3b5}

\item 
virtual bool {\bfseries initialize} ()=0\label{classBaseFitter_a9be70c547d2de20a6cc2e067bb36eb8c}

\item 
virtual {\bf Base\-Tracer} $\ast$ {\bfseries get\-Tracer} ()\label{classBaseFitter_af02a3de22e1d4730c475c4fb55366ac0}

\item 
virtual const {\bf Base\-Tracer} $\ast$ {\bfseries get\-Tracer} () const \label{classBaseFitter_a2751f2ef9ac7a47c93dab2738fb7d72b}

\item 
virtual void {\bfseries set\-Tracer} ({\bf Base\-Tracer} $\ast$new\-Tracer)\label{classBaseFitter_aaa675d98ed08ceff77831c3a4d3646cb}

\item 
virtual void {\bfseries set\-Tracer} ({\bf Base\-Tracer} \&new\-Tracer)\label{classBaseFitter_adf191a12cae215cadc38eb1409dc2ca6}

\item 
virtual const double $\ast$ {\bf get\-Global\-Covariance\-Matrix} (int \&idim) const 
\item 
virtual double $\ast$ {\bf get\-Global\-Covariance\-Matrix} (int \&idim)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::map$<$ std\-::string, double $>$ {\bfseries trace\-Values}\label{classBaseFitter_ab1e706e9b27c5b26671f780f2296aa85}

\end{DoxyCompactItemize}
\subsection*{Protected Types}
\begin{DoxyCompactItemize}
\item 
typedef std\-::vector\\*
$<$ {\bf Base\-Fit\-Object} $\ast$ $>$ {\bfseries Fit\-Object\-Container}\label{classBaseFitter_a36664d125e6a530f3a282422a4f49118}

\item 
typedef std\-::vector\\*
$<$ {\bf Base\-Hard\-Constraint} $\ast$ $>$ {\bfseries Constraint\-Container}\label{classBaseFitter_a7e18d5125b0cbc6fe9e81a2041000819}

\item 
typedef std\-::vector\\*
$<$ {\bf Base\-Soft\-Constraint} $\ast$ $>$ {\bfseries Soft\-Constraint\-Container}\label{classBaseFitter_a3872dfb635f686c1769951101737b5d6}

\item 
typedef \\*
Fit\-Object\-Container\-::iterator {\bfseries Fit\-Object\-Iterator}\label{classBaseFitter_a8911ad5afc18d5b37895a5f40577f9e1}

\item 
typedef \\*
Constraint\-Container\-::iterator {\bfseries Constraint\-Iterator}\label{classBaseFitter_afafebcd907d9fb380a51c1faf3e91ca7}

\item 
typedef \\*
Soft\-Constraint\-Container\-::iterator {\bfseries Soft\-Constraint\-Iterator}\label{classBaseFitter_aec31b8366f9fe4e3f62bdb133bdfe519}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Base\-Fitter} (const {\bf Base\-Fitter} \&rhs)\label{classBaseFitter_a636eea326c3119a51899b3940237e85f}

\begin{DoxyCompactList}\small\item\em Copy constructor disabled. \end{DoxyCompactList}\item 
{\bf Base\-Fitter} \& {\bf operator=} (const {\bf Base\-Fitter} \&rhs)\label{classBaseFitter_a4aae3feab4e95ec9e4b472f9a43617dd}

\begin{DoxyCompactList}\small\item\em Assignment disabled. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
Fit\-Object\-Container {\bfseries fitobjects}\label{classBaseFitter_ac23a10d01ef331f6b1d4858ed24fdd5a}

\item 
Constraint\-Container {\bfseries constraints}\label{classBaseFitter_a185f17c254cfe06bcf0ca1081fb3550c}

\item 
Soft\-Constraint\-Container {\bfseries softconstraints}\label{classBaseFitter_ac1196b9e448053bde1e756692459dc00}

\item 
int {\bf cov\-Dim}\label{classBaseFitter_ad3ab0373999de22a92cc1574716ed213}

\begin{DoxyCompactList}\small\item\em dimension of global covariance matrix \end{DoxyCompactList}\item 
double $\ast$ {\bf cov}\label{classBaseFitter_a5ab74146e220c4fc2cec5c0a7f3dd4d5}

\begin{DoxyCompactList}\small\item\em global covariance matrix of last fit problem \end{DoxyCompactList}\item 
bool {\bf cov\-Valid}\label{classBaseFitter_ae010bfec9fdddf453f942d117441a30b}

\begin{DoxyCompactList}\small\item\em Flag whether global covariance is valid. \end{DoxyCompactList}\item 
{\bf Base\-Tracer} $\ast$ {\bfseries tracer}\label{classBaseFitter_a71a704fa14f6c84e4431d613494c9471}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Abstract base class for fitting engines of kinematic fits. 

Author\-: Jenny List, Benno List Last update\-: \begin{DoxyParagraph}{Date\-:}
2011/03/03 15\-:03\-:02 
\end{DoxyParagraph}
by\-: \begin{DoxyParagraph}{Author\-:}
blist 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{Base\-Fitter@{Base\-Fitter}!get\-Global\-Covariance\-Matrix@{get\-Global\-Covariance\-Matrix}}
\index{get\-Global\-Covariance\-Matrix@{get\-Global\-Covariance\-Matrix}!BaseFitter@{Base\-Fitter}}
\subsubsection[{get\-Global\-Covariance\-Matrix}]{\setlength{\rightskip}{0pt plus 5cm}const double $\ast$ Base\-Fitter\-::get\-Global\-Covariance\-Matrix (
\begin{DoxyParamCaption}
\item[{int \&}]{idim}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitter_a78553ad2746f460a539c1b4f197f55c0}

\begin{DoxyParams}{Parameters}
{\em idim} & 1st dimension of global covariance matrix \\
\hline
\end{DoxyParams}


References cov, cov\-Dim, and cov\-Valid.

\index{Base\-Fitter@{Base\-Fitter}!get\-Global\-Covariance\-Matrix@{get\-Global\-Covariance\-Matrix}}
\index{get\-Global\-Covariance\-Matrix@{get\-Global\-Covariance\-Matrix}!BaseFitter@{Base\-Fitter}}
\subsubsection[{get\-Global\-Covariance\-Matrix}]{\setlength{\rightskip}{0pt plus 5cm}double $\ast$ Base\-Fitter\-::get\-Global\-Covariance\-Matrix (
\begin{DoxyParamCaption}
\item[{int \&}]{idim}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitter_a37c1beb9b8fcdfd6e56fc3fc66e43856}

\begin{DoxyParams}{Parameters}
{\em idim} & 1st dimension of global covariance matrix \\
\hline
\end{DoxyParams}


References cov, cov\-Dim, and cov\-Valid.



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