\hypertarget{classTofBetaRangeCut}{
\section{TofBetaRangeCut Class Reference}
\label{classTofBetaRangeCut}\index{TofBetaRangeCut@{TofBetaRangeCut}}
}
The TofBetaRange cut. This cut selects a range of beta values. Note that beta can be either positive (downward going particle) or negative (upward going particle).  


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

Inheritance diagram for TofBetaRangeCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classTofBetaRangeCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classTofBetaRangeCut_87a89f82b498c4f200f5315747f3bfaf}{TofBetaRangeCut} (const char $\ast$cutName, int $\ast$trackTof=NULL, float resMax=10., float qualCut=10., float chi2Cut=20., float minBeta=-100., float maxBeta=100.)
\begin{CompactList}\small\item\em Constructor. The parameters are: the TOF-index for the track which is necessary to input to derive the beta; resMax, qualCut and chi2Cut for the quality of beta; the minimum and maximum beta values. 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. NOTE: beta can be either positive (downward going particle) or negative (upward going particle). Beta = 100 means beta calculation was not successful. \item\end{CompactList}\item 
\hyperlink{classTofBetaRangeCut_2a1c13e6ee49c8556a500b19b89edb63}{$\sim$TofBetaRangeCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classTofBetaRangeCut_e9ee404fb4b3435746113d72c9471ec9}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The TofBetaRange check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
int $\ast$ \hyperlink{classTofBetaRangeCut_82583c5944fdb33ab06b63fa46c21ef9}{\_\-trackTof}
\item 
float \hyperlink{classTofBetaRangeCut_420bf1bba30d1e3d06b23074fc196f6d}{\_\-resMax}
\item 
float \hyperlink{classTofBetaRangeCut_4cecaf8232e2f2f6a3a9d7e25cca5b73}{\_\-qualCut}
\item 
float \hyperlink{classTofBetaRangeCut_89333677cae06cb5aa6457ad22e783f0}{\_\-chi2Cut}
\item 
float \hyperlink{classTofBetaRangeCut_2e59dcccdc1c34bb4db407711a59eaec}{\_\-minBeta}
\item 
float \hyperlink{classTofBetaRangeCut_1bf0ee8921d0743da2b1666e51009d39}{\_\-maxBeta}
\end{CompactItemize}


\subsection{Detailed Description}
The TofBetaRange cut. This cut selects a range of beta values. Note that beta can be either positive (downward going particle) or negative (upward going particle). 

Definition at line 20 of file TofBetaRangeCut.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classTofBetaRangeCut_87a89f82b498c4f200f5315747f3bfaf}{
\index{TofBetaRangeCut@{TofBetaRangeCut}!TofBetaRangeCut@{TofBetaRangeCut}}
\index{TofBetaRangeCut@{TofBetaRangeCut}!TofBetaRangeCut@{TofBetaRangeCut}}
\subsubsection[{TofBetaRangeCut}]{\setlength{\rightskip}{0pt plus 5cm}TofBetaRangeCut::TofBetaRangeCut (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.}, \/  float {\em minBeta} = {\tt -100.}, \/  float {\em maxBeta} = {\tt 100.})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classTofBetaRangeCut_87a89f82b498c4f200f5315747f3bfaf}


Constructor. The parameters are: the TOF-index for the track which is necessary to input to derive the beta; resMax, qualCut and chi2Cut for the quality of beta; the minimum and maximum beta values. 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. NOTE: beta can be either positive (downward going particle) or negative (upward going particle). Beta = 100 means beta calculation was not successful. 

\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{]}) \item[{\em minBeta}]the minimum beta value (with sign) \item[{\em maxBeta}]the maximum beta value (with sign) \end{description}
\end{Desc}


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


Destructor. 



Definition at line 44 of file TofBetaRangeCut.h.

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


The TofBetaRange 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 particle beta is inside the specified range (minBeta $<$ beta $<$ maxBeta) 

0 otherwise \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file TofBetaRangeCut.cpp.

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

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




Definition at line 58 of file TofBetaRangeCut.h.

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




Definition at line 60 of file TofBetaRangeCut.h.

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




Definition at line 60 of file TofBetaRangeCut.h.

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




Definition at line 58 of file TofBetaRangeCut.h.

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




Definition at line 58 of file TofBetaRangeCut.h.

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




Definition at line 57 of file TofBetaRangeCut.h.

Referenced by Check().

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