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


Implementation of Particle\-I\-D.  




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

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

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

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

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

\begin{DoxyCompactList}\small\item\em Type -\/ userdefined. \end{DoxyCompactList}\item 
virtual int {\bf get\-P\-D\-G} () const \label{classIMPL_1_1ParticleIDImpl_a24c3b6d7278c3823f848f78c916a9c24}

\begin{DoxyCompactList}\small\item\em The P\-D\-G code of this id -\/ Unknown\-P\-D\-G ( 999999 ) if unknown. \end{DoxyCompactList}\item 
virtual float {\bf get\-Likelihood} () const \label{classIMPL_1_1ParticleIDImpl_adc3bbaefb50b597402b1580c974fd2c2}

\begin{DoxyCompactList}\small\item\em The likelihood of this hypothesis -\/ in a user defined normalization. \end{DoxyCompactList}\item 
virtual int {\bf get\-Algorithm\-Type} () const 
\begin{DoxyCompactList}\small\item\em Type of the algorithm/module that created this hypothesis -\/ N\-O\-T\-E\-: must be unique within one collection. \end{DoxyCompactList}\item 
virtual const {\bf E\-V\-E\-N\-T\-::\-Float\-Vec} \& {\bf get\-Parameters} () const 
\begin{DoxyCompactList}\small\item\em Parameters associated with this hypothesis. \end{DoxyCompactList}\item 
virtual {\bf E\-V\-E\-N\-T\-::\-Float\-Vec} \& {\bf parameters} ()\label{classIMPL_1_1ParticleIDImpl_a1f0e4521757d65f26fc5cba13f82af14}

\begin{DoxyCompactList}\small\item\em Access to parameters associated with this hypothesis. \end{DoxyCompactList}\item 
void {\bfseries set\-Type} (int type)\label{classIMPL_1_1ParticleIDImpl_aef76a3c2e81d3075e9ac178bc0633588}

\item 
void {\bfseries set\-P\-D\-G} (int pdg)\label{classIMPL_1_1ParticleIDImpl_abc9c61b2d4c8860dbb8e2fb662534fe6}

\item 
void {\bfseries set\-Likelihood} (float log\-L)\label{classIMPL_1_1ParticleIDImpl_aaecb104f3f073ae6b1a2bb39cab16b98}

\item 
void {\bfseries set\-Algorithm\-Type} (int algorithm\-Type)\label{classIMPL_1_1ParticleIDImpl_a5717d466042fadd9d9cae3da680fa337}

\item 
void {\bfseries add\-Parameter} (float p)\label{classIMPL_1_1ParticleIDImpl_a1b2b2a040ffaf33590f8a13d13777a74}

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

\item 
int {\bfseries \-\_\-pdg}\label{classIMPL_1_1ParticleIDImpl_ae2ef4c0de7e119cf23b58c3f8929d974}

\item 
float {\bfseries \-\_\-likelihood}\label{classIMPL_1_1ParticleIDImpl_ade44af890c51d03004c91ac4806a6bc8}

\item 
int {\bfseries \-\_\-algorithm\-Type}\label{classIMPL_1_1ParticleIDImpl_a1dd962a9c201be78df7f15167da1975d}

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

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


\subsection{Detailed Description}
Implementation of Particle\-I\-D. 

\begin{DoxySeeAlso}{See Also}
Particle\-I\-D 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
gaede 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Particle\-I\-D\-Impl.\-h}{p.}{ParticleIDImpl_8h_source},v 1.\-11 2008-\/05-\/30 13\-:23\-:27 gaede Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{I\-M\-P\-L\-::\-Particle\-I\-D\-Impl@{I\-M\-P\-L\-::\-Particle\-I\-D\-Impl}!get\-Algorithm\-Type@{get\-Algorithm\-Type}}
\index{get\-Algorithm\-Type@{get\-Algorithm\-Type}!IMPL::ParticleIDImpl@{I\-M\-P\-L\-::\-Particle\-I\-D\-Impl}}
\subsubsection[{get\-Algorithm\-Type}]{\setlength{\rightskip}{0pt plus 5cm}int I\-M\-P\-L\-::\-Particle\-I\-D\-Impl\-::get\-Algorithm\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1ParticleIDImpl_a4b7444cba68007c7514bc20767f5ac36}


Type of the algorithm/module that created this hypothesis -\/ N\-O\-T\-E\-: must be unique within one collection. 

Check/set collection parameters P\-I\-D\-Algorithm\-Type\-Name and P\-I\-D\-Algorithm\-Type\-I\-D. 

Implements {\bf E\-V\-E\-N\-T\-::\-Particle\-I\-D} \doxyref{}{p.}{classEVENT_1_1ParticleID_a4a2f2e357e462b385aac51c63fd48544}.

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


Parameters associated with this hypothesis. 

Check/set collection parameter Parameter\-Names\-\_\-\-P\-I\-D\-Algorithm\-Type\-Name for decoding the indices. 

Implements {\bf E\-V\-E\-N\-T\-::\-Particle\-I\-D} \doxyref{}{p.}{classEVENT_1_1ParticleID_a1bd1642652ebb958f6e3d40441d95e0d}.



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