\hypertarget{classCaloCrossCut}{
\section{CaloCrossCut Class Reference}
\label{classCaloCrossCut}\index{CaloCrossCut@{CaloCrossCut}}
}
The calorimeter last plane cut.  


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

Inheritance diagram for CaloCrossCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classCaloCrossCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classCaloCrossCut_33b00ac9d115f74bd2aa0c6418a61c0d}{CaloCrossCut} (const char $\ast$cutName, \hyperlink{classCaloAxis}{CaloAxis} $\ast$xCaloAxis, \hyperlink{classCaloAxis}{CaloAxis} $\ast$yCaloAxis)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classCaloCrossCut_30eff9bbcbcee85132b85fccd78159fe}{$\sim$CaloCrossCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classCaloCrossCut_c79de9378fe4816ef37291da64d5a4f0}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The calorimeter last plane check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
\hyperlink{classCaloAxis}{CaloAxis} $\ast$ \hyperlink{classCaloCrossCut_6443179bfcb21cef379b8383440eda5c}{\_\-xCaloAxis}
\item 
\hyperlink{classCaloAxis}{CaloAxis} $\ast$ \hyperlink{classCaloCrossCut_bf61655ea8330e0c7e4139ab1e3809ec}{\_\-yCaloAxis}
\end{CompactItemize}


\subsection{Detailed Description}
The calorimeter last plane cut. 

Checks if the particle has crossed the last 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 CaloCrossCut.h.

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


Constructor. 

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

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cutName}]The cut 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. \end{description}
\end{Desc}


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


Destructor. 



Definition at line 46 of file CaloCrossCut.h.

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


The calorimeter last plane 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 22 is greater than 0 (from \hyperlink{classCaloAxis}{CaloAxis}) for both X and Y 

0 otherwise \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file CaloCrossCut.cpp.

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

\subsection{Member Data Documentation}
\hypertarget{classCaloCrossCut_6443179bfcb21cef379b8383440eda5c}{
\index{CaloCrossCut@{CaloCrossCut}!\_\-xCaloAxis@{\_\-xCaloAxis}}
\index{\_\-xCaloAxis@{\_\-xCaloAxis}!CaloCrossCut@{CaloCrossCut}}
\subsubsection[{\_\-xCaloAxis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf CaloAxis}$\ast$ {\bf CaloCrossCut::\_\-xCaloAxis}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCaloCrossCut_6443179bfcb21cef379b8383440eda5c}




Definition at line 58 of file CaloCrossCut.h.

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




Definition at line 58 of file CaloCrossCut.h.

Referenced by Check().

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