\section{marlintpc\-:\-:Time\-Pix\-Map\-Handler\-Processor Class Reference}
\label{classmarlintpc_1_1TimePixMapHandlerProcessor}\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}


reads in conditionsdata objects Time\-Pix\-Mode\-Map and Time\-Pix\-Status\-Map and unifies them to the Time\-Pix\-Map  




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

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

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

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

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

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

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

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static tpcconddata\-::\-Time\-Pix\-Map $\ast$ {\bf get\-Time\-Pix\-Map} ()
\begin{DoxyCompactList}\small\item\em This is the function that can be called from all following processors. \end{DoxyCompactList}\item 
static {\bf Time\-Pix\-Map\-Handler\-Processor} $\ast$ {\bf register\-High\-T\-O\-T\-Processor} ({\bf Time\-Pix\-High\-T\-O\-T\-Analyser\-Processor} $\ast$htp)
\begin{DoxyCompactList}\small\item\em This function is called within the \doxyref{Time\-Pix\-High\-T\-O\-T\-Analyser\-Processor}{p.}{classmarlintpc_1_1TimePixHighTOTAnalyserProcessor}. \end{DoxyCompactList}\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 \-\_\-mode\-Map\-Col\-Name}
\item 
std\-::string {\bf \-\_\-status\-Map\-Col\-Name}
\item 
int {\bf \-\_\-chip\-I\-D}
\item 
int {\bf \-\_\-output\-Is\-Transient}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a5c99d8f0fb0f20930c2431fa566a7b07}

\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 
bool {\bf is\-First\-Collection}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a23f549f36d7e121849b96a4653f806b2}

\begin{DoxyCompactList}\small\item\em is true till the first output collection is writen to an event used to store parameters only in the first collection (also done, if collection is transient) \end{DoxyCompactList}\item 
int {\bf \-\_\-n\-Run}
\item 
double {\bf a}
\item 
double {\bf b}
\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
static \\*
{\bf tpcconddata\-::\-Time\-Pix\-Map\-Listener} $\ast$ {\bf \-\_\-time\-Pix\-Map\-Listener} = 0\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a2d45a731b3659bad1df11a6301b1c837}

\begin{DoxyCompactList}\small\item\em pointer to Time\-Pix\-Map\-Listener Time\-Pix\-Map\-Listener controlls the Time\-Pix\-Map. \end{DoxyCompactList}\item 
static \\*
{\bf Time\-Pix\-High\-T\-O\-T\-Analyser\-Processor} $\ast$ {\bf \-\_\-\-High\-T\-O\-T\-Processor} = 0\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a5623bbe8eb8f3e4e40e8bea3766fe340}

\begin{DoxyCompactList}\small\item\em pointer to \doxyref{Time\-Pix\-High\-T\-O\-T\-Analyser\-Processor}{p.}{classmarlintpc_1_1TimePixHighTOTAnalyserProcessor} in case that this processor is active, the Time\-Pix\-Map must be corrected further by this processor on event to event basis. \end{DoxyCompactList}\item 
static {\bf Time\-Pix\-Map\-Handler\-Processor} $\ast$ {\bf \-\_\-\-Map\-Handler\-Processor} = 0\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a252e2e21dd0dfa8cfd6f3174ae388e6d}

\begin{DoxyCompactList}\small\item\em pointer to \doxyref{Time\-Pix\-Map\-Handler\-Processor}{p.}{classmarlintpc_1_1TimePixMapHandlerProcessor} needed as return value for register\-High\-T\-O\-T\-Processor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class {\bfseries Time\-Pix\-High\-T\-O\-T\-Analyser\-Processor}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_ae4e6b278b1de6b38aaacb593da54018e}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
reads in conditionsdata objects Time\-Pix\-Mode\-Map and Time\-Pix\-Status\-Map and unifies them to the Time\-Pix\-Map 

\subparagraph*{Input -\/ Prerequisites}

a collection of Time\-Pix\-Mode\-Map and a collection of Time\-Pix\-Status\-Map

\subparagraph*{Output}

Time\-Pix\-Map


\begin{DoxyParams}{Parameters}
{\em Data\-Collection\-Name} & Name of the collection containing the data \\
\hline
{\em Hit\-Collection\-Name} & Name of the collection containing the Tracker\-Hits \\
\hline
{\em Mode\-Map\-Collection\-Name} & Name of mode map collection \\
\hline
{\em Set\-Output\-Transient} & If not 0 the output collection is set transient \\
\hline
{\em Set\-Output\-Transient} & If not 0 the output collection is set transient\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Simone Zimmermann 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}!get\-Time\-Pix\-Map@{get\-Time\-Pix\-Map}}
\index{get\-Time\-Pix\-Map@{get\-Time\-Pix\-Map}!marlintpc::TimePixMapHandlerProcessor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}
\subsubsection[{get\-Time\-Pix\-Map}]{\setlength{\rightskip}{0pt plus 5cm}Time\-Pix\-Map $\ast$ marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor\-::get\-Time\-Pix\-Map (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_ae229fe0d9e967a34f4e3616fc7e01140}


This is the function that can be called from all following processors. 

It returns the current Time\-Pix\-Map. 

References \-\_\-\-High\-T\-O\-T\-Processor, \-\_\-time\-Pix\-Map\-Listener, and marlintpc\-::\-Time\-Pix\-High\-T\-O\-T\-Analyser\-Processor\-::get\-Updated\-Time\-Pix\-Map().



Referenced by marlintpc\-::\-Time\-Pix\-Digitisation\-Processor\-::init().

\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}!register\-High\-T\-O\-T\-Processor@{register\-High\-T\-O\-T\-Processor}}
\index{register\-High\-T\-O\-T\-Processor@{register\-High\-T\-O\-T\-Processor}!marlintpc::TimePixMapHandlerProcessor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}
\subsubsection[{register\-High\-T\-O\-T\-Processor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Time\-Pix\-Map\-Handler\-Processor} $\ast$ marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor\-::register\-High\-T\-O\-T\-Processor (
\begin{DoxyParamCaption}
\item[{{\bf Time\-Pix\-High\-T\-O\-T\-Analyser\-Processor} $\ast$}]{htp}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a46917a27ce5928b046b545a8df8a8ced}


This function is called within the \doxyref{Time\-Pix\-High\-T\-O\-T\-Analyser\-Processor}{p.}{classmarlintpc_1_1TimePixHighTOTAnalyserProcessor}. 

It returns the Nullpointer if there is no \doxyref{Time\-Pix\-Map\-Handler\-Processor}{p.}{classmarlintpc_1_1TimePixMapHandlerProcessor} active in the reconstruction chain. It initializes the \-\_\-\-High\-T\-O\-T\-Processor pointer. If this pointer has been initialised, \doxyref{get\-Time\-Pix\-Map()}{p.}{classmarlintpc_1_1TimePixMapHandlerProcessor_ae229fe0d9e967a34f4e3616fc7e01140} returns the Time\-Pix\-Map of the current event corrected to high T\-O\-T values 

\subsection{Member Data Documentation}
\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}!\-\_\-chip\-I\-D@{\-\_\-chip\-I\-D}}
\index{\-\_\-chip\-I\-D@{\-\_\-chip\-I\-D}!marlintpc::TimePixMapHandlerProcessor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}
\subsubsection[{\-\_\-chip\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor\-::\-\_\-chip\-I\-D\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_afb4649fcfa965cb118e9711abc79535f}

\begin{DoxyItemize}
\item number of current chip, 0 if single chip 
\end{DoxyItemize}\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}!\-\_\-input\-Col\-Name@{\-\_\-input\-Col\-Name}}
\index{\-\_\-input\-Col\-Name@{\-\_\-input\-Col\-Name}!marlintpc::TimePixMapHandlerProcessor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}
\subsubsection[{\-\_\-input\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor\-::\-\_\-input\-Col\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a11fc1a894f5f5d773a6957492e0df3d7}

\begin{DoxyItemize}
\item the name of the input collection 
\end{DoxyItemize}\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}!\-\_\-mode\-Map\-Col\-Name@{\-\_\-mode\-Map\-Col\-Name}}
\index{\-\_\-mode\-Map\-Col\-Name@{\-\_\-mode\-Map\-Col\-Name}!marlintpc::TimePixMapHandlerProcessor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}
\subsubsection[{\-\_\-mode\-Map\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor\-::\-\_\-mode\-Map\-Col\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_af72057ef272f149cfae7617e31eada2a}

\begin{DoxyItemize}
\item the name of the mode map collection 
\end{DoxyItemize}\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}!\-\_\-n\-Run@{\-\_\-n\-Run}}
\index{\-\_\-n\-Run@{\-\_\-n\-Run}!marlintpc::TimePixMapHandlerProcessor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}
\subsubsection[{\-\_\-n\-Run}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor\-::\-\_\-n\-Run\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a45ba6ab0a9aa7a1ddf29d8199dc1d15d}

\begin{DoxyItemize}
\item counts the processed runs 
\end{DoxyItemize}\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}!\-\_\-output\-Col\-Name@{\-\_\-output\-Col\-Name}}
\index{\-\_\-output\-Col\-Name@{\-\_\-output\-Col\-Name}!marlintpc::TimePixMapHandlerProcessor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}
\subsubsection[{\-\_\-output\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor\-::\-\_\-output\-Col\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a60897ff27378f4d3cf9d9d74ed7ecc15}

\begin{DoxyItemize}
\item the name of the output collection 
\end{DoxyItemize}\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}!\-\_\-status\-Map\-Col\-Name@{\-\_\-status\-Map\-Col\-Name}}
\index{\-\_\-status\-Map\-Col\-Name@{\-\_\-status\-Map\-Col\-Name}!marlintpc::TimePixMapHandlerProcessor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}
\subsubsection[{\-\_\-status\-Map\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor\-::\-\_\-status\-Map\-Col\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a0b9ff50ed79ade876d24c95ba5a690f4}

\begin{DoxyItemize}
\item the name of the correction to mode map collection 
\end{DoxyItemize}\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}!a@{a}}
\index{a@{a}!marlintpc::TimePixMapHandlerProcessor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}
\subsubsection[{a}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor\-::a\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_a9414ffaa82d69d4de10e5918204c9bd3}

\begin{DoxyItemize}
\item parameter of axis of projection y = a$\ast$x + b 
\end{DoxyItemize}\index{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}!b@{b}}
\index{b@{b}!marlintpc::TimePixMapHandlerProcessor@{marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor}}
\subsubsection[{b}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::\-Time\-Pix\-Map\-Handler\-Processor\-::b\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TimePixMapHandlerProcessor_ad1cd4d8c1df00a55329d50f2f2ed2179}

\begin{DoxyItemize}
\item parameter of axis of projection y = a$\ast$x + b 
\end{DoxyItemize}

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