\section{marlintpc\-:\-:Clock\-Sync\-Processor Class Reference}
\label{classmarlintpc_1_1ClockSyncProcessor}\index{marlintpc\-::\-Clock\-Sync\-Processor@{marlintpc\-::\-Clock\-Sync\-Processor}}


This Processor shifts hits of the R\-C\-U which is out of sync.  




{\ttfamily \#include $<$Clock\-Sync\-Processor.\-h$>$}

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

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

\item 
virtual void {\bfseries process\-Run\-Header} (E\-V\-E\-N\-T\-::\-L\-C\-Run\-Header $\ast$run)\label{classmarlintpc_1_1ClockSyncProcessor_a1c1af4fb5d0f14fa4e949c3063a9a0b7}

\item 
virtual void {\bfseries process\-Event} (E\-V\-E\-N\-T\-::\-L\-C\-Event $\ast$evt)\label{classmarlintpc_1_1ClockSyncProcessor_a38c2490d4a09e92b13e9ed548cf3b301}

\item 
virtual void {\bfseries check} (E\-V\-E\-N\-T\-::\-L\-C\-Event $\ast$evt)\label{classmarlintpc_1_1ClockSyncProcessor_a5ce60be95646729f2f06cb6f00d1d7ab}

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

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

\begin{DoxyCompactList}\small\item\em Name of the input collection. \end{DoxyCompactList}\item 
std\-::string {\bfseries \-\_\-output\-Collection\-Name}\label{classmarlintpc_1_1ClockSyncProcessor_a669e4e581f4be9d6f1c0fb7645f2b6a5}

\item 
std\-::string {\bfseries \-\_\-channel\-Mapping\-Col\-Name}\label{classmarlintpc_1_1ClockSyncProcessor_a79c5657a0fab2b9684b332a494721d14}

\item 
bool {\bfseries \-\_\-output\-Hits\-Persistent}\label{classmarlintpc_1_1ClockSyncProcessor_af8304b5d30249a2578e511d71d816443}

\item 
int {\bfseries \-\_\-rcu\-Out\-Of\-Sync}\label{classmarlintpc_1_1ClockSyncProcessor_a629315c0ef0546d60fafa3275c07bb0f}

\item 
double {\bfseries \-\_\-reduce\-Time}\label{classmarlintpc_1_1ClockSyncProcessor_a4846b4dba8031fa1aa0fd8268d451e4c}

\item 
double {\bfseries \-\_\-delay\-Time}\label{classmarlintpc_1_1ClockSyncProcessor_a84b9f118c9028ebca5f67edd2e5ce6fb}

\item 
double {\bfseries \-\_\-cut}\label{classmarlintpc_1_1ClockSyncProcessor_a4c948ebf1582e42dea8df27af83c9a95}

\item 
float {\bfseries \-\_\-drift\-Velocity}\label{classmarlintpc_1_1ClockSyncProcessor_a0f7ea944e1c106f92ec8685b39eae245}

\item 
float {\bf \-\_\-drift\-Velocity\-Override}\label{classmarlintpc_1_1ClockSyncProcessor_a9a57442c7d67ae83bac7db3262252ab6}

\begin{DoxyCompactList}\small\item\em drift velocity in [mm/mu s] \end{DoxyCompactList}\item 
std\-::string {\bf \-\_\-input\-T\-P\-C\-Conditions\-Collection\-Name}\label{classmarlintpc_1_1ClockSyncProcessor_acf99bcf5b912fd98042918403a8942d0}

\begin{DoxyCompactList}\small\item\em the name of the collection the T\-P\-C conditions are stored with \end{DoxyCompactList}\item 
{\bf T\-P\-C\-Conditions\-Listener} $\ast$ {\bfseries \-\_\-tpc\-Conditions\-Listener}\label{classmarlintpc_1_1ClockSyncProcessor_a39fa94cb8cf30ee673dccd2f9385a905}

\item 
{\bf Channel\-Mapping\-Listener} $\ast$ {\bfseries \-\_\-channel\-Mapping\-Listener}\label{classmarlintpc_1_1ClockSyncProcessor_a6820b8f3e6467c928b121398065da97d}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
This Processor shifts hits of the R\-C\-U which is out of sync. 

Therefore, it calculates the difference of the hit time and the hit time of the reference row on a reference (which is hard coded to be 7). Then the five rows above the reference row of the

\begin{DoxyAuthor}{Author}
F. Mueller, D\-E\-S\-Y 
\end{DoxyAuthor}


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