\section{Ki\-Track\-:\-:Crit2\-\_\-\-Straight\-Track\-Ratio Class Reference}
\label{classKiTrack_1_1Crit2__StraightTrackRatio}\index{Ki\-Track\-::\-Crit2\-\_\-\-Straight\-Track\-Ratio@{Ki\-Track\-::\-Crit2\-\_\-\-Straight\-Track\-Ratio}}


Criterion\-: for straight tracks\-: if the line between the two hits points towards I\-P.  




{\ttfamily \#include $<$Crit2\-\_\-\-Straight\-Track\-Ratio.\-h$>$}

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

\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\-: for straight tracks\-: if the line between the two hits points towards I\-P. 

Calculated is

\[ \frac{ \frac{\rho_1}{z_1} }{ \frac{\rho_2}{z_2} } \simeq 1 \]

, where $ \rho = \sqrt{ x^2 + y^2 }$ 

\subsection{Member Function Documentation}
\index{Ki\-Track\-::\-Crit2\-\_\-\-Straight\-Track\-Ratio@{Ki\-Track\-::\-Crit2\-\_\-\-Straight\-Track\-Ratio}!are\-Compatible@{are\-Compatible}}
\index{are\-Compatible@{are\-Compatible}!KiTrack::Crit2_StraightTrackRatio@{Ki\-Track\-::\-Crit2\-\_\-\-Straight\-Track\-Ratio}}
\subsubsection[{are\-Compatible}]{\setlength{\rightskip}{0pt plus 5cm}bool Crit2\-\_\-\-Straight\-Track\-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__StraightTrackRatio_ab3dbbdc8145c262477e47ccbc763e013}
\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\-\_\-\-Straight\-Track\-Ratio.\-h\item 
Crit2\-\_\-\-Straight\-Track\-Ratio.\-cc\end{DoxyCompactItemize}
