\section{marlintpc\-:\-:rb\-\_\-\-Hit Class Reference}
\label{classmarlintpc_1_1rb__Hit}\index{marlintpc\-::rb\-\_\-\-Hit@{marlintpc\-::rb\-\_\-\-Hit}}


Row based hit.  




{\ttfamily \#include $<$Row\-Triplet\-Based\-Track\-Finder\-Processor.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf rb\-\_\-\-Hit} (const int i\-Hit, const int mod, const int row, const E\-V\-E\-N\-T\-::\-Tracker\-Hit \&a\-Hit)
\begin{DoxyCompactList}\small\item\em Construct row based hit. \end{DoxyCompactList}\item 
void {\bf print} () const \label{classmarlintpc_1_1rb__Hit_a8f89290e52f47981cddf132cbc954a6e}

\begin{DoxyCompactList}\small\item\em Print. \end{DoxyCompactList}\item 
int {\bf get\-Hit\-Num} () const \label{classmarlintpc_1_1rb__Hit_a1865a79ee265fbf7d5617d19b6a451e4}

\begin{DoxyCompactList}\small\item\em Get index to input hit collection. \end{DoxyCompactList}\item 
int {\bf get\-Mod} () const \label{classmarlintpc_1_1rb__Hit_aa7c5873db7afb070a839687f4affabae}

\begin{DoxyCompactList}\small\item\em Get module number. \end{DoxyCompactList}\item 
int {\bf get\-Row} () const \label{classmarlintpc_1_1rb__Hit_a560255d356493d914ee52f0082e9b7d5}

\begin{DoxyCompactList}\small\item\em Get row number. \end{DoxyCompactList}\item 
double {\bf get\-X} () const \label{classmarlintpc_1_1rb__Hit_abeef780362f9b1f3b5d556ecf6c349db}

\begin{DoxyCompactList}\small\item\em Get X coordinate. \end{DoxyCompactList}\item 
double {\bf get\-Y} () const \label{classmarlintpc_1_1rb__Hit_a6614a699b3de9b1cdf76c03aef2e7f2a}

\begin{DoxyCompactList}\small\item\em Get Y coordinate. \end{DoxyCompactList}\item 
double {\bf get\-Z} () const \label{classmarlintpc_1_1rb__Hit_a48ab6c158b0840784949e32051107d80}

\begin{DoxyCompactList}\small\item\em Get Z coordinate. \end{DoxyCompactList}\item 
void {\bf get\-Pos} (double $\ast$) const 
\begin{DoxyCompactList}\small\item\em Get position. \end{DoxyCompactList}\item 
double {\bf get\-Var\-X\-Y} (const double=0.) const 
\begin{DoxyCompactList}\small\item\em Get X\-Y variance. \end{DoxyCompactList}\item 
double {\bf get\-Var\-Z} (const double=0.) const 
\begin{DoxyCompactList}\small\item\em Get Z variance. \end{DoxyCompactList}\item 
double {\bf get\-Phi\-Meas} () const \label{classmarlintpc_1_1rb__Hit_ace6177a67a0f07684494c1c07e80d364}

\begin{DoxyCompactList}\small\item\em Get X\-Y measurement direction. \end{DoxyCompactList}\item 
bool {\bf get\-Used} () const \label{classmarlintpc_1_1rb__Hit_a3146c3a2a9eb54e4e786e5aa588628ef}

\begin{DoxyCompactList}\small\item\em Get use flag. \end{DoxyCompactList}\item 
void {\bf set\-Used} (const double)
\begin{DoxyCompactList}\small\item\em Set use flag. \end{DoxyCompactList}\item 
double {\bf get\-Cos\-Beta} () const \label{classmarlintpc_1_1rb__Hit_a51e88bf684c3fd17074629c96388076b}

\begin{DoxyCompactList}\small\item\em Get cos(beta). \end{DoxyCompactList}\item 
double {\bf get\-Dist\-X\-Y} (const double, const double, const double, const double) const 
\begin{DoxyCompactList}\small\item\em Get distance to point in X\-Y (along direction) \end{DoxyCompactList}\item 
double {\bf get\-Dist\-Z} (const double) const 
\begin{DoxyCompactList}\small\item\em Get distance to point in Z. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Row based hit. 

Has identification and measurements with directions and errors. 

\subsection{Constructor \& Destructor Documentation}
\index{marlintpc\-::rb\-\_\-\-Hit@{marlintpc\-::rb\-\_\-\-Hit}!rb\-\_\-\-Hit@{rb\-\_\-\-Hit}}
\index{rb\-\_\-\-Hit@{rb\-\_\-\-Hit}!marlintpc::rb_Hit@{marlintpc\-::rb\-\_\-\-Hit}}
\subsubsection[{rb\-\_\-\-Hit}]{\setlength{\rightskip}{0pt plus 5cm}marlintpc\-::rb\-\_\-\-Hit\-::rb\-\_\-\-Hit (
\begin{DoxyParamCaption}
\item[{const int}]{i\-Hit, }
\item[{const int}]{mod, }
\item[{const int}]{row, }
\item[{const E\-V\-E\-N\-T\-::\-Tracker\-Hit \&}]{a\-Hit}
\end{DoxyParamCaption}
)}\label{classmarlintpc_1_1rb__Hit_aa6124448f63c4bae09e862424d22bfd5}


Construct row based hit. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em i\-Hit} & index in input hit collection \\
\hline
\mbox{\tt in}  & {\em mod} & module number \\
\hline
\mbox{\tt in}  & {\em row} & row number \\
\hline
\mbox{\tt in}  & {\em a\-Hit} & T\-P\-C hit \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{marlintpc\-::rb\-\_\-\-Hit@{marlintpc\-::rb\-\_\-\-Hit}!get\-Dist\-X\-Y@{get\-Dist\-X\-Y}}
\index{get\-Dist\-X\-Y@{get\-Dist\-X\-Y}!marlintpc::rb_Hit@{marlintpc\-::rb\-\_\-\-Hit}}
\subsubsection[{get\-Dist\-X\-Y}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::rb\-\_\-\-Hit\-::get\-Dist\-X\-Y (
\begin{DoxyParamCaption}
\item[{const double}]{x, }
\item[{const double}]{y, }
\item[{const double}]{ex, }
\item[{const double}]{ey}
\end{DoxyParamCaption}
) const}\label{classmarlintpc_1_1rb__Hit_a138a1427628561da0487bfce380ab925}


Get distance to point in X\-Y (along direction) 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & x position \\
\hline
\mbox{\tt in}  & {\em y} & y position \\
\hline
\mbox{\tt in}  & {\em ex} & x direction \\
\hline
\mbox{\tt in}  & {\em ey} & y direction \\
\hline
\end{DoxyParams}


Referenced by marlintpc\-::rb\-\_\-\-Doublet\-::match().

\index{marlintpc\-::rb\-\_\-\-Hit@{marlintpc\-::rb\-\_\-\-Hit}!get\-Dist\-Z@{get\-Dist\-Z}}
\index{get\-Dist\-Z@{get\-Dist\-Z}!marlintpc::rb_Hit@{marlintpc\-::rb\-\_\-\-Hit}}
\subsubsection[{get\-Dist\-Z}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::rb\-\_\-\-Hit\-::get\-Dist\-Z (
\begin{DoxyParamCaption}
\item[{const double}]{z}
\end{DoxyParamCaption}
) const}\label{classmarlintpc_1_1rb__Hit_a7c8da5a6cf0ebbae3d3cf8e648e135ef}


Get distance to point in Z. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em z} & z position \\
\hline
\end{DoxyParams}


Referenced by marlintpc\-::rb\-\_\-\-Doublet\-::match().

\index{marlintpc\-::rb\-\_\-\-Hit@{marlintpc\-::rb\-\_\-\-Hit}!get\-Pos@{get\-Pos}}
\index{get\-Pos@{get\-Pos}!marlintpc::rb_Hit@{marlintpc\-::rb\-\_\-\-Hit}}
\subsubsection[{get\-Pos}]{\setlength{\rightskip}{0pt plus 5cm}void marlintpc\-::rb\-\_\-\-Hit\-::get\-Pos (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{position}
\end{DoxyParamCaption}
) const}\label{classmarlintpc_1_1rb__Hit_a4816257de02d0e70e4837a347320320c}


Get position. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em position} & position \\
\hline
\end{DoxyParams}


Referenced by marlintpc\-::rb\-\_\-\-Segment\-::match(), and marlintpc\-::rb\-\_\-\-Doublet\-::rb\-\_\-\-Doublet().

\index{marlintpc\-::rb\-\_\-\-Hit@{marlintpc\-::rb\-\_\-\-Hit}!get\-Var\-X\-Y@{get\-Var\-X\-Y}}
\index{get\-Var\-X\-Y@{get\-Var\-X\-Y}!marlintpc::rb_Hit@{marlintpc\-::rb\-\_\-\-Hit}}
\subsubsection[{get\-Var\-X\-Y}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::rb\-\_\-\-Hit\-::get\-Var\-X\-Y (
\begin{DoxyParamCaption}
\item[{const double}]{der2 = {\ttfamily 0.}}
\end{DoxyParamCaption}
) const}\label{classmarlintpc_1_1rb__Hit_a1b021537c79d0d1106620e1cd3c2d134}


Get X\-Y variance. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em der2} & derivative (dxy/dr) squared \\
\hline
\end{DoxyParams}


Referenced by marlintpc\-::rb\-\_\-\-Doublet\-::match(), marlintpc\-::rb\-\_\-\-Segment\-::match(), and marlintpc\-::rb\-\_\-\-Doublet\-::rb\-\_\-\-Doublet().

\index{marlintpc\-::rb\-\_\-\-Hit@{marlintpc\-::rb\-\_\-\-Hit}!get\-Var\-Z@{get\-Var\-Z}}
\index{get\-Var\-Z@{get\-Var\-Z}!marlintpc::rb_Hit@{marlintpc\-::rb\-\_\-\-Hit}}
\subsubsection[{get\-Var\-Z}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::rb\-\_\-\-Hit\-::get\-Var\-Z (
\begin{DoxyParamCaption}
\item[{const double}]{der2 = {\ttfamily 0.}}
\end{DoxyParamCaption}
) const}\label{classmarlintpc_1_1rb__Hit_a1b1a5afd2640cc8f346881dffc18cdaf}


Get Z variance. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em der2} & derivative (dz/dr) squared \\
\hline
\end{DoxyParams}


Referenced by marlintpc\-::rb\-\_\-\-Doublet\-::match(), marlintpc\-::rb\-\_\-\-Segment\-::match(), and marlintpc\-::rb\-\_\-\-Doublet\-::rb\-\_\-\-Doublet().

\index{marlintpc\-::rb\-\_\-\-Hit@{marlintpc\-::rb\-\_\-\-Hit}!set\-Used@{set\-Used}}
\index{set\-Used@{set\-Used}!marlintpc::rb_Hit@{marlintpc\-::rb\-\_\-\-Hit}}
\subsubsection[{set\-Used}]{\setlength{\rightskip}{0pt plus 5cm}void marlintpc\-::rb\-\_\-\-Hit\-::set\-Used (
\begin{DoxyParamCaption}
\item[{const double}]{cosb = {\ttfamily 1.}}
\end{DoxyParamCaption}
)}\label{classmarlintpc_1_1rb__Hit_a72e180985dd9087e6c929f3b08b881a5}


Set use flag. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em cosb} & cos(beta) \\
\hline
\end{DoxyParams}


Referenced by marlintpc\-::rb\-\_\-\-Segment\-::add\-Hit(), and marlintpc\-::rb\-\_\-\-Segment\-::rb\-\_\-\-Segment().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Row\-Triplet\-Based\-Track\-Finder\-Processor.\-h\item 
Row\-Triplet\-Based\-Track\-Finder\-Processor.\-cc\end{DoxyCompactItemize}
