\hypertarget{classvertex__lcfi_1_1JointProb}{\subsection{vertex\-\_\-lcfi\-:\-:Joint\-Prob Class Reference}
\label{classvertex__lcfi_1_1JointProb}\index{vertex\-\_\-lcfi\-::\-Joint\-Prob@{vertex\-\_\-lcfi\-::\-Joint\-Prob}}
}


Calculation of the Joint probability flavour tag inputs.  




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



Inheritance diagram for vertex\-\_\-lcfi\-:\-:Joint\-Prob\-:


Collaboration diagram for vertex\-\_\-lcfi\-:\-:Joint\-Prob\-:
\subsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classvertex__lcfi_1_1JointProb_a2022ebba7c678f8a3a3d99991eda46d6}{\hyperlink{classvertex__lcfi_1_1JointProb_a2022ebba7c678f8a3a3d99991eda46d6}{Joint\-Prob} ()}\label{classvertex__lcfi_1_1JointProb_a2022ebba7c678f8a3a3d99991eda46d6}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
string \hyperlink{classvertex__lcfi_1_1JointProb_aeafd24093b9eb2187d33875188a35443}{name} () const 
\begin{DoxyCompactList}\small\item\em Name. \end{DoxyCompactList}\item 
std\-::vector$<$ string $>$ \hyperlink{classvertex__lcfi_1_1JointProb_a2be46d7fafe8d02ab1e2d287a71b92c7}{parameter\-Names} () const 
\begin{DoxyCompactList}\small\item\em Parameter Names. \end{DoxyCompactList}\item 
std\-::vector$<$ string $>$ \hyperlink{classvertex__lcfi_1_1JointProb_a571e150c83f4a12d2cc6231de6207f30}{parameter\-Values} () const 
\begin{DoxyCompactList}\small\item\em Parameter Values. \end{DoxyCompactList}\item 
void \hyperlink{classvertex__lcfi_1_1JointProb_aa1db304cf1bf29d7ab7310d4a1d8bdca}{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_1JointProb_a2bac5fdb2a5f4581e8591c444720d79a}{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_1JointProb_a48fc34692c1ebe79a91659de81aeecfa}{set\-Pointer\-Parameter} (const string \&Parameter, void $\ast$Value)
\begin{DoxyCompactList}\small\item\em Set Pointer Parameter. \end{DoxyCompactList}\item 
std\-::map$<$ \hyperlink{namespacevertex__lcfi_1_1util_ae6c57de90ec755851eeecba3d0088cc6}{Projection}, double $>$ \hyperlink{classvertex__lcfi_1_1JointProb_a47c87104ca02700ea9f09f92996ab2f5}{calculate\-For} (\hyperlink{classvertex__lcfi_1_1Jet}{Jet} $\ast$My\-Jet) const 
\begin{DoxyCompactList}\small\item\em Run the algorithm on a jet. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
Calculation of the Joint probability flavour tag inputs. 

This class calculates the joint probability flavour tag input. This is the probability that all the tracks of a \hyperlink{classvertex__lcfi_1_1Jet}{Jet} come from the primary vertex. The calculation is done by using the information on the impact parameters of each \hyperlink{classvertex__lcfi_1_1Track}{Track}. The class outputs three values \-: the calculation of joint probability in the R\-Phi plane, in the Z direction and in 3 dimensions. Please note that while the first two have been extensively tested the third has not since it is not used as a flavour tagging inputs parameter. 
\begin{DoxyParams}{Parameters}
{\em Max\-D0\-Significance} & Maximum d0 significance. All more significant Tracks get cut. \\
\hline
{\em Max\-D0and\-Z0} & Maximum value of d0 and of z0. \\
\hline
{\em Resolution\-Parameter\-Rphi} & This is a Pointer parameter. It must point to a vector containing 5 double elements. These are the standard deviations of the impact parameter significances of the distribution of tracks coming from the primary vertex. These values can be obtained from a fit to the impact parameter distribution of tracks behind the interaction point, i.\-e. with negative impact parameter, where the direction of reference is the \hyperlink{classvertex__lcfi_1_1Jet}{Jet} direction. Please note that ideally these parameters should be calculated whenever the boundary conditions change in a way that affects the impact parameter distributions, by running a separate processor beforehand. This at the moment is not done and the values are inserted as parameters. The default values have been inherited from previous studies. \\
\hline
{\em Resolution\-Parameter\-Z} & Similar as Resolution\-Parameter\-Rphi, but for the Z direction. \\
\hline
{\em Resolution\-Parameter3\-D} & Similar as before but for the 3-\/\-D calculation \\
\hline
\end{DoxyParams}
\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_1JointProb_a47c87104ca02700ea9f09f92996ab2f5}{\index{vertex\-\_\-lcfi\-::\-Joint\-Prob@{vertex\-\_\-lcfi\-::\-Joint\-Prob}!calculate\-For@{calculate\-For}}
\index{calculate\-For@{calculate\-For}!vertex_lcfi::JointProb@{vertex\-\_\-lcfi\-::\-Joint\-Prob}}
\paragraph[{calculate\-For}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<${\bf Projection}, double$>$ vertex\-\_\-lcfi\-::\-Joint\-Prob\-::calculate\-For (
\begin{DoxyParamCaption}
\item[{{\bf Jet} $\ast$}]{My\-Jet}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classvertex__lcfi_1_1JointProb_a47c87104ca02700ea9f09f92996ab2f5}


Run the algorithm on a jet. 

Calculate the jet joint probability flavour tagging parameter for the jet and output the joint probability for R\-Phi, Z and Three\-D 
\begin{DoxyParams}{Parameters}
{\em \hyperlink{classvertex__lcfi_1_1Jet}{Jet}} & Pointer to jet to be analysed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Map containing the following keys\-: R\-Phi, Z and Three\-D 
\end{DoxyReturn}


Implements \hyperlink{classvertex__lcfi_1_1Algo_a95a0f611f2ab925663b6f819b7d0f8c8}{vertex\-\_\-lcfi\-::\-Algo$<$ Jet $\ast$, std\-::map$<$ Projection, double $>$ $>$}.

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


Name. 

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


Implements \hyperlink{classvertex__lcfi_1_1Algo_a8dc63ee2a511bf2809979a862167d0d6}{vertex\-\_\-lcfi\-::\-Algo$<$ Jet $\ast$, std\-::map$<$ Projection, double $>$ $>$}.

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


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$<$ Jet $\ast$, std\-::map$<$ Projection, double $>$ $>$}.

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


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$<$ Jet $\ast$, std\-::map$<$ Projection, double $>$ $>$}.

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


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_1JointProb_a48fc34692c1ebe79a91659de81aeecfa}{\index{vertex\-\_\-lcfi\-::\-Joint\-Prob@{vertex\-\_\-lcfi\-::\-Joint\-Prob}!set\-Pointer\-Parameter@{set\-Pointer\-Parameter}}
\index{set\-Pointer\-Parameter@{set\-Pointer\-Parameter}!vertex_lcfi::JointProb@{vertex\-\_\-lcfi\-::\-Joint\-Prob}}
\paragraph[{set\-Pointer\-Parameter}]{\setlength{\rightskip}{0pt plus 5cm}void vertex\-\_\-lcfi\-::\-Joint\-Prob\-::set\-Pointer\-Parameter (
\begin{DoxyParamCaption}
\item[{const string \&}]{Parameter, }
\item[{void $\ast$}]{Value}
\end{DoxyParamCaption}
)}}\label{classvertex__lcfi_1_1JointProb_a48fc34692c1ebe79a91659de81aeecfa}


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_1JointProb_aa1db304cf1bf29d7ab7310d4a1d8bdca}{\index{vertex\-\_\-lcfi\-::\-Joint\-Prob@{vertex\-\_\-lcfi\-::\-Joint\-Prob}!set\-String\-Parameter@{set\-String\-Parameter}}
\index{set\-String\-Parameter@{set\-String\-Parameter}!vertex_lcfi::JointProb@{vertex\-\_\-lcfi\-::\-Joint\-Prob}}
\paragraph[{set\-String\-Parameter}]{\setlength{\rightskip}{0pt plus 5cm}void vertex\-\_\-lcfi\-::\-Joint\-Prob\-::set\-String\-Parameter (
\begin{DoxyParamCaption}
\item[{const string \&}]{Parameter, }
\item[{const string \&}]{Value}
\end{DoxyParamCaption}
)}}\label{classvertex__lcfi_1_1JointProb_aa1db304cf1bf29d7ab7310d4a1d8bdca}


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 
jointprob.\-h\end{DoxyCompactItemize}
