\section{overlay\-:\-:Join\-Events Class Reference}
\label{classoverlay_1_1JoinEvents}\index{overlay\-::\-Join\-Events@{overlay\-::\-Join\-Events}}


\doxyref{Join\-Events}{p.}{classoverlay_1_1JoinEvents} processor allows join events (based on the run number and event number) from a different file.  




{\ttfamily \#include $<$Join\-Events.\-h$>$}

Inheritance diagram for overlay\-:\-:Join\-Events\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classoverlay_1_1JoinEvents}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual marlin\-::\-Processor $\ast$ {\bfseries new\-Processor} ()\label{classoverlay_1_1JoinEvents_a97d10424a510fd3fcb1b8672d75b7dca}

\item 
virtual const std\-::string \& {\bfseries name} () const \label{classoverlay_1_1JoinEvents_a315f36f8a5038bdff0dbd33ced1d8d7d}

\item 
virtual void {\bf init} ()\label{classoverlay_1_1JoinEvents_a0414c295aee0672252f6661075b3e3ce}

\begin{DoxyCompactList}\small\item\em Open the L\-C\-I\-O input file. \end{DoxyCompactList}\item 
virtual void {\bf process\-Run\-Header} (L\-C\-Run\-Header $\ast$run)\label{classoverlay_1_1JoinEvents_abfb7f39b6cf4d19807d3e8262aea4c93}

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

\begin{DoxyCompactList}\small\item\em Search for the corresponding event and add all collections to the current event. \end{DoxyCompactList}\item 
virtual void {\bfseries check} (L\-C\-Event $\ast$evt)\label{classoverlay_1_1JoinEvents_a2f319deffa7180fcf2787f8a3bd6278f}

\item 
virtual void {\bf end} ()\label{classoverlay_1_1JoinEvents_ac7017cff9fe52176fa8f1bd4d9816a85}

\begin{DoxyCompactList}\small\item\em Close the input file. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-file\-Name}
\begin{DoxyCompactList}\small\item\em Input file names. \end{DoxyCompactList}\item 
std\-::string {\bf \-\_\-post\-Fix}
\begin{DoxyCompactList}\small\item\em post fix for collection names. \end{DoxyCompactList}\item 
L\-C\-Reader $\ast$ {\bfseries \-\_\-lc\-Reader}\label{classoverlay_1_1JoinEvents_aa56300cec645823f1cb68fcd642d3180}

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

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

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\doxyref{Join\-Events}{p.}{classoverlay_1_1JoinEvents} processor allows join events (based on the run number and event number) from a different file. 

All collections in the event are added to the current event, provided their collection name does not yet exist in the event. If the collection names are the same the user can optionally specify a post fix that is added to all collection names from the joined event in order to avoid name clashes.

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

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Join\-Events.\-h}{p.}{JoinEvents_8h_source} 844 2012-\/09-\/07 11\-:21\-:12\-Z gaede 
\end{DoxyParagraph}



\begin{DoxyParams}{Parameters}
{\em Input\-File\-Name} & the names (with absolute or relative pathes) of the one input file that is searched for events with the same run and event number. \\
\hline
{\em Col\-Name\-Post\-Fix} & optional post fix that is added to all collection names \\
\hline
\end{DoxyParams}


\subsection{Member Data Documentation}
\index{overlay\-::\-Join\-Events@{overlay\-::\-Join\-Events}!\-\_\-file\-Name@{\-\_\-file\-Name}}
\index{\-\_\-file\-Name@{\-\_\-file\-Name}!overlay::JoinEvents@{overlay\-::\-Join\-Events}}
\subsubsection[{\-\_\-file\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string overlay\-::\-Join\-Events\-::\-\_\-file\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classoverlay_1_1JoinEvents_af8bf7cd1424adaf6e6ffcfba90e8f495}


Input file names. 

\index{overlay\-::\-Join\-Events@{overlay\-::\-Join\-Events}!\-\_\-post\-Fix@{\-\_\-post\-Fix}}
\index{\-\_\-post\-Fix@{\-\_\-post\-Fix}!overlay::JoinEvents@{overlay\-::\-Join\-Events}}
\subsubsection[{\-\_\-post\-Fix}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string overlay\-::\-Join\-Events\-::\-\_\-post\-Fix\hspace{0.3cm}{\ttfamily [protected]}}\label{classoverlay_1_1JoinEvents_a2f658eccf46be6e6862b56f56dcd5e57}


post fix for collection names. 



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