\section{Event\-Selector Class Reference}
\label{classEventSelector}\index{Event\-Selector@{Event\-Selector}}


Simple event selector processor.  




{\ttfamily \#include $<$Event\-Selector.\-h$>$}

Inheritance diagram for Event\-Selector\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classEventSelector}
\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{classEventSelector_a957277961f59d3f35c3d8ba18e3b5ece}

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

\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.}{classEventSelector_a8c509a70f1c9d0a2e0f9ecc942cf946e} has been called for this processor. \end{DoxyCompactList}\item 
virtual void {\bf end} ()\label{classEventSelector_a775edc63f26deab37f749f87c627f502}

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
Int\-Vec {\bf \-\_\-evt\-List}\label{classEventSelector_a9696fde3375a3469cec8e913caef480f}

\begin{DoxyCompactList}\small\item\em Input collection name. \end{DoxyCompactList}\item 
S\-E\-T {\bfseries \-\_\-evt\-Set}\label{classEventSelector_a8c370a94ab4296d5263b767936948299}

\item 
int {\bfseries \-\_\-n\-Run}\label{classEventSelector_a05ba53d22888c55e0454c37bdda74ec5}

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

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Simple event selector processor. 

Returns true if the given event was specified in the Even\-List parameter.

\subparagraph*{Output}

returns true or false


\begin{DoxyParams}{Parameters}
{\em Event\-List} & pairs of\-: Event\-Number Run\-Number\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
F. Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
\$\-Id\-:\$ 
\end{DoxyVersion}


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


Called for every event -\/ right after \doxyref{process\-Event()}{p.}{classEventSelector_a8c509a70f1c9d0a2e0f9ecc942cf946e} 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{Event\-Selector@{Event\-Selector}!init@{init}}
\index{init@{init}!EventSelector@{Event\-Selector}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void Event\-Selector\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classEventSelector_a85f57085ea8afc77183e133f9a9538c4}


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}.

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


Return a new instance of the processor. 

Has to be implemented by subclasses. 

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



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