\section{Track\-Particle\-Fit\-Object Class Reference}
\label{classTrackParticleFitObject}\index{Track\-Particle\-Fit\-Object@{Track\-Particle\-Fit\-Object}}
Inheritance diagram for Track\-Particle\-Fit\-Object\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classTrackParticleFitObject}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \{ \\*
{\bfseries i\-D0} =0, 
{\bfseries i\-Phi0}, 
{\bfseries i\-Omega}, 
{\bfseries i\-Z0}, 
\\*
{\bfseries i\-Tan\-L}, 
{\bfseries i\-Start}, 
{\bfseries i\-End}, 
{\bfseries N\-P\-A\-R}
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries Track\-Particle\-Fit\-Object} (const E\-V\-E\-N\-T\-::\-Track $\ast$trk, double m)\label{classTrackParticleFitObject_a38c0fe6943ee9602abf6ac218b4746aa}

\item 
{\bfseries Track\-Particle\-Fit\-Object} (const E\-V\-E\-N\-T\-::\-Track\-State $\ast$trk, double m)\label{classTrackParticleFitObject_aab4c7d82416bd733bceb9361c5c602d7}

\item 
{\bfseries Track\-Particle\-Fit\-Object} (const double $\ast$\-\_\-ppars, const double $\ast$\-\_\-cov, double m, const double $\ast$ref\-Pt\-\_\-=0)\label{classTrackParticleFitObject_a2952021ab4612b23ebe24ef913db50bd}

\item 
{\bfseries Track\-Particle\-Fit\-Object} (const {\bf Track\-Particle\-Fit\-Object} \&rhs)\label{classTrackParticleFitObject_af76cfa0b52bdaba6e1c0a6abcd5cfd72}

\item 
{\bf Track\-Particle\-Fit\-Object} \& {\bfseries operator=} (const {\bf Track\-Particle\-Fit\-Object} \&rhs)\label{classTrackParticleFitObject_a775c79683f45f3af19dddf0a4e97c05b}

\item 
virtual {\bf Track\-Particle\-Fit\-Object} $\ast$ {\bf copy} () const \label{classTrackParticleFitObject_a0320029650948d4f30333eeb60e0a5ec}

\begin{DoxyCompactList}\small\item\em Return a new copy of itself. \end{DoxyCompactList}\item 
virtual {\bf Track\-Particle\-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 const char $\ast$ {\bf get\-Param\-Name} (int ilocal) const 
\begin{DoxyCompactList}\small\item\em Get name of parameter ilocal. \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 double {\bf get\-D\-Px} (int ilocal) const \label{classTrackParticleFitObject_a2930ac443a700e44ff3fcef2f4a52d63}

\begin{DoxyCompactList}\small\item\em Return d p\-\_\-x / d par\-\_\-ilocal (derivative of px w.\-r.\-t. local parameter ilocal) \end{DoxyCompactList}\item 
virtual double {\bf get\-D\-Py} (int ilocal) const \label{classTrackParticleFitObject_ad6cc649b4adbe10dca2d3ebfaf4f2bb1}

\begin{DoxyCompactList}\small\item\em Return d p\-\_\-y / d par\-\_\-ilocal (derivative of py w.\-r.\-t. local parameter ilocal) \end{DoxyCompactList}\item 
virtual double {\bf get\-D\-Pz} (int ilocal) const \label{classTrackParticleFitObject_a4ffc9a561e3fcc8a79f75a429ffc711e}

\begin{DoxyCompactList}\small\item\em Return d p\-\_\-z / d par\-\_\-ilocal (derivative of pz w.\-r.\-t. local parameter ilocal) \end{DoxyCompactList}\item 
virtual double {\bf get\-D\-E} (int ilocal) const \label{classTrackParticleFitObject_a4bc9e91e4b31e1e70fd4e01513778d47}

\begin{DoxyCompactList}\small\item\em Return d E / d par\-\_\-ilocal (derivative of E w.\-r.\-t. local parameter ilocal) \end{DoxyCompactList}\item 
virtual double {\bfseries get\-First\-Derivative\-\_\-\-Meta\-\_\-\-Local} (int i\-Meta, int ilocal, int meta\-Set) const \label{classTrackParticleFitObject_a980d7fb8454c2f1b693cda2a9583ef7b}

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

\item 
virtual double {\bf get\-Chi2} () const \label{classTrackParticleFitObject_a5c3c21b3617193a09b255efa6551479c}

\begin{DoxyCompactList}\small\item\em Get chi squared from measured and fitted parameters. \end{DoxyCompactList}\item 
virtual int {\bf get\-N\-Par} () const \label{classTrackParticleFitObject_a266b7f7f22aed38356ec1342126b713b}

\begin{DoxyCompactList}\small\item\em Get total number of parameters of this Fit\-Object. \end{DoxyCompactList}\item 
virtual {\bf Three\-Vector} {\bfseries get\-Track\-Plane\-Normal} () const \label{classTrackParticleFitObject_af87b816bb82c1c5522775dd190ce4e31}

\item 
virtual {\bf Three\-Vector} {\bfseries get\-Track\-Pca\-Vector} () const \label{classTrackParticleFitObject_a7e87a10533b2fdd873bdbfec4bccdd11}

\item 
virtual int {\bfseries get\-Charge} () const \label{classTrackParticleFitObject_a53f44346f53a96481bff913159935df9}

\item 
virtual {\bf Three\-Vector} {\bf get\-Vertex} (int ivertex) const \label{classTrackParticleFitObject_a8bd7ba070916152785bc34f16981bdd9}

\begin{DoxyCompactList}\small\item\em Get start (i=0) or stop (i=1) vertex. \end{DoxyCompactList}\item 
virtual void {\bf set\-Vertex} (int ivertex, const {\bf Two\-Vector} \&v)
\begin{DoxyCompactList}\small\item\em Set start (i=0) or stop (i=1) vertex to a point as close as possible to given point. \end{DoxyCompactList}\item 
virtual Four\-Vector {\bf get\-Momentum} (int ivertex) const \label{classTrackParticleFitObject_a5aef722990ed0621ad870c1fc362800c}

\begin{DoxyCompactList}\small\item\em Get momentum at vertex. \end{DoxyCompactList}\item 
virtual bool {\bf set\-Parameters} (int ivertex, const {\bf Three\-Vector} \&vertex, const Four\-Vector \&momentum, double charge\-\_\-)
\begin{DoxyCompactList}\small\item\em Set parameters such that track passes through a vertex with a given 4-\/momentum; return=success. \end{DoxyCompactList}\item 
virtual bool {\bf fix\-Vertex\-Param} (int ivertex, bool fix=true)
\begin{DoxyCompactList}\small\item\em Get helix that is tangential at a certain arc length s. \end{DoxyCompactList}\item 
virtual bool {\bf release\-Vertex\-Param} (int ivertex)
\begin{DoxyCompactList}\small\item\em Release parameter(s) pertaining to a vertex. \end{DoxyCompactList}\item 
virtual {\bf Three\-Vector} {\bf get\-Vertex\-Derivative} (int ivertex, int ilocal) const 
\begin{DoxyCompactList}\small\item\em Get derivative of vertex w.\-r.\-t. parameter ilocal. \end{DoxyCompactList}\item 
virtual {\bf J\-B\-L\-Helix} {\bf get\-J\-B\-L\-Helix} ()\label{classTrackParticleFitObject_af957d5e43bee61d0df0b874b81f58bfb}

\begin{DoxyCompactList}\small\item\em Get J\-B\-Lhelix. \end{DoxyCompactList}\item 
virtual {\bf J\-B\-L\-Helix} {\bfseries get\-J\-B\-L\-Helix} (const {\bf Three\-Vector} \&new\-Ref\-Point)\label{classTrackParticleFitObject_a2009b17e15bf423f8514587a8a87fe29}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static double {\bf set\-Bfield} (double bfield\-\_\-)
\begin{DoxyCompactList}\small\item\em Set the B field for all tracks. \end{DoxyCompactList}\item 
static double {\bf get\-Bfield} ()\label{classTrackParticleFitObject_ab43f6b50f93f0cfa44e18a757ad6878f}

\begin{DoxyCompactList}\small\item\em Get the B field for all tracks (in Tesla) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static double {\bf bfield} = 3.\-5\label{classTrackParticleFitObject_a0ab8514da7e882c0a13c4f2e48423c24}

\begin{DoxyCompactList}\small\item\em Global B field in Tesla(!) \end{DoxyCompactList}\item 
static const double {\bfseries omega\-\_\-pt\-\_\-conv} = 2.\-99792458e-\/4\label{classTrackParticleFitObject_a64a9197516a8c14e55336034b47e708b}

\item 
static const double {\bfseries maxpt} = 500\label{classTrackParticleFitObject_aecb52ffc6a6e422b6ed27a158e93c2f7}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void {\bfseries initialise} (const double $\ast$\-\_\-pars, const double $\ast$\-\_\-cov, double m)\label{classTrackParticleFitObject_af8b8afd27f0a9d3e218864e06b49788e}

\item 
void {\bfseries update\-Cache} () const \label{classTrackParticleFitObject_a82ade6837cf387d8d6959f847dfaf8da}

\item 
void {\bfseries update\-Momentum\-Derivatives} () const \label{classTrackParticleFitObject_a14f97b6291fff51285fcda31795f16b5}

\item 
void {\bfseries update\-Normal\-Derivatives} () const \label{classTrackParticleFitObject_af9f8f046deaee67901fca51e416ebf76}

\item 
void {\bfseries update\-Trajectory\-Derivatives} () const \label{classTrackParticleFitObject_ab2210f3ef447a85664aeb1a04ecee3ae}

\item 
void {\bfseries reset\-Momentum\-First\-Derivatives} () const \label{classTrackParticleFitObject_a6f6bcd5ecca1ead886836ca8a4d1b094}

\item 
void {\bfseries reset\-Momentum\-Second\-Derivatives} () const \label{classTrackParticleFitObject_a4b4ca680a1363f0413ad4f89ed6cfa10}

\item 
void {\bfseries reset\-Normal\-First\-Derivatives} () const \label{classTrackParticleFitObject_a6f7e92108e7435701cc30b1838284150}

\item 
void {\bfseries reset\-Normal\-Second\-Derivatives} () const \label{classTrackParticleFitObject_a8b482dbcd2b19e3f61739bab11d38aef}

\item 
void {\bfseries reset\-Trajectory\-First\-Derivatives} () const \label{classTrackParticleFitObject_ab6e9eeebec2b59307ef66aac47648c46}

\item 
void {\bfseries reset\-Trajectory\-Second\-Derivatives} () const \label{classTrackParticleFitObject_a9e71912984973859aa8034ec39a0b441}

\item 
void {\bfseries set\-Momentum\-First\-Derivatives} (int i\-Meta, int j\-Local, double x) const \label{classTrackParticleFitObject_a11e8509c546f7039017edc7544703f6d}

\item 
void {\bfseries set\-Momentum\-Second\-Derivatives} (int i\-Meta, int j\-Local, int k\-Local, double x) const \label{classTrackParticleFitObject_a2500e74c1a91a46d225353312c95d0e2}

\item 
void {\bfseries set\-Normal\-First\-Derivatives} (int i\-Meta, int j\-Local, double x) const \label{classTrackParticleFitObject_a0865d114b61e4e859a161c5e9e0f72e5}

\item 
void {\bfseries set\-Normal\-Second\-Derivatives} (int i\-Meta, int j\-Local, int k\-Local, double x) const \label{classTrackParticleFitObject_a247e910529c1f7a85be9c1b90a91946f}

\item 
void {\bfseries set\-Trajectory\-Start\-First\-Derivatives} (int i\-Meta, int j\-Local, double x) const \label{classTrackParticleFitObject_a33d7066a057b11411c82fc3e93a6b344}

\item 
void {\bfseries set\-Trajectory\-Start\-Second\-Derivatives} (int i\-Meta, int j\-Local, int k\-Local, double x) const \label{classTrackParticleFitObject_add3cf3c5bca123b4e23abb487760907e}

\item 
void {\bfseries set\-Trajectory\-End\-First\-Derivatives} (int i\-Meta, int j\-Local, double x) const \label{classTrackParticleFitObject_a2ce4539816185538e1d324a1f034edab}

\item 
void {\bfseries set\-Trajectory\-End\-Second\-Derivatives} (int i\-Meta, int j\-Local, int k\-Local, double x) const \label{classTrackParticleFitObject_ab0f3ea68c7e6b13a93b52b412d8ac4b4}

\item 
virtual double {\bfseries get\-Momentum\-First\-Derivatives} (int i\-Meta, int j\-Local) const \label{classTrackParticleFitObject_a14ddf0dca965da6ba7f34bf446df02c3}

\item 
virtual double {\bfseries get\-Momentum\-Second\-Derivatives} (int i\-Meta, int j\-Local, int k\-Local) const \label{classTrackParticleFitObject_a0cf067f28aa3036ba303677162854622}

\item 
virtual double {\bfseries get\-Normal\-First\-Derivatives} (int i\-Meta, int j\-Local) const \label{classTrackParticleFitObject_a610a8c5b51facf895931f7b94b38058f}

\item 
virtual double {\bfseries get\-Normal\-Second\-Derivatives} (int i\-Meta, int j\-Local, int k\-Local) const \label{classTrackParticleFitObject_aa2f16aced0ec70f6635f212b831f61bb}

\item 
virtual double {\bfseries get\-Trajectory\-Start\-First\-Derivatives} (int i\-Meta, int j\-Local) const \label{classTrackParticleFitObject_a7433690f1da946ab02b5f03fa6feee0a}

\item 
virtual double {\bfseries get\-Trajectory\-Start\-Second\-Derivatives} (int i\-Meta, int j\-Local, int k\-Local) const \label{classTrackParticleFitObject_ae36df279d81a6141132c4b1db71d8afb}

\item 
virtual double {\bfseries get\-Trajectory\-End\-First\-Derivatives} (int i\-Meta, int j\-Local) const \label{classTrackParticleFitObject_ab1db68df9e2b5f2291929256130a1872}

\item 
virtual double {\bfseries get\-Trajectory\-End\-Second\-Derivatives} (int i\-Meta, int j\-Local, int k\-Local) const \label{classTrackParticleFitObject_ae269288d096e8cedcf5c84ef71895669}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
{\bf Three\-Vector} {\bfseries track\-Reference\-Point}\label{classTrackParticleFitObject_a82651576e8760ff8bab7547595c4e1b5}

\item 
{\bf Three\-Vector} {\bfseries track\-Plane\-Normal}\label{classTrackParticleFitObject_aef3b73f3f9920a963887edf7095ab9cd}

\item 
{\bf Three\-Vector} {\bfseries track\-Pca\-Vector}\label{classTrackParticleFitObject_ab44a1efd817d5242f964bb0618fa22d2}

\item 
{\bf Three\-Vector} {\bfseries trajectory\-Point\-At\-P\-C\-A}\label{classTrackParticleFitObject_af8605f396f70109f5626ca7c6409a625}

\item 
{\bf Three\-Vector} {\bfseries trajectory\-Point\-At\-Start}\label{classTrackParticleFitObject_a737e9f73cde8f2a72235b060a6094b4a}

\item 
{\bf Three\-Vector} {\bfseries trajectory\-Point\-At\-End}\label{classTrackParticleFitObject_ace42652ead78567a7a3d0f05c4941703}

\item 
{\bf Three\-Vector} {\bfseries momentum\-At\-P\-C\-A}\label{classTrackParticleFitObject_a095bd5078bb2e03095949ffd59a34bce}

\item 
{\bf Three\-Vector} {\bfseries momentum\-At\-Start}\label{classTrackParticleFitObject_a651ea2637d4fb89fbf14dbd3c6221d61}

\item 
{\bf Three\-Vector} {\bfseries momentum\-At\-End}\label{classTrackParticleFitObject_a5a599333942867c7b4bea382c9b50aa9}

\item 
double {\bfseries momentum\-First\-Derivatives} [4][N\-P\-A\-R]\label{classTrackParticleFitObject_afbcb5a49e1aeeeb5936c07375dbe0adb}

\item 
double {\bfseries momentum\-Second\-Derivatives} [4][N\-P\-A\-R][N\-P\-A\-R]\label{classTrackParticleFitObject_ae4baf47016fc17826e76fcf82bf7f988}

\item 
double {\bfseries normal\-First\-Derivatives} [3][N\-P\-A\-R]\label{classTrackParticleFitObject_ae5f982e0f8fa92bfb04371604d91f559}

\item 
double {\bfseries normal\-Second\-Derivatives} [3][N\-P\-A\-R][N\-P\-A\-R]\label{classTrackParticleFitObject_adf96bf5d61b8ba46b99905e3285181fe}

\item 
double {\bfseries trajectory\-Start\-First\-Derivatives} [3][N\-P\-A\-R]\label{classTrackParticleFitObject_ab9b51b648002effd77f33ecdea9d921e}

\item 
double {\bfseries trajectory\-Start\-Second\-Derivatives} [3][N\-P\-A\-R][N\-P\-A\-R]\label{classTrackParticleFitObject_a24410eda42daea208261cd2f291a0ba7}

\item 
double {\bfseries trajectory\-End\-First\-Derivatives} [3][N\-P\-A\-R]\label{classTrackParticleFitObject_ac7ae9dd837a58d94c05566abde3622e9}

\item 
double {\bfseries trajectory\-End\-Second\-Derivatives} [3][N\-P\-A\-R][N\-P\-A\-R]\label{classTrackParticleFitObject_a0c260a4cbe30d95e948855672ba90506}

\item 
double {\bfseries phi0}\label{classTrackParticleFitObject_a6bb762445ca776f5d2d7f42d235f3ad6}

\item 
double {\bfseries omega}\label{classTrackParticleFitObject_a86bfb1e5558a985986b87157ad13bb90}

\item 
double {\bfseries tanl}\label{classTrackParticleFitObject_a823642c214bbe7e89d9237d577447e85}

\item 
double {\bfseries d0}\label{classTrackParticleFitObject_a888e8bcd8c12baa285bf5f006e1839ed}

\item 
double {\bfseries z0}\label{classTrackParticleFitObject_a0d59cf97161d19609a0454f312591d5d}

\item 
double {\bfseries s\-\_\-start}\label{classTrackParticleFitObject_a6a00ea9c0e11c5cd48ceda1ae731e540}

\item 
double {\bfseries s\-\_\-end}\label{classTrackParticleFitObject_a03d67d931203a96591fa438ee7aa0f99}

\item 
double {\bfseries chi2}\label{classTrackParticleFitObject_a6e8b3f1ba43f4803f5d4a5f5cf3e9aee}

\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
static const double {\bfseries parfact} [N\-P\-A\-R] = \{1.e-\/2, 1., 1.e-\/3, 1.e-\/2, 1., 1., 1.\}\label{classTrackParticleFitObject_a0b644a84dd415d84447eb6a7a2b1243b}

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


\subsection{Member Function Documentation}
\index{Track\-Particle\-Fit\-Object@{Track\-Particle\-Fit\-Object}!assign@{assign}}
\index{assign@{assign}!TrackParticleFitObject@{Track\-Particle\-Fit\-Object}}
\subsubsection[{assign}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Track\-Particle\-Fit\-Object} \& Track\-Particle\-Fit\-Object\-::assign (
\begin{DoxyParamCaption}
\item[{const {\bf Base\-Fit\-Object} \&}]{source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classTrackParticleFitObject_a75b62af553760f8d7bea7c2251a5e1a1}


Assign from anther object, if of same type. 


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


Reimplemented from {\bf Particle\-Fit\-Object} \doxyref{}{p.}{classParticleFitObject_a8429a39000149c8e80935d127f89f632}.



References Particle\-Fit\-Object\-::assign().

\index{Track\-Particle\-Fit\-Object@{Track\-Particle\-Fit\-Object}!fix\-Vertex\-Param@{fix\-Vertex\-Param}}
\index{fix\-Vertex\-Param@{fix\-Vertex\-Param}!TrackParticleFitObject@{Track\-Particle\-Fit\-Object}}
\subsubsection[{fix\-Vertex\-Param}]{\setlength{\rightskip}{0pt plus 5cm}bool Track\-Particle\-Fit\-Object\-::fix\-Vertex\-Param (
\begin{DoxyParamCaption}
\item[{int}]{ivertex, }
\item[{bool}]{fix = {\ttfamily true}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classTrackParticleFitObject_ae1c2b773baba27c7b775d105de20037d}


Get helix that is tangential at a certain arc length s. 

Fix parameter(s) pertaining to a vertex, or release it 
\begin{DoxyParams}{Parameters}
{\em ivertex} & Vertex number \\
\hline
{\em fix} & fix if true, release if false \\
\hline
\end{DoxyParams}


References Base\-Fit\-Object\-::fix\-Param().



Referenced by release\-Vertex\-Param().

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


Get name of parameter ilocal. 


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


Reimplemented from {\bf Base\-Fit\-Object} \doxyref{}{p.}{classBaseFitObject_a6e993153f0efe7b380186cb815f5ccc1}.

\index{Track\-Particle\-Fit\-Object@{Track\-Particle\-Fit\-Object}!get\-Vertex\-Derivative@{get\-Vertex\-Derivative}}
\index{get\-Vertex\-Derivative@{get\-Vertex\-Derivative}!TrackParticleFitObject@{Track\-Particle\-Fit\-Object}}
\subsubsection[{get\-Vertex\-Derivative}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Three\-Vector} Track\-Particle\-Fit\-Object\-::get\-Vertex\-Derivative (
\begin{DoxyParamCaption}
\item[{int}]{ivertex, }
\item[{int}]{ilocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classTrackParticleFitObject_a32ba406f8f2d09a3fd420943b137bac0}


Get derivative of vertex w.\-r.\-t. parameter ilocal. 


\begin{DoxyParams}{Parameters}
{\em ivertex} & vertex number\-: 0=start, 1=stop \\
\hline
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


Referenced by Vertex\-Constraint\-::get\-Derivatives().

\index{Track\-Particle\-Fit\-Object@{Track\-Particle\-Fit\-Object}!release\-Vertex\-Param@{release\-Vertex\-Param}}
\index{release\-Vertex\-Param@{release\-Vertex\-Param}!TrackParticleFitObject@{Track\-Particle\-Fit\-Object}}
\subsubsection[{release\-Vertex\-Param}]{\setlength{\rightskip}{0pt plus 5cm}bool Track\-Particle\-Fit\-Object\-::release\-Vertex\-Param (
\begin{DoxyParamCaption}
\item[{int}]{ivertex}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classTrackParticleFitObject_a1f9bd8ae72ccf72bcece5b6ebe3bbdc5}


Release parameter(s) pertaining to a vertex. 

$<$ Vertex number\-: 0=start, 1=stop 
\begin{DoxyParams}{Parameters}
{\em ivertex} & Vertex number\-: 0=start, 1=stop \\
\hline
\end{DoxyParams}


References fix\-Vertex\-Param().

\index{Track\-Particle\-Fit\-Object@{Track\-Particle\-Fit\-Object}!set\-Bfield@{set\-Bfield}}
\index{set\-Bfield@{set\-Bfield}!TrackParticleFitObject@{Track\-Particle\-Fit\-Object}}
\subsubsection[{set\-Bfield}]{\setlength{\rightskip}{0pt plus 5cm}double Track\-Particle\-Fit\-Object\-::set\-Bfield (
\begin{DoxyParamCaption}
\item[{double}]{bfield\-\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classTrackParticleFitObject_a88e13cfa2e231f72d17694a1f992561e}


Set the B field for all tracks. 


\begin{DoxyParams}{Parameters}
{\em bfield\-\_\-} & New Value of B field (in Tesla) \\
\hline
\end{DoxyParams}


References bfield.

\index{Track\-Particle\-Fit\-Object@{Track\-Particle\-Fit\-Object}!set\-Parameters@{set\-Parameters}}
\index{set\-Parameters@{set\-Parameters}!TrackParticleFitObject@{Track\-Particle\-Fit\-Object}}
\subsubsection[{set\-Parameters}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool Track\-Particle\-Fit\-Object\-::set\-Parameters (
\begin{DoxyParamCaption}
\item[{int}]{ivertex, }
\item[{const {\bf Three\-Vector} \&}]{vertex, }
\item[{const Four\-Vector \&}]{momentum, }
\item[{double}]{charge\-\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classTrackParticleFitObject_a6f32333ebeadde258102a86333355487}


Set parameters such that track passes through a vertex with a given 4-\/momentum; return=success. 


\begin{DoxyParams}{Parameters}
{\em ivertex} & Vertex number\-: 0=start, 1=stop \\
\hline
{\em vertex} & Vertex position \\
\hline
{\em momentum} & Four-\/momentum \\
\hline
{\em charge\-\_\-} & Charge (signed, in units of e) \\
\hline
\end{DoxyParams}
\index{Track\-Particle\-Fit\-Object@{Track\-Particle\-Fit\-Object}!set\-Vertex@{set\-Vertex}}
\index{set\-Vertex@{set\-Vertex}!TrackParticleFitObject@{Track\-Particle\-Fit\-Object}}
\subsubsection[{set\-Vertex}]{\setlength{\rightskip}{0pt plus 5cm}void Track\-Particle\-Fit\-Object\-::set\-Vertex (
\begin{DoxyParamCaption}
\item[{int}]{ivertex, }
\item[{const {\bf Two\-Vector} \&}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classTrackParticleFitObject_a703453d9765ae63607fcb17eced00d78}


Set start (i=0) or stop (i=1) vertex to a point as close as possible to given point. 


\begin{DoxyParams}{Parameters}
{\em ivertex} & Vertex number\-: 0=start, 1=stop \\
\hline
{\em v} & Vertex position // D\-A\-N\-I\-E\-L why is this 2d vertex? \\
\hline
\end{DoxyParams}


References Base\-Fit\-Object\-::cachevalid, J\-B\-L\-Helix\-::get\-Closest\-S(), and get\-J\-B\-L\-Helix().

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


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 from {\bf Base\-Fit\-Object} \doxyref{}{p.}{classBaseFitObject_a3f7c5b3f86dec80b75340e7c966a6e90}.



References Base\-Fit\-Object\-::cov, get\-Bfield(), Base\-Fit\-Object\-::get\-Global\-Par\-Num(), get\-N\-Par(), Base\-Fit\-Object\-::invalidate\-Cache(), and Base\-Fit\-Object\-::par.



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