\hypertarget{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic}{\subsection{vertex\-\_\-lcfi\-:\-:Z\-V\-T\-O\-P\-:\-:Vertex\-Function\-Classic Class Reference}
\label{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic}\index{vertex\-\_\-lcfi\-::\-Z\-V\-T\-O\-P\-::\-Vertex\-Function\-Classic@{vertex\-\_\-lcfi\-::\-Z\-V\-T\-O\-P\-::\-Vertex\-Function\-Classic}}
}


\hyperlink{classvertex__lcfi_1_1ZVTOP_1_1VertexFunction}{Vertex\-Function} as in \hyperlink{namespacevertex__lcfi_1_1ZVTOP}{Z\-V\-T\-O\-P} paper.  




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



Inheritance diagram for vertex\-\_\-lcfi\-:\-:Z\-V\-T\-O\-P\-:\-:Vertex\-Function\-Classic\-:


Collaboration diagram for vertex\-\_\-lcfi\-:\-:Z\-V\-T\-O\-P\-:\-:Vertex\-Function\-Classic\-:
\subsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a54ff80b4738be1f33c9deaeb9016acc9}{Vertex\-Function\-Classic} (std\-::vector$<$ \hyperlink{classvertex__lcfi_1_1Track}{Track} $\ast$ $>$ \&Tracks, const double Kip, const double Kalpha, const \hyperlink{classvertex__lcfi_1_1util_1_1Vector3}{Vector3} \&Jet\-Axis)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hyperlink{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a692ac85ef8904134bd2b87e2bc6c4d86}{Vertex\-Function\-Classic} (std\-::vector$<$ \hyperlink{classvertex__lcfi_1_1Track}{Track} $\ast$ $>$ \&Tracks, \hyperlink{classvertex__lcfi_1_1ZVTOP_1_1InteractionPoint}{Interaction\-Point} $\ast$I\-P, const double Kip, const double Kalpha, const \hyperlink{classvertex__lcfi_1_1util_1_1Vector3}{Vector3} \&Jet\-Axis)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_ab97b648eeeb2e4b3ff789ec0e87625bb}{\hyperlink{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_ab97b648eeeb2e4b3ff789ec0e87625bb}{$\sim$\-Vertex\-Function\-Classic} ()}\label{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_ab97b648eeeb2e4b3ff789ec0e87625bb}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_ab873071c3a8d11ccb71f4756b358bad1}{double \hyperlink{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_ab873071c3a8d11ccb71f4756b358bad1}{value\-At} (const \hyperlink{classvertex__lcfi_1_1util_1_1Vector3}{Vector3} \&Point) const }\label{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_ab873071c3a8d11ccb71f4756b358bad1}

\begin{DoxyCompactList}\small\item\em Find the value of the vertex function at Point. \end{DoxyCompactList}\item 
\hypertarget{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a820d016594556cfda53459baa95639c4}{Matrix3x3 \hyperlink{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a820d016594556cfda53459baa95639c4}{first\-Derv\-At} (const \hyperlink{classvertex__lcfi_1_1util_1_1Vector3}{Vector3} \&Point) const }\label{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a820d016594556cfda53459baa95639c4}

\begin{DoxyCompactList}\small\item\em Find the spacial derivative of the vertex function at Point (not implemented) \end{DoxyCompactList}\item 
\hypertarget{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a4d6e1b9805b6e62c55f60646c138588a}{Matrix3x3 \hyperlink{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a4d6e1b9805b6e62c55f60646c138588a}{second\-Derv\-At} (const \hyperlink{classvertex__lcfi_1_1util_1_1Vector3}{Vector3} \&Point) const }\label{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a4d6e1b9805b6e62c55f60646c138588a}

\begin{DoxyCompactList}\small\item\em Find the 2nd spacial derivative of the vertex function at Point (not implemented) \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
\hyperlink{classvertex__lcfi_1_1ZVTOP_1_1VertexFunction}{Vertex\-Function} as in \hyperlink{namespacevertex__lcfi_1_1ZVTOP}{Z\-V\-T\-O\-P} paper. 

Function that implements\-: \[ V(\mathbf{r})= \sum_{i=0}^N f_i(\mathbf{r})-\frac{\sum_{i=0}^N f_i^2(\mathbf{r})}{\sum_{i=0}^N f_i(\mathbf{r})} \] for the \hyperlink{classvertex__lcfi_1_1Track}{Track} and \hyperlink{classvertex__lcfi_1_1ZVTOP_1_1InteractionPoint}{Interaction\-Point} objects $ f_i(\mathbf{r}) $ given to it at construction for the Vector3 $ \mathbf{r} $ specifed. \par
 The above formula is modified thus by additional (Kip, Kalpha, Jet\-Axis) inputs\-: \[ V(\mathbf{r})= K_{IP}f_0(\mathbf{r})+\sum_{i=1}^N f_i(\mathbf{r})-\frac{K_{IP}f_0^2(\mathbf{r})+\sum_{i=1}^N f_i^2(\mathbf{r})}{K_{IP}f_0(\mathbf{r})+\sum_{i=1}^N f_i(\mathbf{r})} \] $ K_{IP}$ is therefore just a weight on the \hyperlink{classvertex__lcfi_1_1ZVTOP_1_1InteractionPoint}{Interaction\-Point} \[ V(\mathbf{r})\rightarrow V(\mathbf{r})exp(-K_{\alpha}\alpha^2) \] Where $ \alpha$ is the angle between Jet\-Axis and $ \mathbf{r}$. $ K_{IP}$ is then just a weight on the \hyperlink{classvertex__lcfi_1_1Jet}{Jet} Axis.

\begin{DoxyRefDesc}{Todo}
\item[\hyperlink{todo__todo000002}{Todo}]Derivative functions not yet implemented.\end{DoxyRefDesc}


This class constucts \hyperlink{classvertex__lcfi_1_1ZVTOP_1_1GaussTube}{Gauss\-Tube} and \hyperlink{classvertex__lcfi_1_1ZVTOP_1_1GaussEllipsoid}{Gauss\-Ellipsoid} objects and uses thier value\-At(\-Vector3 Point) to perform the evaluation, how the tubes are evaluated depends on them.

Destruction cleans up all \hyperlink{classvertex__lcfi_1_1ZVTOP_1_1GaussTube}{Gauss\-Tube} and \hyperlink{classvertex__lcfi_1_1ZVTOP_1_1GaussEllipsoid}{Gauss\-Ellipsoid} objects created. \begin{DoxyAuthor}{Author}
Ben Jeffery (\href{mailto:b.jeffery1@physics.ox.ac.uk}{\tt b.\-jeffery1@physics.\-ox.\-ac.\-uk}) 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
0.\-1 
\end{DoxyVersion}
\begin{DoxyDate}{Date}
20/09/05 
\end{DoxyDate}


\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a54ff80b4738be1f33c9deaeb9016acc9}{\index{vertex\-\_\-lcfi\-::\-Z\-V\-T\-O\-P\-::\-Vertex\-Function\-Classic@{vertex\-\_\-lcfi\-::\-Z\-V\-T\-O\-P\-::\-Vertex\-Function\-Classic}!Vertex\-Function\-Classic@{Vertex\-Function\-Classic}}
\index{Vertex\-Function\-Classic@{Vertex\-Function\-Classic}!vertex_lcfi::ZVTOP::VertexFunctionClassic@{vertex\-\_\-lcfi\-::\-Z\-V\-T\-O\-P\-::\-Vertex\-Function\-Classic}}
\paragraph[{Vertex\-Function\-Classic}]{\setlength{\rightskip}{0pt plus 5cm}vertex\-\_\-lcfi\-::\-Z\-V\-T\-O\-P\-::\-Vertex\-Function\-Classic\-::\-Vertex\-Function\-Classic (
\begin{DoxyParamCaption}
\item[{std\-::vector$<$ {\bf Track} $\ast$ $>$ \&}]{Tracks, }
\item[{const double}]{Kip, }
\item[{const double}]{Kalpha, }
\item[{const {\bf Vector3} \&}]{Jet\-Axis}
\end{DoxyParamCaption}
)}}\label{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a54ff80b4738be1f33c9deaeb9016acc9}


Constructor. 

Creates Gauss\-Tubes as needed from Tracks \hypertarget{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a692ac85ef8904134bd2b87e2bc6c4d86}{\index{vertex\-\_\-lcfi\-::\-Z\-V\-T\-O\-P\-::\-Vertex\-Function\-Classic@{vertex\-\_\-lcfi\-::\-Z\-V\-T\-O\-P\-::\-Vertex\-Function\-Classic}!Vertex\-Function\-Classic@{Vertex\-Function\-Classic}}
\index{Vertex\-Function\-Classic@{Vertex\-Function\-Classic}!vertex_lcfi::ZVTOP::VertexFunctionClassic@{vertex\-\_\-lcfi\-::\-Z\-V\-T\-O\-P\-::\-Vertex\-Function\-Classic}}
\paragraph[{Vertex\-Function\-Classic}]{\setlength{\rightskip}{0pt plus 5cm}vertex\-\_\-lcfi\-::\-Z\-V\-T\-O\-P\-::\-Vertex\-Function\-Classic\-::\-Vertex\-Function\-Classic (
\begin{DoxyParamCaption}
\item[{std\-::vector$<$ {\bf Track} $\ast$ $>$ \&}]{Tracks, }
\item[{{\bf Interaction\-Point} $\ast$}]{I\-P, }
\item[{const double}]{Kip, }
\item[{const double}]{Kalpha, }
\item[{const {\bf Vector3} \&}]{Jet\-Axis}
\end{DoxyParamCaption}
)}}\label{classvertex__lcfi_1_1ZVTOP_1_1VertexFunctionClassic_a692ac85ef8904134bd2b87e2bc6c4d86}


Constructor. 

Creates Gauss\-Tubes and Gauss\-Ellipsoids as needed from Tracks and I\-P 

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