| 1 |
pam-fi |
1.1 |
\hypertarget{classBlindCutCollection}{ |
| 2 |
|
|
\section{BlindCutCollection Class Reference} |
| 3 |
|
|
\label{classBlindCutCollection}\index{BlindCutCollection@{BlindCutCollection}} |
| 4 |
|
|
} |
| 5 |
|
|
A cut collection which applies all the cuts. |
| 6 |
|
|
|
| 7 |
|
|
|
| 8 |
|
|
{\tt \#include $<$BlindCutCollection.h$>$} |
| 9 |
|
|
|
| 10 |
|
|
Inheritance diagram for BlindCutCollection::\begin{figure}[H] |
| 11 |
|
|
\begin{center} |
| 12 |
|
|
\leavevmode |
| 13 |
pam-fi |
1.2 |
\includegraphics[height=3cm]{classBlindCutCollection} |
| 14 |
pam-fi |
1.1 |
\end{center} |
| 15 |
|
|
\end{figure} |
| 16 |
|
|
\subsection*{Public Member Functions} |
| 17 |
|
|
\begin{CompactItemize} |
| 18 |
|
|
\item |
| 19 |
|
|
\hyperlink{classBlindCutCollection_65456bdc6e25ee98acc53ff8c0f9c3a5}{BlindCutCollection} (const char $\ast$collectionName) |
| 20 |
|
|
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item |
| 21 |
pam-fi |
1.2 |
\hypertarget{classBlindCutCollection_3d7801972fd6d7f5b7da7790d5593259}{ |
| 22 |
|
|
\hyperlink{classBlindCutCollection_3d7801972fd6d7f5b7da7790d5593259}{$\sim$BlindCutCollection} ()} |
| 23 |
|
|
\label{classBlindCutCollection_3d7801972fd6d7f5b7da7790d5593259} |
| 24 |
|
|
|
| 25 |
pam-fi |
1.1 |
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item |
| 26 |
|
|
int \hyperlink{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f}{Check} (PamLevel2 $\ast$event) |
| 27 |
|
|
\begin{CompactList}\small\item\em Checks all the cuts. \item\end{CompactList}\item |
| 28 |
|
|
int \hyperlink{classBlindCutCollection_8d387de8cbc54ff0eab8cff220b49c20}{ApplyCut} (PamLevel2 $\ast$event) |
| 29 |
|
|
\begin{CompactList}\small\item\em Applies all the cuts to the current event. \item\end{CompactList}\end{CompactItemize} |
| 30 |
|
|
|
| 31 |
|
|
|
| 32 |
|
|
\subsection{Detailed Description} |
| 33 |
|
|
A cut collection which applies all the cuts. |
| 34 |
|
|
|
| 35 |
|
|
This cut collection will apply all the cuts it contains to the events, even if some of them are not satisfied. |
| 36 |
|
|
|
| 37 |
|
|
\subsection{Constructor \& Destructor Documentation} |
| 38 |
|
|
\hypertarget{classBlindCutCollection_65456bdc6e25ee98acc53ff8c0f9c3a5}{ |
| 39 |
|
|
\index{BlindCutCollection@{BlindCutCollection}!BlindCutCollection@{BlindCutCollection}} |
| 40 |
|
|
\index{BlindCutCollection@{BlindCutCollection}!BlindCutCollection@{BlindCutCollection}} |
| 41 |
|
|
\subsubsection[{BlindCutCollection}]{\setlength{\rightskip}{0pt plus 5cm}BlindCutCollection::BlindCutCollection (const char $\ast$ {\em collectionName})\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} |
| 42 |
|
|
\label{classBlindCutCollection_65456bdc6e25ee98acc53ff8c0f9c3a5} |
| 43 |
|
|
|
| 44 |
|
|
|
| 45 |
|
|
Constructor. |
| 46 |
|
|
|
| 47 |
|
|
\begin{Desc} |
| 48 |
|
|
\item[Parameters:] |
| 49 |
|
|
\begin{description} |
| 50 |
|
|
\item[{\em collectionName}]The collection's name. \end{description} |
| 51 |
|
|
\end{Desc} |
| 52 |
|
|
|
| 53 |
|
|
|
| 54 |
|
|
\subsection{Member Function Documentation} |
| 55 |
|
|
\hypertarget{classBlindCutCollection_8d387de8cbc54ff0eab8cff220b49c20}{ |
| 56 |
|
|
\index{BlindCutCollection@{BlindCutCollection}!ApplyCut@{ApplyCut}} |
| 57 |
|
|
\index{ApplyCut@{ApplyCut}!BlindCutCollection@{BlindCutCollection}} |
| 58 |
|
|
\subsubsection[{ApplyCut}]{\setlength{\rightskip}{0pt plus 5cm}int BlindCutCollection::ApplyCut (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} |
| 59 |
|
|
\label{classBlindCutCollection_8d387de8cbc54ff0eab8cff220b49c20} |
| 60 |
|
|
|
| 61 |
|
|
|
| 62 |
|
|
Applies all the cuts to the current event. |
| 63 |
|
|
|
| 64 |
|
|
This routine works pretty much like the redefinition of \hyperlink{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f}{Check()}, calling \hyperlink{classBlindCutCollection_8d387de8cbc54ff0eab8cff220b49c20}{ApplyCut()} (instead of \hyperlink{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f}{Check()} )for each cut. However, if a cut fails, it does not stops but continues until all the cuts are evaluated. If all the cuts are successful, on exit it calls \hyperlink{classPamCut_56021e959232270c12528ddec3062985}{OnGood()}; if a single cut failed, it calls \hyperlink{classPamCut_cbb3b507d79f20878fac4392ffa57acb}{OnBad()}, passing the index of the first failed cut as selectionResult. |
| 65 |
|
|
|
| 66 |
|
|
\begin{Desc} |
| 67 |
|
|
\item[Parameters:] |
| 68 |
|
|
\begin{description} |
| 69 |
|
|
\item[{\em event}]The event to analyze. \end{description} |
| 70 |
|
|
\end{Desc} |
| 71 |
|
|
\begin{Desc} |
| 72 |
|
|
\item[Returns:]same return values as \hyperlink{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f}{Check()}. \end{Desc} |
| 73 |
|
|
|
| 74 |
|
|
|
| 75 |
pam-fi |
1.2 |
Reimplemented from \hyperlink{classPamCutCollection_e7af429a3afef3685cbd5aa076ef96e5}{PamCutCollection}.\hypertarget{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f}{ |
| 76 |
pam-fi |
1.1 |
\index{BlindCutCollection@{BlindCutCollection}!Check@{Check}} |
| 77 |
|
|
\index{Check@{Check}!BlindCutCollection@{BlindCutCollection}} |
| 78 |
|
|
\subsubsection[{Check}]{\setlength{\rightskip}{0pt plus 5cm}int BlindCutCollection::Check (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} |
| 79 |
|
|
\label{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f} |
| 80 |
|
|
|
| 81 |
|
|
|
| 82 |
|
|
Checks all the cuts. |
| 83 |
|
|
|
| 84 |
pam-fi |
1.2 |
This method checks all the cuts for the current event. It exits only after all the cuts have been evaluated. Note that it doesn't call \hyperlink{classPamCut_56021e959232270c12528ddec3062985}{OnGood()} nor \hyperlink{classPamCut_cbb3b507d79f20878fac4392ffa57acb}{OnBad()}, not even for the \hyperlink{classPamCut}{PamCut} objects in the collection. |
| 85 |
|
|
|
| 86 |
|
|
\begin{Desc} |
| 87 |
|
|
\item[Parameters:] |
| 88 |
|
|
\begin{description} |
| 89 |
|
|
\item[{\em event}]The event to analyze. \end{description} |
| 90 |
|
|
\end{Desc} |
| 91 |
|
|
\begin{Desc} |
| 92 |
pam-fi |
1.1 |
\item[Returns:]the index of the first failed cut (range: \mbox{[}0, \#cuts-1\mbox{]}, see \hyperlink{classPamCutCollection_6dc6a92a7ee9243f567a2a244e1e5685}{AddCut()}); $\backslash$ \hyperlink{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}{CUTOK} if the event satisfies all the cuts. \end{Desc} |
| 93 |
|
|
|
| 94 |
|
|
|
| 95 |
|
|
Reimplemented from \hyperlink{classPamCutCollection_85f04cef7b560a37061391dd397813a7}{PamCutCollection}. |
| 96 |
|
|
|
| 97 |
|
|
The documentation for this class was generated from the following files:\begin{CompactItemize} |
| 98 |
|
|
\item |
| 99 |
|
|
Collections/BlindCutCollection/\hyperlink{BlindCutCollection_8h}{BlindCutCollection.h}\item |
| 100 |
|
|
Collections/BlindCutCollection/\hyperlink{BlindCutCollection_8cpp}{BlindCutCollection.cpp}\end{CompactItemize} |