\hypertarget{classvertex__lcfi_1_1VertexMomentum}{\subsection{vertex\-\_\-lcfi\-:\-:Vertex\-Momentum Class Reference}
\label{classvertex__lcfi_1_1VertexMomentum}\index{vertex\-\_\-lcfi\-::\-Vertex\-Momentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}}
}


Calculation of Vertex Momentum.  




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



Inheritance diagram for vertex\-\_\-lcfi\-:\-:Vertex\-Momentum\-:


Collaboration diagram for vertex\-\_\-lcfi\-:\-:Vertex\-Momentum\-:
\subsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
string \hyperlink{classvertex__lcfi_1_1VertexMomentum_ac5a1a66331f39aaa15d32d8fb450a331}{name} () const 
\begin{DoxyCompactList}\small\item\em Name. \end{DoxyCompactList}\item 
std\-::vector$<$ string $>$ \hyperlink{classvertex__lcfi_1_1VertexMomentum_aec0a97a95cac713154199db2d8d7ffe8}{parameter\-Names} () const 
\begin{DoxyCompactList}\small\item\em Parameter Names. \end{DoxyCompactList}\item 
std\-::vector$<$ string $>$ \hyperlink{classvertex__lcfi_1_1VertexMomentum_aef01c897ea1a8685c919ae3519c4a7c1}{parameter\-Values} () const 
\begin{DoxyCompactList}\small\item\em Parameter Values. \end{DoxyCompactList}\item 
void \hyperlink{classvertex__lcfi_1_1VertexMomentum_a510b4d7a21a0f3ea55acd1e1d9c38753}{set\-String\-Parameter} (const string \&Parameter, const string \&Value)
\begin{DoxyCompactList}\small\item\em Set String Parameter. \end{DoxyCompactList}\item 
void \hyperlink{classvertex__lcfi_1_1VertexMomentum_a3ed2ed8e5a828394edf0e6517ca45fb2}{set\-Double\-Parameter} (const string \&Parameter, const double Value)
\begin{DoxyCompactList}\small\item\em Set Double Parameter. \end{DoxyCompactList}\item 
void \hyperlink{classvertex__lcfi_1_1VertexMomentum_ad748c2e88e2c0037c3d7b61e2f48bb1d}{set\-Pointer\-Parameter} (const string \&Parameter, void $\ast$Value)
\begin{DoxyCompactList}\small\item\em Set Pointer Parameter. \end{DoxyCompactList}\item 
double \hyperlink{classvertex__lcfi_1_1VertexMomentum_ad32eadd83cc7cb94abe671b0239063bf}{calculate\-For} (\hyperlink{classvertex__lcfi_1_1DecayChain}{Decay\-Chain} $\ast$My\-Decay\-Chain) const 
\begin{DoxyCompactList}\small\item\em Run the algorithm on a decay chain. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
Calculation of Vertex Momentum. 

Jet flavour tagging parameter algorithm that returns the momentum of the seed vertex. The input is a \hyperlink{classvertex__lcfi_1_1DecayChain}{Decay\-Chain}. This \hyperlink{classvertex__lcfi_1_1DecayChain}{Decay\-Chain} is expected to be the output of \hyperlink{classvertex__lcfi_1_1TrackAttach}{vertex\-\_\-lcfi\-::\-Track\-Attach} algorithm. In this algorithm all the tracks are either added (attached) to the seed vertex or removed from the \hyperlink{classvertex__lcfi_1_1DecayChain}{Decay\-Chain}. The class does not have any input parameters. \begin{DoxyAuthor}{Author}
Erik Devetak (\href{mailto:e.devetak1@physics.ox.ac.uk}{\tt e.\-devetak1@physics.\-ox.\-ac.\-uk}) 
\end{DoxyAuthor}


\subsubsection{Member Function Documentation}
\hypertarget{classvertex__lcfi_1_1VertexMomentum_ad32eadd83cc7cb94abe671b0239063bf}{\index{vertex\-\_\-lcfi\-::\-Vertex\-Momentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}!calculate\-For@{calculate\-For}}
\index{calculate\-For@{calculate\-For}!vertex_lcfi::VertexMomentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}}
\paragraph[{calculate\-For}]{\setlength{\rightskip}{0pt plus 5cm}double vertex\-\_\-lcfi\-::\-Vertex\-Momentum\-::calculate\-For (
\begin{DoxyParamCaption}
\item[{{\bf Decay\-Chain} $\ast$}]{My\-Decay\-Chain}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classvertex__lcfi_1_1VertexMomentum_ad32eadd83cc7cb94abe671b0239063bf}


Run the algorithm on a decay chain. 

Calculate the momentum of the Seed Secondary \hyperlink{classvertex__lcfi_1_1Vertex}{Vertex}. 
\begin{DoxyParams}{Parameters}
{\em \hyperlink{classvertex__lcfi_1_1DecayChain}{Decay\-Chain}} & Pointer to the decay chain to be analysed. This decay chain is an output from the track attach algorithm in which case it is composed only of one vertex and attached tracks. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
double the momentum of the seed secondary vertex with all attached tracks. 
\end{DoxyReturn}


Implements \hyperlink{classvertex__lcfi_1_1Algo_a95a0f611f2ab925663b6f819b7d0f8c8}{vertex\-\_\-lcfi\-::\-Algo$<$ Decay\-Chain $\ast$, double $>$}.

\hypertarget{classvertex__lcfi_1_1VertexMomentum_ac5a1a66331f39aaa15d32d8fb450a331}{\index{vertex\-\_\-lcfi\-::\-Vertex\-Momentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}!name@{name}}
\index{name@{name}!vertex_lcfi::VertexMomentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}}
\paragraph[{name}]{\setlength{\rightskip}{0pt plus 5cm}string vertex\-\_\-lcfi\-::\-Vertex\-Momentum\-::name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classvertex__lcfi_1_1VertexMomentum_ac5a1a66331f39aaa15d32d8fb450a331}


Name. 

String name of the algorithm \begin{DoxyReturn}{Returns}
String name 
\end{DoxyReturn}


Implements \hyperlink{classvertex__lcfi_1_1Algo_a8dc63ee2a511bf2809979a862167d0d6}{vertex\-\_\-lcfi\-::\-Algo$<$ Decay\-Chain $\ast$, double $>$}.

\hypertarget{classvertex__lcfi_1_1VertexMomentum_aec0a97a95cac713154199db2d8d7ffe8}{\index{vertex\-\_\-lcfi\-::\-Vertex\-Momentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}!parameter\-Names@{parameter\-Names}}
\index{parameter\-Names@{parameter\-Names}!vertex_lcfi::VertexMomentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}}
\paragraph[{parameter\-Names}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$string$>$ vertex\-\_\-lcfi\-::\-Vertex\-Momentum\-::parameter\-Names (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classvertex__lcfi_1_1VertexMomentum_aec0a97a95cac713154199db2d8d7ffe8}


Parameter Names. 

A vector of the names of the algorithms parameters \begin{DoxyReturn}{Returns}
vector of string names 
\end{DoxyReturn}


Implements \hyperlink{classvertex__lcfi_1_1Algo_ac5a83cb4625455de40bec9ab8f718c48}{vertex\-\_\-lcfi\-::\-Algo$<$ Decay\-Chain $\ast$, double $>$}.

\hypertarget{classvertex__lcfi_1_1VertexMomentum_aef01c897ea1a8685c919ae3519c4a7c1}{\index{vertex\-\_\-lcfi\-::\-Vertex\-Momentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}!parameter\-Values@{parameter\-Values}}
\index{parameter\-Values@{parameter\-Values}!vertex_lcfi::VertexMomentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}}
\paragraph[{parameter\-Values}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$string$>$ vertex\-\_\-lcfi\-::\-Vertex\-Momentum\-::parameter\-Values (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classvertex__lcfi_1_1VertexMomentum_aef01c897ea1a8685c919ae3519c4a7c1}


Parameter Values. 

A vector of the values of the algorithms parameters, in the same order as parameter names \begin{DoxyReturn}{Returns}
vector of string values 
\end{DoxyReturn}


Implements \hyperlink{classvertex__lcfi_1_1Algo_a6248170b83886bf51a922b78ce629a71}{vertex\-\_\-lcfi\-::\-Algo$<$ Decay\-Chain $\ast$, double $>$}.

\hypertarget{classvertex__lcfi_1_1VertexMomentum_a3ed2ed8e5a828394edf0e6517ca45fb2}{\index{vertex\-\_\-lcfi\-::\-Vertex\-Momentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}!set\-Double\-Parameter@{set\-Double\-Parameter}}
\index{set\-Double\-Parameter@{set\-Double\-Parameter}!vertex_lcfi::VertexMomentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}}
\paragraph[{set\-Double\-Parameter}]{\setlength{\rightskip}{0pt plus 5cm}void vertex\-\_\-lcfi\-::\-Vertex\-Momentum\-::set\-Double\-Parameter (
\begin{DoxyParamCaption}
\item[{const string \&}]{Parameter, }
\item[{const double}]{Value}
\end{DoxyParamCaption}
)}}\label{classvertex__lcfi_1_1VertexMomentum_a3ed2ed8e5a828394edf0e6517ca45fb2}


Set Double Parameter. 

Set a double parameter 
\begin{DoxyParams}{Parameters}
{\em Parameter} & String of parameter name \\
\hline
{\em Value} & double of parameter value \\
\hline
\end{DoxyParams}
\hypertarget{classvertex__lcfi_1_1VertexMomentum_ad748c2e88e2c0037c3d7b61e2f48bb1d}{\index{vertex\-\_\-lcfi\-::\-Vertex\-Momentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}!set\-Pointer\-Parameter@{set\-Pointer\-Parameter}}
\index{set\-Pointer\-Parameter@{set\-Pointer\-Parameter}!vertex_lcfi::VertexMomentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}}
\paragraph[{set\-Pointer\-Parameter}]{\setlength{\rightskip}{0pt plus 5cm}void vertex\-\_\-lcfi\-::\-Vertex\-Momentum\-::set\-Pointer\-Parameter (
\begin{DoxyParamCaption}
\item[{const string \&}]{Parameter, }
\item[{void $\ast$}]{Value}
\end{DoxyParamCaption}
)}}\label{classvertex__lcfi_1_1VertexMomentum_ad748c2e88e2c0037c3d7b61e2f48bb1d}


Set Pointer Parameter. 

Set a pointer parameter 
\begin{DoxyParams}{Parameters}
{\em Parameter} & String of parameter name \\
\hline
{\em Value} & pointer to void \\
\hline
\end{DoxyParams}
\hypertarget{classvertex__lcfi_1_1VertexMomentum_a510b4d7a21a0f3ea55acd1e1d9c38753}{\index{vertex\-\_\-lcfi\-::\-Vertex\-Momentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}!set\-String\-Parameter@{set\-String\-Parameter}}
\index{set\-String\-Parameter@{set\-String\-Parameter}!vertex_lcfi::VertexMomentum@{vertex\-\_\-lcfi\-::\-Vertex\-Momentum}}
\paragraph[{set\-String\-Parameter}]{\setlength{\rightskip}{0pt plus 5cm}void vertex\-\_\-lcfi\-::\-Vertex\-Momentum\-::set\-String\-Parameter (
\begin{DoxyParamCaption}
\item[{const string \&}]{Parameter, }
\item[{const string \&}]{Value}
\end{DoxyParamCaption}
)}}\label{classvertex__lcfi_1_1VertexMomentum_a510b4d7a21a0f3ea55acd1e1d9c38753}


Set String Parameter. 

Set a string parameter 
\begin{DoxyParams}{Parameters}
{\em Parameter} & String of parameter name \\
\hline
{\em Value} & String of parameter value \\
\hline
\end{DoxyParams}


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