\section{Run\-Event\-Processor Class Reference}
\label{classRunEventProcessor}\index{Run\-Event\-Processor@{Run\-Event\-Processor}}


Little tool that copies L\-C\-I\-O files on an event by event and run by run basis, thus fixing files that have incomplete records at the end due to a program crash.  


Inheritance diagram for Run\-Event\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=9.000000cm]{classRunEventProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries Run\-Event\-Processor} (const char $\ast$out\-File\-Name)\label{classRunEventProcessor_abf195a0c68c4661c4bfa6848e6f01fa3}

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

\item 
void {\bfseries process\-Event} ({\bf L\-C\-Event} $\ast$evt)\label{classRunEventProcessor_acec344997bf8292949bfacfedbd69db0}

\item 
void {\bfseries modify\-Run\-Header} ({\bf L\-C\-Run\-Header} $\ast$run)\label{classRunEventProcessor_acad16845b8135a48aa4589ed0cfed433}

\item 
void {\bfseries process\-Run\-Header} ({\bf L\-C\-Run\-Header} $\ast$run)\label{classRunEventProcessor_a410bcee9f4dcd8b666798b727a70775d}

\item 
{\bfseries Run\-Event\-Processor} (const char $\ast$out\-File\-Name, unsigned int n\-Files)\label{classRunEventProcessor_a9fdbce97982861a70fdfb9b15377c188}

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

\item 
void {\bfseries process\-Event} ({\bf L\-C\-Event} $\ast$evt)\label{classRunEventProcessor_acec344997bf8292949bfacfedbd69db0}

\item 
void {\bfseries modify\-Run\-Header} ({\bf L\-C\-Run\-Header} $\ast$run)\label{classRunEventProcessor_acad16845b8135a48aa4589ed0cfed433}

\item 
void {\bfseries process\-Run\-Header} ({\bf L\-C\-Run\-Header} $\ast$run)\label{classRunEventProcessor_a410bcee9f4dcd8b666798b727a70775d}

\item 
{\bfseries Run\-Event\-Processor} (const char $\ast$out\-File\-Name, int split\-Size)\label{classRunEventProcessor_a694dc2695ff11e7b7883759d5ea5fe58}

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

\item 
void {\bfseries process\-Event} ({\bf L\-C\-Event} $\ast$evt)\label{classRunEventProcessor_acec344997bf8292949bfacfedbd69db0}

\item 
void {\bfseries modify\-Run\-Header} ({\bf L\-C\-Run\-Header} $\ast$run)\label{classRunEventProcessor_acad16845b8135a48aa4589ed0cfed433}

\item 
void {\bfseries process\-Run\-Header} ({\bf L\-C\-Run\-Header} $\ast$run)\label{classRunEventProcessor_a410bcee9f4dcd8b666798b727a70775d}

\item 
void {\bfseries process\-Event} ({\bf L\-C\-Event} $\ast$evt)\label{classRunEventProcessor_acec344997bf8292949bfacfedbd69db0}

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

\item 
void {\bfseries process\-Run\-Header} ({\bf L\-C\-Run\-Header} $\ast$run)\label{classRunEventProcessor_a410bcee9f4dcd8b666798b727a70775d}

\item 
void {\bfseries modify\-Run\-Header} ({\bf L\-C\-Run\-Header} $\ast$run)\label{classRunEventProcessor_acad16845b8135a48aa4589ed0cfed433}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
{\bf L\-C\-Writer} $\ast$ {\bfseries lc\-Wrt}\label{classRunEventProcessor_a5f9c5800328dd665e2799f7ff3f4af58}

\item 
int {\bfseries n\-Event}\label{classRunEventProcessor_a2663b664a102e490f89cf796b9fe3a8c}

\item 
unsigned int {\bfseries \-\_\-n\-Files}\label{classRunEventProcessor_aae4928b38877a25c3806e10141f22b02}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Little tool that copies L\-C\-I\-O files on an event by event and run by run basis, thus fixing files that have incomplete records at the end due to a program crash. 

Example of reading events from the file, add sth.

Little tool that splits large L\-C\-I\-O files.

lcio tool for merging files on an event by event and run by run basis

to the event and write it to a new file. This uses the listener mechanism to read the input file (run headers and events) record by record. \par


The \doxyref{Run\-Event\-Processor}{p.}{classRunEventProcessor} class is defined for processing run and event records. This is our analysis module. For simplicity it is defined in the same file -\/ in a real world application it should of course be defined in separate header and source files. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
copyfix.\-cc\item 
lcio\-\_\-merge\-\_\-files.\-cc\item 
lcio\-\_\-split\-\_\-file.\-cc\item 
recjob.\-cc\end{DoxyCompactItemize}
