\hypertarget{classEvRateS11Cut}{
\section{EvRateS11Cut Class Reference}
\label{classEvRateS11Cut}\index{EvRateS11Cut@{EvRateS11Cut}}
}
Cut on event rate on S11.  


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

Inheritance diagram for EvRateS11Cut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classEvRateS11Cut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classEvRateS11Cut_abfeba82d3f8f0bbf29b253c17324aba}{EvRateS11Cut} (const char $\ast$cutName, float maxRate=1e06, float minRate=0.)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classEvRateS11Cut_19077ac390563b97bb7325e6f9ea783a}{$\sim$EvRateS11Cut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classEvRateS11Cut_196fc98a75f1acc3ddef7dc86b5150a1}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The event rate check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
float \hyperlink{classEvRateS11Cut_2d4e7bebcf80321a3185154e97546a4b}{\_\-maxRate}
\item 
float \hyperlink{classEvRateS11Cut_4cbb71886d25c15196357c4de5e3a5d4}{\_\-minRate}
\end{CompactItemize}


\subsection{Detailed Description}
Cut on event rate on S11. 

This cut discards those events recorded when the event rate on S11 was outside a certain range. 

Definition at line 20 of file EvRateS11Cut.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classEvRateS11Cut_abfeba82d3f8f0bbf29b253c17324aba}{
\index{EvRateS11Cut@{EvRateS11Cut}!EvRateS11Cut@{EvRateS11Cut}}
\index{EvRateS11Cut@{EvRateS11Cut}!EvRateS11Cut@{EvRateS11Cut}}
\subsubsection[{EvRateS11Cut}]{\setlength{\rightskip}{0pt plus 5cm}EvRateS11Cut::EvRateS11Cut (const char $\ast$ {\em cutName}, \/  float {\em maxRate} = {\tt 1e06}, \/  float {\em minRate} = {\tt 0.})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classEvRateS11Cut_abfeba82d3f8f0bbf29b253c17324aba}


Constructor. 

Default values for the rates are chosen to reject none of the events.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cutName}]The cut's name. \item[{\em maxRate}]The maximum rate. \item[{\em minRate}]The minimum rate. \end{description}
\end{Desc}


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


Destructor. 



Definition at line 35 of file EvRateS11Cut.h.

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


The event rate 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 event rate on S11 is between minRate and maxRate. 

0 otherwise \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file EvRateS11Cut.cpp.

References \_\-maxRate, \_\-minRate, and CUTOK.

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




Definition at line 47 of file EvRateS11Cut.h.

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




Definition at line 47 of file EvRateS11Cut.h.

Referenced by Check().

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