\section{Ki\-Track\-:\-:Crit2\-\_\-\-R\-Z\-Ratio Class Reference}
\label{classKiTrack_1_1Crit2__RZRatio}\index{Ki\-Track\-::\-Crit2\-\_\-\-R\-Z\-Ratio@{Ki\-Track\-::\-Crit2\-\_\-\-R\-Z\-Ratio}}


Criterion\-: distance of two hits divided by their z-\/distance.  




{\ttfamily \#include $<$Crit2\-\_\-\-R\-Z\-Ratio.\-h$>$}

Inheritance diagram for Ki\-Track\-:\-:Crit2\-\_\-\-R\-Z\-Ratio\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classKiTrack_1_1Crit2__RZRatio}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries Crit2\-\_\-\-R\-Z\-Ratio} (float ratio\-Min, float ratio\-Max)\label{classKiTrack_1_1Crit2__RZRatio_a3b571174be750eaf528c832986a8018b}

\item 
virtual bool {\bf are\-Compatible} ({\bf Segment} $\ast$parent, {\bf Segment} $\ast$child)  throw ( Bad\-Segment\-Length )
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Criterion\-: distance of two hits divided by their z-\/distance. 

\[ \frac{\sqrt{ \Delta x^2 + \Delta y^2 + \Delta z^2 }}{\left| \Delta z \right|}\] 

\subsection{Member Function Documentation}
\index{Ki\-Track\-::\-Crit2\-\_\-\-R\-Z\-Ratio@{Ki\-Track\-::\-Crit2\-\_\-\-R\-Z\-Ratio}!are\-Compatible@{are\-Compatible}}
\index{are\-Compatible@{are\-Compatible}!KiTrack::Crit2_RZRatio@{Ki\-Track\-::\-Crit2\-\_\-\-R\-Z\-Ratio}}
\subsubsection[{are\-Compatible}]{\setlength{\rightskip}{0pt plus 5cm}bool Crit2\-\_\-\-R\-Z\-Ratio\-::are\-Compatible (
\begin{DoxyParamCaption}
\item[{{\bf Segment} $\ast$}]{parent, }
\item[{{\bf Segment} $\ast$}]{child}
\end{DoxyParamCaption}
) throw  {\bf Bad\-Segment\-Length}) \hspace{0.3cm}{\ttfamily [virtual]}}\label{classKiTrack_1_1Crit2__RZRatio_acf85c57bfa1d923ce5d5c579b4188b5b}
\begin{DoxyReturn}{Returns}
If the two Segments are compatible with each other, i.\-e. could be combined to a longer \doxyref{Segment}{p.}{classKiTrack_1_1Segment} or a track. 
\end{DoxyReturn}


Implements {\bf Ki\-Track\-::\-I\-Criterion} \doxyref{}{p.}{classKiTrack_1_1ICriterion_ab5b749cf9e9798222f369fbe3bd2ccc1}.



References Ki\-Track\-::\-I\-Hit\-::get\-X(), Ki\-Track\-::\-I\-Hit\-::get\-Y(), and Ki\-Track\-::\-I\-Hit\-::get\-Z().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Crit2\-\_\-\-R\-Z\-Ratio.\-h\item 
Crit2\-\_\-\-R\-Z\-Ratio.\-cc\end{DoxyCompactItemize}
