\section{A\-I\-D\-A\-:\-:I\-Fit\-Factory Interface Reference}
\label{classAIDA_1_1IFitFactory}\index{A\-I\-D\-A\-::\-I\-Fit\-Factory@{A\-I\-D\-A\-::\-I\-Fit\-Factory}}


Factory for fitter and fit data objects.  




{\ttfamily \#include $<$I\-Fit\-Factory.\-h$>$}

Inheritance diagram for A\-I\-D\-A\-:\-:I\-Fit\-Factory\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classAIDA_1_1IFitFactory}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf $\sim$\-I\-Fit\-Factory} ()\label{classAIDA_1_1IFitFactory_afd36e23feb007e02d25971e465c62d7b}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual {\bf I\-Fit\-Data} $\ast$ {\bfseries create\-Fit\-Data} ()=0\label{classAIDA_1_1IFitFactory_af01a13ded37e5f45fb3d88a16e37c6a9}

\item 
virtual {\bf I\-Fitter} $\ast$ {\bf create\-Fitter} (const std\-::string \&fitter\-Type=\char`\"{}Chi2\char`\"{}, const std\-::string \&engine\-Type=\char`\"{}\char`\"{}, const std\-::string \&options=\char`\"{}\char`\"{})=0
\begin{DoxyCompactList}\small\item\em Create a new \doxyref{I\-Fitter}{p.}{classAIDA_1_1IFitter}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Factory for fitter and fit data objects. 

\begin{DoxyAuthor}{Author}
The \doxyref{A\-I\-D\-A}{p.}{namespaceAIDA} team ({\tt http\-://aida.\-freehep.\-org/}) 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\index{A\-I\-D\-A\-::\-I\-Fit\-Factory@{A\-I\-D\-A\-::\-I\-Fit\-Factory}!create\-Fitter@{create\-Fitter}}
\index{create\-Fitter@{create\-Fitter}!AIDA::IFitFactory@{A\-I\-D\-A\-::\-I\-Fit\-Factory}}
\subsubsection[{create\-Fitter}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf I\-Fitter}$\ast$ A\-I\-D\-A\-::\-I\-Fit\-Factory\-::create\-Fitter (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{fitter\-Type = {\ttfamily \char`\"{}Chi2\char`\"{}}, }
\item[{const std\-::string \&}]{engine\-Type = {\ttfamily \char`\"{}\char`\"{}}, }
\item[{const std\-::string \&}]{options = {\ttfamily \char`\"{}\char`\"{}}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IFitFactory_ae748dfd44ecccff838357fb1c1b78940}


Create a new \doxyref{I\-Fitter}{p.}{classAIDA_1_1IFitter}. 


\begin{DoxyParams}{Parameters}
{\em fitter\-Type} & The type of fitter. The supported types are\-:
\begin{DoxyItemize}
\item \char`\"{}\-C\-H\-I2\char`\"{} or \char`\"{}\-Chi2\char`\"{} or \char`\"{}\-Chi\-Squared\char`\"{} for chi squared fitter (this is the default),
\item \char`\"{}\-M\-L\char`\"{} or \char`\"{}\-Max\-Likelihood\char`\"{} for maximum likelihood fitter,
\item \char`\"{}\-L\-S\char`\"{} or \char`\"{}\-Least\-Squares\char`\"{} for Last Squares fitter. 
\end{DoxyItemize}\\
\hline
{\em engine\-Type} & The type of optimization engine used by the fitter. The available types depend on the specific implementation in use. The default is \char`\"{}\char`\"{} (the implementation specific default). \\
\hline
{\em options} & A string of options. The default is \char`\"{}\char`\"{}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The \doxyref{I\-Fitter}{p.}{classAIDA_1_1IFitter}. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Fit\-Factory\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1IFitFactoryROOT_a724a5dd85efb212befa86ffcad7313d1}.



The documentation for this interface was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
I\-Fit\-Factory.\-h\end{DoxyCompactItemize}
