\section{Base\-Fit\-Object Class Reference}
\label{classBaseFitObject}\index{Base\-Fit\-Object@{Base\-Fit\-Object}}


Abstract base class for particle objects of kinematic fits.  




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

Inheritance diagram for Base\-Fit\-Object\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.632653cm]{classBaseFitObject}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Base\-Fit\-Object} ()\label{classBaseFitObject_af4fe8a4fe54004255ddabf269ddcf4bf}

\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
{\bf Base\-Fit\-Object} (const {\bf Base\-Fit\-Object} \&rhs)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
{\bf Base\-Fit\-Object} \& {\bf operator=} (const {\bf Base\-Fit\-Object} \&rhs)
\begin{DoxyCompactList}\small\item\em Assignment. \end{DoxyCompactList}\item 
virtual {\bf $\sim$\-Base\-Fit\-Object} ()\label{classBaseFitObject_ace1f3a8041ee0696b86863779a10551c}

\begin{DoxyCompactList}\small\item\em Virtual destructor. \end{DoxyCompactList}\item 
virtual {\bf Base\-Fit\-Object} $\ast$ {\bf copy} () const =0\label{classBaseFitObject_a6ba252618331f32b29ef880b60716128}

\begin{DoxyCompactList}\small\item\em Return a new copy of itself. \end{DoxyCompactList}\item 
virtual {\bf Base\-Fit\-Object} \& {\bf assign} (const {\bf Base\-Fit\-Object} \&source)
\begin{DoxyCompactList}\small\item\em Assign from anther object, if of same type. \end{DoxyCompactList}\item 
virtual bool {\bf set\-Param} (int ilocal, double par\-\_\-, bool measured\-\_\-, bool fixed\-\_\-=false)
\begin{DoxyCompactList}\small\item\em Set value and measured flag of parameter i; return\-: significant change. \end{DoxyCompactList}\item 
virtual bool {\bf set\-Param} (int ilocal, double par\-\_\-)
\begin{DoxyCompactList}\small\item\em Set value of parameter ilocal; return\-: significant change. \end{DoxyCompactList}\item 
virtual bool {\bf update\-Params} (double p[$\,$], int idim)
\begin{DoxyCompactList}\small\item\em Read values from global vector, readjust vector; return\-: significant change. \end{DoxyCompactList}\item 
virtual bool {\bf set\-M\-Param} (int ilocal, double mpar\-\_\-)
\begin{DoxyCompactList}\small\item\em Set measured value of parameter ilocal; return\-: success. \end{DoxyCompactList}\item 
virtual bool {\bf set\-Error} (int ilocal, double err\-\_\-)
\begin{DoxyCompactList}\small\item\em Set error of parameter ilocal; return\-: success. \end{DoxyCompactList}\item 
virtual bool {\bf set\-Cov} (int ilocal, int jlocal, double cov\-\_\-)
\begin{DoxyCompactList}\small\item\em Set covariance of parameters ilocal and jlocal; return\-: success. \end{DoxyCompactList}\item 
virtual bool {\bf set\-Global\-Par\-Num} (int ilocal, int iglobal)
\begin{DoxyCompactList}\small\item\em Set number of parameter ilocal in global list return true signals O\-K. \end{DoxyCompactList}\item 
virtual bool {\bf fix\-Param} (int ilocal, bool fix=true)
\begin{DoxyCompactList}\small\item\em Fix a parameter (fix=true), or release it (fix=false) \end{DoxyCompactList}\item 
virtual bool {\bf release\-Param} (int ilocal)
\begin{DoxyCompactList}\small\item\em Release a parameter. \end{DoxyCompactList}\item 
virtual bool {\bf is\-Param\-Fixed} (int ilocal) const 
\begin{DoxyCompactList}\small\item\em Returns whether parameter is fixed. \end{DoxyCompactList}\item 
virtual double {\bf get\-Param} (int ilocal) const 
\begin{DoxyCompactList}\small\item\em Get current value of parameter ilocal. \end{DoxyCompactList}\item 
virtual const char $\ast$ {\bf get\-Param\-Name} (int ilocal) const 
\begin{DoxyCompactList}\small\item\em Get name of parameter ilocal. \end{DoxyCompactList}\item 
virtual const char $\ast$ {\bf get\-Name} () const \label{classBaseFitObject_a9316d277ff8b8f3b040bce8715aabf2e}

\begin{DoxyCompactList}\small\item\em Get object's name. \end{DoxyCompactList}\item 
virtual void {\bf set\-Name} (const char $\ast$name\-\_\-)\label{classBaseFitObject_a987e78ba9f603ca7f69279609353306b}

\begin{DoxyCompactList}\small\item\em Set object's name. \end{DoxyCompactList}\item 
virtual double {\bf get\-M\-Param} (int ilocal) const 
\begin{DoxyCompactList}\small\item\em Get measured value of parameter ilocal. \end{DoxyCompactList}\item 
virtual double {\bf get\-Error} (int ilocal) const 
\begin{DoxyCompactList}\small\item\em Get error of parameter ilocal. \end{DoxyCompactList}\item 
virtual double {\bf get\-Cov} (int ilocal, int jlocal) const 
\begin{DoxyCompactList}\small\item\em Get covariance between parameters ilocal and jlocal. \end{DoxyCompactList}\item 
virtual double {\bf get\-Rho} (int ilocal, int jlocal) const 
\begin{DoxyCompactList}\small\item\em Get correlation coefficient between parameters ilocal and jlocal. \end{DoxyCompactList}\item 
virtual bool {\bf is\-Param\-Measured} (int ilocal) const 
\begin{DoxyCompactList}\small\item\em Get measured flag for parameter ilocal. \end{DoxyCompactList}\item 
virtual int {\bf get\-Global\-Par\-Num} (int ilocal) const 
\begin{DoxyCompactList}\small\item\em Get global parameter number of parameter ilocal. \end{DoxyCompactList}\item 
virtual int {\bf get\-N\-Par} () const =0\label{classBaseFitObject_aea621f2e892d28f5e81dbb94d50bfddc}

\begin{DoxyCompactList}\small\item\em Get total number of parameters of this Fit\-Object. \end{DoxyCompactList}\item 
virtual int {\bf get\-N\-Measured} () const \label{classBaseFitObject_a10e9a5aaff22b9efbb68b22a70ba5c8e}

\begin{DoxyCompactList}\small\item\em Get number of measured parameters of this Fit\-Object. \end{DoxyCompactList}\item 
virtual int {\bf get\-N\-Unmeasured} () const \label{classBaseFitObject_aa484982dba4d80ca0bfe8440d93d068d}

\begin{DoxyCompactList}\small\item\em Get number of unmeasured parameters of this Fit\-Object. \end{DoxyCompactList}\item 
virtual int {\bf get\-N\-Free} () const \label{classBaseFitObject_a0d9a9fd7e52d9cbcab0d90654a195504}

\begin{DoxyCompactList}\small\item\em Get number of free parameters of this Fit\-Object. \end{DoxyCompactList}\item 
virtual int {\bf get\-N\-Fixed} () const \label{classBaseFitObject_a3f585f455ee523bdd00d4c51ab65d029}

\begin{DoxyCompactList}\small\item\em Get number of fixed parameters of this Fit\-Object. \end{DoxyCompactList}\item 
virtual double {\bf get\-Chi2} () const \label{classBaseFitObject_a1c3781b176f1a8278a6f2726cb43fe9a}

\begin{DoxyCompactList}\small\item\em Get chi squared from measured and fitted parameters. \end{DoxyCompactList}\item 
virtual double {\bf get\-D\-Chi2\-D\-Param} (int ilocal) const 
\begin{DoxyCompactList}\small\item\em Get derivative of chi squared w.\-r.\-t. parameter ilocal. \end{DoxyCompactList}\item 
virtual double {\bf get\-D2\-Chi2\-D\-Param2} (int ilocal, int jlocal) const 
\begin{DoxyCompactList}\small\item\em Get second derivative of chi squared w.\-r.\-t. parameters ilocal1 and ilocal2. \end{DoxyCompactList}\item 
virtual std\-::ostream \& {\bf print\-Params} (std\-::ostream \&os) const 
\begin{DoxyCompactList}\small\item\em print the parameters and errors \end{DoxyCompactList}\item 
virtual std\-::ostream \& {\bf print\-Rho\-Values} (std\-::ostream \&os) const 
\begin{DoxyCompactList}\small\item\em print the correlation coefficients \end{DoxyCompactList}\item 
virtual std\-::ostream \& {\bf print1st\-Derivatives} (std\-::ostream \&os) const 
\begin{DoxyCompactList}\small\item\em print the 1st derivatives wrt meta\-Set 0 (E, px, py, pz) \end{DoxyCompactList}\item 
virtual std\-::ostream \& {\bf print2nd\-Derivatives} (std\-::ostream \&os) const 
\begin{DoxyCompactList}\small\item\em print the 2nd derivatives wrt meta\-Set 0 (E, px, py, pz) \end{DoxyCompactList}\item 
virtual std\-::ostream \& {\bf print} (std\-::ostream \&os) const =0
\begin{DoxyCompactList}\small\item\em print object to ostream \end{DoxyCompactList}\item 
virtual void {\bf invalidate\-Cache} () const \label{classBaseFitObject_a1c6dc9861c8a01f669385629d7a614e7}

\begin{DoxyCompactList}\small\item\em invalidate any cached quantities \end{DoxyCompactList}\item 
virtual void {\bfseries update\-Cache} () const =0\label{classBaseFitObject_a4461c07fd459b97bf7c8b50f1a9203c8}

\item 
virtual void {\bf add\-To\-Glob\-Cov} (double $\ast$glcov, int idim) const 
\begin{DoxyCompactList}\small\item\em Add covariance matrix elements to global covariance matrix of size idim x idim. \end{DoxyCompactList}\item 
virtual void {\bf add\-To\-Global\-Chi2\-Der\-Vector} (double $\ast$y, int idim) const 
\begin{DoxyCompactList}\small\item\em Add derivatives of chi squared to global derivative vector. \end{DoxyCompactList}\item 
virtual void {\bf add\-To\-Global\-Chi2\-Der\-Matrix} (double $\ast$M, int idim) const 
\begin{DoxyCompactList}\small\item\em Add 2nd derivatives of chi squared to global derivative matrix. \end{DoxyCompactList}\item 
virtual void {\bf add\-To\-Global\-Chi2\-Der\-Vector} (double $\ast$y, int idim, double lambda, double der[$\,$], int meta\-Set) const 
\begin{DoxyCompactList}\small\item\em Add derivatives of momentum vector to global derivative vector. \end{DoxyCompactList}\item 
virtual void {\bfseries add\-To1st\-Derivatives} (double M[$\,$], int idim, double der[$\,$], int kglobal, int meta\-Set) const \label{classBaseFitObject_a084dab1d51b9c276eefe7927d6b1d0af}

\item 
virtual void {\bfseries add\-To2nd\-Derivatives} (double der2[$\,$], int idim, double factor[$\,$], int meta\-Set) const \label{classBaseFitObject_ae9d94647decb2845126de8b02d3f23ac}

\item 
virtual void {\bfseries add\-To2nd\-Derivatives} (double M[$\,$], int idim, double lambda, double der[$\,$], int meta\-Set) const \label{classBaseFitObject_afc1656e25979e06ac3788268720958e7}

\item 
virtual double {\bfseries get\-First\-Derivative\-\_\-\-Meta\-\_\-\-Local} (int i\-Meta, int ilocal, int meta\-Set) const =0\label{classBaseFitObject_abb66235b775aaf3a6a9d1449918835b3}

\item 
virtual double {\bfseries get\-Second\-Derivative\-\_\-\-Meta\-\_\-\-Local} (int i\-Meta, int ilocal, int jlocal, int meta\-Set) const =0\label{classBaseFitObject_aafbcd379723f9aba7d4150452ded9ebd}

\item 
virtual void {\bfseries init\-Cov} ()\label{classBaseFitObject_a8cc8ffc0cf9f1f847baceab0ec4e1060}

\item 
virtual double {\bfseries get\-Error2} (double der[$\,$], int metaset) const \label{classBaseFitObject_a2a70f432243cc735cf6f81648bc3c8e1}

\item 
virtual void {\bfseries get\-Derivatives} (double der[$\,$], int idim) const =0\label{classBaseFitObject_a3032f3ce49c494e26d4c73611621a1ce}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual bool {\bf calculate\-Cov\-Inv} () const \label{classBaseFitObject_a6724918230068e5e6990cd2bd1a8bdbc}

\begin{DoxyCompactList}\small\item\em Calculate the inverse of the covariance matrix. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
char $\ast$ {\bfseries name}\label{classBaseFitObject_a04a03169a2b80ca694d44de0a6fc4322}

\item 
double {\bf par} [Base\-Defs\-::\-M\-A\-X\-P\-A\-R]\label{classBaseFitObject_af6d236c69cc817b775062c5331cd3c90}

\begin{DoxyCompactList}\small\item\em fit parameters \end{DoxyCompactList}\item 
double {\bf mpar} [Base\-Defs\-::\-M\-A\-X\-P\-A\-R]\label{classBaseFitObject_a828a84017028c722c57f109abe411cf0}

\begin{DoxyCompactList}\small\item\em measured parameters \end{DoxyCompactList}\item 
bool {\bf measured} [Base\-Defs\-::\-M\-A\-X\-P\-A\-R]\label{classBaseFitObject_aa356d02a3cd7dcd649f601d6edb7119d}

\begin{DoxyCompactList}\small\item\em measured flag \end{DoxyCompactList}\item 
bool {\bf fixed} [Base\-Defs\-::\-M\-A\-X\-P\-A\-R]\label{classBaseFitObject_ab723431cf0139659b93b79acbffae005}

\begin{DoxyCompactList}\small\item\em fixed flag \end{DoxyCompactList}\item 
int {\bf global\-Par\-Num} [Base\-Defs\-::\-M\-A\-X\-P\-A\-R]\label{classBaseFitObject_ac99745e0c8c1ee5321735e9cf2226676}

\begin{DoxyCompactList}\small\item\em global paramter number for each parameter \end{DoxyCompactList}\item 
double {\bf cov} [Base\-Defs\-::\-M\-A\-X\-P\-A\-R][Base\-Defs\-::\-M\-A\-X\-P\-A\-R]\label{classBaseFitObject_a26bcc12abbd2bf30469435abea6f7824}

\begin{DoxyCompactList}\small\item\em local covariance matrix \end{DoxyCompactList}\item 
double {\bf covinv} [Base\-Defs\-::\-M\-A\-X\-P\-A\-R][Base\-Defs\-::\-M\-A\-X\-P\-A\-R]\label{classBaseFitObject_a019fa2a3be4cab9624511ae3fe3a16fa}

\begin{DoxyCompactList}\small\item\em inverse pf local covariance matrix \end{DoxyCompactList}\item 
bool {\bf covinvvalid}\label{classBaseFitObject_a83e88a791ab4dd608624b002ff7b0ea1}

\begin{DoxyCompactList}\small\item\em flag for valid inverse covariance matrix \end{DoxyCompactList}\item 
bool {\bf cachevalid}\label{classBaseFitObject_a7b05abccf84aadb3dc0503eb0ec7856c}

\begin{DoxyCompactList}\small\item\em flag for valid cache \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
static const double {\bfseries eps2} = 0.\-0001\label{classBaseFitObject_a64e121fa5c44d170cffa27b2370645d8}

\end{DoxyCompactItemize}
\subsection*{Related Functions}
(Note that these are not member functions.) \begin{DoxyCompactItemize}
\item 
std\-::ostream \& {\bf operator$<$$<$} (std\-::ostream \&os, const {\bf Base\-Fit\-Object} \&bfo)
\begin{DoxyCompactList}\small\item\em Prints out a \doxyref{Base\-Fit\-Object}{p.}{classBaseFitObject}, using its print method. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Abstract base class for particle objects of kinematic fits. 

This class defines the minimal functionality any fit object must provide. The main task of a fit object is to keep parameters (and errors) that define the four-\/momentum of a particle and encapsulate the actually chosen parametrisation from the rest of the fitting machinery.

Since for the fit a parametrisation distributed like a gaussian is most favorable, different kinds of particles (implying different kinds of measurements!) might require different parametrisations. For each desired parametrisation a concrete class should be derived from this abstract base class. It needs to be able to convert its parameters to E, px, py, pz and to provide the derivatives of E, px, py, pz with respect to the internal parameters.

Depending on the type of particle, some or all parameters might be unmeasured (neutrinos!), meaning that they come with a very large and/or unknown error. They are treated differently by the fit algorithm and are thus flagged accordingly.

In order to insert its derivatives into the global covariance matrix of all Fit\-Objects in the event, each Fit\-Objects needs to know the position of its parameters in the overall parameter list.

T\-H\-I\-S i\-S J\-U\-N\-K!!!! It is done like this in Jet\-Fit\-Object.\-C, but using measured[i] which is the bool giving the measured/unmeasured status and N\-O\-T a bool containing the S\-T\-A\-R\-T V\-A\-L\-U\-E\-S!!!!! From its stored initial parameters and the current fit parameters the Fit\-Object calculates its contribution to the \$$^\wedge$2\$ of the fit.

In its current state, a \doxyref{Base\-Fit\-Object}{p.}{classBaseFitObject} has a set of parameters, some of them measured (i.\-e., they contribute to the $\chi^2$). These parameters have a local numbering, running from 0 to n-\/1. Global numbers can be assigned by the \doxyref{Base\-Fitter}{p.}{classBaseFitter} using set\-Global\-Par\-Num.

The class W\-W\-Fitter needs the following routines from \doxyref{Base\-Fit\-Object}{p.}{classBaseFitObject}\-:
\begin{DoxyItemize}
\item \doxyref{Base\-Fit\-Object\-::get\-N\-Par}{p.}{classBaseFitObject_aea621f2e892d28f5e81dbb94d50bfddc}
\item Base\-Fit\-Object\-::get\-Measured
\item \doxyref{Base\-Fit\-Object\-::get\-Global\-Par\-Num}{p.}{classBaseFitObject_ac85f2532ef25edf41a7aaa40e0d77678}
\item \doxyref{Base\-Fit\-Object\-::get\-Param}{p.}{classBaseFitObject_a0aabb1a02f1dcf3cb96cb37a40471e5f}
\item \doxyref{Base\-Fit\-Object\-::set\-Param}{p.}{classBaseFitObject_a9be5ac872480a86a69ea0e9b81d1375c}
\item \doxyref{Base\-Fit\-Object\-::add\-To\-Glob\-Cov}{p.}{classBaseFitObject_a12f26034935179f8d416a3eb21a7fc79}
\item \doxyref{Base\-Fit\-Object\-::operator$<$$<$}{p.}{classBaseFitObject_af607d21ae2ebffc1396e5ed938b073c6}
\item \doxyref{Base\-Fit\-Object\-::set\-Error}{p.}{classBaseFitObject_ab80d7a1df00899687e28760da5de8558}
\end{DoxyItemize}

Author\-: Benno List, Jenny Böhme \begin{DoxyParagraph}{Date\-:}
2011/03/03 15\-:03\-:02 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Author\-:}
blist 
\end{DoxyParagraph}


{\bfseries Changelog\-:} 
\begin{DoxyItemize}
\item 30.\-12.\-04 B\-L\-: Added get\-Cov, set\-Cov
\item 11.\-1.\-05 B\-L\-: return type of set\-Param changed to bool 
\end{DoxyItemize}

\subsection{Constructor \& Destructor Documentation}
\index{Base\-Fit\-Object@{Base\-Fit\-Object}!Base\-Fit\-Object@{Base\-Fit\-Object}}
\index{Base\-Fit\-Object@{Base\-Fit\-Object}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{Base\-Fit\-Object}]{\setlength{\rightskip}{0pt plus 5cm}Base\-Fit\-Object\-::\-Base\-Fit\-Object (
\begin{DoxyParamCaption}
\item[{const {\bf Base\-Fit\-Object} \&}]{rhs}
\end{DoxyParamCaption}
)}\label{classBaseFitObject_a9fc520caf4e40d53caf2fbed017f8a52}


Copy constructor. 


\begin{DoxyParams}{Parameters}
{\em rhs} & right hand side \\
\hline
\end{DoxyParams}


References assign().



\subsection{Member Function Documentation}
\index{Base\-Fit\-Object@{Base\-Fit\-Object}!add\-To\-Global\-Chi2\-Der\-Matrix@{add\-To\-Global\-Chi2\-Der\-Matrix}}
\index{add\-To\-Global\-Chi2\-Der\-Matrix@{add\-To\-Global\-Chi2\-Der\-Matrix}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{add\-To\-Global\-Chi2\-Der\-Matrix}]{\setlength{\rightskip}{0pt plus 5cm}void Base\-Fit\-Object\-::add\-To\-Global\-Chi2\-Der\-Matrix (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{M, }
\item[{int}]{idim}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a08c9a269fdf69dedd4db2a42b3bcc86c}


Add 2nd derivatives of chi squared to global derivative matrix. 


\begin{DoxyParams}{Parameters}
{\em M} & Global derivative matrix \\
\hline
{\em idim} & First dimension of global derivative matrix \\
\hline
\end{DoxyParams}


References calculate\-Cov\-Inv(), covinvvalid, get\-D2\-Chi2\-D\-Param2(), get\-Global\-Par\-Num(), get\-N\-Par(), is\-Param\-Fixed(), and is\-Param\-Measured().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!add\-To\-Global\-Chi2\-Der\-Vector@{add\-To\-Global\-Chi2\-Der\-Vector}}
\index{add\-To\-Global\-Chi2\-Der\-Vector@{add\-To\-Global\-Chi2\-Der\-Vector}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{add\-To\-Global\-Chi2\-Der\-Vector}]{\setlength{\rightskip}{0pt plus 5cm}void Base\-Fit\-Object\-::add\-To\-Global\-Chi2\-Der\-Vector (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{y, }
\item[{int}]{idim}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a67fc81b3ea92d8fb57cd2dbf6c617cba}


Add derivatives of chi squared to global derivative vector. 


\begin{DoxyParams}{Parameters}
{\em y} & Vector of chi2 derivatives \\
\hline
{\em idim} & Vector size \\
\hline
\end{DoxyParams}


References calculate\-Cov\-Inv(), covinvvalid, get\-D\-Chi2\-D\-Param(), get\-Global\-Par\-Num(), get\-N\-Par(), is\-Param\-Fixed(), and is\-Param\-Measured().



Referenced by Soft\-Gauss\-Particle\-Constraint\-::add2nd\-Derivatives\-To\-Matrix(), Base\-Hard\-Constraint\-::add\-To\-Global\-Chi2\-Der\-Vector(), and Soft\-Gauss\-Particle\-Constraint\-::add\-To\-Global\-Chi2\-Der\-Vector().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!add\-To\-Global\-Chi2\-Der\-Vector@{add\-To\-Global\-Chi2\-Der\-Vector}}
\index{add\-To\-Global\-Chi2\-Der\-Vector@{add\-To\-Global\-Chi2\-Der\-Vector}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{add\-To\-Global\-Chi2\-Der\-Vector}]{\setlength{\rightskip}{0pt plus 5cm}void Base\-Fit\-Object\-::add\-To\-Global\-Chi2\-Der\-Vector (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{y, }
\item[{int}]{idim, }
\item[{double}]{lambda, }
\item[{double}]{der[$\,$], }
\item[{int}]{meta\-Set}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_af1e5b3c3eee82219c5d5aea7038f1740}


Add derivatives of momentum vector to global derivative vector. 


\begin{DoxyParams}{Parameters}
{\em y} & Vector of chi2 derivatives \\
\hline
{\em idim} & Vector size \\
\hline
{\em lambda} & The lambda value \\
\hline
{\em der} & derivatives of constraint wrt intermediate variables (e.\-g. 4-\/vector with dg/d\-E, dg/dpx, dg/dpy, dg/dpz) \\
\hline
{\em meta\-Set} & which set of intermediate variables \\
\hline
\end{DoxyParams}


References cachevalid, get\-N\-Par(), and global\-Par\-Num.

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!add\-To\-Glob\-Cov@{add\-To\-Glob\-Cov}}
\index{add\-To\-Glob\-Cov@{add\-To\-Glob\-Cov}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{add\-To\-Glob\-Cov}]{\setlength{\rightskip}{0pt plus 5cm}void Base\-Fit\-Object\-::add\-To\-Glob\-Cov (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{glcov, }
\item[{int}]{idim}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a12f26034935179f8d416a3eb21a7fc79}


Add covariance matrix elements to global covariance matrix of size idim x idim. 


\begin{DoxyParams}{Parameters}
{\em glcov} & Global covariance matrix \\
\hline
{\em idim} & First dimension of global derivative matrix \\
\hline
\end{DoxyParams}


References get\-Cov(), get\-Global\-Par\-Num(), get\-N\-Par(), is\-Param\-Fixed(), and is\-Param\-Measured().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!assign@{assign}}
\index{assign@{assign}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{assign}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Base\-Fit\-Object} \& Base\-Fit\-Object\-::assign (
\begin{DoxyParamCaption}
\item[{const {\bf Base\-Fit\-Object} \&}]{source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a12ddff632ded6bb0a793f9aec912b046}


Assign from anther object, if of same type. 


\begin{DoxyParams}{Parameters}
{\em source} & The source object \\
\hline
\end{DoxyParams}


Reimplemented in {\bf Particle\-Fit\-Object} \doxyref{}{p.}{classParticleFitObject_a8429a39000149c8e80935d127f89f632}, {\bf Vertex\-Fit\-Object} \doxyref{}{p.}{classVertexFitObject_ac00764ade4a67b310ca4d585a6c0a267}, {\bf Jet\-Fit\-Object} \doxyref{}{p.}{classJetFitObject_a50292a165244b4d4326f999706f4ec00}, {\bf I\-S\-R\-Photon\-Fit\-Object} \doxyref{}{p.}{classISRPhotonFitObject_a79520ad34a0f8e14940cde992c077fd4}, {\bf Lepton\-Fit\-Object} \doxyref{}{p.}{classLeptonFitObject_a57621dab1dbfa3aee1dc199b8b795afc}, {\bf Simple\-Photon\-Fit\-Object} \doxyref{}{p.}{classSimplePhotonFitObject_ae7e5e38e6595b0980a38585cb3c596de}, {\bf Neutrino\-Fit\-Object} \doxyref{}{p.}{classNeutrinoFitObject_a96d06643120ca926bdb31d85ec01d989}, {\bf Track\-Particle\-Fit\-Object} \doxyref{}{p.}{classTrackParticleFitObject_a75b62af553760f8d7bea7c2251a5e1a1}, and {\bf Zinvisible\-Fit\-Object} \doxyref{}{p.}{classZinvisibleFitObject_aaeb2994d7104da445eb2279493bcd3cf}.



References cachevalid, cov, covinvvalid, fixed, global\-Par\-Num, measured, mpar, par, and set\-Name().



Referenced by Vertex\-Fit\-Object\-::assign(), Particle\-Fit\-Object\-::assign(), Base\-Fit\-Object(), and operator=().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!fix\-Param@{fix\-Param}}
\index{fix\-Param@{fix\-Param}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{fix\-Param}]{\setlength{\rightskip}{0pt plus 5cm}bool Base\-Fit\-Object\-::fix\-Param (
\begin{DoxyParamCaption}
\item[{int}]{ilocal, }
\item[{bool}]{fix = {\ttfamily true}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_ae0e5d6e67f335458398ec6757a716641}


Fix a parameter (fix=true), or release it (fix=false) 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
{\em fix} & fix if true, release if false \\
\hline
\end{DoxyParams}


References fixed, and get\-N\-Par().



Referenced by Vertex\-Fit\-Object\-::add\-Constraints(), Track\-Particle\-Fit\-Object\-::fix\-Vertex\-Param(), and release\-Param().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!get\-Cov@{get\-Cov}}
\index{get\-Cov@{get\-Cov}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{get\-Cov}]{\setlength{\rightskip}{0pt plus 5cm}double Base\-Fit\-Object\-::get\-Cov (
\begin{DoxyParamCaption}
\item[{int}]{ilocal, }
\item[{int}]{jlocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a039bf1c96d2b36aa33134cf61c73393d}


Get covariance between parameters ilocal and jlocal. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number i \\
\hline
{\em jlocal} & Local parameter number j \\
\hline
\end{DoxyParams}


Reimplemented in {\bf Jet\-Fit\-Object} \doxyref{}{p.}{classJetFitObject_a2c429725485d2f8b930219ff33fb9b86}.



References cov, and get\-N\-Par().



Referenced by add\-To\-Glob\-Cov().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!get\-D2\-Chi2\-D\-Param2@{get\-D2\-Chi2\-D\-Param2}}
\index{get\-D2\-Chi2\-D\-Param2@{get\-D2\-Chi2\-D\-Param2}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{get\-D2\-Chi2\-D\-Param2}]{\setlength{\rightskip}{0pt plus 5cm}double Base\-Fit\-Object\-::get\-D2\-Chi2\-D\-Param2 (
\begin{DoxyParamCaption}
\item[{int}]{ilocal, }
\item[{int}]{jlocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a2eccef780cc183a2c77fd3f9743f8a24}


Get second derivative of chi squared w.\-r.\-t. parameters ilocal1 and ilocal2. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number i \\
\hline
{\em jlocal} & Local parameter number j \\
\hline
\end{DoxyParams}


References calculate\-Cov\-Inv(), covinv, covinvvalid, get\-N\-Par(), is\-Param\-Fixed(), and is\-Param\-Measured().



Referenced by add\-To\-Global\-Chi2\-Der\-Matrix().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!get\-D\-Chi2\-D\-Param@{get\-D\-Chi2\-D\-Param}}
\index{get\-D\-Chi2\-D\-Param@{get\-D\-Chi2\-D\-Param}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{get\-D\-Chi2\-D\-Param}]{\setlength{\rightskip}{0pt plus 5cm}double Base\-Fit\-Object\-::get\-D\-Chi2\-D\-Param (
\begin{DoxyParamCaption}
\item[{int}]{ilocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_afc494319f177e4c466c30dce3158cb6b}


Get derivative of chi squared w.\-r.\-t. parameter ilocal. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


References calculate\-Cov\-Inv(), covinv, covinvvalid, get\-N\-Par(), is\-Param\-Fixed(), is\-Param\-Measured(), mpar, and par.



Referenced by add\-To\-Global\-Chi2\-Der\-Vector().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!get\-Error@{get\-Error}}
\index{get\-Error@{get\-Error}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{get\-Error}]{\setlength{\rightskip}{0pt plus 5cm}double Base\-Fit\-Object\-::get\-Error (
\begin{DoxyParamCaption}
\item[{int}]{ilocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a8aa49a5e4cd3345629a09ea5c3807d52}


Get error of parameter ilocal. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


Reimplemented in {\bf Jet\-Fit\-Object} \doxyref{}{p.}{classJetFitObject_a14380a3ce49149c21cb1d50d29ad7d4f}.



References cov, and get\-N\-Par().



Referenced by Newton\-Fitter\-G\-S\-L\-::fit(), and print\-Params().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!get\-Global\-Par\-Num@{get\-Global\-Par\-Num}}
\index{get\-Global\-Par\-Num@{get\-Global\-Par\-Num}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{get\-Global\-Par\-Num}]{\setlength{\rightskip}{0pt plus 5cm}int Base\-Fit\-Object\-::get\-Global\-Par\-Num (
\begin{DoxyParamCaption}
\item[{int}]{ilocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_ac85f2532ef25edf41a7aaa40e0d77678}


Get global parameter number of parameter ilocal. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


References get\-N\-Par(), and global\-Par\-Num.



Referenced by Base\-Hard\-Constraint\-::add2nd\-Derivatives\-To\-Matrix(), Soft\-Gauss\-Particle\-Constraint\-::add2nd\-Derivatives\-To\-Matrix(), add\-To\-Global\-Chi2\-Der\-Matrix(), Particle\-Fit\-Object\-::add\-To\-Global\-Chi2\-Der\-Matrix\-Num(), add\-To\-Global\-Chi2\-Der\-Vector(), Particle\-Fit\-Object\-::add\-To\-Global\-Chi2\-Der\-Vector\-Num(), add\-To\-Glob\-Cov(), Newton\-Fitter\-G\-S\-L\-::fit(), Vertex\-Constraint\-::get\-Derivatives(), Zinvisible\-Fit\-Object\-::update\-Params(), Track\-Particle\-Fit\-Object\-::update\-Params(), Neutrino\-Fit\-Object\-::update\-Params(), Simple\-Photon\-Fit\-Object\-::update\-Params(), Lepton\-Fit\-Object\-::update\-Params(), I\-S\-R\-Photon\-Fit\-Object\-::update\-Params(), Jet\-Fit\-Object\-::update\-Params(), and update\-Params().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!get\-M\-Param@{get\-M\-Param}}
\index{get\-M\-Param@{get\-M\-Param}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{get\-M\-Param}]{\setlength{\rightskip}{0pt plus 5cm}double Base\-Fit\-Object\-::get\-M\-Param (
\begin{DoxyParamCaption}
\item[{int}]{ilocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a99ca6f2bc6254b69ec31319d08d61d59}


Get measured value of parameter ilocal. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


References get\-N\-Par(), and mpar.



Referenced by Newton\-Fitter\-G\-S\-L\-::fit().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!get\-Param@{get\-Param}}
\index{get\-Param@{get\-Param}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{get\-Param}]{\setlength{\rightskip}{0pt plus 5cm}double Base\-Fit\-Object\-::get\-Param (
\begin{DoxyParamCaption}
\item[{int}]{ilocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a0aabb1a02f1dcf3cb96cb37a40471e5f}


Get current value of parameter ilocal. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


References get\-N\-Par(), and par.



Referenced by Newton\-Fitter\-G\-S\-L\-::fit(), Soft\-Gauss\-Particle\-Constraint\-::num1st\-Derivative(), Base\-Hard\-Constraint\-::num1st\-Derivative(), Particle\-Fit\-Object\-::num1st\-Derivative(), Soft\-Gauss\-Particle\-Constraint\-::num2nd\-Derivative(), Base\-Hard\-Constraint\-::num2nd\-Derivative(), Particle\-Fit\-Object\-::num2nd\-Derivative(), print\-Params(), and update\-Params().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!get\-Param\-Name@{get\-Param\-Name}}
\index{get\-Param\-Name@{get\-Param\-Name}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{get\-Param\-Name}]{\setlength{\rightskip}{0pt plus 5cm}virtual const char$\ast$ Base\-Fit\-Object\-::get\-Param\-Name (
\begin{DoxyParamCaption}
\item[{int}]{ilocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classBaseFitObject_a6e993153f0efe7b380186cb815f5ccc1}


Get name of parameter ilocal. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


Reimplemented in {\bf Vertex\-Fit\-Object} \doxyref{}{p.}{classVertexFitObject_a7a14c513ec19c17e1691d3bc5970127f}, {\bf Jet\-Fit\-Object} \doxyref{}{p.}{classJetFitObject_af3d39618763bc65b0e215f637c4773b4}, {\bf I\-S\-R\-Photon\-Fit\-Object} \doxyref{}{p.}{classISRPhotonFitObject_a1c5582cceb07a7657c1ce2379ed6b576}, {\bf Lepton\-Fit\-Object} \doxyref{}{p.}{classLeptonFitObject_aa36bafccbe65d3a0a5187c0561d6e27d}, {\bf Simple\-Photon\-Fit\-Object} \doxyref{}{p.}{classSimplePhotonFitObject_a62bd665358ef4f3ab94c7a74a0060972}, {\bf Neutrino\-Fit\-Object} \doxyref{}{p.}{classNeutrinoFitObject_a6264af5f32054ce35fe7d57bd9188ebd}, {\bf Track\-Particle\-Fit\-Object} \doxyref{}{p.}{classTrackParticleFitObject_a621cf0469f47748470c2f17ba24b837a}, and {\bf Zinvisible\-Fit\-Object} \doxyref{}{p.}{classZinvisibleFitObject_ad18cc8b7370ad0fc70ce4e2ae87c0270}.



Referenced by Newton\-Fitter\-G\-S\-L\-::fit().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!get\-Rho@{get\-Rho}}
\index{get\-Rho@{get\-Rho}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{get\-Rho}]{\setlength{\rightskip}{0pt plus 5cm}double Base\-Fit\-Object\-::get\-Rho (
\begin{DoxyParamCaption}
\item[{int}]{ilocal, }
\item[{int}]{jlocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a1e2f6b9356237696a906bc1cbbf34045}


Get correlation coefficient between parameters ilocal and jlocal. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number i \\
\hline
{\em jlocal} & Local parameter number j \\
\hline
\end{DoxyParams}


References cov, and get\-N\-Par().



Referenced by print\-Rho\-Values().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!is\-Param\-Fixed@{is\-Param\-Fixed}}
\index{is\-Param\-Fixed@{is\-Param\-Fixed}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{is\-Param\-Fixed}]{\setlength{\rightskip}{0pt plus 5cm}bool Base\-Fit\-Object\-::is\-Param\-Fixed (
\begin{DoxyParamCaption}
\item[{int}]{ilocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a9a3a12cfc0fdb1faddb617fdaae3bdd0}


Returns whether parameter is fixed. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


References fixed, and get\-N\-Par().



Referenced by add\-To\-Global\-Chi2\-Der\-Matrix(), add\-To\-Global\-Chi2\-Der\-Vector(), add\-To\-Glob\-Cov(), Newton\-Fitter\-G\-S\-L\-::fit(), Particle\-Fit\-Object\-::get\-Chi2(), get\-Chi2(), get\-D2\-Chi2\-D\-Param2(), get\-D\-Chi2\-D\-Param(), Vertex\-Constraint\-::get\-Derivatives(), get\-N\-Fixed(), get\-N\-Free(), get\-N\-Measured(), get\-N\-Unmeasured(), print\-Params(), and update\-Params().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!is\-Param\-Measured@{is\-Param\-Measured}}
\index{is\-Param\-Measured@{is\-Param\-Measured}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{is\-Param\-Measured}]{\setlength{\rightskip}{0pt plus 5cm}bool Base\-Fit\-Object\-::is\-Param\-Measured (
\begin{DoxyParamCaption}
\item[{int}]{ilocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a479126781b97ccf13c9dc155b66f899e}


Get measured flag for parameter ilocal. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


References get\-N\-Par(), and measured.



Referenced by add\-To\-Global\-Chi2\-Der\-Matrix(), add\-To\-Global\-Chi2\-Der\-Vector(), add\-To\-Glob\-Cov(), calculate\-Cov\-Inv(), Newton\-Fitter\-G\-S\-L\-::fit(), Particle\-Fit\-Object\-::get\-Chi2(), get\-Chi2(), get\-D2\-Chi2\-D\-Param2(), get\-D\-Chi2\-D\-Param(), get\-N\-Measured(), and get\-N\-Unmeasured().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!operator=@{operator=}}
\index{operator=@{operator=}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Base\-Fit\-Object} \& Base\-Fit\-Object\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf Base\-Fit\-Object} \&}]{rhs}
\end{DoxyParamCaption}
)}\label{classBaseFitObject_a52803994d8a6452ec4c99b15fe9347b1}


Assignment. 


\begin{DoxyParams}{Parameters}
{\em rhs} & right hand side \\
\hline
\end{DoxyParams}


References assign().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!print@{print}}
\index{print@{print}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{print}]{\setlength{\rightskip}{0pt plus 5cm}virtual std\-::ostream\& Base\-Fit\-Object\-::print (
\begin{DoxyParamCaption}
\item[{std\-::ostream \&}]{os}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classBaseFitObject_ad70fb27fb426883b0b4f67440f336407}


print object to ostream 


\begin{DoxyParams}{Parameters}
{\em os} & The output stream \\
\hline
\end{DoxyParams}


Implemented in {\bf Vertex\-Fit\-Object} \doxyref{}{p.}{classVertexFitObject_a80753a67452791862e7f7a54b8edc1fe}, and {\bf Particle\-Fit\-Object} \doxyref{}{p.}{classParticleFitObject_aa0025435098f66914ebaca0406e3e2e8}.



Referenced by operator$<$$<$().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!print1st\-Derivatives@{print1st\-Derivatives}}
\index{print1st\-Derivatives@{print1st\-Derivatives}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{print1st\-Derivatives}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream \& Base\-Fit\-Object\-::print1st\-Derivatives (
\begin{DoxyParamCaption}
\item[{std\-::ostream \&}]{os}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_aaeeffbc256096cd4dde543cb8f5e9183}


print the 1st derivatives wrt meta\-Set 0 (E, px, py, pz) 


\begin{DoxyParams}{Parameters}
{\em os} & The output stream \\
\hline
\end{DoxyParams}


References get\-N\-Par().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!print2nd\-Derivatives@{print2nd\-Derivatives}}
\index{print2nd\-Derivatives@{print2nd\-Derivatives}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{print2nd\-Derivatives}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream \& Base\-Fit\-Object\-::print2nd\-Derivatives (
\begin{DoxyParamCaption}
\item[{std\-::ostream \&}]{os}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_ac462a054270653fc92448e1fe9697710}


print the 2nd derivatives wrt meta\-Set 0 (E, px, py, pz) 


\begin{DoxyParams}{Parameters}
{\em os} & The output stream \\
\hline
\end{DoxyParams}


References get\-N\-Par().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!print\-Params@{print\-Params}}
\index{print\-Params@{print\-Params}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{print\-Params}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream \& Base\-Fit\-Object\-::print\-Params (
\begin{DoxyParamCaption}
\item[{std\-::ostream \&}]{os}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a9f6ab3b6bb528daff8cb242fbe37a372}


print the parameters and errors 


\begin{DoxyParams}{Parameters}
{\em os} & The output stream \\
\hline
\end{DoxyParams}


References get\-Error(), get\-N\-Par(), get\-Param(), and is\-Param\-Fixed().



Referenced by Particle\-Fit\-Object\-::print(), and Vertex\-Fit\-Object\-::print().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!print\-Rho\-Values@{print\-Rho\-Values}}
\index{print\-Rho\-Values@{print\-Rho\-Values}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{print\-Rho\-Values}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream \& Base\-Fit\-Object\-::print\-Rho\-Values (
\begin{DoxyParamCaption}
\item[{std\-::ostream \&}]{os}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a7ba165341f0010ad217dc2f1beb1cb47}


print the correlation coefficients 


\begin{DoxyParams}{Parameters}
{\em os} & The output stream \\
\hline
\end{DoxyParams}


References get\-N\-Par(), and get\-Rho().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!release\-Param@{release\-Param}}
\index{release\-Param@{release\-Param}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{release\-Param}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool Base\-Fit\-Object\-::release\-Param (
\begin{DoxyParamCaption}
\item[{int}]{ilocal}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classBaseFitObject_a8035452ac922ebab94e294f710008bcd}


Release a parameter. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


References fix\-Param().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!set\-Cov@{set\-Cov}}
\index{set\-Cov@{set\-Cov}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{set\-Cov}]{\setlength{\rightskip}{0pt plus 5cm}bool Base\-Fit\-Object\-::set\-Cov (
\begin{DoxyParamCaption}
\item[{int}]{ilocal, }
\item[{int}]{jlocal, }
\item[{double}]{cov\-\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a8d80cdebbf8f4e197c93e2fded72beb2}


Set covariance of parameters ilocal and jlocal; return\-: success. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
{\em jlocal} & Local parameter number \\
\hline
{\em cov\-\_\-} & New error value \\
\hline
\end{DoxyParams}


References cov, covinvvalid, get\-N\-Par(), and invalidate\-Cache().



Referenced by Lepton\-Fit\-Object\-::\-Lepton\-Fit\-Object().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!set\-Error@{set\-Error}}
\index{set\-Error@{set\-Error}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{set\-Error}]{\setlength{\rightskip}{0pt plus 5cm}bool Base\-Fit\-Object\-::set\-Error (
\begin{DoxyParamCaption}
\item[{int}]{ilocal, }
\item[{double}]{err\-\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_ab80d7a1df00899687e28760da5de8558}


Set error of parameter ilocal; return\-: success. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
{\em err\-\_\-} & New error value \\
\hline
\end{DoxyParams}


References cov, covinvvalid, get\-N\-Par(), and invalidate\-Cache().



Referenced by I\-S\-R\-Photon\-Fit\-Object\-::\-I\-S\-R\-Photon\-Fit\-Object(), Lepton\-Fit\-Object\-::\-Lepton\-Fit\-Object(), and Simple\-Photon\-Fit\-Object\-::\-Simple\-Photon\-Fit\-Object().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!set\-Global\-Par\-Num@{set\-Global\-Par\-Num}}
\index{set\-Global\-Par\-Num@{set\-Global\-Par\-Num}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{set\-Global\-Par\-Num}]{\setlength{\rightskip}{0pt plus 5cm}bool Base\-Fit\-Object\-::set\-Global\-Par\-Num (
\begin{DoxyParamCaption}
\item[{int}]{ilocal, }
\item[{int}]{iglobal}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a333e5378b6922796ada555d99f91d419}


Set number of parameter ilocal in global list return true signals O\-K. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
{\em iglobal} & New global parameter number \\
\hline
\end{DoxyParams}


References get\-N\-Par(), and global\-Par\-Num.

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!set\-M\-Param@{set\-M\-Param}}
\index{set\-M\-Param@{set\-M\-Param}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{set\-M\-Param}]{\setlength{\rightskip}{0pt plus 5cm}bool Base\-Fit\-Object\-::set\-M\-Param (
\begin{DoxyParamCaption}
\item[{int}]{ilocal, }
\item[{double}]{mpar\-\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a7cce18386f81b167bda1bcb694a964b3}


Set measured value of parameter ilocal; return\-: success. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
{\em mpar\-\_\-} & New measured parameter value \\
\hline
\end{DoxyParams}


References get\-N\-Par(), invalidate\-Cache(), and mpar.



Referenced by I\-S\-R\-Photon\-Fit\-Object\-::\-I\-S\-R\-Photon\-Fit\-Object(), Lepton\-Fit\-Object\-::\-Lepton\-Fit\-Object(), Simple\-Photon\-Fit\-Object\-::\-Simple\-Photon\-Fit\-Object(), and Vertex\-Fit\-Object\-::\-Vertex\-Fit\-Object().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!set\-Param@{set\-Param}}
\index{set\-Param@{set\-Param}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{set\-Param}]{\setlength{\rightskip}{0pt plus 5cm}bool Base\-Fit\-Object\-::set\-Param (
\begin{DoxyParamCaption}
\item[{int}]{ilocal, }
\item[{double}]{par\-\_\-, }
\item[{bool}]{measured\-\_\-, }
\item[{bool}]{fixed\-\_\- = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a9be5ac872480a86a69ea0e9b81d1375c}


Set value and measured flag of parameter i; return\-: significant change. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
{\em par\-\_\-} & New parameter value \\
\hline
{\em measured\-\_\-} & New \char`\"{}measured\char`\"{} flag \\
\hline
{\em fixed\-\_\-} & New \char`\"{}fixed\char`\"{} flag \\
\hline
\end{DoxyParams}


References fixed, get\-N\-Par(), invalidate\-Cache(), and measured.



Referenced by I\-S\-R\-Photon\-Fit\-Object\-::\-I\-S\-R\-Photon\-Fit\-Object(), Lepton\-Fit\-Object\-::\-Lepton\-Fit\-Object(), Soft\-Gauss\-Particle\-Constraint\-::num1st\-Derivative(), Base\-Hard\-Constraint\-::num1st\-Derivative(), Particle\-Fit\-Object\-::num1st\-Derivative(), Soft\-Gauss\-Particle\-Constraint\-::num2nd\-Derivative(), Base\-Hard\-Constraint\-::num2nd\-Derivative(), Particle\-Fit\-Object\-::num2nd\-Derivative(), Simple\-Photon\-Fit\-Object\-::\-Simple\-Photon\-Fit\-Object(), update\-Params(), and Vertex\-Fit\-Object\-::\-Vertex\-Fit\-Object().

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!set\-Param@{set\-Param}}
\index{set\-Param@{set\-Param}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{set\-Param}]{\setlength{\rightskip}{0pt plus 5cm}bool Base\-Fit\-Object\-::set\-Param (
\begin{DoxyParamCaption}
\item[{int}]{ilocal, }
\item[{double}]{par\-\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_aee7f44605c4004713d247996449e073b}


Set value of parameter ilocal; return\-: significant change. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
{\em par\-\_\-} & New parameter value \\
\hline
\end{DoxyParams}


References cov, get\-N\-Par(), invalidate\-Cache(), and par.

\index{Base\-Fit\-Object@{Base\-Fit\-Object}!update\-Params@{update\-Params}}
\index{update\-Params@{update\-Params}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{update\-Params}]{\setlength{\rightskip}{0pt plus 5cm}bool Base\-Fit\-Object\-::update\-Params (
\begin{DoxyParamCaption}
\item[{double}]{p[$\,$], }
\item[{int}]{idim}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classBaseFitObject_a3f7c5b3f86dec80b75340e7c966a6e90}


Read values from global vector, readjust vector; return\-: significant change. 


\begin{DoxyParams}{Parameters}
{\em p} & The parameter vector \\
\hline
{\em idim} & Length of the vector \\
\hline
\end{DoxyParams}


Reimplemented in {\bf Jet\-Fit\-Object} \doxyref{}{p.}{classJetFitObject_ab6a0e67859ef979a5b2bd489a0131a60}, {\bf I\-S\-R\-Photon\-Fit\-Object} \doxyref{}{p.}{classISRPhotonFitObject_aba423e5626f6939ea45d02e2855956fe}, {\bf Lepton\-Fit\-Object} \doxyref{}{p.}{classLeptonFitObject_ad3e5e0d79fcf41e9c707fed542af6dd6}, {\bf Simple\-Photon\-Fit\-Object} \doxyref{}{p.}{classSimplePhotonFitObject_a05184b14825bdf92b56f3bcec8075a43}, {\bf Neutrino\-Fit\-Object} \doxyref{}{p.}{classNeutrinoFitObject_a440286cf6a1efb296efc79c3ee3b6ee3}, {\bf Track\-Particle\-Fit\-Object} \doxyref{}{p.}{classTrackParticleFitObject_ada275b48e4708a71b92c247896e32435}, and {\bf Zinvisible\-Fit\-Object} \doxyref{}{p.}{classZinvisibleFitObject_a7298c73b2f7dbc6d559cc07a2658fcf9}.



References get\-Global\-Par\-Num(), get\-N\-Par(), get\-Param(), invalidate\-Cache(), is\-Param\-Fixed(), and set\-Param().



\subsection{Friends And Related Function Documentation}
\index{Base\-Fit\-Object@{Base\-Fit\-Object}!operator$<$$<$@{operator$<$$<$}}
\index{operator$<$$<$@{operator$<$$<$}!BaseFitObject@{Base\-Fit\-Object}}
\subsubsection[{operator$<$$<$}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream \& operator$<$$<$ (
\begin{DoxyParamCaption}
\item[{std\-::ostream \&}]{os, }
\item[{const {\bf Base\-Fit\-Object} \&}]{bfo}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [related]}}\label{classBaseFitObject_af607d21ae2ebffc1396e5ed938b073c6}


Prints out a \doxyref{Base\-Fit\-Object}{p.}{classBaseFitObject}, using its print method. 


\begin{DoxyParams}{Parameters}
{\em os} & The output stream \\
\hline
{\em bfo} & The object to print \\
\hline
\end{DoxyParams}


References print().



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