\section{marlin\-:\-:Std\-Hep\-Reader Class Reference}
\label{classmarlin_1_1StdHepReader}\index{marlin\-::\-Std\-Hep\-Reader@{marlin\-::\-Std\-Hep\-Reader}}


Reads binary Std\-Hep files.  




{\ttfamily \#include $<$Std\-Hep\-Reader.\-h$>$}

Inheritance diagram for marlin\-:\-:Std\-Hep\-Reader\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classmarlin_1_1StdHepReader}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf Std\-Hep\-Reader} $\ast$ {\bf new\-Processor} ()
\begin{DoxyCompactList}\small\item\em Return a new instance of the processor. \end{DoxyCompactList}\item 
virtual void {\bf read\-Data\-Source} (int num\-Events)\label{classmarlin_1_1StdHepReader_ace426bfb29e4ebfe35dccd4422f39917}

\begin{DoxyCompactList}\small\item\em Creates events with M\-C\-Particle collections from the Std\-Hep input file and calls all active processors' \doxyref{process\-Event()}{p.}{classmarlin_1_1Processor_a348ef28b0e6d486575610251e8831022} and process\-Run\-Header Method. \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 end} ()\label{classmarlin_1_1StdHepReader_a2e70850bb9d236f9c836da3f95d340bb}

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up in the inverse order of the \doxyref{init()}{p.}{classmarlin_1_1StdHepReader_a440b12faf24a85d1ce0c7f0fe9f39217} method so that resources allocated in the first processor also will be available for all following processors. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bfseries \-\_\-file\-Name}\label{classmarlin_1_1StdHepReader_a4133a52c3458b317c252f2333c587e5c}

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


\subsection{Detailed Description}
Reads binary Std\-Hep files. 

Example processor for reading non-\/\-L\-C\-I\-O input files -\/ creates events with M\-C\-Particle collections from binary Std\-Hep files. Has to be the first active processor and requires that no L\-C\-I\-O input collection is used (parameter L\-C\-I\-O\-Input\-Files).

\subparagraph*{Input -\/ Prerequisites}

Std\-Hep file.

\subparagraph*{Output}

L\-C\-Event with M\-C\-Particle collection.


\begin{DoxyParams}{Parameters}
{\em Std\-Hep\-File\-Name} & name of input file\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
F. Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Std\-Hep\-Reader.\-h}{p.}{StdHepReader_8h_source},v 1.\-3 2005-\/10-\/11 12\-:56\-:28 gaede Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{marlin\-::\-Std\-Hep\-Reader@{marlin\-::\-Std\-Hep\-Reader}!init@{init}}
\index{init@{init}!marlin::StdHepReader@{marlin\-::\-Std\-Hep\-Reader}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void marlin\-::\-Std\-Hep\-Reader\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classmarlin_1_1StdHepReader_a440b12faf24a85d1ce0c7f0fe9f39217}


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{marlin\-::\-Std\-Hep\-Reader@{marlin\-::\-Std\-Hep\-Reader}!new\-Processor@{new\-Processor}}
\index{new\-Processor@{new\-Processor}!marlin::StdHepReader@{marlin\-::\-Std\-Hep\-Reader}}
\subsubsection[{new\-Processor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Std\-Hep\-Reader} $\ast$ marlin\-::\-Std\-Hep\-Reader\-::new\-Processor (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classmarlin_1_1StdHepReader_a455be55c661163301b8d1b5606e9b4a7}


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 
Std\-Hep\-Reader.\-h\item 
Std\-Hep\-Reader.\-cc\end{DoxyCompactItemize}
