\section{marlin\-:\-:Time\-Pix\-Reader\-Processor Class Reference}
\label{classmarlin_1_1TimePixReaderProcessor}\index{marlin\-::\-Time\-Pix\-Reader\-Processor@{marlin\-::\-Time\-Pix\-Reader\-Processor}}


Reads Time\-Pix raw data\-: matrix of 256 x 256 values stored in a .dat file\par
 Writes data to Tracker\-Raw\-Data\-Collection named Time\-Pix\-Raw\-Data Currelty only work for one chip.  




{\ttfamily \#include $<$Time\-Pix\-Reader\-Processor.\-h$>$}

Inheritance diagram for marlin\-:\-:Time\-Pix\-Reader\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlin_1_1TimePixReaderProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf Time\-Pix\-Reader\-Processor} $\ast$ {\bfseries new\-Processor} ()\label{classmarlin_1_1TimePixReaderProcessor_a421e9bef9f2efba77896ed14a0f9320e}

\item 
virtual void {\bf read\-Data\-Source} (int num\-Events)\label{classmarlin_1_1TimePixReaderProcessor_af89f9a237845b41c707a55b3765df3a4}

\begin{DoxyCompactList}\small\item\em Creates events with Tracker\-Raw\-Data collections from the Time\-Pix raw data input files and calls all active processors' process\-Event() and process\-Run\-Header Method. \end{DoxyCompactList}\item 
virtual void {\bfseries init} ()\label{classmarlin_1_1TimePixReaderProcessor_a2dfeeedf74e590d144c10fe9eeefbd37}

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

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bfseries \-\_\-output\-Col\-Name}\label{classmarlin_1_1TimePixReaderProcessor_a858cfab5b0ce7de65db44496ebc175a2}

\item 
bool {\bfseries \-\_\-is\-First\-Event}\label{classmarlin_1_1TimePixReaderProcessor_ae10bddc3ff275504526d6702449c2a90}

\item 
std\-::string {\bfseries \-\_\-list\-Name}\label{classmarlin_1_1TimePixReaderProcessor_addcbd3ba230817ea6aeffa091b6f3c89}

\item 
std\-::ifstream {\bfseries \-\_\-infile}\label{classmarlin_1_1TimePixReaderProcessor_a0132566b20b34e5682a905d7f42a1f37}

\item 
int {\bfseries \-\_\-chip\-I\-D}\label{classmarlin_1_1TimePixReaderProcessor_a8d0a2edfa322be99c40922ab3caa1c35}

\item 
int {\bfseries \-\_\-run\-Nr}\label{classmarlin_1_1TimePixReaderProcessor_a7b5a175a2653bf52590bf3b6f2f7d791}

\item 
int {\bfseries \-\_\-evt\-Nr}\label{classmarlin_1_1TimePixReaderProcessor_ae1829a6a043ce722a8ef7127b114ae1b}

\item 
int {\bfseries \-\_\-n\-Row}\label{classmarlin_1_1TimePixReaderProcessor_a9f0e58f461c705cb8b21acb15a8c15f4}

\item 
int {\bfseries \-\_\-n\-Column}\label{classmarlin_1_1TimePixReaderProcessor_a6c21ba5e342aeb5d4568878aabea9193}

\item 
int {\bfseries \-\_\-max\-Record\-N}\label{classmarlin_1_1TimePixReaderProcessor_a6a5855addac68a623186451aedc7c022}

\item 
std\-::string {\bfseries \-\_\-det\-Name}\label{classmarlin_1_1TimePixReaderProcessor_abaec57c59329e1e035909e00521fdaf3}

\item 
std\-::string {\bfseries \-\_\-data\-Description}\label{classmarlin_1_1TimePixReaderProcessor_a55e4f8a567f7b7be73d74838bdc16099}

\item 
std\-::string {\bfseries \-\_\-sub\-Det\-Name}\label{classmarlin_1_1TimePixReaderProcessor_a2b54f890361295b72b65abfee8372fa4}

\item 
int {\bf \-\_\-output\-Is\-Transient}\label{classmarlin_1_1TimePixReaderProcessor_ab4bc1141e7704af5670b8b4eb776a1c8}

\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}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Reads Time\-Pix raw data\-: matrix of 256 x 256 values stored in a .dat file\par
 Writes data to Tracker\-Raw\-Data\-Collection named Time\-Pix\-Raw\-Data Currelty only work for one chip. 

\subparagraph*{Input -\/ Prerequisites}

Time\-Pix data files.

\subparagraph*{Output}

\begin{DoxyItemize}
\item A runheader \item Events with Time\-Pix\-Raw\-Data (lcio\-::\-Tracker\-Raw\-Data) \item First event contains Time\-Pix\-Mode\-Map collection\end{DoxyItemize}

\begin{DoxyParams}{Parameters}
{\em File\-List\-Name} & Text file with list of input Time\-Pix files \\
\hline
\end{DoxyParams}
\begin{DoxyAttention}{Attention}
\{Time\-Pix file names must be absolute pathes!\} 
\end{DoxyAttention}

\begin{DoxyParams}{Parameters}
{\em Output\-Collection\-Name} & Name of the output collection, defaut {\ttfamily Time\-Pix\-Raw\-Data} \\
\hline
{\em Mode\-Map\-Collection\-Name} & Name of the output mode map collection, default {\ttfamily Time\-Pix\-Map} \\
\hline
{\em Detector\-Name} & Detector name for run header, default \char`\"{}\-T\-P\-C\char`\"{} \\
\hline
{\em Description} & Data descripton for run header, default \char`\"{}no description given\char`\"{} \\
\hline
{\em Sub\-Detector\-Name} & Sub-\/detector name for run header, default \char`\"{}\-Time\-Pix\char`\"{} \\
\hline
{\em Chip\-I\-D} & Interer I\-D number of the chip (lcio\-::\-Tracker\-Raw\-Data\-::\-Cell\-I\-D0), should be 0 as it's only one chip in the current version \\
\hline
{\em Mode} & Operation mode of the chip\-: T\-O\-T, T\-I\-M\-E, M\-M1 (mixed mode with Cell\-I\-D0 = T\-I\-M\-E), M\-M2 (mixed mode with Cell\-I\-D0 = T\-O\-T) \\
\hline
{\em N\-Row} & Number of rows on the chip, default 256 \\
\hline
{\em N\-Column} & Number of columns on the chip, default 256 \\
\hline
{\em Max\-Record\-Number} & Maximum number of events 100000 \\
\hline
{\em Set\-Output\-Transient} & If not 0 the output collection is set transient\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Simone Zimmermann(\-University of Bonn) 
\end{DoxyAuthor}


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