\section{T\-T\-Bar\-Example Class Reference}
\label{classTTBarExample}\index{T\-T\-Bar\-Example@{T\-T\-Bar\-Example}}


An example processor for a kinematic fit.  




{\ttfamily \#include $<$T\-T\-Bar\-Example.\-h$>$}

Inheritance diagram for T\-T\-Bar\-Example\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classTTBarExample}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classTTBarExample_a04fa90e2135b45c5465462002475877b}

\item 
virtual void {\bf init} ()
\begin{DoxyCompactList}\small\item\em Called at the begin of the job before anything is read. \end{DoxyCompactList}\item 
virtual void {\bf process\-Run\-Header} (L\-C\-Run\-Header $\ast$run)\label{classTTBarExample_a7b7b0dc764b1ca0ff343b44fc527240a}

\begin{DoxyCompactList}\small\item\em Called for every run. \end{DoxyCompactList}\item 
virtual void {\bf process\-Event} (L\-C\-Event $\ast$evt)\label{classTTBarExample_aad46e82bdc9ae725f740a959f517ad2d}

\begin{DoxyCompactList}\small\item\em Called for every event -\/ the working horse. \end{DoxyCompactList}\item 
virtual void {\bfseries check} (L\-C\-Event $\ast$evt)\label{classTTBarExample_a6dfa7911ca228faac5d49c446e2367d2}

\item 
virtual void {\bf end} ()\label{classTTBarExample_aeea1488fba061c14f810a99a2a86e1ab}

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-lightjetcol\-Name}\label{classTTBarExample_ac8ad4fbd3aef36c31f8c9ee9ea4e027e}

\begin{DoxyCompactList}\small\item\em Input collection name. \end{DoxyCompactList}\item 
std\-::string {\bfseries \-\_\-bjetcol\-Name}\label{classTTBarExample_a4a1025cf8278d1bbb4019ad76fe8cc77}

\item 
float {\bf \-\_\-ecm}\label{classTTBarExample_a802abadbc84a89a3b94074a2e3e33cd9}

\begin{DoxyCompactList}\small\item\em Input parameter\-: center of mass energy. \end{DoxyCompactList}\item 
int {\bfseries \-\_\-n\-Run}\label{classTTBarExample_a836a326d5e5db38b0481ab0ccdf0cf65}

\item 
int {\bfseries \-\_\-n\-Evt}\label{classTTBarExample_ab17a76e04a435f62b9ae9202225374e5}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
An example processor for a kinematic fit. 

... testing a ttbar -\/$>$ 6jets hypothesis with energy and momentum conservation and W mass constraints

\subparagraph*{Input -\/ Prerequisites}

Needs two Reconstructed\-Particle collections, one with 4 light jets, one with 2 b-\/tagged jets

\subparagraph*{Output}

Some histogram.


\begin{DoxyParams}{Parameters}
{\em Collection\-Name} & Name of the Reconstructed\-Particle collection for light jets \\
\hline
{\em Collection\-Name} & Name of the Reconstructed\-Particle collection for b-\/jets\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
J. List, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{T\-T\-Bar\-Example.\-h}{p.}{TTBarExample_8h_source},v 1.\-1 2008/02/12 10\-:19\-:07 blist Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{T\-T\-Bar\-Example@{T\-T\-Bar\-Example}!init@{init}}
\index{init@{init}!TTBarExample@{T\-T\-Bar\-Example}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void T\-T\-Bar\-Example\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classTTBarExample_a07cea4b81d16cdea60050bdd7fbde155}


Called at the begin of the job before anything is read. 

Use to initialize the processor, e.\-g. book histograms. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
T\-T\-Bar\-Example.\-h\item 
T\-T\-Bar\-Example.\-cc\end{DoxyCompactItemize}
