\hypertarget{classLTQualCut}{
\section{LTQualCut Class Reference}
\label{classLTQualCut}\index{LTQualCut@{LTQualCut}}
}
The live-time data quality cut: rejects the first event of each run and events with LT greater than an upper threshold (or with LT smaller than 0).  


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

Inheritance diagram for LTQualCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classLTQualCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classLTQualCut_c358da9eb502cfe964b682e89e34b5ca}{LTQualCut} (const char $\ast$cutName, float threshold=4500)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classLTQualCut_4c7b3319c00ecad7e55b90539b524c53}{$\sim$LTQualCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classLTQualCut_b38dc0bd6b25f899753b4598c278e6a2}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The live time quality check. \item\end{CompactList}\item 
float \hyperlink{classLTQualCut_fe8fd76dbc23d11dfa24f2468f78d3d8}{GetLT} ()
\begin{CompactList}\small\item\em Returns the live time of the last examined event. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
unsigned int \hyperlink{classLTQualCut_14f95efcc2ab0b4746fd8507cbc76c32}{\_\-previousRun}
\item 
float \hyperlink{classLTQualCut_c69f0d887b77b6dcd493f3e65d1cbae7}{\_\-LT}
\item 
float \hyperlink{classLTQualCut_16d07f171dcecb0a847fe237cc290ff6}{\_\-timeout}
\end{CompactItemize}


\subsection{Detailed Description}
The live-time data quality cut: rejects the first event of each run and events with LT greater than an upper threshold (or with LT smaller than 0). 

Definition at line 24 of file LTQualCut.h.

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


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cutName}]The cut's name. \item[{\em threshold}]The live time maximum accepted value in ms. It is the value above which a live time is considered invalid. It must be less than the trigger timeout on IDAQ board, which is $\sim$ 4600 ms. Default is 4500 (use of different values must be justified). \end{description}
\end{Desc}


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


Destructor. 



Definition at line 38 of file LTQualCut.h.

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


The live 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 LT $<$ timeout. 

\hyperlink{LTQualCut_8h_7d30c7d7f0c700a98b8a05984c842c4fb2905806ac12cf7f821238ebfccd90c4}{LT\_\-INVALID} if LT $>$ timeout. 

\hyperlink{LTQualCut_8h_7d30c7d7f0c700a98b8a05984c842c4f5a3b012c296a8ace38a9a256d2df3b6c}{LT\_\-NEWRUN} if the event is at the beginning of the run. \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file LTQualCut.cpp.

References \_\-LT, \_\-previousRun, \_\-timeout, CUTOK, LT\_\-INVALID, and LT\_\-NEWRUN.\hypertarget{classLTQualCut_fe8fd76dbc23d11dfa24f2468f78d3d8}{
\index{LTQualCut@{LTQualCut}!GetLT@{GetLT}}
\index{GetLT@{GetLT}!LTQualCut@{LTQualCut}}
\subsubsection[{GetLT}]{\setlength{\rightskip}{0pt plus 5cm}float LTQualCut::GetLT ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classLTQualCut_fe8fd76dbc23d11dfa24f2468f78d3d8}


Returns the live time of the last examined event. 

\begin{Desc}
\item[Returns:]The live time of the last examined event in ms (-1 -$>$ first event of the run). \end{Desc}


Definition at line 54 of file LTQualCut.h.

References \_\-LT.

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




Definition at line 58 of file LTQualCut.h.

Referenced by Check(), and GetLT().\hypertarget{classLTQualCut_14f95efcc2ab0b4746fd8507cbc76c32}{
\index{LTQualCut@{LTQualCut}!\_\-previousRun@{\_\-previousRun}}
\index{\_\-previousRun@{\_\-previousRun}!LTQualCut@{LTQualCut}}
\subsubsection[{\_\-previousRun}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf LTQualCut::\_\-previousRun}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classLTQualCut_14f95efcc2ab0b4746fd8507cbc76c32}




Definition at line 57 of file LTQualCut.h.

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




Definition at line 59 of file LTQualCut.h.

Referenced by Check().

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