\section{marlintpc\-:\-:Time\-Pix\-Occupancy\-Processor Class Reference}
\label{classmarlintpc_1_1TimePixOccupancyProcessor}\index{marlintpc\-::\-Time\-Pix\-Occupancy\-Processor@{marlintpc\-::\-Time\-Pix\-Occupancy\-Processor}}


Count how many times a pixel has been hit on the Time\-Pix chip.  




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

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

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

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

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

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-input\-Col\-Name}\label{classmarlintpc_1_1TimePixOccupancyProcessor_a6171f5c1c23340a5cc334c7f5eb40599}

\begin{DoxyCompactList}\small\item\em the name of the input collection \end{DoxyCompactList}\item 
std\-::map$<$ int, \\*
A\-I\-D\-A\-::\-I\-Histogram2\-D $\ast$ $>$ {\bf \-\_\-time\-Pix\-Occupancy\-Histos}\label{classmarlintpc_1_1TimePixOccupancyProcessor_afd4d3a53c53a191491df4ee972c82e02}

\begin{DoxyCompactList}\small\item\em $<$ Map with the occupancy histograms, one per chip \end{DoxyCompactList}\item 
int {\bf \-\_\-n\-Columns}\label{classmarlintpc_1_1TimePixOccupancyProcessor_ac2e08f952492054f614534254ea3fe34}

\begin{DoxyCompactList}\small\item\em Number of colmns on the chip. \end{DoxyCompactList}\item 
int {\bf \-\_\-n\-Rows}\label{classmarlintpc_1_1TimePixOccupancyProcessor_a002efe752f5dd8c85e4e06dc6b3a893d}

\begin{DoxyCompactList}\small\item\em Number of rows on the chip. \end{DoxyCompactList}\item 
int {\bf \-\_\-n\-Column\-Modules}\label{classmarlintpc_1_1TimePixOccupancyProcessor_a7a7c1c12e9d80770e5f289b143f810dd}

\begin{DoxyCompactList}\small\item\em Number of modules/chips in a row. \end{DoxyCompactList}\item 
int {\bf \-\_\-n\-Row\-Modules}\label{classmarlintpc_1_1TimePixOccupancyProcessor_a8717e2772f376d06ab58c4759127f422}

\begin{DoxyCompactList}\small\item\em Number of modules/chips in a row. \end{DoxyCompactList}\item 
std\-::vector$<$ int $>$ {\bf \-\_\-chip\-Directions}\label{classmarlintpc_1_1TimePixOccupancyProcessor_a9a6732eb4d01e5da0734e404ebeb1b64}

\begin{DoxyCompactList}\small\item\em Vector containing the position of the zero on the chip. \end{DoxyCompactList}\item 
std\-::vector$<$ int $>$ {\bf \-\_\-chip\-I\-Ds}\label{classmarlintpc_1_1TimePixOccupancyProcessor_a7290a14c58a99ef7509681b226cfd9b7}

\begin{DoxyCompactList}\small\item\em I\-D number(s) of the chip(s) \end{DoxyCompactList}\item 
T\-H2\-I $\ast$ {\bf \-\_\-all\-Chips\-Occupancy}\label{classmarlintpc_1_1TimePixOccupancyProcessor_a09babafb772802221710423eeff848e3}

\begin{DoxyCompactList}\small\item\em Histo showing the occupancy for all chips. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Count how many times a pixel has been hit on the Time\-Pix chip. 

\subparagraph*{Input -\/ Prerequisites}

\begin{DoxyItemize}
\item A Collection of Time\-Pix\-Raw\-Data or Time\-Pix\-Zero\-Suppressed\-Raw\-Data\end{DoxyItemize}
\subparagraph*{Output}

\begin{DoxyItemize}
\item One 2\-D Histogram with the number of hits per pixel for each chip\end{DoxyItemize}

\begin{DoxyParams}{Parameters}
{\em Input\-Col\-Name} & Name of input collection with lcio\-::\-Tracker\-Raw\-Data (default\-: Time\-Pix\-Raw\-Data) \\
\hline
{\em N\-Columns} & Number of colmns on a chip (default\-: 256) \\
\hline
{\em N\-Rows} & Number of rows on a chip (default\-: 256)\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Martin Killenberg, University of Bonn 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\index{marlintpc\-::\-Time\-Pix\-Occupancy\-Processor@{marlintpc\-::\-Time\-Pix\-Occupancy\-Processor}!process\-Event@{process\-Event}}
\index{process\-Event@{process\-Event}!marlintpc::TimePixOccupancyProcessor@{marlintpc\-::\-Time\-Pix\-Occupancy\-Processor}}
\subsubsection[{process\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void marlintpc\-::\-Time\-Pix\-Occupancy\-Processor\-::process\-Event (
\begin{DoxyParamCaption}
\item[{lcio\-::\-L\-C\-Event $\ast$}]{evt}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classmarlintpc_1_1TimePixOccupancyProcessor_a565824a1b8ec48ab5720a941928942cc}
T\-O\-D\-O\-: for(int i\-Find = 0; (i\-Find $<$ \-\_\-chip\-I\-Ds.\-size()) ; i\-Find++) causes warning\-: comparison between signed and unsigned integer expressions

References \-\_\-all\-Chips\-Occupancy, \-\_\-chip\-Directions, \-\_\-chip\-I\-Ds, \-\_\-input\-Col\-Name, \-\_\-n\-Column\-Modules, \-\_\-n\-Columns, \-\_\-n\-Rows, and \-\_\-time\-Pix\-Occupancy\-Histos.



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