\section{marlin\-:\-:Simple\-Particle\-Factory Class Reference}
\label{classmarlin_1_1SimpleParticleFactory}\index{marlin\-::\-Simple\-Particle\-Factory@{marlin\-::\-Simple\-Particle\-Factory}}


Implementation of \doxyref{I\-Reco\-Particle\-Factory}{p.}{classmarlin_1_1IRecoParticleFactory} that implements the default behaviour as described in \doxyref{Simple\-Fast\-M\-C\-Processor}{p.}{classmarlin_1_1SimpleFastMCProcessor}, i.\-e.  




{\ttfamily \#include $<$Simple\-Particle\-Factory.\-h$>$}

Inheritance diagram for marlin\-:\-:Simple\-Particle\-Factory\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlin_1_1SimpleParticleFactory}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf $\sim$\-Simple\-Particle\-Factory} ()
\begin{DoxyCompactList}\small\item\em Virtual d'tor. \end{DoxyCompactList}\item 
virtual \\*
lcio\-::\-Reconstructed\-Particle $\ast$ {\bf create\-Reconstructed\-Particle} (const lcio\-::\-M\-C\-Particle $\ast$mcp)\label{classmarlin_1_1SimpleParticleFactory_a2c050bb3a0c06aadcb5ef9c552b409f7}

\begin{DoxyCompactList}\small\item\em The actual factory method that creates a new Reconstructed\-Particle. \end{DoxyCompactList}\item 
virtual void {\bf register\-I\-Four\-Vector\-Smearer} ({\bf I\-Four\-Vector\-Smearer} $\ast$sm, {\bf Fast\-M\-C\-Particle\-Type} type)\label{classmarlin_1_1SimpleParticleFactory_a3f82779ebc96a54c59433f914f6eb62c}

\begin{DoxyCompactList}\small\item\em Register a particle four vector smearer for the given type. \end{DoxyCompactList}\item 
virtual {\bf Fast\-M\-C\-Particle\-Type} {\bf get\-Particle\-Type} (const lcio\-::\-M\-C\-Particle $\ast$mcp)\label{classmarlin_1_1SimpleParticleFactory_ac0fd79c9ba9d28f8108fca9fd96cdaee}

\begin{DoxyCompactList}\small\item\em Returns the type of the M\-C\-Particle. \end{DoxyCompactList}\item 
virtual void {\bf set\-Momentum\-Cut} (double m\-Cut)
\begin{DoxyCompactList}\small\item\em Helper function to determine the charge from the P\-D\-G (charge is missing from stdhep files) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::vector$<$ {\bf I\-Four\-Vector\-Smearer} $\ast$ $>$ {\bfseries \-\_\-smearing\-Vec}\label{classmarlin_1_1SimpleParticleFactory_aa5e09f4fca0e2746028e76f5eed82df1}

\item 
double {\bfseries \-\_\-momentum\-Cut}\label{classmarlin_1_1SimpleParticleFactory_a14a673f3e4ec54a13a465f53f93d3f0c}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation of \doxyref{I\-Reco\-Particle\-Factory}{p.}{classmarlin_1_1IRecoParticleFactory} that implements the default behaviour as described in \doxyref{Simple\-Fast\-M\-C\-Processor}{p.}{classmarlin_1_1SimpleFastMCProcessor}, i.\-e. 

have polar angle ranges with different resolutions for charged tracks, photons and neutral hadrons.

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

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Simple\-Particle\-Factory.\-h}{p.}{SimpleParticleFactory_8h_source},v 1.\-3 2007-\/11-\/23 20\-:09\-:12 gaede Exp 
\end{DoxyParagraph}


\subsection{Constructor \& Destructor Documentation}
\index{marlin\-::\-Simple\-Particle\-Factory@{marlin\-::\-Simple\-Particle\-Factory}!$\sim$\-Simple\-Particle\-Factory@{$\sim$\-Simple\-Particle\-Factory}}
\index{$\sim$\-Simple\-Particle\-Factory@{$\sim$\-Simple\-Particle\-Factory}!marlin::SimpleParticleFactory@{marlin\-::\-Simple\-Particle\-Factory}}
\subsubsection[{$\sim$\-Simple\-Particle\-Factory}]{\setlength{\rightskip}{0pt plus 5cm}virtual marlin\-::\-Simple\-Particle\-Factory\-::$\sim$\-Simple\-Particle\-Factory (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classmarlin_1_1SimpleParticleFactory_a5ed083943b298f870fd2caf91a139108}


Virtual d'tor. 



\subsection{Member Function Documentation}
\index{marlin\-::\-Simple\-Particle\-Factory@{marlin\-::\-Simple\-Particle\-Factory}!set\-Momentum\-Cut@{set\-Momentum\-Cut}}
\index{set\-Momentum\-Cut@{set\-Momentum\-Cut}!marlin::SimpleParticleFactory@{marlin\-::\-Simple\-Particle\-Factory}}
\subsubsection[{set\-Momentum\-Cut}]{\setlength{\rightskip}{0pt plus 5cm}void marlin\-::\-Simple\-Particle\-Factory\-::set\-Momentum\-Cut (
\begin{DoxyParamCaption}
\item[{double}]{m\-Cut}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classmarlin_1_1SimpleParticleFactory_a026d4533ca033bbf85a02341933a2dc9}


Helper function to determine the charge from the P\-D\-G (charge is missing from stdhep files) 

Set the momentum cut in Ge\-V -\/ no particles are produced for ower momenta. Default is 0.\-1 e\-V. 

Referenced by marlin\-::\-Simple\-Fast\-M\-C\-Processor\-::init().



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