\hypertarget{classVertexChargeProcessor}{\subsection{Vertex\-Charge\-Processor Class Reference}
\label{classVertexChargeProcessor}\index{Vertex\-Charge\-Processor@{Vertex\-Charge\-Processor}}
}


Calculates the Vertex Charge.  




{\ttfamily \#include $<$Vertex\-Charge\-Processor.\-h$>$}



Inherits Processor.



Collaboration diagram for Vertex\-Charge\-Processor\-:


\subsubsection{Detailed Description}
Calculates the Vertex Charge. 

The processor calculated the vertex charge of a Decay Chain by using the tracks and the verteces present in the chain. Two logically slightly different algorithms are used depending on the hypothesis of a B or C quark Vertex. In the B hypothesis we include the inner verteces, in the C we do not include them. This choice is controlled by the parameter Charge\-All\-Secondary\-Tracks.

\subparagraph*{Input}


\begin{DoxyItemize}
\item A collection of Reconstructed\-Particles that represents the jets in the event (obtained from a jet finder, say Satoru\-Jet\-Finder\-Processor, although in order not to break the reconstruction chain we suggest you run this after the flavour tagging. In this way the L\-C\-F\-I chain remains intact).
\item A collection of vertices that contains the per event primary vertices; one for each event. (optional) This collection is filled in the \hyperlink{classvertex__lcfi_1_1PerEventIPFitter}{vertex\-\_\-lcfi\-::\-Per\-Event\-I\-P\-Fitter} processor.
\item A collection of decay chains as filled by the the \hyperlink{classZVTOPZVRESProcessor}{Z\-V\-T\-O\-P\-Z\-V\-R\-E\-S\-Processor} or \hyperlink{classZVTOPZVKINProcessor}{Z\-V\-T\-O\-P\-Z\-V\-K\-I\-N\-Processor}.
\end{DoxyItemize}

\subparagraph*{Output}

The processor writes into the selected lcio output file. All the values calculated by the processor are saved in the same L\-C\-Float\-Vec collection. The default name of the output collection is Charge.\-Although this is changed in the steering files to something more appropriate, depending on B or C calculation. For more details see \hyperlink{LCIO}{the interface documentation}.


\begin{DoxyParams}{Parameters}
{\em Vertex\-Charge\-Collection} & collection where results will be stored. \\
\hline
{\em Charge\-All\-Secondary\-Tracks} & include or exclude tracks in the inner vertices for the track attachment. \\
\hline
{\em Charge\-Closeapproach\-Cut} & upper cut on track distance of closest approach to the seed axis in the calculation of the vertex charge variable, used by \hyperlink{classvertex__lcfi_1_1TrackAttach}{vertex\-\_\-lcfi\-::\-Track\-Attach}. \\
\hline
{\em Charge\-Lo\-D\-Cutmax} & Cut determining the maximum L/\-D for the Charge, used by \hyperlink{classvertex__lcfi_1_1TrackAttach}{vertex\-\_\-lcfi\-::\-Track\-Attach} (when calculating C-\/\-Charge) \\
\hline
{\em Charge\-Lo\-D\-Cutmin} & Cut determining the minimum L/\-D for the Charge, used by \hyperlink{classvertex__lcfi_1_1TrackAttach}{vertex\-\_\-lcfi\-::\-Track\-Attach} (when calculating C-\/\-Charge)\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Erik Devetak(\href{mailto:erik.devetak1@physics.ox.ac.uk}{\tt erik.\-devetak1@physics.\-ox.\-ac.\-uk}) 
\end{DoxyAuthor}


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