\hypertarget{classCaloGeomCut}{
\section{CaloGeomCut Class Reference}
\label{classCaloGeomCut}\index{CaloGeomCut@{CaloGeomCut}}
}
The geometric cut using the calorimeter's track.  


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

Inheritance diagram for CaloGeomCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classCaloGeomCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classCaloGeomCut_2ea81481d3f2a0c58dbdf865b51d91ca}{CaloGeomCut} (const char $\ast$cutName, \hyperlink{classCaloAxis}{CaloAxis} $\ast$xCaloAxis, \hyperlink{classCaloAxis}{CaloAxis} $\ast$yCaloAxis, float xTolCaloTrack=0.7, float yTolCaloTrack=0.7)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classCaloGeomCut_fca3678606b1ca4e9c347c4fd620a97d}{$\sim$CaloGeomCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classCaloGeomCut_ef28e99e442a7ab58fb8250107ac82e9}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The geometry check using the calorimeter's track. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
\hyperlink{classCaloAxis}{CaloAxis} $\ast$ \hyperlink{classCaloGeomCut_c89e7de16721b709f2669893b2b74d9a}{\_\-xCaloAxis}
\item 
\hyperlink{classCaloAxis}{CaloAxis} $\ast$ \hyperlink{classCaloGeomCut_79c3f56c8aae2949b2c14288d16a9ef1}{\_\-yCaloAxis}
\item 
float \hyperlink{classCaloGeomCut_83765f6e8982cb5cff48ea41dc420540}{\_\-xTolCaloTrack}
\item 
float \hyperlink{classCaloGeomCut_dbc713c7c193c03c02b481b704a3020d}{\_\-yTolCaloTrack}
\end{CompactItemize}


\subsection{Detailed Description}
The geometric cut using the calorimeter's track. 

This cut checks if the track obtained from the calorimeter is inside the fiducial acceptance. 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 CaloGeomCut.h.

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


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'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 xTolCaloTrack}]The tolerance for X view which defines the fiducial acceptance. \item[{\em yTolCaloTrack}]The tolerance for Y view which defines the fiducial acceptance. \end{description}
\end{Desc}


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


Destructor. 



Definition at line 49 of file CaloGeomCut.h.

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


The geometry check using the calorimeter's track. 

\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 CaloGeomCut.cpp.

References \_\-xCaloAxis, \_\-xTolCaloTrack, \_\-yCaloAxis, \_\-yTolCaloTrack, CUTOK, and CaloAxis::par.

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




Definition at line 61 of file CaloGeomCut.h.

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




Definition at line 62 of file CaloGeomCut.h.

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




Definition at line 61 of file CaloGeomCut.h.

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




Definition at line 62 of file CaloGeomCut.h.

Referenced by Check().

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