\section{I\-M\-P\-L\-:\-:Reconstructed\-Particle\-Impl Class Reference}
\label{classIMPL_1_1ReconstructedParticleImpl}\index{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl@{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl}}


Implementation of Reconstructed\-Particle.  




{\ttfamily \#include $<$I\-M\-P\-L/\-Reconstructed\-Particle\-Impl.\-h$>$}

Inheritance diagram for I\-M\-P\-L\-:\-:Reconstructed\-Particle\-Impl\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{classIMPL_1_1ReconstructedParticleImpl}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Reconstructed\-Particle\-Impl} ()\label{classIMPL_1_1ReconstructedParticleImpl_a49d2a4db7b3ca772a25f9d400e83c9ea}

\begin{DoxyCompactList}\small\item\em Default constructor, initializes values to 0. \end{DoxyCompactList}\item 
virtual {\bf $\sim$\-Reconstructed\-Particle\-Impl} ()\label{classIMPL_1_1ReconstructedParticleImpl_a69d161341aef14d1cd522d9cbf0c16df}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual int {\bf id} () const \label{classIMPL_1_1ReconstructedParticleImpl_ae89cdcbb7dfe33d891ba428f727bed13}

\begin{DoxyCompactList}\small\item\em Returns an object id for internal (debugging) use in L\-C\-I\-O. \end{DoxyCompactList}\item 
virtual int {\bf get\-Type} () const 
\begin{DoxyCompactList}\small\item\em Type of reconstructed particle. \end{DoxyCompactList}\item 
virtual bool {\bf is\-Compound} () const \label{classIMPL_1_1ReconstructedParticleImpl_af583ac8d13050e49db0f326d65e0d951}

\begin{DoxyCompactList}\small\item\em Convenient method -\/ same as (\doxyref{get\-Particles()}{p.}{classIMPL_1_1ReconstructedParticleImpl_ac7be5483310e8b830ea44d3a669dffa2}.size() $>$ 0 ). \end{DoxyCompactList}\item 
virtual const double $\ast$ {\bf get\-Momentum} () const \label{classIMPL_1_1ReconstructedParticleImpl_a277b18768a57eb5a02ff1ea4d321e711}

\begin{DoxyCompactList}\small\item\em The magnitude of the reconstructed particle's momentum,. \end{DoxyCompactList}\item 
virtual double {\bf get\-Energy} () const \label{classIMPL_1_1ReconstructedParticleImpl_a65f288fa602cacbe0495689c98a58555}

\begin{DoxyCompactList}\small\item\em Energy of the reconstructed particle. \end{DoxyCompactList}\item 
virtual const {\bf E\-V\-E\-N\-T\-::\-Float\-Vec} \& {\bf get\-Cov\-Matrix} () const \label{classIMPL_1_1ReconstructedParticleImpl_a10fdf7d762fb917116d611da7d915588}

\begin{DoxyCompactList}\small\item\em Covariance matrix of the reconstructed particle's 4vector (10 parameters). \end{DoxyCompactList}\item 
virtual double {\bf get\-Mass} () const \label{classIMPL_1_1ReconstructedParticleImpl_a4b95326d5d3bea5b2023dcce2a6266ab}

\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 \label{classIMPL_1_1ReconstructedParticleImpl_a7fbea102f0383cf90ee537b45009bc64}

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

\begin{DoxyCompactList}\small\item\em Reference point of the reconstructed\-Particle parameters. \end{DoxyCompactList}\item 
virtual const \\*
{\bf E\-V\-E\-N\-T\-::\-Particle\-I\-D\-Vec} \& {\bf get\-Particle\-I\-Ds} () const 
\begin{DoxyCompactList}\small\item\em The particle Id's sorted by their likelihood. \end{DoxyCompactList}\item 
virtual {\bf E\-V\-E\-N\-T\-::\-Particle\-I\-D} $\ast$ {\bf get\-Particle\-I\-D\-Used} () const 
\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 \label{classIMPL_1_1ReconstructedParticleImpl_a7c0a4fef1045225284ab033689c2838c}

\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 E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-Vec} \& {\bf get\-Particles} () const \label{classIMPL_1_1ReconstructedParticleImpl_ac7be5483310e8b830ea44d3a669dffa2}

\begin{DoxyCompactList}\small\item\em The reconstructed particles that have been combined to this particle. \end{DoxyCompactList}\item 
virtual const {\bf E\-V\-E\-N\-T\-::\-Cluster\-Vec} \& {\bf get\-Clusters} () const \label{classIMPL_1_1ReconstructedParticleImpl_aced655322aa91a190f004a6f193b7a48}

\begin{DoxyCompactList}\small\item\em The clusters that have been used for this particle. \end{DoxyCompactList}\item 
virtual const {\bf E\-V\-E\-N\-T\-::\-Track\-Vec} \& {\bf get\-Tracks} () const \label{classIMPL_1_1ReconstructedParticleImpl_a6eaa5784fe58ccd367153142db8099e5}

\begin{DoxyCompactList}\small\item\em The tracks that have been used for this particle. \end{DoxyCompactList}\item 
virtual {\bf E\-V\-E\-N\-T\-::\-Vertex} $\ast$ {\bf get\-Start\-Vertex} () const \label{classIMPL_1_1ReconstructedParticleImpl_a4487d325750770311e358d2ec2287646}

\begin{DoxyCompactList}\small\item\em The start vertex associated to this particle. \end{DoxyCompactList}\item 
virtual {\bf E\-V\-E\-N\-T\-::\-Vertex} $\ast$ {\bf get\-End\-Vertex} () const \label{classIMPL_1_1ReconstructedParticleImpl_a25660149a1379a27f0d181174745de3c}

\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 
void {\bfseries set\-Type} (int type)\label{classIMPL_1_1ReconstructedParticleImpl_a2ecb050409e477880a7a44d3cb073b23}

\item 
void {\bfseries set\-Momentum} (const float $\ast$momentum)\label{classIMPL_1_1ReconstructedParticleImpl_a35321cda43b9c9ba7363e1bcdacdbe3f}

\item 
void {\bfseries set\-Momentum} (const double $\ast$momentum)\label{classIMPL_1_1ReconstructedParticleImpl_a1d993551665f57660eb7ec51dd01ff8f}

\item 
void {\bfseries set\-Energy} (float energy)\label{classIMPL_1_1ReconstructedParticleImpl_a5f46ff850e95096a8d0b6e474aaa67cb}

\item 
void {\bfseries set\-Cov\-Matrix} (const float $\ast$cov)\label{classIMPL_1_1ReconstructedParticleImpl_a94b42c05f7eab6b6bb5604f163da27d2}

\item 
void {\bfseries set\-Cov\-Matrix} (const {\bf E\-V\-E\-N\-T\-::\-Float\-Vec} \&)\label{classIMPL_1_1ReconstructedParticleImpl_a41a611df4dfb2df626d16ca34a4cdd2d}

\item 
void {\bfseries set\-Mass} (float mass)\label{classIMPL_1_1ReconstructedParticleImpl_ad4c516fe6122c914103b5103b23a9c21}

\item 
void {\bfseries set\-Charge} (float charge)\label{classIMPL_1_1ReconstructedParticleImpl_a58f98f870e4f8039c76dfd46066a681c}

\item 
void {\bfseries set\-Reference\-Point} (const float $\ast$reference)\label{classIMPL_1_1ReconstructedParticleImpl_abc57b466a473e638a7d66d33c52ec3a6}

\item 
void {\bf add\-Particle\-I\-D} ({\bf E\-V\-E\-N\-T\-::\-Particle\-I\-D} $\ast$pid)
\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 
void {\bfseries set\-Particle\-I\-D\-Used} ({\bf E\-V\-E\-N\-T\-::\-Particle\-I\-D} $\ast$pid)\label{classIMPL_1_1ReconstructedParticleImpl_a0b3b7d883f3d3454cf6dce3b6f74c45d}

\item 
void {\bfseries set\-Goodness\-Of\-P\-I\-D} (float goodness)\label{classIMPL_1_1ReconstructedParticleImpl_ac3fe437b43285138eeb93716c19bb21a}

\item 
void {\bf add\-Particle} ({\bf E\-V\-E\-N\-T\-::\-Reconstructed\-Particle} $\ast$particle)\label{classIMPL_1_1ReconstructedParticleImpl_a7e57b20a870e3f8a77831091d7bd38ac}

\begin{DoxyCompactList}\small\item\em Add a particle that has been used to create this particle. \end{DoxyCompactList}\item 
void {\bf add\-Cluster} ({\bf E\-V\-E\-N\-T\-::\-Cluster} $\ast$cluster)\label{classIMPL_1_1ReconstructedParticleImpl_a1d63288778430557d422b058aefa9023}

\begin{DoxyCompactList}\small\item\em Add a cluster that has been used to create this particle. \end{DoxyCompactList}\item 
void {\bf add\-Track} ({\bf E\-V\-E\-N\-T\-::\-Track} $\ast$track)\label{classIMPL_1_1ReconstructedParticleImpl_ab286b948ad4c32be3abba9d53f977c65}

\begin{DoxyCompactList}\small\item\em Add a track that has been used to create this particle. \end{DoxyCompactList}\item 
void {\bfseries set\-Start\-Vertex} ({\bf E\-V\-E\-N\-T\-::\-Vertex} $\ast$sv)\label{classIMPL_1_1ReconstructedParticleImpl_a101d1690061569395704cd3c31aebe3c}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
int {\bfseries \-\_\-type}\label{classIMPL_1_1ReconstructedParticleImpl_a5bafb90c446ead6c8b4798f833a157b6}

\item 
double {\bfseries \-\_\-momentum} [3]\label{classIMPL_1_1ReconstructedParticleImpl_a6f163daf910c0ffea35656197f7691e9}

\item 
double {\bfseries \-\_\-energy}\label{classIMPL_1_1ReconstructedParticleImpl_a9d13204a91c04bb32df9f83380d29f2e}

\item 
{\bf E\-V\-E\-N\-T\-::\-Float\-Vec} {\bfseries \-\_\-cov}\label{classIMPL_1_1ReconstructedParticleImpl_a0342eec9d1a7928a13d20d213727b0c1}

\item 
double {\bfseries \-\_\-mass}\label{classIMPL_1_1ReconstructedParticleImpl_a0b3bdce58e31015f008da373a82b1c6f}

\item 
float {\bfseries \-\_\-charge}\label{classIMPL_1_1ReconstructedParticleImpl_aa639791dc47576986641e1c51a459bf2}

\item 
float {\bfseries \-\_\-reference} [3]\label{classIMPL_1_1ReconstructedParticleImpl_af977c354a44bd0f6f02397e75ac969e1}

\item 
{\bf E\-V\-E\-N\-T\-::\-Particle\-I\-D} $\ast$ {\bfseries \-\_\-pid\-Used}\label{classIMPL_1_1ReconstructedParticleImpl_a81a56166a0d0c7ae290280ee0bf347ab}

\item 
float {\bfseries \-\_\-goodness\-Of\-P\-I\-D}\label{classIMPL_1_1ReconstructedParticleImpl_acc425251b69fad8a085f54c326cb4351}

\item 
{\bf E\-V\-E\-N\-T\-::\-Particle\-I\-D\-Vec} {\bfseries \-\_\-pid}\label{classIMPL_1_1ReconstructedParticleImpl_a048c25558e9aa68621b089dc275cbae0}

\item 
{\bf E\-V\-E\-N\-T\-::\-Reconstructed\-Particle\-Vec} {\bfseries \-\_\-particles}\label{classIMPL_1_1ReconstructedParticleImpl_ad3180960b5ddd78ebb6cee0f25f40c40}

\item 
{\bf E\-V\-E\-N\-T\-::\-Cluster\-Vec} {\bfseries \-\_\-clusters}\label{classIMPL_1_1ReconstructedParticleImpl_a7ed6790efe9540513b34b8e350299a17}

\item 
{\bf E\-V\-E\-N\-T\-::\-Track\-Vec} {\bfseries \-\_\-tracks}\label{classIMPL_1_1ReconstructedParticleImpl_ac92f675f5a110bdb152016b5ffdf75e4}

\item 
{\bf E\-V\-E\-N\-T\-::\-Vertex} $\ast$ {\bfseries \-\_\-sv}\label{classIMPL_1_1ReconstructedParticleImpl_a58f9f5e73bc3580d4aad66354dd96c30}

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


\subsection{Detailed Description}
Implementation of Reconstructed\-Particle. 

\begin{DoxySeeAlso}{See Also}
Reconstructed\-Particle 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
gaede 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
Mar 30, 2003 
\end{DoxyVersion}


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


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 Particle\-I\-D object. \begin{DoxySeeAlso}{See Also}
Particle\-I\-D 
\end{DoxySeeAlso}


Implements {\bf E\-V\-E\-N\-T\-::\-Reconstructed\-Particle} \doxyref{}{p.}{classEVENT_1_1ReconstructedParticle_a03b1df9aeb753e2eb58287cb2d174def}.



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

\index{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl@{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl}!get\-Particle\-I\-Ds@{get\-Particle\-I\-Ds}}
\index{get\-Particle\-I\-Ds@{get\-Particle\-I\-Ds}!IMPL::ReconstructedParticleImpl@{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl}}
\subsubsection[{get\-Particle\-I\-Ds}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf E\-V\-E\-N\-T\-::\-Particle\-I\-D\-Vec} \& I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl\-::get\-Particle\-I\-Ds (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1ReconstructedParticleImpl_ae98ea6344c329955282914f8d72a870c}


The particle Id's sorted by their likelihood. 

\begin{DoxySeeAlso}{See Also}
Particle\-I\-D 
\end{DoxySeeAlso}


Implements {\bf E\-V\-E\-N\-T\-::\-Reconstructed\-Particle} \doxyref{}{p.}{classEVENT_1_1ReconstructedParticle_a0bc3561a2efc8fda9c4639cd0cf924bd}.



Referenced by U\-T\-I\-L\-::\-P\-I\-D\-Handler\-::set\-Particle\-I\-D\-Used().

\index{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl@{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl}!get\-Particle\-I\-D\-Used@{get\-Particle\-I\-D\-Used}}
\index{get\-Particle\-I\-D\-Used@{get\-Particle\-I\-D\-Used}!IMPL::ReconstructedParticleImpl@{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl}}
\subsubsection[{get\-Particle\-I\-D\-Used}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\-V\-E\-N\-T\-::\-Particle\-I\-D} $\ast$ I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl\-::get\-Particle\-I\-D\-Used (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1ReconstructedParticleImpl_a1fb6a6e3b2298b473eb4515ff132a2f4}


The particle Id used for the kinematics of this particle. 

\begin{DoxySeeAlso}{See Also}
Particle\-I\-D 
\end{DoxySeeAlso}


Implements {\bf E\-V\-E\-N\-T\-::\-Reconstructed\-Particle} \doxyref{}{p.}{classEVENT_1_1ReconstructedParticle_af8fa89b2c866bbd728c67cf03209bd82}.

\index{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl@{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl}!get\-Type@{get\-Type}}
\index{get\-Type@{get\-Type}!IMPL::ReconstructedParticleImpl@{I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl}}
\subsubsection[{get\-Type}]{\setlength{\rightskip}{0pt plus 5cm}int I\-M\-P\-L\-::\-Reconstructed\-Particle\-Impl\-::get\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1ReconstructedParticleImpl_af318b433ec1b1b91fba9d812055f4f9e}


Type of reconstructed particle. 

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

Implements {\bf E\-V\-E\-N\-T\-::\-Reconstructed\-Particle} \doxyref{}{p.}{classEVENT_1_1ReconstructedParticle_a1071a9ec3f52052bd83952aa4c798dba}.



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