\hypertarget{classTrkRigRangeCut}{
\section{TrkRigRangeCut Class Reference}
\label{classTrkRigRangeCut}\index{TrkRigRangeCut@{TrkRigRangeCut}}
}
The rigidity range cut. This cut discards all the events whose rigidity is less than the minimum threshold or greater than the maximum threshold. Here rigidity is defined as p/Z (GV) where Z is the particle charge (WITH SIGN) and p the momentum modulus: therefore rigidity can be positive or negative.  


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

Inheritance diagram for TrkRigRangeCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classTrkRigRangeCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classTrkRigRangeCut_b00a7225e40d22cdcb3f33056cc731c1}{TrkRigRangeCut} (const char $\ast$cutName, float minRigidity, float maxRigidity)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classTrkRigRangeCut_86792521a0fe0c65c00aa02645990e75}{$\sim$TrkRigRangeCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classTrkRigRangeCut_ebebf52705ab17ef48ab12ec6d599c37}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The rigidity check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
float \hyperlink{classTrkRigRangeCut_25d0d2c960e4c9ba0c2c705a8a32aca6}{\_\-minRigidity}
\item 
float \hyperlink{classTrkRigRangeCut_5e38ee633a9972a050d2c34a5aaba223}{\_\-maxRigidity}
\end{CompactItemize}


\subsection{Detailed Description}
The rigidity range cut. This cut discards all the events whose rigidity is less than the minimum threshold or greater than the maximum threshold. Here rigidity is defined as p/Z (GV) where Z is the particle charge (WITH SIGN) and p the momentum modulus: therefore rigidity can be positive or negative. 

Definition at line 19 of file TrkRigRangeCut.h.

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


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cutName}]The cut's name. \item[{\em minRigidity}]The minimum rigidity p/Z (in GV) below which an event will be discarded. Can be positive or negative. \item[{\em maxRigidity}]The maximum rigidity p/Z (in GV) above which an event will be discarded. Can be positive or negative. \end{description}
\end{Desc}


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


Destructor. 



Definition at line 34 of file TrkRigRangeCut.h.

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


The rigidity 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 the rigidity is outside the range 

0 otherwise. \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file TrkRigRangeCut.cpp.

References \_\-maxRigidity, and CUTOK.

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




Definition at line 48 of file TrkRigRangeCut.h.

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




Definition at line 47 of file TrkRigRangeCut.h.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
TrkCuts/TrkRigRangeCut/\hyperlink{TrkRigRangeCut_8h}{TrkRigRangeCut.h}\item 
TrkCuts/TrkRigRangeCut/\hyperlink{TrkRigRangeCut_8cpp}{TrkRigRangeCut.cpp}\end{CompactItemize}
