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 |
\hypertarget{classTofPatternCut_5cf2ebf9ca7566342f3d66f54ab94eb6}{ |
20 |
\hyperlink{classTofPatternCut_5cf2ebf9ca7566342f3d66f54ab94eb6}{TofPatternCut} (const char $\ast$cutName)} |
21 |
\label{classTofPatternCut_5cf2ebf9ca7566342f3d66f54ab94eb6} |
22 |
|
23 |
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item |
24 |
\hypertarget{classTofPatternCut_a94b0405411dd9b6f04c7a83af64c120}{ |
25 |
\hyperlink{classTofPatternCut_a94b0405411dd9b6f04c7a83af64c120}{$\sim$TofPatternCut} ()} |
26 |
\label{classTofPatternCut_a94b0405411dd9b6f04c7a83af64c120} |
27 |
|
28 |
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item |
29 |
int \hyperlink{classTofPatternCut_b960628bc87a72be3c8aedab6b036dce}{Check} (PamLevel2 $\ast$event) |
30 |
\begin{CompactList}\small\item\em The ToF-pattern check. \item\end{CompactList}\item |
31 |
int \hyperlink{classTofPatternCut_2f9755367321e7f86f862506865f260c}{GetNHitPMTsOutsideTrack} (PamLevel2 $\ast$event, int plane) |
32 |
\begin{CompactList}\small\item\em Counts the number of hit PMTs (with tdc signal) outside track. \item\end{CompactList}\item |
33 |
\hypertarget{classTofPatternCut_f80259c2dd81a57a9d7cf2b651d0300e}{ |
34 |
void \hyperlink{classTofPatternCut_f80259c2dd81a57a9d7cf2b651d0300e}{SetStandalone} (int yes)} |
35 |
\label{classTofPatternCut_f80259c2dd81a57a9d7cf2b651d0300e} |
36 |
|
37 |
\begin{CompactList}\small\item\em Set standalone ToF track. \item\end{CompactList}\item |
38 |
\hypertarget{classTofPatternCut_573d063e2149ad14c831fe28c6df8542}{ |
39 |
void \hyperlink{classTofPatternCut_573d063e2149ad14c831fe28c6df8542}{SetTrackNumber} (int n)} |
40 |
\label{classTofPatternCut_573d063e2149ad14c831fe28c6df8542} |
41 |
|
42 |
\begin{CompactList}\small\item\em Set (physical) track number (0,1,...). Default is 0 (the first). \item\end{CompactList}\end{CompactItemize} |
43 |
|
44 |
|
45 |
\subsection{Detailed Description} |
46 |
The Tof-pattern cut. |
47 |
|
48 |
Requirements:\begin{itemize} |
49 |
\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} |
50 |
|
51 |
|
52 |
\subsection{Member Function Documentation} |
53 |
\hypertarget{classTofPatternCut_b960628bc87a72be3c8aedab6b036dce}{ |
54 |
\index{TofPatternCut@{TofPatternCut}!Check@{Check}} |
55 |
\index{Check@{Check}!TofPatternCut@{TofPatternCut}} |
56 |
\subsubsection[{Check}]{\setlength{\rightskip}{0pt plus 5cm}int TofPatternCut::Check (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} |
57 |
\label{classTofPatternCut_b960628bc87a72be3c8aedab6b036dce} |
58 |
|
59 |
|
60 |
The ToF-pattern check. |
61 |
|
62 |
\begin{Desc} |
63 |
\item[Parameters:] |
64 |
\begin{description} |
65 |
\item[{\em event}]The event to analyze. \end{description} |
66 |
\end{Desc} |
67 |
\begin{Desc} |
68 |
\item[Returns:]\hyperlink{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}{CUTOK} if the event pattern matches the required characteristics. \end{Desc} |
69 |
|
70 |
|
71 |
Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.\hypertarget{classTofPatternCut_2f9755367321e7f86f862506865f260c}{ |
72 |
\index{TofPatternCut@{TofPatternCut}!GetNHitPMTsOutsideTrack@{GetNHitPMTsOutsideTrack}} |
73 |
\index{GetNHitPMTsOutsideTrack@{GetNHitPMTsOutsideTrack}!TofPatternCut@{TofPatternCut}} |
74 |
\subsubsection[{GetNHitPMTsOutsideTrack}]{\setlength{\rightskip}{0pt plus 5cm}int TofPatternCut::GetNHitPMTsOutsideTrack (PamLevel2 $\ast$ {\em event}, \/ int {\em plane})}} |
75 |
\label{classTofPatternCut_2f9755367321e7f86f862506865f260c} |
76 |
|
77 |
|
78 |
Counts the number of hit PMTs (with tdc signal) outside track. |
79 |
|
80 |
\begin{Desc} |
81 |
\item[Parameters:] |
82 |
\begin{description} |
83 |
\item[{\em event}]The event to analyze. \item[{\em plane}]Plane number (0-5 = S11-S32). \end{description} |
84 |
\end{Desc} |
85 |
|
86 |
|
87 |
to avoid adc pile-up |
88 |
|
89 |
The documentation for this class was generated from the following files:\begin{CompactItemize} |
90 |
\item |
91 |
TofCuts/TofPatternCut/\hyperlink{TofPatternCut_8h}{TofPatternCut.h}\item |
92 |
TofCuts/TofPatternCut/\hyperlink{TofPatternCut_8cpp}{TofPatternCut.cpp}\end{CompactItemize} |