\hypertarget{classTofBetaCut}{
\section{TofBetaCut Class Reference}
\label{classTofBetaCut}\index{TofBetaCut@{TofBetaCut}}
}
The TofBeta cut. This cut ensures that beta (referred to a specified track) has been calculated.  


{\tt \#include $<$TofBetaCut.h$>$}

Inheritance diagram for TofBetaCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classTofBetaCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classTofBetaCut_f3558a0925e5aad26b67e550ca490e08}{TofBetaCut} (const char $\ast$cutName, int $\ast$trackTof=NULL, float resMax=10., float qualCut=10., float chi2Cut=20.)
\begin{CompactList}\small\item\em Constructor. The parameters are: the TOF-index for the track which is necessary to input to derive the beta and (resMax, qualCut and chi2Cut) for the quality of beta. Various combinations of quality parameters are possible: default low-quality beta (used for beta\mbox{[}12\mbox{]}): 10.,10.,20.; medium-quality beta: 5.,15.,4.; high-quality beta: 3.,20.,3. \item\end{CompactList}\item 
\hyperlink{classTofBetaCut_4d602e5ad6f57d9c1c81e37695cafb32}{$\sim$TofBetaCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classTofBetaCut_8be0aa44a411b218f7dcf502b53864ff}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The TofBeta check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
float \hyperlink{classTofBetaCut_967ed6b17cccf6d5028ae2d97e2e86a7}{beta}
\begin{CompactList}\small\item\em The beta value for the last examined event. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
int $\ast$ \hyperlink{classTofBetaCut_5a991e211c362711432fcf0098c7fc5d}{\_\-trackTof}
\item 
float \hyperlink{classTofBetaCut_0138921682f62e7afd60d7ddcf6567b7}{\_\-resMax}
\item 
float \hyperlink{classTofBetaCut_a3ced7cca9346c347f7e6fc8f533b0dc}{\_\-qualCut}
\item 
float \hyperlink{classTofBetaCut_17935191513ef4e584ce3a0f2c530fbb}{\_\-chi2Cut}
\end{CompactItemize}


\subsection{Detailed Description}
The TofBeta cut. This cut ensures that beta (referred to a specified track) has been calculated. 



Definition at line 21 of file TofBetaCut.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classTofBetaCut_f3558a0925e5aad26b67e550ca490e08}{
\index{TofBetaCut@{TofBetaCut}!TofBetaCut@{TofBetaCut}}
\index{TofBetaCut@{TofBetaCut}!TofBetaCut@{TofBetaCut}}
\subsubsection[{TofBetaCut}]{\setlength{\rightskip}{0pt plus 5cm}TofBetaCut::TofBetaCut (const char $\ast$ {\em cutName}, \/  int $\ast$ {\em trackTof} = {\tt NULL}, \/  float {\em resMax} = {\tt 10.}, \/  float {\em qualCut} = {\tt 10.}, \/  float {\em chi2Cut} = {\tt 20.})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classTofBetaCut_f3558a0925e5aad26b67e550ca490e08}


Constructor. The parameters are: the TOF-index for the track which is necessary to input to derive the beta and (resMax, qualCut and chi2Cut) for the quality of beta. Various combinations of quality parameters are possible: default low-quality beta (used for beta\mbox{[}12\mbox{]}): 10.,10.,20.; medium-quality beta: 5.,15.,4.; high-quality beta: 3.,20.,3. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cutName}]The cut's name. \item[{\em trackTof}]Pointer to the TOF-index indicating the track to be used when evaluating the beta (default value for TOF\_\-index is 0, corresponding to the TOF stand-alone track \mbox{[}no TRK information to build the TOF stand-alone track\mbox{]}). The pointer to the TOF\_\-index for TRK-track as given by \hyperlink{classTrkPhSinCut}{TrkPhSinCut} can be used.\item[{\em resMax}]Default: 10. (equivalent to beta\mbox{[}12\mbox{]}) \item[{\em qualCut}]Default: 10. (equivalent to beta\mbox{[}12\mbox{]}) \item[{\em chi2Cut}]Default: 20. (equivalent to beta\mbox{[}12\mbox{]}) \end{description}
\end{Desc}


Definition at line 38 of file TofBetaCut.h.\hypertarget{classTofBetaCut_4d602e5ad6f57d9c1c81e37695cafb32}{
\index{TofBetaCut@{TofBetaCut}!$\sim$TofBetaCut@{$\sim$TofBetaCut}}
\index{$\sim$TofBetaCut@{$\sim$TofBetaCut}!TofBetaCut@{TofBetaCut}}
\subsubsection[{$\sim$TofBetaCut}]{\setlength{\rightskip}{0pt plus 5cm}TofBetaCut::$\sim$TofBetaCut ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classTofBetaCut_4d602e5ad6f57d9c1c81e37695cafb32}


Destructor. 



Definition at line 42 of file TofBetaCut.h.

\subsection{Member Function Documentation}
\hypertarget{classTofBetaCut_8be0aa44a411b218f7dcf502b53864ff}{
\index{TofBetaCut@{TofBetaCut}!Check@{Check}}
\index{Check@{Check}!TofBetaCut@{TofBetaCut}}
\subsubsection[{Check}]{\setlength{\rightskip}{0pt plus 5cm}int TofBetaCut::Check (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{classTofBetaCut_8be0aa44a411b218f7dcf502b53864ff}


The TofBeta check. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event}]The event to analyze. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]\hyperlink{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}{CUTOK} if beta (\char`\"{}high quality\char`\"{}) has been calculated 

0 otherwise \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file TofBetaCut.cpp.

References \_\-chi2Cut, \_\-qualCut, \_\-resMax, \_\-trackTof, beta, and CUTOK.

\subsection{Member Data Documentation}
\hypertarget{classTofBetaCut_17935191513ef4e584ce3a0f2c530fbb}{
\index{TofBetaCut@{TofBetaCut}!\_\-chi2Cut@{\_\-chi2Cut}}
\index{\_\-chi2Cut@{\_\-chi2Cut}!TofBetaCut@{TofBetaCut}}
\subsubsection[{\_\-chi2Cut}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf TofBetaCut::\_\-chi2Cut}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classTofBetaCut_17935191513ef4e584ce3a0f2c530fbb}




Definition at line 59 of file TofBetaCut.h.

Referenced by Check().\hypertarget{classTofBetaCut_a3ced7cca9346c347f7e6fc8f533b0dc}{
\index{TofBetaCut@{TofBetaCut}!\_\-qualCut@{\_\-qualCut}}
\index{\_\-qualCut@{\_\-qualCut}!TofBetaCut@{TofBetaCut}}
\subsubsection[{\_\-qualCut}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf TofBetaCut::\_\-qualCut}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classTofBetaCut_a3ced7cca9346c347f7e6fc8f533b0dc}




Definition at line 59 of file TofBetaCut.h.

Referenced by Check().\hypertarget{classTofBetaCut_0138921682f62e7afd60d7ddcf6567b7}{
\index{TofBetaCut@{TofBetaCut}!\_\-resMax@{\_\-resMax}}
\index{\_\-resMax@{\_\-resMax}!TofBetaCut@{TofBetaCut}}
\subsubsection[{\_\-resMax}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf TofBetaCut::\_\-resMax}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classTofBetaCut_0138921682f62e7afd60d7ddcf6567b7}




Definition at line 59 of file TofBetaCut.h.

Referenced by Check().\hypertarget{classTofBetaCut_5a991e211c362711432fcf0098c7fc5d}{
\index{TofBetaCut@{TofBetaCut}!\_\-trackTof@{\_\-trackTof}}
\index{\_\-trackTof@{\_\-trackTof}!TofBetaCut@{TofBetaCut}}
\subsubsection[{\_\-trackTof}]{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ {\bf TofBetaCut::\_\-trackTof}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classTofBetaCut_5a991e211c362711432fcf0098c7fc5d}




Definition at line 57 of file TofBetaCut.h.

Referenced by Check().\hypertarget{classTofBetaCut_967ed6b17cccf6d5028ae2d97e2e86a7}{
\index{TofBetaCut@{TofBetaCut}!beta@{beta}}
\index{beta@{beta}!TofBetaCut@{TofBetaCut}}
\subsubsection[{beta}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf TofBetaCut::beta}}}
\label{classTofBetaCut_967ed6b17cccf6d5028ae2d97e2e86a7}


The beta value for the last examined event. 



Definition at line 53 of file TofBetaCut.h.

Referenced by Check().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
TofCuts/TofBetaCut/\hyperlink{TofBetaCut_8h}{TofBetaCut.h}\item 
TofCuts/TofBetaCut/\hyperlink{TofBetaCut_8cpp}{TofBetaCut.cpp}\end{CompactItemize}
