\section{Ki\-Track\-:\-:Crit4\-\_\-\-Dist\-To\-Extrapolation Class Reference}
\label{classKiTrack_1_1Crit4__DistToExtrapolation}\index{Ki\-Track\-::\-Crit4\-\_\-\-Dist\-To\-Extrapolation@{Ki\-Track\-::\-Crit4\-\_\-\-Dist\-To\-Extrapolation}}


Criterion\-: use the first 3 hits to extrapolate the location in xy for a given z of the last hit.  




{\ttfamily \#include $<$Crit4\-\_\-\-Dist\-To\-Extrapolation.\-h$>$}

Inheritance diagram for Ki\-Track\-:\-:Crit4\-\_\-\-Dist\-To\-Extrapolation\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classKiTrack_1_1Crit4__DistToExtrapolation}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Crit4\-\_\-\-Dist\-To\-Extrapolation} (float dist\-Min, float dist\-Max)
\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\-: use the first 3 hits to extrapolate the location in xy for a given z of the last hit. 

Then measure the distance from the extrapolation to the hit. (Also divide by the z distance to the last hit, in order to take into account that with farther distances the accuracy drops) 

\subsection{Constructor \& Destructor Documentation}
\index{Ki\-Track\-::\-Crit4\-\_\-\-Dist\-To\-Extrapolation@{Ki\-Track\-::\-Crit4\-\_\-\-Dist\-To\-Extrapolation}!Crit4\-\_\-\-Dist\-To\-Extrapolation@{Crit4\-\_\-\-Dist\-To\-Extrapolation}}
\index{Crit4\-\_\-\-Dist\-To\-Extrapolation@{Crit4\-\_\-\-Dist\-To\-Extrapolation}!KiTrack::Crit4_DistToExtrapolation@{Ki\-Track\-::\-Crit4\-\_\-\-Dist\-To\-Extrapolation}}
\subsubsection[{Crit4\-\_\-\-Dist\-To\-Extrapolation}]{\setlength{\rightskip}{0pt plus 5cm}Crit4\-\_\-\-Dist\-To\-Extrapolation\-::\-Crit4\-\_\-\-Dist\-To\-Extrapolation (
\begin{DoxyParamCaption}
\item[{float}]{dist\-Min, }
\item[{float}]{dist\-Max}
\end{DoxyParamCaption}
)}\label{classKiTrack_1_1Crit4__DistToExtrapolation_aade01af1f8554186b0d2b58ca1f2abad}

\begin{DoxyParams}{Parameters}
{\em dist\-Max} & \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{Ki\-Track\-::\-Crit4\-\_\-\-Dist\-To\-Extrapolation@{Ki\-Track\-::\-Crit4\-\_\-\-Dist\-To\-Extrapolation}!are\-Compatible@{are\-Compatible}}
\index{are\-Compatible@{are\-Compatible}!KiTrack::Crit4_DistToExtrapolation@{Ki\-Track\-::\-Crit4\-\_\-\-Dist\-To\-Extrapolation}}
\subsubsection[{are\-Compatible}]{\setlength{\rightskip}{0pt plus 5cm}bool Crit4\-\_\-\-Dist\-To\-Extrapolation\-::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_1Crit4__DistToExtrapolation_a5960640e384ededa4dffb9d1bfe02c6b}
\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 
Crit4\-\_\-\-Dist\-To\-Extrapolation.\-h\item 
Crit4\-\_\-\-Dist\-To\-Extrapolation.\-cc\end{DoxyCompactItemize}
