\hypertarget{classvertex__lcfi_1_1Jet}{\subsection{vertex\-\_\-lcfi\-:\-:Jet Class Reference}
\label{classvertex__lcfi_1_1Jet}\index{vertex\-\_\-lcfi\-::\-Jet@{vertex\-\_\-lcfi\-::\-Jet}}
}


Simple \hyperlink{classvertex__lcfi_1_1Jet}{Jet} Class.  




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

\subsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classvertex__lcfi_1_1Jet_a06990576dea636600d4197377da36120}{\hyperlink{classvertex__lcfi_1_1Jet_a06990576dea636600d4197377da36120}{Jet} ()}\label{classvertex__lcfi_1_1Jet_a06990576dea636600d4197377da36120}

\begin{DoxyCompactList}\small\item\em Default Constructor. \end{DoxyCompactList}\item 
\hyperlink{classvertex__lcfi_1_1Jet_aee2e460323588d6062888e0f8251fd04}{Jet} (\hyperlink{classvertex__lcfi_1_1Event}{Event} $\ast$\hyperlink{classvertex__lcfi_1_1Event}{Event}, const std\-::vector$<$ \hyperlink{classvertex__lcfi_1_1Track}{Track} $\ast$ $>$ \&Tracks, double \-\_\-\-Energy, \hyperlink{classvertex__lcfi_1_1util_1_1Vector3}{Vector3} Momentum, void $\ast$Tracking\-Num)
\begin{DoxyCompactList}\small\item\em Full Constructor. \end{DoxyCompactList}\item 
\hyperlink{classvertex__lcfi_1_1Event}{Event} $\ast$ \hyperlink{classvertex__lcfi_1_1Jet_a516d695f35299848a9b0fa7f15dc7165}{event} () const 
\begin{DoxyCompactList}\small\item\em \hyperlink{classvertex__lcfi_1_1Event}{Event}. \end{DoxyCompactList}\item 
const std\-::vector$<$ \hyperlink{classvertex__lcfi_1_1Track}{Track} $\ast$ $>$ \& \hyperlink{classvertex__lcfi_1_1Jet_a9cead6ccaec43ffdddcc9996e1911fef}{tracks} () const 
\begin{DoxyCompactList}\small\item\em Tracks. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{classvertex__lcfi_1_1Jet_a4cf01bba23c438bc20015f641e57a054}{tracking\-Num} () const 
\begin{DoxyCompactList}\small\item\em Tracking Number. \end{DoxyCompactList}\item 
void \hyperlink{classvertex__lcfi_1_1Jet_a324cd2018236c79bde0cba6670f43ed4}{add\-Track} (\hyperlink{classvertex__lcfi_1_1Track}{Track} $\ast$\hyperlink{classvertex__lcfi_1_1Track}{Track})
\begin{DoxyCompactList}\small\item\em Add \hyperlink{classvertex__lcfi_1_1Track}{Track}. \end{DoxyCompactList}\item 
bool \hyperlink{classvertex__lcfi_1_1Jet_afdf349567ce115b72a577ffd2ff10fa0}{remove\-Track} (\hyperlink{classvertex__lcfi_1_1Track}{Track} $\ast$Track\-R)
\begin{DoxyCompactList}\small\item\em Remove \hyperlink{classvertex__lcfi_1_1Track}{Track}. \end{DoxyCompactList}\item 
bool \hyperlink{classvertex__lcfi_1_1Jet_a91919c3a04f2ed05af82939918e39f57}{has\-Track} (\hyperlink{classvertex__lcfi_1_1Track}{Track} $\ast$\hyperlink{classvertex__lcfi_1_1Track}{Track}) const 
\begin{DoxyCompactList}\small\item\em Does the \hyperlink{classvertex__lcfi_1_1Jet}{Jet} have this \hyperlink{classvertex__lcfi_1_1Track}{Track}? \end{DoxyCompactList}\item 
\hyperlink{classvertex__lcfi_1_1util_1_1Vector3}{Vector3} \hyperlink{classvertex__lcfi_1_1Jet_a3d72265b2590b1030289fddd43be264a}{momentum} () const 
\begin{DoxyCompactList}\small\item\em Momentum. \end{DoxyCompactList}\item 
double \hyperlink{classvertex__lcfi_1_1Jet_af949d6835c8da44d67f8e14d07deaa43}{energy} () const 
\begin{DoxyCompactList}\small\item\em Energy. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
Simple \hyperlink{classvertex__lcfi_1_1Jet}{Jet} Class. 

Description \begin{DoxyAuthor}{Author}
Ben Jeffery (\href{mailto:b.jeffery1@physics.ox.ac.uk}{\tt b.\-jeffery1@physics.\-ox.\-ac.\-uk}) 
\end{DoxyAuthor}


\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{classvertex__lcfi_1_1Jet_aee2e460323588d6062888e0f8251fd04}{\index{vertex\-\_\-lcfi\-::\-Jet@{vertex\-\_\-lcfi\-::\-Jet}!Jet@{Jet}}
\index{Jet@{Jet}!vertex_lcfi::Jet@{vertex\-\_\-lcfi\-::\-Jet}}
\paragraph[{Jet}]{\setlength{\rightskip}{0pt plus 5cm}vertex\-\_\-lcfi\-::\-Jet\-::\-Jet (
\begin{DoxyParamCaption}
\item[{{\bf Event} $\ast$}]{Event, }
\item[{const std\-::vector$<$ {\bf Track} $\ast$ $>$ \&}]{Tracks, }
\item[{double}]{\-\_\-\-Energy, }
\item[{{\bf Vector3}}]{Momentum, }
\item[{void $\ast$}]{Tracking\-Num}
\end{DoxyParamCaption}
)}}\label{classvertex__lcfi_1_1Jet_aee2e460323588d6062888e0f8251fd04}


Full Constructor. 


\begin{DoxyParams}{Parameters}
{\em \hyperlink{classvertex__lcfi_1_1Event}{Event}} & Pointer to the event containing this jet \\
\hline
{\em Tracks} & Vector of pointers to the tracks in this jet \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Return 
\end{DoxyReturn}


\subsubsection{Member Function Documentation}
\hypertarget{classvertex__lcfi_1_1Jet_a324cd2018236c79bde0cba6670f43ed4}{\index{vertex\-\_\-lcfi\-::\-Jet@{vertex\-\_\-lcfi\-::\-Jet}!add\-Track@{add\-Track}}
\index{add\-Track@{add\-Track}!vertex_lcfi::Jet@{vertex\-\_\-lcfi\-::\-Jet}}
\paragraph[{add\-Track}]{\setlength{\rightskip}{0pt plus 5cm}void vertex\-\_\-lcfi\-::\-Jet\-::add\-Track (
\begin{DoxyParamCaption}
\item[{{\bf Track} $\ast$}]{Track}
\end{DoxyParamCaption}
)}}\label{classvertex__lcfi_1_1Jet_a324cd2018236c79bde0cba6670f43ed4}


Add \hyperlink{classvertex__lcfi_1_1Track}{Track}. 

Add a track to the jet 
\begin{DoxyParams}{Parameters}
{\em \hyperlink{classvertex__lcfi_1_1Track}{Track}} & Pointer to the track to be added \\
\hline
\end{DoxyParams}
\hypertarget{classvertex__lcfi_1_1Jet_af949d6835c8da44d67f8e14d07deaa43}{\index{vertex\-\_\-lcfi\-::\-Jet@{vertex\-\_\-lcfi\-::\-Jet}!energy@{energy}}
\index{energy@{energy}!vertex_lcfi::Jet@{vertex\-\_\-lcfi\-::\-Jet}}
\paragraph[{energy}]{\setlength{\rightskip}{0pt plus 5cm}double vertex\-\_\-lcfi\-::\-Jet\-::energy (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classvertex__lcfi_1_1Jet_af949d6835c8da44d67f8e14d07deaa43}


Energy. 

Sum energy of the jet \begin{DoxyReturn}{Returns}
double of the energy 
\end{DoxyReturn}
\hypertarget{classvertex__lcfi_1_1Jet_a516d695f35299848a9b0fa7f15dc7165}{\index{vertex\-\_\-lcfi\-::\-Jet@{vertex\-\_\-lcfi\-::\-Jet}!event@{event}}
\index{event@{event}!vertex_lcfi::Jet@{vertex\-\_\-lcfi\-::\-Jet}}
\paragraph[{event}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Event}$\ast$ vertex\-\_\-lcfi\-::\-Jet\-::event (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classvertex__lcfi_1_1Jet_a516d695f35299848a9b0fa7f15dc7165}


\hyperlink{classvertex__lcfi_1_1Event}{Event}. 

\begin{DoxyReturn}{Returns}
A pointer to this jets event 
\end{DoxyReturn}
\hypertarget{classvertex__lcfi_1_1Jet_a91919c3a04f2ed05af82939918e39f57}{\index{vertex\-\_\-lcfi\-::\-Jet@{vertex\-\_\-lcfi\-::\-Jet}!has\-Track@{has\-Track}}
\index{has\-Track@{has\-Track}!vertex_lcfi::Jet@{vertex\-\_\-lcfi\-::\-Jet}}
\paragraph[{has\-Track}]{\setlength{\rightskip}{0pt plus 5cm}bool vertex\-\_\-lcfi\-::\-Jet\-::has\-Track (
\begin{DoxyParamCaption}
\item[{{\bf Track} $\ast$}]{Track}
\end{DoxyParamCaption}
) const}}\label{classvertex__lcfi_1_1Jet_a91919c3a04f2ed05af82939918e39f57}


Does the \hyperlink{classvertex__lcfi_1_1Jet}{Jet} have this \hyperlink{classvertex__lcfi_1_1Track}{Track}? 

Does this jet have a perticular track? 
\begin{DoxyParams}{Parameters}
{\em \hyperlink{classvertex__lcfi_1_1Track}{Track}} & Pointer to track to be checked \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
1 if track was found, 0 if not found 
\end{DoxyReturn}
\hypertarget{classvertex__lcfi_1_1Jet_a3d72265b2590b1030289fddd43be264a}{\index{vertex\-\_\-lcfi\-::\-Jet@{vertex\-\_\-lcfi\-::\-Jet}!momentum@{momentum}}
\index{momentum@{momentum}!vertex_lcfi::Jet@{vertex\-\_\-lcfi\-::\-Jet}}
\paragraph[{momentum}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Vector3} vertex\-\_\-lcfi\-::\-Jet\-::momentum (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classvertex__lcfi_1_1Jet_a3d72265b2590b1030289fddd43be264a}


Momentum. 

The average perigee momentum of the tracks in the jet \begin{DoxyReturn}{Returns}
Vector3 of the momentum 
\end{DoxyReturn}
\hypertarget{classvertex__lcfi_1_1Jet_afdf349567ce115b72a577ffd2ff10fa0}{\index{vertex\-\_\-lcfi\-::\-Jet@{vertex\-\_\-lcfi\-::\-Jet}!remove\-Track@{remove\-Track}}
\index{remove\-Track@{remove\-Track}!vertex_lcfi::Jet@{vertex\-\_\-lcfi\-::\-Jet}}
\paragraph[{remove\-Track}]{\setlength{\rightskip}{0pt plus 5cm}bool vertex\-\_\-lcfi\-::\-Jet\-::remove\-Track (
\begin{DoxyParamCaption}
\item[{{\bf Track} $\ast$}]{Track\-R}
\end{DoxyParamCaption}
)}}\label{classvertex__lcfi_1_1Jet_afdf349567ce115b72a577ffd2ff10fa0}


Remove \hyperlink{classvertex__lcfi_1_1Track}{Track}. 

Remove a track from the jet 
\begin{DoxyParams}{Parameters}
{\em Track\-R} & Pointer to track to be removed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
1 if track was found and removed, 0 if not found 
\end{DoxyReturn}
\hypertarget{classvertex__lcfi_1_1Jet_a4cf01bba23c438bc20015f641e57a054}{\index{vertex\-\_\-lcfi\-::\-Jet@{vertex\-\_\-lcfi\-::\-Jet}!tracking\-Num@{tracking\-Num}}
\index{tracking\-Num@{tracking\-Num}!vertex_lcfi::Jet@{vertex\-\_\-lcfi\-::\-Jet}}
\paragraph[{tracking\-Num}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ vertex\-\_\-lcfi\-::\-Jet\-::tracking\-Num (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classvertex__lcfi_1_1Jet_a4cf01bba23c438bc20015f641e57a054}


Tracking Number. 

\begin{DoxyReturn}{Returns}
Integer number 
\end{DoxyReturn}
\hypertarget{classvertex__lcfi_1_1Jet_a9cead6ccaec43ffdddcc9996e1911fef}{\index{vertex\-\_\-lcfi\-::\-Jet@{vertex\-\_\-lcfi\-::\-Jet}!tracks@{tracks}}
\index{tracks@{tracks}!vertex_lcfi::Jet@{vertex\-\_\-lcfi\-::\-Jet}}
\paragraph[{tracks}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::vector$<${\bf Track}$\ast$$>$\& vertex\-\_\-lcfi\-::\-Jet\-::tracks (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classvertex__lcfi_1_1Jet_a9cead6ccaec43ffdddcc9996e1911fef}


Tracks. 

\begin{DoxyReturn}{Returns}
A Vector of pointers to the tracks in the jet 
\end{DoxyReturn}


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