\section{marlintpc\-:\-:Track\-Finder\-Hough\-Trafo\-Processor Class Reference}
\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor}\index{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}}


uses the hough transformation to find hits on straight tracks.  




{\ttfamily \#include $<$Track\-Finder\-Hough\-Trafo\-Processor.\-h$>$}

Inheritance diagram for marlintpc\-:\-:Track\-Finder\-Hough\-Trafo\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlintpc_1_1TrackFinderHoughTrafoProcessor}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct {\bf Track\-Properties}
\begin{DoxyCompactList}\small\item\em nested helper class that stores the properties of a straight track. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\-::vector\\*
$<$ {\bf Track\-Properties} $>$ {\bfseries T\-P\-Vec}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a26eadc8323fee5d1688fab389ed30155}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a5d6757be2a34cb7f11ffbf08030903ef}

\item 
virtual void {\bfseries init} ()\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_acf7b13e660f0a427c5e7326b9e758c21}

\item 
virtual void {\bfseries process\-Run\-Header} (lcio\-::\-L\-C\-Run\-Header $\ast$run)\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a886f55e341dbb6a69ebc61d2251e28ae}

\item 
virtual void {\bfseries process\-Event} (lcio\-::\-L\-C\-Event $\ast$evt)\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a177fa576b61826926fa99ddc8af3ca1b}

\item 
virtual void {\bfseries check} (lcio\-::\-L\-C\-Event $\ast$evt)\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a3976fe3b221e301ef7b106d265dfc021}

\item 
virtual void {\bfseries end} ()\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_ac105c213ea4f5d9fdcb4f76a01444cad}

\item 
virtual double {\bfseries distance\-To\-Track\-Finder} (const double $\ast$pos, Double\-Vec par, std\-::string {\bf \-\_\-track\-Type})\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a709b5621282c07914adc6d823f5e9c7a}

\item 
virtual {\bf Track\-Properties} {\bfseries max\-Bin\-Finder} (A\-I\-D\-A\-::\-I\-Histogram2\-D $\ast$histo)\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a2548114b2554486cc583ecb155486e29}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static bool {\bfseries sort\-Predicate} (const {\bf Track\-Properties} \&lhs, const {\bf Track\-Properties} \&rhs)\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a8d946f5dc9e09561a192e2dc9caf46ba}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-input\-Col\-Name}
\item 
std\-::string {\bf \-\_\-output\-Col\-Name}
\item 
std\-::string {\bf \-\_\-track\-Type}
\item 
double {\bf \-\_\-max\-Distance\-To\-Track}
\item 
int {\bf \-\_\-n\-Hits\-On\-Track}
\item 
int {\bf \-\_\-chip\-I\-D}
\item 
int {\bf \-\_\-output\-Is\-Transient}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a4c979a27f48f9bba584809f73741eae8}

\begin{DoxyCompactList}\small\item\em give the status which is set to the transient flag of the output collection it is an int instead of a boolean, because the processor parameter cannot be a boolean \end{DoxyCompactList}\item 
int {\bf \-\_\-n\-Run}
\item 
double {\bf a}
\item 
double {\bf b}
\item 
int {\bf \-\_\-hough\-Space\-N\-Bins\-A}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a37c4dd6090674b0398083a37bdc672cb}

\begin{DoxyCompactList}\small\item\em The number of bins in the hough space histogram in 'a' direction. \end{DoxyCompactList}\item 
int {\bf \-\_\-hough\-Space\-N\-Bins\-B}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_ab45c9edcf03a9986178888ddfddae945}

\begin{DoxyCompactList}\small\item\em The number of bins in the hough space histogram in 'b' direction. \end{DoxyCompactList}\item 
float {\bf \-\_\-hough\-Space\-Max\-A}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_aa3103231c89c0cb8d1c924b81c4cd0ff}

\begin{DoxyCompactList}\small\item\em The half range (-\/max..max) of the hough space histogram in 'a' direction. \end{DoxyCompactList}\item 
float {\bf \-\_\-hough\-Space\-Max\-B}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_acab015c98691a0928dc4baca506c4234}

\begin{DoxyCompactList}\small\item\em The half range (-\/max--max) of the hough space histogram in 'b' direction. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
uses the hough transformation to find hits on straight tracks. 

track parameters can be used as starting values for the Track\-Fitter

handling of conditions data is done by the Conditions\-Processor

\subparagraph*{Input -\/ Prerequisites}

a collection of Tracker\-Hits

\subparagraph*{Output}

collection of Tracks


\begin{DoxyParams}{Parameters}
{\em Input\-Collection\-Name} & Name of the input collection (default\-: Time\-Pix\-Hits) \\
\hline
{\em Output\-Collection\-Name} & Name of the output collection (default\-: Time\-Pix\-Track\-Candidates) \\
\hline
{\em Set\-Output\-Transient} & If not 0 the output collection is set transient (default\-: 0)\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Simone Zimmermann 
\end{DoxyAuthor}


\subsection{Member Data Documentation}
\index{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}!\-\_\-chip\-I\-D@{\-\_\-chip\-I\-D}}
\index{\-\_\-chip\-I\-D@{\-\_\-chip\-I\-D}!marlintpc::TrackFinderHoughTrafoProcessor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}}
\subsubsection[{\-\_\-chip\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor\-::\-\_\-chip\-I\-D\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_af86997d989aef04478b2c84a3d68dd7f}

\begin{DoxyItemize}
\item number of current chip, 0 if single chip 
\end{DoxyItemize}\index{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}!\-\_\-input\-Col\-Name@{\-\_\-input\-Col\-Name}}
\index{\-\_\-input\-Col\-Name@{\-\_\-input\-Col\-Name}!marlintpc::TrackFinderHoughTrafoProcessor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}}
\subsubsection[{\-\_\-input\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor\-::\-\_\-input\-Col\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_add93d38bd33d4dd601081b5503465775}

\begin{DoxyItemize}
\item the name of the input collection 
\end{DoxyItemize}\index{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}!\-\_\-max\-Distance\-To\-Track@{\-\_\-max\-Distance\-To\-Track}}
\index{\-\_\-max\-Distance\-To\-Track@{\-\_\-max\-Distance\-To\-Track}!marlintpc::TrackFinderHoughTrafoProcessor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}}
\subsubsection[{\-\_\-max\-Distance\-To\-Track}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor\-::\-\_\-max\-Distance\-To\-Track\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a6feed9aab3d6b6bcb3c82fc4de84b469}

\begin{DoxyItemize}
\item Maximum distance of a hit to the track in mm 
\end{DoxyItemize}\index{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}!\-\_\-n\-Hits\-On\-Track@{\-\_\-n\-Hits\-On\-Track}}
\index{\-\_\-n\-Hits\-On\-Track@{\-\_\-n\-Hits\-On\-Track}!marlintpc::TrackFinderHoughTrafoProcessor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}}
\subsubsection[{\-\_\-n\-Hits\-On\-Track}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor\-::\-\_\-n\-Hits\-On\-Track\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a6d32dc1671df23d3421657f6fbef38b7}

\begin{DoxyItemize}
\item minimum nuber if hits on track 
\end{DoxyItemize}\index{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}!\-\_\-n\-Run@{\-\_\-n\-Run}}
\index{\-\_\-n\-Run@{\-\_\-n\-Run}!marlintpc::TrackFinderHoughTrafoProcessor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}}
\subsubsection[{\-\_\-n\-Run}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor\-::\-\_\-n\-Run\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a3471fed963697ff15366284f41ec7aef}

\begin{DoxyItemize}
\item counts the processed runs 
\end{DoxyItemize}\index{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}!\-\_\-output\-Col\-Name@{\-\_\-output\-Col\-Name}}
\index{\-\_\-output\-Col\-Name@{\-\_\-output\-Col\-Name}!marlintpc::TrackFinderHoughTrafoProcessor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}}
\subsubsection[{\-\_\-output\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor\-::\-\_\-output\-Col\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a74a73ab724ee7030c5db0bb38b653ac4}

\begin{DoxyItemize}
\item the name of the output collection 
\end{DoxyItemize}\index{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}!\-\_\-track\-Type@{\-\_\-track\-Type}}
\index{\-\_\-track\-Type@{\-\_\-track\-Type}!marlintpc::TrackFinderHoughTrafoProcessor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}}
\subsubsection[{\-\_\-track\-Type}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor\-::\-\_\-track\-Type\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a7792aece39f6a299f9b41be36c34300a}

\begin{DoxyItemize}
\item the type of track, that is looked for 
\end{DoxyItemize}\index{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}!a@{a}}
\index{a@{a}!marlintpc::TrackFinderHoughTrafoProcessor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}}
\subsubsection[{a}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor\-::a\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_a0dad8b733f98879b1d6346ffec6ec84c}

\begin{DoxyItemize}
\item parameter of hough transformation 
\end{DoxyItemize}\index{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}!b@{b}}
\index{b@{b}!marlintpc::TrackFinderHoughTrafoProcessor@{marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor}}
\subsubsection[{b}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::\-Track\-Finder\-Hough\-Trafo\-Processor\-::b\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackFinderHoughTrafoProcessor_ace94eb5142455019e1c514562009c16f}

\begin{DoxyItemize}
\item parameter of hough transformation 
\end{DoxyItemize}

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