\section{Vertex\-Constraint Class Reference}
\label{classVertexConstraint}\index{Vertex\-Constraint@{Vertex\-Constraint}}


Constrains a \doxyref{Track\-Particle\-Fit\-Object}{p.}{classTrackParticleFitObject} to a \doxyref{Vertex\-Fit\-Object}{p.}{classVertexFitObject}.  




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

Inheritance diagram for Vertex\-Constraint\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classVertexConstraint}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Vertex\-Constraint} (const {\bf Vertex\-Fit\-Object} \&vertex\-\_\-, const {\bf Track\-Particle\-Fit\-Object} \&track\-\_\-, int ivertex\-\_\-, int axis)\label{classVertexConstraint_a420a50e05c6c27d21b1f4ea10e8af843}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
virtual {\bf $\sim$\-Vertex\-Constraint} ()\label{classVertexConstraint_a6772ed2bd7cd9476923d250d4ba3692a}

\begin{DoxyCompactList}\small\item\em Virtual destructor. \end{DoxyCompactList}\item 
virtual double {\bf get\-Value} () const \label{classVertexConstraint_afd8652f2ef9bccae397f66b5f4b00243}

\begin{DoxyCompactList}\small\item\em Returns the value of the constraint. \end{DoxyCompactList}\item 
virtual void {\bf get\-Derivatives} (int idim, double der[$\,$]) const 
\begin{DoxyCompactList}\small\item\em Get first order derivatives. \end{DoxyCompactList}\item 
virtual bool {\bf second\-Derivatives} (int, int, double $\ast$) const \label{classVertexConstraint_a6e27055ba33d1ac7fc6f43c6937b905a}

\begin{DoxyCompactList}\small\item\em Second derivatives with respect to the meta-\/variables of Fit objects i and j; result false if all derivatives are zero. \end{DoxyCompactList}\item 
virtual bool {\bf first\-Derivatives} (int, double $\ast$) const \label{classVertexConstraint_a90cd39152bb5491c97a437ccc8ee52e1}

\begin{DoxyCompactList}\small\item\em First derivatives with respect to the meta-\/variables of Fit objects i; result false if all derivatives are zero. \end{DoxyCompactList}\item 
virtual int {\bfseries get\-Var\-Basis} () const \label{classVertexConstraint_a7d7763da8646b2c3a93ba6366129e9c1}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
const {\bf Vertex\-Fit\-Object} $\ast$ {\bfseries vertex}\label{classVertexConstraint_ad42314d60138f4de4b45c7db7fa7e92a}

\item 
const {\bf Track\-Particle\-Fit\-Object} $\ast$ {\bfseries track}\label{classVertexConstraint_a1428311fc364d76de588513d6b79cb73}

\item 
int {\bfseries ivertex}\label{classVertexConstraint_acb2a4482a6cae55b07cb795518eb252e}

\item 
{\bf Three\-Vector} {\bfseries factor}\label{classVertexConstraint_a328e2831ced3ea85544fdc46a71857b2}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Constrains a \doxyref{Track\-Particle\-Fit\-Object}{p.}{classTrackParticleFitObject} to a \doxyref{Vertex\-Fit\-Object}{p.}{classVertexFitObject}. 

\subsection{Member Function Documentation}
\index{Vertex\-Constraint@{Vertex\-Constraint}!get\-Derivatives@{get\-Derivatives}}
\index{get\-Derivatives@{get\-Derivatives}!VertexConstraint@{Vertex\-Constraint}}
\subsubsection[{get\-Derivatives}]{\setlength{\rightskip}{0pt plus 5cm}void Vertex\-Constraint\-::get\-Derivatives (
\begin{DoxyParamCaption}
\item[{int}]{idim, }
\item[{double}]{der[$\,$]}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classVertexConstraint_a645caac70b3706fbf78c9651167aecb3}


Get first order derivatives. 

Call this with a predefined array \char`\"{}der\char`\"{} with the necessary number of entries! 

Implements {\bf Base\-Hard\-Constraint} \doxyref{}{p.}{classBaseHardConstraint_aece9761955facf0914a59888c0253762}.



References Base\-Fit\-Object\-::get\-Global\-Par\-Num(), Track\-Particle\-Fit\-Object\-::get\-N\-Par(), Vertex\-Fit\-Object\-::get\-N\-Par(), Track\-Particle\-Fit\-Object\-::get\-Vertex\-Derivative(), Vertex\-Fit\-Object\-::get\-Vertex\-Derivative(), and Base\-Fit\-Object\-::is\-Param\-Fixed().



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