\hypertarget{classPerEventIPFitterProcessor}{\subsection{Per\-Event\-I\-P\-Fitter\-Processor Class Reference}
\label{classPerEventIPFitterProcessor}\index{Per\-Event\-I\-P\-Fitter\-Processor@{Per\-Event\-I\-P\-Fitter\-Processor}}
}


Determine I\-P position and error from the tracks in an event by simple fit.  




{\ttfamily \#include $<$Per\-Event\-I\-P\-Fitter.\-h$>$}



Inherits Processor.



Collaboration diagram for Per\-Event\-I\-P\-Fitter\-Processor\-:


\subsubsection{Detailed Description}
Determine I\-P position and error from the tracks in an event by simple fit. 

\subparagraph*{Inputs}

\begin{TabularC}{3}
\hline
Name &Type &Represents \\\cline{1-3}
Input\-R\-P\-Collection\-Name &Reconstructed\-Particle &Tracks to be fit \\\cline{1-3}
\end{TabularC}
\subparagraph*{Outputs}

\begin{TabularC}{3}
\hline
Name &Type &Represents \\\cline{1-3}
Vertex\-Collection\-Name &Vertex &Fitted I\-P \\\cline{1-3}
\end{TabularC}
\subparagraph*{Description}

This processor fits a set of L\-C\-I\-O Reconstructed\-Particles (which must have an L\-C\-I\-O Track attached to be used) to a common point. This is performed by iterative fitting, with removal of the track with highest chi-\/squared at each iteration until the fit reaches the probability threshold. If only one track remains then the default I\-P position and error are used. The result is stored as an L\-C\-I\-O Vertex. \par
This processor is highly unoptimised and untuned, and may take a long time to execute on a large set of tracks. \par
Currently uses Vertex\-Fitter\-L\-S\-M (from Z\-V\-T\-O\-P) to perform fitting.


\begin{DoxyParams}{Parameters}
{\em Input\-R\-P\-Collection} & Name of the Reconstructed\-Particle collection to be fit \\
\hline
{\em Vertex\-Collection\-Name} & Name of the output Vertex collection \\
\hline
{\em Default\-I\-P\-Pos} & Length 3 Float Vector of position (x,y,z) returned (as L\-C\-I\-O Vertex) if no fit is found \\
\hline
{\em Default\-I\-P\-Err} & Length 6 Float Vector of covariance (lower symmetric) returned (as L\-C\-I\-O Vertex) if no fit is found \\
\hline
{\em Probability\-Threshold} & Once the vertex is above this probability it is returned\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Ben Jeffery (\href{mailto:b.jeffery1@physics.ox.ac.uk}{\tt b.\-jeffery1@physics.\-ox.\-ac.\-uk}) 
\end{DoxyAuthor}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Per\-Event\-I\-P\-Fitter.\-h\end{DoxyCompactItemize}
