\section{overlay\-:\-:Overlay\-Events Class Reference}
\label{classoverlay_1_1OverlayEvents}\index{overlay\-::\-Overlay\-Events@{overlay\-::\-Overlay\-Events}}


\doxyref{Overlay\-Events}{p.}{classoverlay_1_1OverlayEvents} processor allows to merge a number of events in a L\-C\-I\-O file into 1 event.  




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

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

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

\item 
virtual void {\bfseries modify\-Event} (L\-C\-Event $\ast$evt)\label{classoverlay_1_1OverlayEvents_a898a3c1142b010a8db17f3a755b50af9}

\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{classoverlay_1_1OverlayEvents_a84e1c4bcc54bcb502c3363327247a2b2}

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

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

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bfseries \-\_\-outfile\-Name}\label{classoverlay_1_1OverlayEvents_a5d0802c0b805600006348d9ccc8843d6}

\item 
L\-C\-Event\-Impl $\ast$ {\bfseries out\-Evt}\label{classoverlay_1_1OverlayEvents_a44490a48b3c44980e626afd06314defe}

\item 
double {\bfseries \-\_\-exp\-B\-G}\label{classoverlay_1_1OverlayEvents_aa7bb50d472d6c9370e9622c6f68b4b7f}

\item 
String\-Vec {\bfseries \-\_\-merged\-Collection\-Names}\label{classoverlay_1_1OverlayEvents_a64f6c187a9fd78ca331aec0bcca8c5a1}

\item 
L\-C\-Writer $\ast$ {\bfseries \-\_\-lc\-Writer}\label{classoverlay_1_1OverlayEvents_ada48665fbce97d4f9160b974ab3e07e1}

\item 
int {\bfseries \-\_\-active\-Run\-Number}\label{classoverlay_1_1OverlayEvents_a623a2010025d01fda76543d070699db6}

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

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

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\doxyref{Overlay\-Events}{p.}{classoverlay_1_1OverlayEvents} processor allows to merge a number of events in a L\-C\-I\-O file into 1 event. 

See Merger.\-cc for the collection types that can be merged.

\begin{DoxyAuthor}{Author}
D. Kamai, Tohoku univ.
\end{DoxyAuthor}

\begin{DoxyParams}{Parameters}
{\em merged\-Collection\-Names} & (String\-Vec) The names (with absolute or relative pathes) of collection which will be merged.(not type of colletion) \\
\hline
{\em Output\-File\-Name} & (strign) The name of output file.\textbackslash{} \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{overlay\-::\-Overlay\-Events@{overlay\-::\-Overlay\-Events}!init@{init}}
\index{init@{init}!overlay::OverlayEvents@{overlay\-::\-Overlay\-Events}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void overlay\-::\-Overlay\-Events\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classoverlay_1_1OverlayEvents_a90e1c9b7310f4edf4eb02ae57436b1f4}


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

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

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