| 1 |
\hypertarget{classTofPatternCut}{ |
| 2 |
\section{TofPatternCut Class Reference} |
| 3 |
\label{classTofPatternCut}\index{TofPatternCut@{TofPatternCut}} |
| 4 |
} |
| 5 |
The Tof-pattern cut. |
| 6 |
|
| 7 |
|
| 8 |
{\tt \#include $<$TofPatternCut.h$>$} |
| 9 |
|
| 10 |
Inheritance diagram for TofPatternCut::\begin{figure}[H] |
| 11 |
\begin{center} |
| 12 |
\leavevmode |
| 13 |
\includegraphics[height=2cm]{classTofPatternCut} |
| 14 |
\end{center} |
| 15 |
\end{figure} |
| 16 |
\subsection*{Public Member Functions} |
| 17 |
\begin{CompactItemize} |
| 18 |
\item |
| 19 |
\hyperlink{classTofPatternCut_5cf2ebf9ca7566342f3d66f54ab94eb6}{TofPatternCut} (const char $\ast$cutName) |
| 20 |
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item |
| 21 |
\hyperlink{classTofPatternCut_a94b0405411dd9b6f04c7a83af64c120}{$\sim$TofPatternCut} () |
| 22 |
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item |
| 23 |
int \hyperlink{classTofPatternCut_b960628bc87a72be3c8aedab6b036dce}{Check} (PamLevel2 $\ast$event) |
| 24 |
\begin{CompactList}\small\item\em The ToF-pattern check. \item\end{CompactList}\item |
| 25 |
int \hyperlink{classTofPatternCut_2f9755367321e7f86f862506865f260c}{GetNHitPMTsOutsideTrack} (PamLevel2 $\ast$event, int plane) |
| 26 |
\begin{CompactList}\small\item\em Counts the number of hit PMTs (with tdc signal) outside track. \item\end{CompactList}\item |
| 27 |
void \hyperlink{classTofPatternCut_f80259c2dd81a57a9d7cf2b651d0300e}{SetStandalone} (int yes) |
| 28 |
\begin{CompactList}\small\item\em Set standalone ToF track. \item\end{CompactList}\item |
| 29 |
void \hyperlink{classTofPatternCut_573d063e2149ad14c831fe28c6df8542}{SetTrackNumber} (int n) |
| 30 |
\begin{CompactList}\small\item\em Set (physical) track number (0,1,...). Default is 0 (the first). \item\end{CompactList}\end{CompactItemize} |
| 31 |
\subsection*{Private Attributes} |
| 32 |
\begin{CompactItemize} |
| 33 |
\item |
| 34 |
bool \hyperlink{classTofPatternCut_28f5094cd7898788d4e490e75384b538}{\_\-standalone} |
| 35 |
\item |
| 36 |
int \hyperlink{classTofPatternCut_9c8d4ac314f4f3a0b62fae04ecc32fd7}{\_\-notrk} |
| 37 |
\end{CompactItemize} |
| 38 |
|
| 39 |
|
| 40 |
\subsection{Detailed Description} |
| 41 |
The Tof-pattern cut. |
| 42 |
|
| 43 |
Requirements:\begin{itemize} |
| 44 |
\item not more than 1 hit paddle on S11 S12 S21 S22;\item at least 1 hit paddle on S1 and S2;\item not more than 3 hit PMTs (only TDC hits with tdc$<$4095) outside track; on S11 and S12;\item if there is a hit paddle, the PMTs (TDC hits) must be associated to the track;\item if no PMTs (TDC hits) are associated to the track, there must be no hit paddles. \end{itemize} |
| 45 |
|
| 46 |
|
| 47 |
Definition at line 25 of file TofPatternCut.h. |
| 48 |
|
| 49 |
\subsection{Constructor \& Destructor Documentation} |
| 50 |
\hypertarget{classTofPatternCut_5cf2ebf9ca7566342f3d66f54ab94eb6}{ |
| 51 |
\index{TofPatternCut@{TofPatternCut}!TofPatternCut@{TofPatternCut}} |
| 52 |
\index{TofPatternCut@{TofPatternCut}!TofPatternCut@{TofPatternCut}} |
| 53 |
\subsubsection[{TofPatternCut}]{\setlength{\rightskip}{0pt plus 5cm}TofPatternCut::TofPatternCut (const char $\ast$ {\em cutName})\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} |
| 54 |
\label{classTofPatternCut_5cf2ebf9ca7566342f3d66f54ab94eb6} |
| 55 |
|
| 56 |
|
| 57 |
Constructor. |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
Definition at line 29 of file TofPatternCut.h.\hypertarget{classTofPatternCut_a94b0405411dd9b6f04c7a83af64c120}{ |
| 62 |
\index{TofPatternCut@{TofPatternCut}!$\sim$TofPatternCut@{$\sim$TofPatternCut}} |
| 63 |
\index{$\sim$TofPatternCut@{$\sim$TofPatternCut}!TofPatternCut@{TofPatternCut}} |
| 64 |
\subsubsection[{$\sim$TofPatternCut}]{\setlength{\rightskip}{0pt plus 5cm}TofPatternCut::$\sim$TofPatternCut ()\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} |
| 65 |
\label{classTofPatternCut_a94b0405411dd9b6f04c7a83af64c120} |
| 66 |
|
| 67 |
|
| 68 |
Destructor. |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
Definition at line 33 of file TofPatternCut.h. |
| 73 |
|
| 74 |
\subsection{Member Function Documentation} |
| 75 |
\hypertarget{classTofPatternCut_b960628bc87a72be3c8aedab6b036dce}{ |
| 76 |
\index{TofPatternCut@{TofPatternCut}!Check@{Check}} |
| 77 |
\index{Check@{Check}!TofPatternCut@{TofPatternCut}} |
| 78 |
\subsubsection[{Check}]{\setlength{\rightskip}{0pt plus 5cm}int TofPatternCut::Check (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} |
| 79 |
\label{classTofPatternCut_b960628bc87a72be3c8aedab6b036dce} |
| 80 |
|
| 81 |
|
| 82 |
The ToF-pattern check. |
| 83 |
|
| 84 |
\begin{Desc} |
| 85 |
\item[Parameters:] |
| 86 |
\begin{description} |
| 87 |
\item[{\em event}]The event to analyze. \end{description} |
| 88 |
\end{Desc} |
| 89 |
\begin{Desc} |
| 90 |
\item[Returns:]\hyperlink{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}{CUTOK} if the event pattern matches the required characteristics. \end{Desc} |
| 91 |
|
| 92 |
|
| 93 |
Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}. |
| 94 |
|
| 95 |
Definition at line 12 of file TofPatternCut.cpp. |
| 96 |
|
| 97 |
References \_\-notrk, \_\-standalone, CUTOK, and GetNHitPMTsOutsideTrack().\hypertarget{classTofPatternCut_2f9755367321e7f86f862506865f260c}{ |
| 98 |
\index{TofPatternCut@{TofPatternCut}!GetNHitPMTsOutsideTrack@{GetNHitPMTsOutsideTrack}} |
| 99 |
\index{GetNHitPMTsOutsideTrack@{GetNHitPMTsOutsideTrack}!TofPatternCut@{TofPatternCut}} |
| 100 |
\subsubsection[{GetNHitPMTsOutsideTrack}]{\setlength{\rightskip}{0pt plus 5cm}int TofPatternCut::GetNHitPMTsOutsideTrack (PamLevel2 $\ast$ {\em event}, \/ int {\em plane})}} |
| 101 |
\label{classTofPatternCut_2f9755367321e7f86f862506865f260c} |
| 102 |
|
| 103 |
|
| 104 |
Counts the number of hit PMTs (with tdc signal) outside track. |
| 105 |
|
| 106 |
\begin{Desc} |
| 107 |
\item[Parameters:] |
| 108 |
\begin{description} |
| 109 |
\item[{\em event}]The event to analyze. \item[{\em plane}]Plane number (0-5 = S11-S32). \end{description} |
| 110 |
\end{Desc} |
| 111 |
|
| 112 |
|
| 113 |
to avoid adc pile-up |
| 114 |
|
| 115 |
Definition at line 182 of file TofPatternCut.cpp. |
| 116 |
|
| 117 |
References \_\-notrk, and \_\-standalone. |
| 118 |
|
| 119 |
Referenced by Check().\hypertarget{classTofPatternCut_f80259c2dd81a57a9d7cf2b651d0300e}{ |
| 120 |
\index{TofPatternCut@{TofPatternCut}!SetStandalone@{SetStandalone}} |
| 121 |
\index{SetStandalone@{SetStandalone}!TofPatternCut@{TofPatternCut}} |
| 122 |
\subsubsection[{SetStandalone}]{\setlength{\rightskip}{0pt plus 5cm}void TofPatternCut::SetStandalone (int {\em yes})\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} |
| 123 |
\label{classTofPatternCut_f80259c2dd81a57a9d7cf2b651d0300e} |
| 124 |
|
| 125 |
|
| 126 |
Set standalone ToF track. |
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
Definition at line 51 of file TofPatternCut.h. |
| 131 |
|
| 132 |
References \_\-standalone.\hypertarget{classTofPatternCut_573d063e2149ad14c831fe28c6df8542}{ |
| 133 |
\index{TofPatternCut@{TofPatternCut}!SetTrackNumber@{SetTrackNumber}} |
| 134 |
\index{SetTrackNumber@{SetTrackNumber}!TofPatternCut@{TofPatternCut}} |
| 135 |
\subsubsection[{SetTrackNumber}]{\setlength{\rightskip}{0pt plus 5cm}void TofPatternCut::SetTrackNumber (int {\em n})\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} |
| 136 |
\label{classTofPatternCut_573d063e2149ad14c831fe28c6df8542} |
| 137 |
|
| 138 |
|
| 139 |
Set (physical) track number (0,1,...). Default is 0 (the first). |
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
Definition at line 59 of file TofPatternCut.h. |
| 144 |
|
| 145 |
References \_\-notrk. |
| 146 |
|
| 147 |
\subsection{Member Data Documentation} |
| 148 |
\hypertarget{classTofPatternCut_9c8d4ac314f4f3a0b62fae04ecc32fd7}{ |
| 149 |
\index{TofPatternCut@{TofPatternCut}!\_\-notrk@{\_\-notrk}} |
| 150 |
\index{\_\-notrk@{\_\-notrk}!TofPatternCut@{TofPatternCut}} |
| 151 |
\subsubsection[{\_\-notrk}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf TofPatternCut::\_\-notrk}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} |
| 152 |
\label{classTofPatternCut_9c8d4ac314f4f3a0b62fae04ecc32fd7} |
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
Definition at line 67 of file TofPatternCut.h. |
| 158 |
|
| 159 |
Referenced by Check(), GetNHitPMTsOutsideTrack(), and SetTrackNumber().\hypertarget{classTofPatternCut_28f5094cd7898788d4e490e75384b538}{ |
| 160 |
\index{TofPatternCut@{TofPatternCut}!\_\-standalone@{\_\-standalone}} |
| 161 |
\index{\_\-standalone@{\_\-standalone}!TofPatternCut@{TofPatternCut}} |
| 162 |
\subsubsection[{\_\-standalone}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf TofPatternCut::\_\-standalone}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} |
| 163 |
\label{classTofPatternCut_28f5094cd7898788d4e490e75384b538} |
| 164 |
|
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
Definition at line 66 of file TofPatternCut.h. |
| 169 |
|
| 170 |
Referenced by Check(), GetNHitPMTsOutsideTrack(), and SetStandalone(). |
| 171 |
|
| 172 |
The documentation for this class was generated from the following files:\begin{CompactItemize} |
| 173 |
\item |
| 174 |
TofCuts/TofPatternCut/\hyperlink{TofPatternCut_8h}{TofPatternCut.h}\item |
| 175 |
TofCuts/TofPatternCut/\hyperlink{TofPatternCut_8cpp}{TofPatternCut.cpp}\end{CompactItemize} |