\section{marlintpc\-:\-:tp\-\_\-\-Pixel\-Chip Class Reference}
\label{classmarlintpc_1_1tp__PixelChip}\index{marlintpc\-::tp\-\_\-\-Pixel\-Chip@{marlintpc\-::tp\-\_\-\-Pixel\-Chip}}


Time\-Pix pixel chip.  




{\ttfamily \#include $<$Time\-Pix\-Local\-Road\-Search\-Processor.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf tp\-\_\-\-Pixel\-Chip} (const int, pixel\-List\-Type \&, const int, const double)
\begin{DoxyCompactList}\small\item\em Construct Time\-Pix (macro) pixel bin. \end{DoxyCompactList}\item 
{\bf $\sim$tp\-\_\-\-Pixel\-Chip} ()\label{classmarlintpc_1_1tp__PixelChip_a3aa3e8f89ad346f9d7ab85bcead448b4}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void {\bf print} () const \label{classmarlintpc_1_1tp__PixelChip_a053ea1500a860ad8d001955a93189caf}

\begin{DoxyCompactList}\small\item\em Print. \end{DoxyCompactList}\item 
int {\bf get\-Id} () const \label{classmarlintpc_1_1tp__PixelChip_a1205a2c91897dbe3b37f02b01cf7cb32}

\begin{DoxyCompactList}\small\item\em Get Id. \end{DoxyCompactList}\item 
int {\bf get\-Num\-Pix} () const \label{classmarlintpc_1_1tp__PixelChip_a5b6931b89eaae49ea45e89e59d30ab33}

\begin{DoxyCompactList}\small\item\em Get (number of) pixels. \end{DoxyCompactList}\item 
int {\bf get\-Num\-M\-Pix} () const \label{classmarlintpc_1_1tp__PixelChip_a6bfe67dcc83af963fd0cfc6d78d77c72}

\begin{DoxyCompactList}\small\item\em Get (number of) macro pixels. \end{DoxyCompactList}\item 
int {\bf get\-Num\-Bins} () const \label{classmarlintpc_1_1tp__PixelChip_a8677f99f7a911b6180697b304b6ae828}

\begin{DoxyCompactList}\small\item\em Get (number of) pixels bins. \end{DoxyCompactList}\item 
int {\bf find\-Segments} (const double, const int $\ast$, const double $\ast$)
\begin{DoxyCompactList}\small\item\em Find segments. \end{DoxyCompactList}\item 
pixel\-Segment\-List\-Type {\bfseries get\-Pixel\-Segments} () const \label{classmarlintpc_1_1tp__PixelChip_a64a8898209cea0c2868dc1472432ce8a}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Time\-Pix pixel chip. 

\subsection{Constructor \& Destructor Documentation}
\index{marlintpc\-::tp\-\_\-\-Pixel\-Chip@{marlintpc\-::tp\-\_\-\-Pixel\-Chip}!tp\-\_\-\-Pixel\-Chip@{tp\-\_\-\-Pixel\-Chip}}
\index{tp\-\_\-\-Pixel\-Chip@{tp\-\_\-\-Pixel\-Chip}!marlintpc::tp_PixelChip@{marlintpc\-::tp\-\_\-\-Pixel\-Chip}}
\subsubsection[{tp\-\_\-\-Pixel\-Chip}]{\setlength{\rightskip}{0pt plus 5cm}marlintpc\-::tp\-\_\-\-Pixel\-Chip\-::tp\-\_\-\-Pixel\-Chip (
\begin{DoxyParamCaption}
\item[{const int}]{chip\-Id, }
\item[{pixel\-List\-Type \&}]{pixel\-List, }
\item[{const int}]{mp\-Size, }
\item[{const double}]{sigma\-Z}
\end{DoxyParamCaption}
)}\label{classmarlintpc_1_1tp__PixelChip_a5c71c2f665384edb8541bb9b07ddaad0}


Construct Time\-Pix (macro) pixel bin. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em chip\-Id} & chip\-I\-D \\
\hline
\mbox{\tt in}  & {\em pixel\-List} & list of pixels \\
\hline
\mbox{\tt in}  & {\em mp\-Size} & macro pixel size \\
\hline
\mbox{\tt in}  & {\em sigma\-Z} & resolution in Z \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{marlintpc\-::tp\-\_\-\-Pixel\-Chip@{marlintpc\-::tp\-\_\-\-Pixel\-Chip}!find\-Segments@{find\-Segments}}
\index{find\-Segments@{find\-Segments}!marlintpc::tp_PixelChip@{marlintpc\-::tp\-\_\-\-Pixel\-Chip}}
\subsubsection[{find\-Segments}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::tp\-\_\-\-Pixel\-Chip\-::find\-Segments (
\begin{DoxyParamCaption}
\item[{const double}]{bfac, }
\item[{const int $\ast$}]{i\-Cuts, }
\item[{const double $\ast$}]{d\-Cuts}
\end{DoxyParamCaption}
)}\label{classmarlintpc_1_1tp__PixelChip_a480a1cbc78586b2d0c6494b7bbba6a98}


Find segments. 

Use pairs of macro pixels as seed for road search (in X\-Y, S\-Z), take road with minimal Chi2


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em bfac} & Bz$\ast$c \\
\hline
\mbox{\tt in}  & {\em i\-Cuts} & (int) cuts for segment finding \-: (max\-Mult, min\-Pixels, min\-Dist) \\
\hline
\mbox{\tt in}  & {\em d\-Cuts} & (double) cuts for segment finding \-: (max\-Res\-X\-Y, max\-Res\-Z, max\-Chi2, max\-Svar, max\-Gap) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
number of segments found
\end{DoxyReturn}

\begin{DoxyItemize}
\item max\-Mult\-: max. number of macro pixels in bin for seeds
\item min\-Pixels\-: min. number of pixels for seeding macro pixel
\item min\-Dist\-: min. distance of seeding pair in X\-Y (in macro pixels)
\item max\-Res\-X\-Y\-: max. X\-Y residuum (distance perpendicular to seed (line), $\sim$ macro pixel size)
\item max\-Res\-Z\-: max. Z residuum
\item max\-Chi2\-: max Chi2 from residuals and spread inside macro pixels
\item max\-Svar\-: max. (rel.) variance in S of macro pixels (sparse track\-: up to 0.\-25, uniform\-: 1./12.)
\item max\-Gap\-: max. gap (in arclength) 
\end{DoxyItemize}

References marlintpc\-::tp\-\_\-\-Pixel\-Road\-::get\-Chi2(), marlintpc\-::tp\-\_\-\-Pixel\-Road\-::get\-Macro\-Pixels(), marlintpc\-::tp\-\_\-\-Pixel\-Road\-::get\-Num\-M\-Pix(), and marlintpc\-::tp\-\_\-\-Pixel\-Road\-::is\-Valid().



Referenced by marlintpc\-::\-Time\-Pix\-Local\-Road\-Search\-Processor\-::process\-Event().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Time\-Pix\-Local\-Road\-Search\-Processor.\-h\item 
Time\-Pix\-Local\-Road\-Search\-Processor.\-cc\end{DoxyCompactItemize}
