| 1 | pam-fi | 1.1 | \hypertarget{classTofDedxS1Cut}{ | 
| 2 |  |  | \section{TofDedxS1Cut Class Reference} | 
| 3 |  |  | \label{classTofDedxS1Cut}\index{TofDedxS1Cut@{TofDedxS1Cut}} | 
| 4 |  |  | } | 
| 5 |  |  | The TofQual cut. This cut is done for each S1 layer: if there is one and only one hit paddle for the layer, then the dE/dX of the paddle (referred to a specified track) must be less than a fixed threshold. NOTE: 'hit paddle' means that both TDC signals are present AND they are both 'good' (according to TOF definition of 'good' TDC signal). | 
| 6 |  |  |  | 
| 7 |  |  |  | 
| 8 |  |  | {\tt \#include $<$TofDedxS1Cut.h$>$} | 
| 9 |  |  |  | 
| 10 |  |  | Inheritance diagram for TofDedxS1Cut::\begin{figure}[H] | 
| 11 |  |  | \begin{center} | 
| 12 |  |  | \leavevmode | 
| 13 |  |  | \includegraphics[height=2cm]{classTofDedxS1Cut} | 
| 14 |  |  | \end{center} | 
| 15 |  |  | \end{figure} | 
| 16 |  |  | \subsection*{Public Member Functions} | 
| 17 |  |  | \begin{CompactItemize} | 
| 18 |  |  | \item | 
| 19 |  |  | \hyperlink{classTofDedxS1Cut_3e81f8af88c85178d0b0dbb65f112952}{TofDedxS1Cut} (const char $\ast$cutName, float maxDedxS1, int $\ast$trackTof=NULL) | 
| 20 |  |  | \begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item | 
| 21 |  |  | \hyperlink{classTofDedxS1Cut_0824d4588c896fd6ef59bc20e491d65b}{$\sim$TofDedxS1Cut} () | 
| 22 |  |  | \begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item | 
| 23 |  |  | int \hyperlink{classTofDedxS1Cut_28eb66874012caa199a3d78bf99c59ae}{Check} (PamLevel2 $\ast$event) | 
| 24 |  |  | \begin{CompactList}\small\item\em The TofDedxS1 check. \item\end{CompactList}\end{CompactItemize} | 
| 25 |  |  | \subsection*{Private Attributes} | 
| 26 |  |  | \begin{CompactItemize} | 
| 27 |  |  | \item | 
| 28 |  |  | float \hyperlink{classTofDedxS1Cut_c1ca7a7e8ba5656484720c43aefb6eb6}{\_\-maxDedxS1} | 
| 29 |  |  | \item | 
| 30 |  |  | int $\ast$ \hyperlink{classTofDedxS1Cut_443130c89d8db06a3f74a2764393de55}{\_\-trackTof} | 
| 31 |  |  | \item | 
| 32 |  |  | int \hyperlink{classTofDedxS1Cut_e0d378b2bc9e36f5ec3dac46f1f4a8cf}{\_\-nHitPadPair} \mbox{[}3\mbox{]} | 
| 33 |  |  | \end{CompactItemize} | 
| 34 |  |  |  | 
| 35 |  |  |  | 
| 36 |  |  | \subsection{Detailed Description} | 
| 37 |  |  | The TofQual cut. This cut is done for each S1 layer: if there is one and only one hit paddle for the layer, then the dE/dX of the paddle (referred to a specified track) must be less than a fixed threshold. NOTE: 'hit paddle' means that both TDC signals are present AND they are both 'good' (according to TOF definition of 'good' TDC signal). | 
| 38 |  |  |  | 
| 39 |  |  |  | 
| 40 |  |  |  | 
| 41 |  |  | Definition at line 21 of file TofDedxS1Cut.h. | 
| 42 |  |  |  | 
| 43 |  |  | \subsection{Constructor \& Destructor Documentation} | 
| 44 |  |  | \hypertarget{classTofDedxS1Cut_3e81f8af88c85178d0b0dbb65f112952}{ | 
| 45 |  |  | \index{TofDedxS1Cut@{TofDedxS1Cut}!TofDedxS1Cut@{TofDedxS1Cut}} | 
| 46 |  |  | \index{TofDedxS1Cut@{TofDedxS1Cut}!TofDedxS1Cut@{TofDedxS1Cut}} | 
| 47 |  |  | \subsubsection[{TofDedxS1Cut}]{\setlength{\rightskip}{0pt plus 5cm}TofDedxS1Cut::TofDedxS1Cut (const char $\ast$ {\em cutName}, \/  float {\em maxDedxS1}, \/  int $\ast$ {\em trackTof} = {\tt NULL})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}} | 
| 48 |  |  | \label{classTofDedxS1Cut_3e81f8af88c85178d0b0dbb65f112952} | 
| 49 |  |  |  | 
| 50 |  |  |  | 
| 51 |  |  | Constructor. | 
| 52 |  |  |  | 
| 53 |  |  | The parameters are: maximum dE/dX for S1 layers and the TOF-index for the track which is necessary to input to derive the dE/dX for S1 layers. | 
| 54 |  |  |  | 
| 55 |  |  | \begin{Desc} | 
| 56 |  |  | \item[Parameters:] | 
| 57 |  |  | \begin{description} | 
| 58 |  |  | \item[{\em cutName}]The cut's name. \item[{\em maxDedxS1}]The maximum dE/dX for each S1 layer, for which the event is accepted \item[{\em trackTof}]Pointer to the TOF-index indicating the track to be used when evaluating the dE/dX for S1 layers (default value for TOF\_\-index is 0, corresponding to the TOF stand-alone track \mbox{[}no TRK information to build the TOF stand-alone track\mbox{]}). The pointer to the TOF\_\-index for TRK-track as given by \hyperlink{classTrkPhSinCut}{TrkPhSinCut} can be used. \end{description} | 
| 59 |  |  | \end{Desc} | 
| 60 |  |  |  | 
| 61 |  |  |  | 
| 62 |  |  | Definition at line 33 of file TofDedxS1Cut.h.\hypertarget{classTofDedxS1Cut_0824d4588c896fd6ef59bc20e491d65b}{ | 
| 63 |  |  | \index{TofDedxS1Cut@{TofDedxS1Cut}!$\sim$TofDedxS1Cut@{$\sim$TofDedxS1Cut}} | 
| 64 |  |  | \index{$\sim$TofDedxS1Cut@{$\sim$TofDedxS1Cut}!TofDedxS1Cut@{TofDedxS1Cut}} | 
| 65 |  |  | \subsubsection[{$\sim$TofDedxS1Cut}]{\setlength{\rightskip}{0pt plus 5cm}TofDedxS1Cut::$\sim$TofDedxS1Cut ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}} | 
| 66 |  |  | \label{classTofDedxS1Cut_0824d4588c896fd6ef59bc20e491d65b} | 
| 67 |  |  |  | 
| 68 |  |  |  | 
| 69 |  |  | Destructor. | 
| 70 |  |  |  | 
| 71 |  |  |  | 
| 72 |  |  |  | 
| 73 |  |  | Definition at line 37 of file TofDedxS1Cut.h. | 
| 74 |  |  |  | 
| 75 |  |  | \subsection{Member Function Documentation} | 
| 76 |  |  | \hypertarget{classTofDedxS1Cut_28eb66874012caa199a3d78bf99c59ae}{ | 
| 77 |  |  | \index{TofDedxS1Cut@{TofDedxS1Cut}!Check@{Check}} | 
| 78 |  |  | \index{Check@{Check}!TofDedxS1Cut@{TofDedxS1Cut}} | 
| 79 |  |  | \subsubsection[{Check}]{\setlength{\rightskip}{0pt plus 5cm}int TofDedxS1Cut::Check (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}} | 
| 80 |  |  | \label{classTofDedxS1Cut_28eb66874012caa199a3d78bf99c59ae} | 
| 81 |  |  |  | 
| 82 |  |  |  | 
| 83 |  |  | The TofDedxS1 check. | 
| 84 |  |  |  | 
| 85 |  |  | \begin{Desc} | 
| 86 |  |  | \item[Parameters:] | 
| 87 |  |  | \begin{description} | 
| 88 |  |  | \item[{\em event}]The event to analyze. \end{description} | 
| 89 |  |  | \end{Desc} | 
| 90 |  |  | \begin{Desc} | 
| 91 |  |  | \item[Returns:]\hyperlink{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}{CUTOK} if for each layer of S1 with one and only one hit paddle, the paddle dE/dX is less than a fixed threshold | 
| 92 |  |  |  | 
| 93 |  |  | 0 otherwise \end{Desc} | 
| 94 |  |  |  | 
| 95 |  |  |  | 
| 96 |  |  | Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}. | 
| 97 |  |  |  | 
| 98 |  |  | Definition at line 12 of file TofDedxS1Cut.cpp. | 
| 99 |  |  |  | 
| 100 |  |  | References \_\-maxDedxS1, \_\-trackTof, CUTOK, and TOFNPADLAYER. | 
| 101 |  |  |  | 
| 102 |  |  | \subsection{Member Data Documentation} | 
| 103 |  |  | \hypertarget{classTofDedxS1Cut_c1ca7a7e8ba5656484720c43aefb6eb6}{ | 
| 104 |  |  | \index{TofDedxS1Cut@{TofDedxS1Cut}!\_\-maxDedxS1@{\_\-maxDedxS1}} | 
| 105 |  |  | \index{\_\-maxDedxS1@{\_\-maxDedxS1}!TofDedxS1Cut@{TofDedxS1Cut}} | 
| 106 |  |  | \subsubsection[{\_\-maxDedxS1}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf TofDedxS1Cut::\_\-maxDedxS1}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}} | 
| 107 |  |  | \label{classTofDedxS1Cut_c1ca7a7e8ba5656484720c43aefb6eb6} | 
| 108 |  |  |  | 
| 109 |  |  |  | 
| 110 |  |  |  | 
| 111 |  |  |  | 
| 112 |  |  | Definition at line 50 of file TofDedxS1Cut.h. | 
| 113 |  |  |  | 
| 114 |  |  | Referenced by Check().\hypertarget{classTofDedxS1Cut_e0d378b2bc9e36f5ec3dac46f1f4a8cf}{ | 
| 115 |  |  | \index{TofDedxS1Cut@{TofDedxS1Cut}!\_\-nHitPadPair@{\_\-nHitPadPair}} | 
| 116 |  |  | \index{\_\-nHitPadPair@{\_\-nHitPadPair}!TofDedxS1Cut@{TofDedxS1Cut}} | 
| 117 |  |  | \subsubsection[{\_\-nHitPadPair}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf TofDedxS1Cut::\_\-nHitPadPair}\mbox{[}3\mbox{]}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}} | 
| 118 |  |  | \label{classTofDedxS1Cut_e0d378b2bc9e36f5ec3dac46f1f4a8cf} | 
| 119 |  |  |  | 
| 120 |  |  |  | 
| 121 |  |  |  | 
| 122 |  |  |  | 
| 123 |  |  | Definition at line 52 of file TofDedxS1Cut.h.\hypertarget{classTofDedxS1Cut_443130c89d8db06a3f74a2764393de55}{ | 
| 124 |  |  | \index{TofDedxS1Cut@{TofDedxS1Cut}!\_\-trackTof@{\_\-trackTof}} | 
| 125 |  |  | \index{\_\-trackTof@{\_\-trackTof}!TofDedxS1Cut@{TofDedxS1Cut}} | 
| 126 |  |  | \subsubsection[{\_\-trackTof}]{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ {\bf TofDedxS1Cut::\_\-trackTof}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}} | 
| 127 |  |  | \label{classTofDedxS1Cut_443130c89d8db06a3f74a2764393de55} | 
| 128 |  |  |  | 
| 129 |  |  |  | 
| 130 |  |  |  | 
| 131 |  |  |  | 
| 132 |  |  | Definition at line 51 of file TofDedxS1Cut.h. | 
| 133 |  |  |  | 
| 134 |  |  | Referenced by Check(). | 
| 135 |  |  |  | 
| 136 |  |  | The documentation for this class was generated from the following files:\begin{CompactItemize} | 
| 137 |  |  | \item | 
| 138 |  |  | TofCuts/TofDedxS1Cut/\hyperlink{TofDedxS1Cut_8h}{TofDedxS1Cut.h}\item | 
| 139 |  |  | TofCuts/TofDedxS1Cut/\hyperlink{TofDedxS1Cut_8cpp}{TofDedxS1Cut.cpp}\end{CompactItemize} |