\section{marlintpc\-:\-:Channel\-Mapping\-Processor Class Reference}
\label{classmarlintpc_1_1ChannelMappingProcessor}\index{marlintpc\-::\-Channel\-Mapping\-Processor@{marlintpc\-::\-Channel\-Mapping\-Processor}}


Channel Mapping processor of the Marlin\-T\-P\-C package.  




{\ttfamily \#include $<$Channel\-Mapping\-Processor.\-h$>$}

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

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

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

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

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

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

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

\begin{DoxyCompactList}\small\item\em the name of the input collection \end{DoxyCompactList}\item 
std\-::string {\bf \-\_\-output\-Col\-Name}\label{classmarlintpc_1_1ChannelMappingProcessor_a7fb0958569d9183fc61757999ef06468}

\begin{DoxyCompactList}\small\item\em the name of the output collection \end{DoxyCompactList}\item 
std\-::string {\bf \-\_\-channel\-Mapping\-Col\-Name}\label{classmarlintpc_1_1ChannelMappingProcessor_a5982a4de4024dde12c66a7b1a3d5149a}

\begin{DoxyCompactList}\small\item\em the name of the Channel\-Mapping collection \end{DoxyCompactList}\item 
bool {\bf \-\_\-output\-Is\-Persistent}\label{classmarlintpc_1_1ChannelMappingProcessor_aa383e630d5e805d9a486133fd2ebf1eb}

\begin{DoxyCompactList}\small\item\em set the persistency flag of the output collection \end{DoxyCompactList}\item 
int {\bf \-\_\-missing\-Conditions\-Data\-Override\-Timespan}\label{classmarlintpc_1_1ChannelMappingProcessor_a54a0e3ddad4a04d47538573fb101f9ce}

\begin{DoxyCompactList}\small\item\em The timepan in seconds for which the last valid collection will be used if no conditions data are available via L\-C\-C\-D. \end{DoxyCompactList}\item 
bool {\bfseries \-\_\-remove\-Channels\-Without\-Mapping}\label{classmarlintpc_1_1ChannelMappingProcessor_a8d1851b2855d73790f8287c84ae9db98}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Channel Mapping processor of the Marlin\-T\-P\-C package. 

This processor translates the channel mapping from hardware channel and readout group to gear pad I\-D and module I\-D. Mapping is usually provided via L\-C\-C\-D (default\-: database, also simple file possible).

\subparagraph*{Input -\/ Prerequisites}

\begin{DoxyItemize}
\item A collection of Tracker\-Pulses \item A collection with the mapping (A\-D\-C\-Channel\-Mapping) \subparagraph*{Output}\end{DoxyItemize}
Collection of Tracker\-Pulses (with different name).


\begin{DoxyParams}{Parameters}
{\em Input\-Collection\-Name} & Name of input data collection (default\-: T\-P\-C\-Pulses) \\
\hline
{\em Output\-Collection\-Name} & Name of output data collection (default\-: T\-P\-C\-Pulses\-Mapped) \\
\hline
{\em Write\-Output\-To\-Storage\-:bool} & output collection will be written if set to true (which is the default) \\
\hline
{\em Channel\-Mapping\-Collection\-Name} & Name of the collection containing the channel mapping (default\-: T\-P\-C\-Channel\-Mapping) \\
\hline
{\em Remove\-Channels\-Without\-Mapping} & If \char`\"{}true\char`\"{}, found signals without mapping in the conditions data will be removed from collection, otherwise a \doxyref{tpcconddata\-::\-Cond\-Data\-Not\-Available\-Exception}{p.}{classtpcconddata_1_1CondDataNotAvailableException} exception is thrown an processing will stop \\
\hline
{\em Missing\-Conditions\-Data\-Override\-Timespan} & {\ttfamily optional} Sets the time in seconds that missing conditions data will be ignored by using the last valid conditions data collection (optional parameter, if not set, processing stops if no conditions data available for event time).\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
originally M. Killenberg, C\-E\-R\-N; repackaged by R. Diener, D\-E\-S\-Y; modified by Ch. Rosemann, D\-E\-S\-Y 
\end{DoxyAuthor}


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