| 1 |
\hypertarget{classCaloGeomCut}{ |
| 2 |
\section{CaloGeomCut Class Reference} |
| 3 |
\label{classCaloGeomCut}\index{CaloGeomCut@{CaloGeomCut}} |
| 4 |
} |
| 5 |
The geometric cut using the calorimeter's track. |
| 6 |
|
| 7 |
|
| 8 |
{\tt \#include $<$CaloGeomCut.h$>$} |
| 9 |
|
| 10 |
Inheritance diagram for CaloGeomCut::\begin{figure}[H] |
| 11 |
\begin{center} |
| 12 |
\leavevmode |
| 13 |
\includegraphics[height=2cm]{classCaloGeomCut} |
| 14 |
\end{center} |
| 15 |
\end{figure} |
| 16 |
\subsection*{Public Member Functions} |
| 17 |
\begin{CompactItemize} |
| 18 |
\item |
| 19 |
\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) |
| 20 |
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item |
| 21 |
\hyperlink{classCaloGeomCut_fca3678606b1ca4e9c347c4fd620a97d}{$\sim$CaloGeomCut} () |
| 22 |
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item |
| 23 |
int \hyperlink{classCaloGeomCut_ef28e99e442a7ab58fb8250107ac82e9}{Check} (PamLevel2 $\ast$event) |
| 24 |
\begin{CompactList}\small\item\em The geometry check using the calorimeter's track. \item\end{CompactList}\end{CompactItemize} |
| 25 |
\subsection*{Private Attributes} |
| 26 |
\begin{CompactItemize} |
| 27 |
\item |
| 28 |
\hyperlink{classCaloAxis}{CaloAxis} $\ast$ \hyperlink{classCaloGeomCut_c89e7de16721b709f2669893b2b74d9a}{\_\-xCaloAxis} |
| 29 |
\item |
| 30 |
\hyperlink{classCaloAxis}{CaloAxis} $\ast$ \hyperlink{classCaloGeomCut_79c3f56c8aae2949b2c14288d16a9ef1}{\_\-yCaloAxis} |
| 31 |
\item |
| 32 |
float \hyperlink{classCaloGeomCut_83765f6e8982cb5cff48ea41dc420540}{\_\-xTolCaloTrack} |
| 33 |
\item |
| 34 |
float \hyperlink{classCaloGeomCut_dbc713c7c193c03c02b481b704a3020d}{\_\-yTolCaloTrack} |
| 35 |
\end{CompactItemize} |
| 36 |
|
| 37 |
|
| 38 |
\subsection{Detailed Description} |
| 39 |
The geometric cut using the calorimeter's track. |
| 40 |
|
| 41 |
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. |
| 42 |
|
| 43 |
CUT DEPENDENCIES: \hyperlink{classCaloTrackCut}{CaloTrackCut} for the existence of the track (it can also provide the \hyperlink{classCaloAxis}{CaloAxis} objects). |
| 44 |
|
| 45 |
Definition at line 30 of file CaloGeomCut.h. |
| 46 |
|
| 47 |
\subsection{Constructor \& Destructor Documentation} |
| 48 |
\hypertarget{classCaloGeomCut_2ea81481d3f2a0c58dbdf865b51d91ca}{ |
| 49 |
\index{CaloGeomCut@{CaloGeomCut}!CaloGeomCut@{CaloGeomCut}} |
| 50 |
\index{CaloGeomCut@{CaloGeomCut}!CaloGeomCut@{CaloGeomCut}} |
| 51 |
\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{]}}}} |
| 52 |
\label{classCaloGeomCut_2ea81481d3f2a0c58dbdf865b51d91ca} |
| 53 |
|
| 54 |
|
| 55 |
Constructor. |
| 56 |
|
| 57 |
The \hyperlink{classCaloAxis}{CaloAxis} arguments are pointers to objects which contain the calorimeter track information for current event. |
| 58 |
|
| 59 |
\begin{Desc} |
| 60 |
\item[Parameters:] |
| 61 |
\begin{description} |
| 62 |
\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} |
| 63 |
\end{Desc} |
| 64 |
|
| 65 |
|
| 66 |
Definition at line 44 of file CaloGeomCut.h.\hypertarget{classCaloGeomCut_fca3678606b1ca4e9c347c4fd620a97d}{ |
| 67 |
\index{CaloGeomCut@{CaloGeomCut}!$\sim$CaloGeomCut@{$\sim$CaloGeomCut}} |
| 68 |
\index{$\sim$CaloGeomCut@{$\sim$CaloGeomCut}!CaloGeomCut@{CaloGeomCut}} |
| 69 |
\subsubsection[{$\sim$CaloGeomCut}]{\setlength{\rightskip}{0pt plus 5cm}CaloGeomCut::$\sim$CaloGeomCut ()\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} |
| 70 |
\label{classCaloGeomCut_fca3678606b1ca4e9c347c4fd620a97d} |
| 71 |
|
| 72 |
|
| 73 |
Destructor. |
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
Definition at line 49 of file CaloGeomCut.h. |
| 78 |
|
| 79 |
\subsection{Member Function Documentation} |
| 80 |
\hypertarget{classCaloGeomCut_ef28e99e442a7ab58fb8250107ac82e9}{ |
| 81 |
\index{CaloGeomCut@{CaloGeomCut}!Check@{Check}} |
| 82 |
\index{Check@{Check}!CaloGeomCut@{CaloGeomCut}} |
| 83 |
\subsubsection[{Check}]{\setlength{\rightskip}{0pt plus 5cm}int CaloGeomCut::Check (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} |
| 84 |
\label{classCaloGeomCut_ef28e99e442a7ab58fb8250107ac82e9} |
| 85 |
|
| 86 |
|
| 87 |
The geometry check using the calorimeter's track. |
| 88 |
|
| 89 |
\begin{Desc} |
| 90 |
\item[Parameters:] |
| 91 |
\begin{description} |
| 92 |
\item[{\em event}]The event to analyze. \end{description} |
| 93 |
\end{Desc} |
| 94 |
\begin{Desc} |
| 95 |
\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 |
| 96 |
|
| 97 |
0 otherwise \end{Desc} |
| 98 |
|
| 99 |
|
| 100 |
Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}. |
| 101 |
|
| 102 |
Definition at line 12 of file CaloGeomCut.cpp. |
| 103 |
|
| 104 |
References \_\-xCaloAxis, \_\-xTolCaloTrack, \_\-yCaloAxis, \_\-yTolCaloTrack, CUTOK, and CaloAxis::par. |
| 105 |
|
| 106 |
\subsection{Member Data Documentation} |
| 107 |
\hypertarget{classCaloGeomCut_c89e7de16721b709f2669893b2b74d9a}{ |
| 108 |
\index{CaloGeomCut@{CaloGeomCut}!\_\-xCaloAxis@{\_\-xCaloAxis}} |
| 109 |
\index{\_\-xCaloAxis@{\_\-xCaloAxis}!CaloGeomCut@{CaloGeomCut}} |
| 110 |
\subsubsection[{\_\-xCaloAxis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf CaloAxis}$\ast$ {\bf CaloGeomCut::\_\-xCaloAxis}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} |
| 111 |
\label{classCaloGeomCut_c89e7de16721b709f2669893b2b74d9a} |
| 112 |
|
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
Definition at line 61 of file CaloGeomCut.h. |
| 117 |
|
| 118 |
Referenced by Check().\hypertarget{classCaloGeomCut_83765f6e8982cb5cff48ea41dc420540}{ |
| 119 |
\index{CaloGeomCut@{CaloGeomCut}!\_\-xTolCaloTrack@{\_\-xTolCaloTrack}} |
| 120 |
\index{\_\-xTolCaloTrack@{\_\-xTolCaloTrack}!CaloGeomCut@{CaloGeomCut}} |
| 121 |
\subsubsection[{\_\-xTolCaloTrack}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf CaloGeomCut::\_\-xTolCaloTrack}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} |
| 122 |
\label{classCaloGeomCut_83765f6e8982cb5cff48ea41dc420540} |
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
Definition at line 62 of file CaloGeomCut.h. |
| 128 |
|
| 129 |
Referenced by Check().\hypertarget{classCaloGeomCut_79c3f56c8aae2949b2c14288d16a9ef1}{ |
| 130 |
\index{CaloGeomCut@{CaloGeomCut}!\_\-yCaloAxis@{\_\-yCaloAxis}} |
| 131 |
\index{\_\-yCaloAxis@{\_\-yCaloAxis}!CaloGeomCut@{CaloGeomCut}} |
| 132 |
\subsubsection[{\_\-yCaloAxis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf CaloAxis} $\ast$ {\bf CaloGeomCut::\_\-yCaloAxis}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} |
| 133 |
\label{classCaloGeomCut_79c3f56c8aae2949b2c14288d16a9ef1} |
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
Definition at line 61 of file CaloGeomCut.h. |
| 139 |
|
| 140 |
Referenced by Check().\hypertarget{classCaloGeomCut_dbc713c7c193c03c02b481b704a3020d}{ |
| 141 |
\index{CaloGeomCut@{CaloGeomCut}!\_\-yTolCaloTrack@{\_\-yTolCaloTrack}} |
| 142 |
\index{\_\-yTolCaloTrack@{\_\-yTolCaloTrack}!CaloGeomCut@{CaloGeomCut}} |
| 143 |
\subsubsection[{\_\-yTolCaloTrack}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf CaloGeomCut::\_\-yTolCaloTrack}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} |
| 144 |
\label{classCaloGeomCut_dbc713c7c193c03c02b481b704a3020d} |
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
Definition at line 62 of file CaloGeomCut.h. |
| 150 |
|
| 151 |
Referenced by Check(). |
| 152 |
|
| 153 |
The documentation for this class was generated from the following files:\begin{CompactItemize} |
| 154 |
\item |
| 155 |
CaloCuts/CaloGeomCut/\hyperlink{CaloGeomCut_8h}{CaloGeomCut.h}\item |
| 156 |
CaloCuts/CaloGeomCut/\hyperlink{CaloGeomCut_8cpp}{CaloGeomCut.cpp}\end{CompactItemize} |