\hypertarget{classOBTQualCut}{
\section{OBTQualCut Class Reference}
\label{classOBTQualCut}\index{OBTQualCut@{OBTQualCut}}
}
The On Board Time quality cut.  


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

Inheritance diagram for OBTQualCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classOBTQualCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classOBTQualCut_c12f44c05680f4c0a22377caaced6fb6}{OBTQualCut} (const char $\ast$cutName)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classOBTQualCut_7b5c76029db2e876a842dbaa7bbcd036}{$\sim$OBTQualCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classOBTQualCut_7731b6f7e6e08ff629550da311952c6a}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The On Board Time quality check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
UInt\_\-t \hyperlink{classOBTQualCut_e18ec7bbce8b3dc88a492bd904f1fdb1}{\_\-previousOBT}
\item 
UInt\_\-t \hyperlink{classOBTQualCut_fdd76a87a2337e0d7f3755e7d8b36107}{\_\-previousRun}
\end{CompactItemize}


\subsection{Detailed Description}
The On Board Time quality cut. 

This cut rejects events whose OBT is less than that of the previous event. When a new run starts, the previous OBT is set to the current one and the current event (ie., the first event of the run) is discarded. 

Definition at line 28 of file OBTQualCut.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classOBTQualCut_c12f44c05680f4c0a22377caaced6fb6}{
\index{OBTQualCut@{OBTQualCut}!OBTQualCut@{OBTQualCut}}
\index{OBTQualCut@{OBTQualCut}!OBTQualCut@{OBTQualCut}}
\subsubsection[{OBTQualCut}]{\setlength{\rightskip}{0pt plus 5cm}OBTQualCut::OBTQualCut (const char $\ast$ {\em cutName})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classOBTQualCut_c12f44c05680f4c0a22377caaced6fb6}


Constructor. 



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


Destructor. 



Definition at line 36 of file OBTQualCut.h.

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


The On Board Time quality 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 OBT $>$ previous OBT. 

\hyperlink{OBTQualCut_8h_1506abf860102f2a2f820c249eb660e5c3de490e92cafcab7fc60b7a87d4ee9d}{OBT\_\-NEWRUN} if the event has been discarded since it is the first of the run 

\hyperlink{OBTQualCut_8h_1506abf860102f2a2f820c249eb660e5fbd1edeb6456b0462058e91cdb4403e5}{OBT\_\-INVALID} if OBT $<$ previous OBT \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file OBTQualCut.cpp.

References \_\-previousOBT, \_\-previousRun, CUTOK, and OBT\_\-INVALID.

\subsection{Member Data Documentation}
\hypertarget{classOBTQualCut_e18ec7bbce8b3dc88a492bd904f1fdb1}{
\index{OBTQualCut@{OBTQualCut}!\_\-previousOBT@{\_\-previousOBT}}
\index{\_\-previousOBT@{\_\-previousOBT}!OBTQualCut@{OBTQualCut}}
\subsubsection[{\_\-previousOBT}]{\setlength{\rightskip}{0pt plus 5cm}UInt\_\-t {\bf OBTQualCut::\_\-previousOBT}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classOBTQualCut_e18ec7bbce8b3dc88a492bd904f1fdb1}




Definition at line 49 of file OBTQualCut.h.

Referenced by Check().\hypertarget{classOBTQualCut_fdd76a87a2337e0d7f3755e7d8b36107}{
\index{OBTQualCut@{OBTQualCut}!\_\-previousRun@{\_\-previousRun}}
\index{\_\-previousRun@{\_\-previousRun}!OBTQualCut@{OBTQualCut}}
\subsubsection[{\_\-previousRun}]{\setlength{\rightskip}{0pt plus 5cm}UInt\_\-t {\bf OBTQualCut::\_\-previousRun}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classOBTQualCut_fdd76a87a2337e0d7f3755e7d8b36107}




Definition at line 50 of file OBTQualCut.h.

Referenced by Check().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
MiscCuts/OBTQualCut/\hyperlink{OBTQualCut_8h}{OBTQualCut.h}\item 
MiscCuts/OBTQualCut/\hyperlink{OBTQualCut_8cpp}{OBTQualCut.cpp}\end{CompactItemize}
