\hypertarget{classPktQualCut}{
\section{PktQualCut Class Reference}
\label{classPktQualCut}\index{PktQualCut@{PktQualCut}}
}
The packet number quality cut.  


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

Inheritance diagram for PktQualCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classPktQualCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classPktQualCut_1129fbe226c512b9c6f8499968306faa}{PktQualCut} (const char $\ast$cutName)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classPktQualCut_f4937386b676871035dca05bb4e67889}{$\sim$PktQualCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classPktQualCut_80b1473a595cd2536ae434212bbe00fc}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The packet number quality check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
UInt\_\-t \hyperlink{classPktQualCut_3cfa4a53560dfd9c43e50dc08f3299e5}{\_\-previousPkt}
\item 
UInt\_\-t \hyperlink{classPktQualCut_d6bae6178dbc8eb946f2d26de0049da8}{\_\-previousRun}
\end{CompactItemize}


\subsection{Detailed Description}
The packet number quality cut. 

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

Definition at line 29 of file PktQualCut.h.

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


Constructor. 



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


Destructor. 



Definition at line 37 of file PktQualCut.h.

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


The packet number 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 packet number $>$ previous packet number. 

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

\hyperlink{PktQualCut_8h_268e9cd01607bccd4ab9e6ec7532c738361055874a7069d9fc9fa8acc562de02}{PKT\_\-INVALID} if packet number $>$ previous packet number. \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file PktQualCut.cpp.

References \_\-previousPkt, \_\-previousRun, CUTOK, and PKT\_\-INVALID.

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




Definition at line 50 of file PktQualCut.h.

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




Definition at line 51 of file PktQualCut.h.

Referenced by Check().

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