\section{M\-C\-Particle\-Creator Class Reference}
\label{classMCParticleCreator}\index{M\-C\-Particle\-Creator@{M\-C\-Particle\-Creator}}


\doxyref{M\-C\-Particle\-Creator}{p.}{classMCParticleCreator} class.  




{\ttfamily \#include $<$M\-C\-Particle\-Creator.\-h$>$}

\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class {\bf Settings}
\begin{DoxyCompactList}\small\item\em \doxyref{Settings}{p.}{classMCParticleCreator_1_1Settings} class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\-::vector$<$ std\-::string $>$ {\bfseries String\-Vector}\label{classMCParticleCreator_a8fb2f17ea6f992688f9d6bf4b0fd4d79}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf M\-C\-Particle\-Creator} (const {\bf Settings} \&settings, const pandora\-::\-Pandora $\ast$const p\-Pandora)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
{\bf $\sim$\-M\-C\-Particle\-Creator} ()\label{classMCParticleCreator_ad19d301919802bb4f85dd7cad7dd7bdb}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
pandora\-::\-Status\-Code {\bf Create\-M\-C\-Particles} (const E\-V\-E\-N\-T\-::\-L\-C\-Event $\ast$const p\-L\-C\-Event) const 
\begin{DoxyCompactList}\small\item\em Create M\-C\-Particles. \end{DoxyCompactList}\item 
pandora\-::\-Status\-Code {\bf Create\-Track\-To\-M\-C\-Particle\-Relationships} (const E\-V\-E\-N\-T\-::\-L\-C\-Event $\ast$const p\-L\-C\-Event, const Track\-Vector \&track\-Vector) const 
\begin{DoxyCompactList}\small\item\em Create Track to mc particle relationships. \end{DoxyCompactList}\item 
pandora\-::\-Status\-Code {\bf Create\-Calo\-Hit\-To\-M\-C\-Particle\-Relationships} (const E\-V\-E\-N\-T\-::\-L\-C\-Event $\ast$const p\-L\-C\-Event, const Calorimeter\-Hit\-Vector \&calorimeter\-Hit\-Vector) const 
\begin{DoxyCompactList}\small\item\em Create calo hit to mc particle relationships. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\doxyref{M\-C\-Particle\-Creator}{p.}{classMCParticleCreator} class. 

\subsection{Constructor \& Destructor Documentation}
\index{M\-C\-Particle\-Creator@{M\-C\-Particle\-Creator}!M\-C\-Particle\-Creator@{M\-C\-Particle\-Creator}}
\index{M\-C\-Particle\-Creator@{M\-C\-Particle\-Creator}!MCParticleCreator@{M\-C\-Particle\-Creator}}
\subsubsection[{M\-C\-Particle\-Creator}]{\setlength{\rightskip}{0pt plus 5cm}M\-C\-Particle\-Creator\-::\-M\-C\-Particle\-Creator (
\begin{DoxyParamCaption}
\item[{const {\bf Settings} \&}]{settings, }
\item[{const pandora\-::\-Pandora $\ast$const}]{p\-Pandora}
\end{DoxyParamCaption}
)}\label{classMCParticleCreator_ab639e1e716d4a9a7e1aa5040b69686eb}


Constructor. 


\begin{DoxyParams}{Parameters}
{\em settings} & the creator settings \\
\hline
{\em p\-Pandora} & address of the relevant pandora instance \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{M\-C\-Particle\-Creator@{M\-C\-Particle\-Creator}!Create\-Calo\-Hit\-To\-M\-C\-Particle\-Relationships@{Create\-Calo\-Hit\-To\-M\-C\-Particle\-Relationships}}
\index{Create\-Calo\-Hit\-To\-M\-C\-Particle\-Relationships@{Create\-Calo\-Hit\-To\-M\-C\-Particle\-Relationships}!MCParticleCreator@{M\-C\-Particle\-Creator}}
\subsubsection[{Create\-Calo\-Hit\-To\-M\-C\-Particle\-Relationships}]{\setlength{\rightskip}{0pt plus 5cm}pandora\-::\-Status\-Code M\-C\-Particle\-Creator\-::\-Create\-Calo\-Hit\-To\-M\-C\-Particle\-Relationships (
\begin{DoxyParamCaption}
\item[{const E\-V\-E\-N\-T\-::\-L\-C\-Event $\ast$const}]{p\-L\-C\-Event, }
\item[{const Calorimeter\-Hit\-Vector \&}]{calorimeter\-Hit\-Vector}
\end{DoxyParamCaption}
) const}\label{classMCParticleCreator_a81b1ce185df7de60d6a5c9f5e4389de3}


Create calo hit to mc particle relationships. 


\begin{DoxyParams}{Parameters}
{\em p\-L\-C\-Event} & the lcio event \\
\hline
{\em calorimeter\-Hit\-Vector} & the vector containing all calorimeter hits successfully passed to pandora \\
\hline
\end{DoxyParams}


References M\-C\-Particle\-Creator\-::\-Settings\-::m\-\_\-lc\-Calo\-Hit\-Relation\-Collections.



Referenced by Pandora\-P\-F\-A\-New\-Processor\-::process\-Event().

\index{M\-C\-Particle\-Creator@{M\-C\-Particle\-Creator}!Create\-M\-C\-Particles@{Create\-M\-C\-Particles}}
\index{Create\-M\-C\-Particles@{Create\-M\-C\-Particles}!MCParticleCreator@{M\-C\-Particle\-Creator}}
\subsubsection[{Create\-M\-C\-Particles}]{\setlength{\rightskip}{0pt plus 5cm}pandora\-::\-Status\-Code M\-C\-Particle\-Creator\-::\-Create\-M\-C\-Particles (
\begin{DoxyParamCaption}
\item[{const E\-V\-E\-N\-T\-::\-L\-C\-Event $\ast$const}]{p\-L\-C\-Event}
\end{DoxyParamCaption}
) const}\label{classMCParticleCreator_ac0ac184f88b4b5ac22dd0a50e8280e9e}


Create M\-C\-Particles. 


\begin{DoxyParams}{Parameters}
{\em p\-L\-C\-Event} & the lcio event \\
\hline
\end{DoxyParams}


References M\-C\-Particle\-Creator\-::\-Settings\-::m\-\_\-mc\-Particle\-Collections.



Referenced by Pandora\-P\-F\-A\-New\-Processor\-::process\-Event().

\index{M\-C\-Particle\-Creator@{M\-C\-Particle\-Creator}!Create\-Track\-To\-M\-C\-Particle\-Relationships@{Create\-Track\-To\-M\-C\-Particle\-Relationships}}
\index{Create\-Track\-To\-M\-C\-Particle\-Relationships@{Create\-Track\-To\-M\-C\-Particle\-Relationships}!MCParticleCreator@{M\-C\-Particle\-Creator}}
\subsubsection[{Create\-Track\-To\-M\-C\-Particle\-Relationships}]{\setlength{\rightskip}{0pt plus 5cm}pandora\-::\-Status\-Code M\-C\-Particle\-Creator\-::\-Create\-Track\-To\-M\-C\-Particle\-Relationships (
\begin{DoxyParamCaption}
\item[{const E\-V\-E\-N\-T\-::\-L\-C\-Event $\ast$const}]{p\-L\-C\-Event, }
\item[{const Track\-Vector \&}]{track\-Vector}
\end{DoxyParamCaption}
) const}\label{classMCParticleCreator_a5be1d6f4027d5ba4c09667218aea6c7a}


Create Track to mc particle relationships. 


\begin{DoxyParams}{Parameters}
{\em p\-L\-C\-Event} & the lcio event \\
\hline
{\em track\-Vector} & the vector containing all tracks successfully passed to pandora \\
\hline
\end{DoxyParams}


References M\-C\-Particle\-Creator\-::\-Settings\-::m\-\_\-lc\-Track\-Relation\-Collections.



Referenced by Pandora\-P\-F\-A\-New\-Processor\-::process\-Event().



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