\hypertarget{classTofDedxS1Cut}{
\section{TofDedxS1Cut Class Reference}
\label{classTofDedxS1Cut}\index{TofDedxS1Cut@{TofDedxS1Cut}}
}
The TofQual cut. This cut is done for each S1 layer: if there is one and only one hit paddle for the layer, then the dE/dX of the paddle (referred to a specified track) must be less than a fixed threshold. NOTE: 'hit paddle' means that both TDC signals are present AND they are both 'good' (according to TOF definition of 'good' TDC signal).  


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

Inheritance diagram for TofDedxS1Cut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classTofDedxS1Cut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classTofDedxS1Cut_3e81f8af88c85178d0b0dbb65f112952}{TofDedxS1Cut} (const char $\ast$cutName, float maxDedxS1, int $\ast$trackTof=NULL)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classTofDedxS1Cut_0824d4588c896fd6ef59bc20e491d65b}{$\sim$TofDedxS1Cut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classTofDedxS1Cut_28eb66874012caa199a3d78bf99c59ae}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The TofDedxS1 check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
float \hyperlink{classTofDedxS1Cut_c1ca7a7e8ba5656484720c43aefb6eb6}{\_\-maxDedxS1}
\item 
int $\ast$ \hyperlink{classTofDedxS1Cut_443130c89d8db06a3f74a2764393de55}{\_\-trackTof}
\item 
int \hyperlink{classTofDedxS1Cut_e0d378b2bc9e36f5ec3dac46f1f4a8cf}{\_\-nHitPadPair} \mbox{[}3\mbox{]}
\end{CompactItemize}


\subsection{Detailed Description}
The TofQual cut. This cut is done for each S1 layer: if there is one and only one hit paddle for the layer, then the dE/dX of the paddle (referred to a specified track) must be less than a fixed threshold. NOTE: 'hit paddle' means that both TDC signals are present AND they are both 'good' (according to TOF definition of 'good' TDC signal). 



Definition at line 21 of file TofDedxS1Cut.h.

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


Constructor. 

The parameters are: maximum dE/dX for S1 layers and the TOF-index for the track which is necessary to input to derive the dE/dX for S1 layers.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cutName}]The cut's name. \item[{\em maxDedxS1}]The maximum dE/dX for each S1 layer, for which the event is accepted \item[{\em trackTof}]Pointer to the TOF-index indicating the track to be used when evaluating the dE/dX for S1 layers (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. \end{description}
\end{Desc}


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


Destructor. 



Definition at line 37 of file TofDedxS1Cut.h.

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


The TofDedxS1 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 for each layer of S1 with one and only one hit paddle, the paddle dE/dX is less than a fixed threshold 

0 otherwise \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file TofDedxS1Cut.cpp.

References \_\-maxDedxS1, \_\-trackTof, CUTOK, and TOFNPADLAYER.

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




Definition at line 50 of file TofDedxS1Cut.h.

Referenced by Check().\hypertarget{classTofDedxS1Cut_e0d378b2bc9e36f5ec3dac46f1f4a8cf}{
\index{TofDedxS1Cut@{TofDedxS1Cut}!\_\-nHitPadPair@{\_\-nHitPadPair}}
\index{\_\-nHitPadPair@{\_\-nHitPadPair}!TofDedxS1Cut@{TofDedxS1Cut}}
\subsubsection[{\_\-nHitPadPair}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf TofDedxS1Cut::\_\-nHitPadPair}\mbox{[}3\mbox{]}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classTofDedxS1Cut_e0d378b2bc9e36f5ec3dac46f1f4a8cf}




Definition at line 52 of file TofDedxS1Cut.h.\hypertarget{classTofDedxS1Cut_443130c89d8db06a3f74a2764393de55}{
\index{TofDedxS1Cut@{TofDedxS1Cut}!\_\-trackTof@{\_\-trackTof}}
\index{\_\-trackTof@{\_\-trackTof}!TofDedxS1Cut@{TofDedxS1Cut}}
\subsubsection[{\_\-trackTof}]{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ {\bf TofDedxS1Cut::\_\-trackTof}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classTofDedxS1Cut_443130c89d8db06a3f74a2764393de55}




Definition at line 51 of file TofDedxS1Cut.h.

Referenced by Check().

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