\section{E\-V\-E\-N\-T\-:\-:Reconstructed\-Particle Class Reference}
\label{classEVENT_1_1ReconstructedParticle}\index{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}}


The \doxyref{L\-C\-I\-O}{p.}{classEVENT_1_1LCIO} reconstructed\-Particle.  




{\ttfamily \#include $<$pre-\/generated/\-E\-V\-E\-N\-T/\-Reconstructed\-Particle.\-h$>$}

Inheritance diagram for E\-V\-E\-N\-T\-:\-:Reconstructed\-Particle\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{classEVENT_1_1ReconstructedParticle}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef {\bf Reconstructed\-Particle} {\bf lcobject\-\_\-type}\label{classEVENT_1_1ReconstructedParticle_a184f70f4e161c024c7405acd8c1a6ce2}

\begin{DoxyCompactList}\small\item\em Useful typedef for template programming with \doxyref{L\-C\-I\-O}{p.}{classEVENT_1_1LCIO}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf $\sim$\-Reconstructed\-Particle} ()\label{classEVENT_1_1ReconstructedParticle_a79249fae108baa8e8b456ad5d664523f}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual int {\bf get\-Type} () const =0
\begin{DoxyCompactList}\small\item\em Type of reconstructed particle. \end{DoxyCompactList}\item 
virtual bool {\bf is\-Compound} () const =0
\begin{DoxyCompactList}\small\item\em Return particles primary flag. \end{DoxyCompactList}\item 
virtual const double $\ast$ {\bf get\-Momentum} () const =0\label{classEVENT_1_1ReconstructedParticle_af7ac7da9e55ebf3d904cb9da8a6af379}

\begin{DoxyCompactList}\small\item\em The reconstructed particle's 3-\/momentum -\/ only float used in files,. \end{DoxyCompactList}\item 
virtual double {\bf get\-Energy} () const =0\label{classEVENT_1_1ReconstructedParticle_a447d30a9d4a994e58e3fdd89bf58fd25}

\begin{DoxyCompactList}\small\item\em Energy of the reconstructed particle -\/ only float used in files. \end{DoxyCompactList}\item 
virtual const {\bf Float\-Vec} \& {\bf get\-Cov\-Matrix} () const =0
\begin{DoxyCompactList}\small\item\em Covariance matrix of the reconstructed particle's 4vector (10 parameters). \end{DoxyCompactList}\item 
virtual double {\bf get\-Mass} () const =0
\begin{DoxyCompactList}\small\item\em \doxyref{Mass}{p.}{structMass} of the reconstructed particle, set independently from four vector quantities. \end{DoxyCompactList}\item 
virtual float {\bf get\-Charge} () const =0\label{classEVENT_1_1ReconstructedParticle_ae223700831cf3b36b9019a1ec3c52bc9}

\begin{DoxyCompactList}\small\item\em Charge of the reconstructed particle. \end{DoxyCompactList}\item 
virtual const float $\ast$ {\bf get\-Reference\-Point} () const =0\label{classEVENT_1_1ReconstructedParticle_a6e7eace87a086c57c49456aad32bbee2}

\begin{DoxyCompactList}\small\item\em Reference point of the reconstructed\-Particle parameters. \end{DoxyCompactList}\item 
virtual const {\bf Particle\-I\-D\-Vec} \& {\bf get\-Particle\-I\-Ds} () const =0
\begin{DoxyCompactList}\small\item\em The particle Id's sorted by their likelihood. \end{DoxyCompactList}\item 
virtual {\bf Particle\-I\-D} $\ast$ {\bf get\-Particle\-I\-D\-Used} () const =0
\begin{DoxyCompactList}\small\item\em The particle Id used for the kinematics of this particle. \end{DoxyCompactList}\item 
virtual float {\bf get\-Goodness\-Of\-P\-I\-D} () const =0\label{classEVENT_1_1ReconstructedParticle_a941a3dfc1a402f2b180d6a40f6fca341}

\begin{DoxyCompactList}\small\item\em The overall goodness of the P\-I\-D on a scale of [0;1]. \end{DoxyCompactList}\item 
virtual const \\*
{\bf Reconstructed\-Particle\-Vec} \& {\bf get\-Particles} () const =0\label{classEVENT_1_1ReconstructedParticle_adff07815c584d9e1585460b85aeeb0e5}

\begin{DoxyCompactList}\small\item\em The reconstructed particles that have been combined to this particle. \end{DoxyCompactList}\item 
virtual const {\bf Cluster\-Vec} \& {\bf get\-Clusters} () const =0
\begin{DoxyCompactList}\small\item\em The weights of the reconstructed particles combined to this particle. \end{DoxyCompactList}\item 
virtual const {\bf Track\-Vec} \& {\bf get\-Tracks} () const =0
\begin{DoxyCompactList}\small\item\em The weights of cluster contributions to this particle. \end{DoxyCompactList}\item 
virtual {\bf Vertex} $\ast$ {\bf get\-Start\-Vertex} () const =0\label{classEVENT_1_1ReconstructedParticle_a381f6ae847de1fc0cc589f5508e502e3}

\begin{DoxyCompactList}\small\item\em The start vertex associated to this particle. \end{DoxyCompactList}\item 
virtual {\bf Vertex} $\ast$ {\bf get\-End\-Vertex} () const =0\label{classEVENT_1_1ReconstructedParticle_ac1f691d9c5ae189afd17233410688b1e}

\begin{DoxyCompactList}\small\item\em The vertex where the particle decays This method actually returns the start vertex from the first daughter particle found. \end{DoxyCompactList}\item 
virtual void {\bf add\-Particle\-I\-D} ({\bf Particle\-I\-D} $\ast$pid)=0
\begin{DoxyCompactList}\small\item\em Set the type of reconstructed particle, one of\-:\par
 Reconstructed\-Particle\-::\-S\-I\-N\-G\-L\-E,\par
 Reconstructed\-Particle\-::\-V0,\par
 Reconstructed\-Particle\-::\-C\-O\-M\-P\-O\-U\-N\-D,\par
 Reconstructed\-Particle\-::\-J\-E\-T\par
 \end{DoxyCompactList}\item 
virtual void {\bf add\-Particle} ({\bf Reconstructed\-Particle} $\ast$particle)=0\label{classEVENT_1_1ReconstructedParticle_aa65d108465b649ac2cd0375abb6ee293}

\begin{DoxyCompactList}\small\item\em Add a particle that has been used to create this particle. \end{DoxyCompactList}\item 
virtual void {\bf add\-Cluster} ({\bf Cluster} $\ast$cluster)=0\label{classEVENT_1_1ReconstructedParticle_a1f7d1ef5265be17bfecd751a395687d3}

\begin{DoxyCompactList}\small\item\em Add a cluster that has been used to create this particle. \end{DoxyCompactList}\item 
virtual void {\bf add\-Track} ({\bf Track} $\ast$track)=0\label{classEVENT_1_1ReconstructedParticle_a5076671478ba8a9c7c86442680babd1b}

\begin{DoxyCompactList}\small\item\em Add a track that has been used to create this particle. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
The \doxyref{L\-C\-I\-O}{p.}{classEVENT_1_1LCIO} reconstructed\-Particle. 

\begin{DoxyAuthor}{Author}
gaede 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
Reconstructed\-Particle.\-aid,v 1.\-18 2006-\/09-\/21 06\-:10\-:35 gaede Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}!add\-Particle\-I\-D@{add\-Particle\-I\-D}}
\index{add\-Particle\-I\-D@{add\-Particle\-I\-D}!EVENT::ReconstructedParticle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}}
\subsubsection[{add\-Particle\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}virtual void E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-::add\-Particle\-I\-D (
\begin{DoxyParamCaption}
\item[{{\bf Particle\-I\-D} $\ast$}]{pid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1ReconstructedParticle_a03b1df9aeb753e2eb58287cb2d174def}


Set the type of reconstructed particle, one of\-:\par
 Reconstructed\-Particle\-::\-S\-I\-N\-G\-L\-E,\par
 Reconstructed\-Particle\-::\-V0,\par
 Reconstructed\-Particle\-::\-C\-O\-M\-P\-O\-U\-N\-D,\par
 Reconstructed\-Particle\-::\-J\-E\-T\par
 

Set primary flag.\-Set particle momentum (px,py,pz).Set energy.\-Set the values of the covariance matrix of the particles four vector (px,py,pz,E).Set the values of the covariance matrix of the particles four vector (px,py,pz,E).Set mass -\/ independently from four vector. Set the charge. Set the reference point, i.\-e. the point where the four vector is defined.\-Add a \doxyref{Particle\-I\-D}{p.}{classEVENT_1_1ParticleID} object. \begin{DoxySeeAlso}{See Also}
\doxyref{Particle\-I\-D}{p.}{classEVENT_1_1ParticleID} 
\end{DoxySeeAlso}


Implemented in {\bf I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl} \doxyref{}{p.}{classIMPL_1_1ReconstructedParticleImpl_a20cf88306f011d3b6ab50bade8301bbc}.

\index{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}!get\-Clusters@{get\-Clusters}}
\index{get\-Clusters@{get\-Clusters}!EVENT::ReconstructedParticle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}}
\subsubsection[{get\-Clusters}]{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf Cluster\-Vec}\& E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-::get\-Clusters (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1ReconstructedParticle_a631f3794b72557147171433c508e6741}


The weights of the reconstructed particles combined to this particle. 

The clusters that have been used for this particle. 

Implemented in {\bf I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl} \doxyref{}{p.}{classIMPL_1_1ReconstructedParticleImpl_aced655322aa91a190f004a6f193b7a48}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Reconstructed\-Particle\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}!get\-Cov\-Matrix@{get\-Cov\-Matrix}}
\index{get\-Cov\-Matrix@{get\-Cov\-Matrix}!EVENT::ReconstructedParticle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}}
\subsubsection[{get\-Cov\-Matrix}]{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf Float\-Vec}\& E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-::get\-Cov\-Matrix (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1ReconstructedParticle_acff3604d79cad550f326befb88eec09a}


Covariance matrix of the reconstructed particle's 4vector (10 parameters). 

Stored as lower triangle matrix of the four momentum (px,py,pz,E), i.\-e. cov(px,px), cov(py,px), cov( py,py ) , .... 

Implemented in {\bf I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl} \doxyref{}{p.}{classIMPL_1_1ReconstructedParticleImpl_a10fdf7d762fb917116d611da7d915588}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Reconstructed\-Particle\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}!get\-Mass@{get\-Mass}}
\index{get\-Mass@{get\-Mass}!EVENT::ReconstructedParticle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}}
\subsubsection[{get\-Mass}]{\setlength{\rightskip}{0pt plus 5cm}virtual double E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-::get\-Mass (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1ReconstructedParticle_af22df78b964324184d21a08395757647}


\doxyref{Mass}{p.}{structMass} of the reconstructed particle, set independently from four vector quantities. 


\begin{DoxyItemize}
\item only float used in files. 
\end{DoxyItemize}

Implemented in {\bf I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl} \doxyref{}{p.}{classIMPL_1_1ReconstructedParticleImpl_a4b95326d5d3bea5b2023dcce2a6266ab}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Reconstructed\-Particle\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}!get\-Particle\-I\-Ds@{get\-Particle\-I\-Ds}}
\index{get\-Particle\-I\-Ds@{get\-Particle\-I\-Ds}!EVENT::ReconstructedParticle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}}
\subsubsection[{get\-Particle\-I\-Ds}]{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf Particle\-I\-D\-Vec}\& E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-::get\-Particle\-I\-Ds (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1ReconstructedParticle_a0bc3561a2efc8fda9c4639cd0cf924bd}


The particle Id's sorted by their likelihood. 

\begin{DoxySeeAlso}{See Also}
\doxyref{Particle\-I\-D}{p.}{classEVENT_1_1ParticleID} 
\end{DoxySeeAlso}


Implemented in {\bf I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl} \doxyref{}{p.}{classIMPL_1_1ReconstructedParticleImpl_ae98ea6344c329955282914f8d72a870c}.



Referenced by U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S\-::print\-Reconstructed\-Particles(), and S\-I\-O\-::\-S\-I\-O\-Reconstructed\-Particle\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}!get\-Particle\-I\-D\-Used@{get\-Particle\-I\-D\-Used}}
\index{get\-Particle\-I\-D\-Used@{get\-Particle\-I\-D\-Used}!EVENT::ReconstructedParticle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}}
\subsubsection[{get\-Particle\-I\-D\-Used}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf Particle\-I\-D}$\ast$ E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-::get\-Particle\-I\-D\-Used (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1ReconstructedParticle_af8fa89b2c866bbd728c67cf03209bd82}


The particle Id used for the kinematics of this particle. 

\begin{DoxySeeAlso}{See Also}
\doxyref{Particle\-I\-D}{p.}{classEVENT_1_1ParticleID} 
\end{DoxySeeAlso}


Implemented in {\bf I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl} \doxyref{}{p.}{classIMPL_1_1ReconstructedParticleImpl_a1fb6a6e3b2298b473eb4515ff132a2f4}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Reconstructed\-Particle\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}!get\-Tracks@{get\-Tracks}}
\index{get\-Tracks@{get\-Tracks}!EVENT::ReconstructedParticle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}}
\subsubsection[{get\-Tracks}]{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf Track\-Vec}\& E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-::get\-Tracks (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1ReconstructedParticle_a48ddd0ff0337dd4ead6c71194f86c8b7}


The weights of cluster contributions to this particle. 

The tracks that have been used for this particle. 

Implemented in {\bf I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl} \doxyref{}{p.}{classIMPL_1_1ReconstructedParticleImpl_a6eaa5784fe58ccd367153142db8099e5}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Reconstructed\-Particle\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}!get\-Type@{get\-Type}}
\index{get\-Type@{get\-Type}!EVENT::ReconstructedParticle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}}
\subsubsection[{get\-Type}]{\setlength{\rightskip}{0pt plus 5cm}virtual int E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-::get\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1ReconstructedParticle_a1071a9ec3f52052bd83952aa4c798dba}


Type of reconstructed particle. 

Check/set collection parameters Reconstructed\-Particle\-Type\-Names and Reconstructed\-Particle\-Type\-Values. 

Implemented in {\bf I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl} \doxyref{}{p.}{classIMPL_1_1ReconstructedParticleImpl_af318b433ec1b1b91fba9d812055f4f9e}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Reconstructed\-Particle\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}!is\-Compound@{is\-Compound}}
\index{is\-Compound@{is\-Compound}!EVENT::ReconstructedParticle@{E\-V\-E\-N\-T\-::\-Reconstructed\-Particle}}
\subsubsection[{is\-Compound}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-::is\-Compound (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1ReconstructedParticle_ac49a6a600d16b31e0b2e2d9d98c292be}


Return particles primary flag. 

All particles in the \doxyref{Reconstructed\-Particle}{p.}{classEVENT_1_1ReconstructedParticle} collection should by definition return true. Compound partciles will return false.\-Convenient method -\/ same as (\doxyref{get\-Particles()}{p.}{classEVENT_1_1ReconstructedParticle_adff07815c584d9e1585460b85aeeb0e5}.size() $>$ 0 ). 

Implemented in {\bf I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl} \doxyref{}{p.}{classIMPL_1_1ReconstructedParticleImpl_af583ac8d13050e49db0f326d65e0d951}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Reconstructed\-Particle.\-h\end{DoxyCompactItemize}
