\hypertarget{classTofBetaRigCut}{
\section{TofBetaRigCut Class Reference}
\label{classTofBetaRigCut}\index{TofBetaRigCut@{TofBetaRigCut}}
}
The match between TOF beta modulus and TRK beta modulus. This cut discards all the events for which the absolute RELATIVE difference between TRK beta modulus (calculated from rigidity of TRK track, mass M and charge Z) and TOF beta modulus is greater than the threshold. Rigidity is defined as p/Z (GV) where Z is the particle charge and p the momentum modulus. CUT DEPENDENCIES: TrkPhysSin for object trkTrack.  


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

Inheritance diagram for TofBetaRigCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classTofBetaRigCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classTofBetaRigCut_afe84615ab1b47d72812cf70a40b5d7f}{TofBetaRigCut} (const char $\ast$cutName, float threshold, int charge=1, float mass=0.93827203)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classTofBetaRigCut_a57470d62b21d738a5f12bdddd6f4219}{$\sim$TofBetaRigCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classTofBetaRigCut_661c3a16f981d43c28ccea04242a2a17}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The rigidity check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
float \hyperlink{classTofBetaRigCut_64d4ca7f488b148a47ec57d63a21bd7a}{\_\-threshold}
\item 
int \hyperlink{classTofBetaRigCut_f96c5c502466dce216acef86b40f90c5}{\_\-charge}
\item 
float \hyperlink{classTofBetaRigCut_6f5740800a492eda945ee8be637b70aa}{\_\-mass}
\end{CompactItemize}


\subsection{Detailed Description}
The match between TOF beta modulus and TRK beta modulus. This cut discards all the events for which the absolute RELATIVE difference between TRK beta modulus (calculated from rigidity of TRK track, mass M and charge Z) and TOF beta modulus is greater than the threshold. Rigidity is defined as p/Z (GV) where Z is the particle charge and p the momentum modulus. CUT DEPENDENCIES: TrkPhysSin for object trkTrack. 

Definition at line 22 of file TofBetaRigCut.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classTofBetaRigCut_afe84615ab1b47d72812cf70a40b5d7f}{
\index{TofBetaRigCut@{TofBetaRigCut}!TofBetaRigCut@{TofBetaRigCut}}
\index{TofBetaRigCut@{TofBetaRigCut}!TofBetaRigCut@{TofBetaRigCut}}
\subsubsection[{TofBetaRigCut}]{\setlength{\rightskip}{0pt plus 5cm}TofBetaRigCut::TofBetaRigCut (const char $\ast$ {\em cutName}, \/  float {\em threshold}, \/  int {\em charge} = {\tt 1}, \/  float {\em mass} = {\tt 0.93827203})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classTofBetaRigCut_afe84615ab1b47d72812cf70a40b5d7f}


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cutName}]The cut's name. \item[{\em charge}]The particle charge (in units of proton charge: e.g. Z=1) \item[{\em mass}]The particle mass (in GeV; e.g. m=0.93827203 GeV) \item[{\em threshold}]The rigidity-difference threshold (in GV) \end{description}
\end{Desc}


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


Destructor. 



Definition at line 50 of file TofBetaRigCut.h.

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


The rigidity 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 the beta difference is less than the threshold 

0 otherwise. \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file TofBetaRigCut.cpp.

References \_\-charge, \_\-mass, \_\-threshold, and CUTOK.

\subsection{Member Data Documentation}
\hypertarget{classTofBetaRigCut_f96c5c502466dce216acef86b40f90c5}{
\index{TofBetaRigCut@{TofBetaRigCut}!\_\-charge@{\_\-charge}}
\index{\_\-charge@{\_\-charge}!TofBetaRigCut@{TofBetaRigCut}}
\subsubsection[{\_\-charge}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf TofBetaRigCut::\_\-charge}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classTofBetaRigCut_f96c5c502466dce216acef86b40f90c5}




Definition at line 79 of file TofBetaRigCut.h.

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




Definition at line 80 of file TofBetaRigCut.h.

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




Definition at line 78 of file TofBetaRigCut.h.

Referenced by Check().

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