\section{Generic\-Hit$<$ T $>$ Class Template Reference}
\label{classGenericHit}\index{Generic\-Hit$<$ T $>$@{Generic\-Hit$<$ T $>$}}


Templated class for generic hit type objects that are to be clustered with an N\-N-\/like clustering algorithm.  




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

Inheritance diagram for Generic\-Hit$<$ T $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classGenericHit}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Generic\-Hit} (T $\ast$hit, int index0=0)
\begin{DoxyCompactList}\small\item\em Default c'tor takes a pointer to the original hit type object. \end{DoxyCompactList}\item 
{\bf Generic\-Hit} (T $\ast$hit, {\bf Generic\-Cluster}$<$ T $>$ $\ast$cl, int index0=0)\label{classGenericHit_a623e4bc620989c7fc3ae3ecfac4134b6}

\begin{DoxyCompactList}\small\item\em C'tor that also takes a pointer to the cluster this hit belongs to -\/ in case seed hits/clusters are used. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
int {\bf Index0}
\begin{DoxyCompactList}\small\item\em Index that can be used to code nearest neighbour bins, e.\-g. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Generic\-Hit} ()\label{classGenericHit_a1845340141f555ea0089918f4505ab9f}

\begin{DoxyCompactList}\small\item\em Don't allow default c'tor w/o hit. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$class Generic\-Hit$<$ T $>$}

Templated class for generic hit type objects that are to be clustered with an N\-N-\/like clustering algorithm. 

Holds a pointer to a generalized cluster object that is templated with the same type.

\begin{DoxySeeAlso}{See Also}
\doxyref{Generic\-Cluster}{p.}{classGenericCluster} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
F.\-Gaede (D\-E\-S\-Y) 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{N\-N\-Clusters.\-h}{p.}{NNClusters_8h_source},v 1.\-5 2007-\/06-\/05 15\-:35\-:49 engels Exp 
\end{DoxyParagraph}


\subsection{Constructor \& Destructor Documentation}
\index{Generic\-Hit@{Generic\-Hit}!Generic\-Hit@{Generic\-Hit}}
\index{Generic\-Hit@{Generic\-Hit}!GenericHit@{Generic\-Hit}}
\subsubsection[{Generic\-Hit}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf Generic\-Hit}$<$ T $>$\-::{\bf Generic\-Hit} (
\begin{DoxyParamCaption}
\item[{T $\ast$}]{hit, }
\item[{int}]{index0 = {\ttfamily 0}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classGenericHit_a92a87da99f199a390ecf2bb6b92f0f2c}


Default c'tor takes a pointer to the original hit type object. 

The optioal index can be used to code nearest neighbour bins, e.\-g. in z-\/coordinate to speed up the clustering process. 

\subsection{Member Data Documentation}
\index{Generic\-Hit@{Generic\-Hit}!Index0@{Index0}}
\index{Index0@{Index0}!GenericHit@{Generic\-Hit}}
\subsubsection[{Index0}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ int {\bf Generic\-Hit}$<$ T $>$\-::Index0}\label{classGenericHit_a8a9a71175286a2cde6793aeb42841144}


Index that can be used to code nearest neighbour bins, e.\-g. 

in z-\/coordinate to speed up the clustering process. 

Referenced by N\-N\-Distance$<$ Hit\-Class, Pos\-Type $>$\-::merge\-Hits().



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
N\-N\-Clusters.\-h\end{DoxyCompactItemize}
