\section{marlin\-:\-:Test\-Processor Class Reference}
\label{classmarlin_1_1TestProcessor}\index{marlin\-::\-Test\-Processor@{marlin\-::\-Test\-Processor}}


Simple processor for testing.  




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

Inheritance diagram for marlin\-:\-:Test\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlin_1_1TestProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf Processor} $\ast$ {\bf new\-Processor} ()
\begin{DoxyCompactList}\small\item\em Return a new instance of the processor. \end{DoxyCompactList}\item 
virtual void {\bf init} ()
\begin{DoxyCompactList}\small\item\em Called at the begin of the job before anything is read. \end{DoxyCompactList}\item 
virtual void {\bf process\-Run\-Header} (L\-C\-Run\-Header $\ast$run)\label{classmarlin_1_1TestProcessor_ad472da387b0d41f925685473527b6dda}

\begin{DoxyCompactList}\small\item\em Called for every run. \end{DoxyCompactList}\item 
virtual void {\bf process\-Event} (L\-C\-Event $\ast$evt)\label{classmarlin_1_1TestProcessor_a84b1081d4d528e7feb7b9482aeeb2528}

\begin{DoxyCompactList}\small\item\em Called for every event -\/ the working horse. \end{DoxyCompactList}\item 
virtual void {\bf check} (L\-C\-Event $\ast$evt)
\begin{DoxyCompactList}\small\item\em Called for every event -\/ right after \doxyref{process\-Event()}{p.}{classmarlin_1_1TestProcessor_a84b1081d4d528e7feb7b9482aeeb2528} has been called for this processor. \end{DoxyCompactList}\item 
virtual void {\bf end} ()\label{classmarlin_1_1TestProcessor_adf788e37e471e1e6ff8a59c4db0afae0}

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf print\-End\-Message} () const 
\begin{DoxyCompactList}\small\item\em Test method for const. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
int {\bfseries \-\_\-n\-Run}\label{classmarlin_1_1TestProcessor_a78908bd5f476c766d7708316d1cdcd0d}

\item 
int {\bfseries \-\_\-n\-Evt}\label{classmarlin_1_1TestProcessor_a1c0b5fd8f57a8aadfc7cd9765e8063ef}

\item 
bool {\bfseries \-\_\-do\-Calibration}\label{classmarlin_1_1TestProcessor_a6efad1202492663ae5a3e0b818562614}

\item 
int {\bfseries \-\_\-n\-Loops}\label{classmarlin_1_1TestProcessor_ab464599520cb03d4d806818ae53a094f}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Simple processor for testing. 

Writes something to stdout for every callbackmethod.

\subparagraph*{Input -\/ Prerequisites}

none

\subparagraph*{Output}

none

\begin{DoxyAuthor}{Author}
F. Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Test\-Processor.\-h}{p.}{TestProcessor_8h_source},v 1.\-7 2007-\/05-\/23 13\-:12\-:21 gaede Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{marlin\-::\-Test\-Processor@{marlin\-::\-Test\-Processor}!check@{check}}
\index{check@{check}!marlin::TestProcessor@{marlin\-::\-Test\-Processor}}
\subsubsection[{check}]{\setlength{\rightskip}{0pt plus 5cm}void marlin\-::\-Test\-Processor\-::check (
\begin{DoxyParamCaption}
\item[{L\-C\-Event $\ast$}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classmarlin_1_1TestProcessor_a83d4a79442de2deef8185fb0231e8d67}


Called for every event -\/ right after \doxyref{process\-Event()}{p.}{classmarlin_1_1TestProcessor_a84b1081d4d528e7feb7b9482aeeb2528} has been called for this processor. 

Use to check processing and/or produce check plots. 

Reimplemented from {\bf marlin\-::\-Processor} \doxyref{}{p.}{classmarlin_1_1Processor_a23181ebcd9b4bb549b77710eb8a5f080}.

\index{marlin\-::\-Test\-Processor@{marlin\-::\-Test\-Processor}!init@{init}}
\index{init@{init}!marlin::TestProcessor@{marlin\-::\-Test\-Processor}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void marlin\-::\-Test\-Processor\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classmarlin_1_1TestProcessor_a642eda7da954ecd815df99f25a1c946b}


Called at the begin of the job before anything is read. 

Use to initialize the processor, e.\-g. book histograms. 

Reimplemented from {\bf marlin\-::\-Processor} \doxyref{}{p.}{classmarlin_1_1Processor_a8194fb92a428de40ea9d891c8c8aed6b}.



References marlin\-::\-Processor\-::name(), and marlin\-::\-Processor\-::parameters().

\index{marlin\-::\-Test\-Processor@{marlin\-::\-Test\-Processor}!new\-Processor@{new\-Processor}}
\index{new\-Processor@{new\-Processor}!marlin::TestProcessor@{marlin\-::\-Test\-Processor}}
\subsubsection[{new\-Processor}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf Processor}$\ast$ marlin\-::\-Test\-Processor\-::new\-Processor (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classmarlin_1_1TestProcessor_a83442912569e02d8c9f089ce4d57ab24}


Return a new instance of the processor. 

Has to be implemented by subclasses. 

Implements {\bf marlin\-::\-Processor} \doxyref{}{p.}{classmarlin_1_1Processor_a75ba6b66644e5273a896053df31aac4d}.

\index{marlin\-::\-Test\-Processor@{marlin\-::\-Test\-Processor}!print\-End\-Message@{print\-End\-Message}}
\index{print\-End\-Message@{print\-End\-Message}!marlin::TestProcessor@{marlin\-::\-Test\-Processor}}
\subsubsection[{print\-End\-Message}]{\setlength{\rightskip}{0pt plus 5cm}void marlin\-::\-Test\-Processor\-::print\-End\-Message (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlin_1_1TestProcessor_ae06e2214542f63e515e4a41375542329}


Test method for const. 



Referenced by end().



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