\hypertarget{classCaloIonCut}{
\section{CaloIonCut Class Reference}
\label{classCaloIonCut}\index{CaloIonCut@{CaloIonCut}}
}
The calorimeter ionization cut.  


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

Inheritance diagram for CaloIonCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classCaloIonCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classCaloIonCut_d6b2ee30eed42510b052ce7276adbb2e}{CaloIonCut} (const char $\ast$cutName, \hyperlink{classCaloAxis}{CaloAxis} $\ast$xCaloAxis, \hyperlink{classCaloAxis}{CaloAxis} $\ast$yCaloAxis, float minRelease=0., float maxRelease=3.)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classCaloIonCut_dbb2f15f8cf67625be67aa7143b52a7e}{$\sim$CaloIonCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classCaloIonCut_20a353b53560701ba1ba72db42f48083}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The calorimeter ionization check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
\hyperlink{classCaloAxis}{CaloAxis} $\ast$ \hyperlink{classCaloIonCut_d5fefbe29b26f0c8d299aaa8d95f70c5}{\_\-xCaloAxis}
\item 
\hyperlink{classCaloAxis}{CaloAxis} $\ast$ \hyperlink{classCaloIonCut_f26eab85609cbd18cf6579c9fe79dd08}{\_\-yCaloAxis}
\item 
float \hyperlink{classCaloIonCut_9e0be06d5e079c5ea249ba7cc4fe203b}{\_\-minRelease}
\item 
float \hyperlink{classCaloIonCut_4c1f2201a07e1bf6f72df1b958721677}{\_\-maxRelease}
\end{CompactItemize}


\subsection{Detailed Description}
The calorimeter ionization cut. 

Checks the energy release on the first calorimeter plane. The current implementation uses the \hyperlink{classCaloAxis}{CaloAxis} objects; to save computing time, the class assumes that the track is externally computed for each event and stored in \hyperlink{classCaloAxis}{CaloAxis} objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 $\ast$event and assume that the current content of the \hyperlink{classCaloAxis}{CaloAxis} objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called.

CUT DEPENDENCIES: \hyperlink{classCaloTrackCut}{CaloTrackCut} for the existence of the track (it can also provide the \hyperlink{classCaloAxis}{CaloAxis} objects). 

Definition at line 30 of file CaloIonCut.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classCaloIonCut_d6b2ee30eed42510b052ce7276adbb2e}{
\index{CaloIonCut@{CaloIonCut}!CaloIonCut@{CaloIonCut}}
\index{CaloIonCut@{CaloIonCut}!CaloIonCut@{CaloIonCut}}
\subsubsection[{CaloIonCut}]{\setlength{\rightskip}{0pt plus 5cm}CaloIonCut::CaloIonCut (const char $\ast$ {\em cutName}, \/  {\bf CaloAxis} $\ast$ {\em xCaloAxis}, \/  {\bf CaloAxis} $\ast$ {\em yCaloAxis}, \/  float {\em minRelease} = {\tt 0.}, \/  float {\em maxRelease} = {\tt 3.})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCaloIonCut_d6b2ee30eed42510b052ce7276adbb2e}


Constructor. 

The \hyperlink{classCaloAxis}{CaloAxis} arguments are objects which contain the calorimeter track information for current event.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cutName}]The cut's name. \item[{\em xCaloAxis}]The pointer to the \hyperlink{classCaloAxis}{CaloAxis} object for X axis. \item[{\em yCaloAxis}]The pointer to the \hyperlink{classCaloAxis}{CaloAxis} object for Y axis. \item[{\em maxRelease}]The maximum mean ionization (in MIP) in the tracker planes above which an event is discarded. Default: 3. \item[{\em minRelease}]The minimum mean ionization (in MIP) in the tracker planes below which an event is discarded. Default: 0. \end{description}
\end{Desc}


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


Destructor. 



Definition at line 49 of file CaloIonCut.h.

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


The calorimeter ionization 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 charge released in plane 0 (from \hyperlink{classCaloAxis}{CaloAxis}) is greater than minRelease and lesser than maxRelease, for both X and Y 

0 otherwise \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file CaloIonCut.cpp.

References \_\-maxRelease, \_\-minRelease, \_\-xCaloAxis, \_\-yCaloAxis, CUTOK, and CaloAxis::GetQ().

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




Definition at line 62 of file CaloIonCut.h.

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




Definition at line 62 of file CaloIonCut.h.

Referenced by Check().\hypertarget{classCaloIonCut_d5fefbe29b26f0c8d299aaa8d95f70c5}{
\index{CaloIonCut@{CaloIonCut}!\_\-xCaloAxis@{\_\-xCaloAxis}}
\index{\_\-xCaloAxis@{\_\-xCaloAxis}!CaloIonCut@{CaloIonCut}}
\subsubsection[{\_\-xCaloAxis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf CaloAxis}$\ast$ {\bf CaloIonCut::\_\-xCaloAxis}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCaloIonCut_d5fefbe29b26f0c8d299aaa8d95f70c5}




Definition at line 61 of file CaloIonCut.h.

Referenced by Check().\hypertarget{classCaloIonCut_f26eab85609cbd18cf6579c9fe79dd08}{
\index{CaloIonCut@{CaloIonCut}!\_\-yCaloAxis@{\_\-yCaloAxis}}
\index{\_\-yCaloAxis@{\_\-yCaloAxis}!CaloIonCut@{CaloIonCut}}
\subsubsection[{\_\-yCaloAxis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf CaloAxis} $\ast$ {\bf CaloIonCut::\_\-yCaloAxis}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCaloIonCut_f26eab85609cbd18cf6579c9fe79dd08}




Definition at line 61 of file CaloIonCut.h.

Referenced by Check().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
CaloCuts/CaloIonCut/\hyperlink{CaloIonCut_8h}{CaloIonCut.h}\item 
CaloCuts/CaloIonCut/\hyperlink{CaloIonCut_8cpp}{CaloIonCut.cpp}\end{CompactItemize}
