\section{I\-M\-P\-L\-:\-:Vertex\-Impl Class Reference}
\label{classIMPL_1_1VertexImpl}\index{I\-M\-P\-L\-::\-Vertex\-Impl@{I\-M\-P\-L\-::\-Vertex\-Impl}}


Implementation of Vertex Class.  




{\ttfamily \#include $<$I\-M\-P\-L/\-Vertex\-Impl.\-h$>$}

Inheritance diagram for I\-M\-P\-L\-:\-:Vertex\-Impl\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{classIMPL_1_1VertexImpl}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Vertex\-Impl} ()\label{classIMPL_1_1VertexImpl_a95a61d92296c061dbeeadfcdc64bf0e3}

\begin{DoxyCompactList}\small\item\em Default constructor, initializes values to 0. \end{DoxyCompactList}\item 
virtual int {\bf id} () const \label{classIMPL_1_1VertexImpl_a24bb3ba9eb31ea70c3065e7f5e6aaef7}

\begin{DoxyCompactList}\small\item\em Returns an object id for internal (debugging) use in L\-C\-I\-O. \end{DoxyCompactList}\item 
virtual bool {\bf is\-Primary} () const 
\begin{DoxyCompactList}\small\item\em Checks if the Vertex is the primary vertex of the event. \end{DoxyCompactList}\item 
virtual const std\-::string \& {\bf get\-Algorithm\-Type} () const \label{classIMPL_1_1VertexImpl_a4f04bdb008552ee5a2963717bc9a126c}

\begin{DoxyCompactList}\small\item\em Type code for the algorithm that has been used to create the vertex -\/ check/set the collection parameters Algorithm\-Name and Algorithm\-Type. \end{DoxyCompactList}\item 
virtual float {\bf get\-Chi2} () const \label{classIMPL_1_1VertexImpl_a5c3d0e5c13ba896779b75cfcb4e95c20}

\begin{DoxyCompactList}\small\item\em Chi squared of the vertex fit. \end{DoxyCompactList}\item 
virtual float {\bf get\-Probability} () const \label{classIMPL_1_1VertexImpl_af1dc8d6f08dfe6acf00481d51e5bed6d}

\begin{DoxyCompactList}\small\item\em Probability of the vertex fit. \end{DoxyCompactList}\item 
virtual const float $\ast$ {\bf get\-Position} () const \label{classIMPL_1_1VertexImpl_a85d3b7f04df00d648d3005dbbe9b0558}

\begin{DoxyCompactList}\small\item\em Position of the vertex. \end{DoxyCompactList}\item 
virtual const {\bf E\-V\-E\-N\-T\-::\-Float\-Vec} \& {\bf get\-Cov\-Matrix} () const 
\begin{DoxyCompactList}\small\item\em Covariance matrix of the position (stored as lower triangle matrix, i.\-e. \end{DoxyCompactList}\item 
virtual const {\bf E\-V\-E\-N\-T\-::\-Float\-Vec} \& {\bf get\-Parameters} () const \label{classIMPL_1_1VertexImpl_a2be2880986dcd24696b90e3cbfd3ba86}

\begin{DoxyCompactList}\small\item\em Additional parameters related to this vertex -\/ check/set the collection parameter \char`\"{}\-Vertex\-Parameter\-Names\char`\"{} for the parameters' meaning. \end{DoxyCompactList}\item 
virtual \\*
{\bf E\-V\-E\-N\-T\-::\-Reconstructed\-Particle} $\ast$ {\bf get\-Associated\-Particle} () const \label{classIMPL_1_1VertexImpl_a8fb8d7736a22cb4506b407e9cf447538}

\begin{DoxyCompactList}\small\item\em Returns Reconstructed Particle associated to the Vertex. \end{DoxyCompactList}\item 
void {\bfseries set\-Primary} (bool primary)\label{classIMPL_1_1VertexImpl_af8fb46da6a8350b668c42eafb0c453ee}

\item 
void {\bfseries set\-Algorithm\-Type} (std\-::string type)\label{classIMPL_1_1VertexImpl_ad3586c69b1d1b4341bd65bcd7df4e4d1}

\item 
void {\bfseries set\-Chi2} (float chi2)\label{classIMPL_1_1VertexImpl_a62802013b90367edea1c674e182c0600}

\item 
void {\bfseries set\-Probability} (float probability)\label{classIMPL_1_1VertexImpl_a8302cbd768e746181479cb5d6c93795b}

\item 
void {\bfseries set\-Position} (const float vpos[3])\label{classIMPL_1_1VertexImpl_abe17c109250232b81f8905085bcc2617}

\item 
void {\bfseries set\-Position} (float px, float py, float pz)\label{classIMPL_1_1VertexImpl_af9278f219b9c2cd04e60d92f2c68293f}

\item 
void {\bfseries set\-Cov\-Matrix} (const float $\ast$cov)\label{classIMPL_1_1VertexImpl_a42bff270ef180ed242538fdb5b5028ad}

\item 
void {\bfseries set\-Cov\-Matrix} (const {\bf E\-V\-E\-N\-T\-::\-Float\-Vec} \&)\label{classIMPL_1_1VertexImpl_ae67396952904264be654387eedd5e782}

\item 
void {\bfseries set\-Associated\-Particle} ({\bf E\-V\-E\-N\-T\-::\-Reconstructed\-Particle} $\ast$a\-P)\label{classIMPL_1_1VertexImpl_aa1e7c6fe2c9572c270f646abfda37498}

\item 
void {\bfseries add\-Parameter} (float p)\label{classIMPL_1_1VertexImpl_a646de9b90319a35ece1c87d920d39f5d}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
int {\bfseries \-\_\-primary}\label{classIMPL_1_1VertexImpl_a01d35d405c4d3ea4ac938b2aae315b66}

\item 
std\-::string {\bfseries \-\_\-type}\label{classIMPL_1_1VertexImpl_a01549aa0ca27926109c91eb4e476d50e}

\item 
float {\bfseries \-\_\-chi2}\label{classIMPL_1_1VertexImpl_a91f9e11ae9f999274166ddb80aebcc66}

\item 
float {\bfseries \-\_\-probability}\label{classIMPL_1_1VertexImpl_a81b575df79b589d452d6633e99fce4c9}

\item 
float {\bfseries \-\_\-vpos} [3]\label{classIMPL_1_1VertexImpl_a539a4697a69f20805758cf686b098366}

\item 
{\bf E\-V\-E\-N\-T\-::\-Float\-Vec} {\bfseries \-\_\-cov}\label{classIMPL_1_1VertexImpl_a1f99f46340bd47abe72ca4471d1f0094}

\item 
{\bf E\-V\-E\-N\-T\-::\-Float\-Vec} {\bfseries \-\_\-par}\label{classIMPL_1_1VertexImpl_a4b24388f72b29d3e634dec089711a098}

\item 
{\bf E\-V\-E\-N\-T\-::\-Reconstructed\-Particle} $\ast$ {\bfseries \-\_\-a\-Particle}\label{classIMPL_1_1VertexImpl_a031f89414a465d88d0953ec60341210b}

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


\subsection{Detailed Description}
Implementation of Vertex Class. 

\begin{DoxySeeAlso}{See Also}
Vertex 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
gaede, engels 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
Aug 09, 2006 
\end{DoxyVersion}


\subsection{Member Function Documentation}
\index{I\-M\-P\-L\-::\-Vertex\-Impl@{I\-M\-P\-L\-::\-Vertex\-Impl}!get\-Cov\-Matrix@{get\-Cov\-Matrix}}
\index{get\-Cov\-Matrix@{get\-Cov\-Matrix}!IMPL::VertexImpl@{I\-M\-P\-L\-::\-Vertex\-Impl}}
\subsubsection[{get\-Cov\-Matrix}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf E\-V\-E\-N\-T\-::\-Float\-Vec} \& I\-M\-P\-L\-::\-Vertex\-Impl\-::get\-Cov\-Matrix (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1VertexImpl_a6b80bec3f3c89676060969972f465bcd}


Covariance matrix of the position (stored as lower triangle matrix, i.\-e. 

cov(xx),cov(y,x),cov(y,y) ). 

Implements {\bf E\-V\-E\-N\-T\-::\-Vertex} \doxyref{}{p.}{classEVENT_1_1Vertex_af77e3a869c3838d16722250c33377ccd}.

\index{I\-M\-P\-L\-::\-Vertex\-Impl@{I\-M\-P\-L\-::\-Vertex\-Impl}!is\-Primary@{is\-Primary}}
\index{is\-Primary@{is\-Primary}!IMPL::VertexImpl@{I\-M\-P\-L\-::\-Vertex\-Impl}}
\subsubsection[{is\-Primary}]{\setlength{\rightskip}{0pt plus 5cm}bool I\-M\-P\-L\-::\-Vertex\-Impl\-::is\-Primary (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1VertexImpl_a3b4debab20754dc399aef26c0b60688b}


Checks if the Vertex is the primary vertex of the event. 

Only one primary vertex per event is allowed 

Implements {\bf E\-V\-E\-N\-T\-::\-Vertex} \doxyref{}{p.}{classEVENT_1_1Vertex_a417312489b4cbd2bfe570858a13ebe4d}.



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