\hypertarget{classBlindCutCollection}{
\section{BlindCutCollection Class Reference}
\label{classBlindCutCollection}\index{BlindCutCollection@{BlindCutCollection}}
}
A cut collection which applies all the cuts.  


{\tt \#include $<$BlindCutCollection.h$>$}

Inheritance diagram for BlindCutCollection::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5cm]{classBlindCutCollection}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classBlindCutCollection_65456bdc6e25ee98acc53ff8c0f9c3a5}{BlindCutCollection} (const char $\ast$collectionName)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classBlindCutCollection_3d7801972fd6d7f5b7da7790d5593259}{$\sim$BlindCutCollection} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em Checks all the cuts. \item\end{CompactList}\item 
int \hyperlink{classBlindCutCollection_8d387de8cbc54ff0eab8cff220b49c20}{ApplyCut} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em Applies all the cuts to the current event. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
A cut collection which applies all the cuts. 

This cut collection will apply all the cuts it contains to the events, even if some of them are not satisfied. 

Definition at line 20 of file BlindCutCollection.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classBlindCutCollection_65456bdc6e25ee98acc53ff8c0f9c3a5}{
\index{BlindCutCollection@{BlindCutCollection}!BlindCutCollection@{BlindCutCollection}}
\index{BlindCutCollection@{BlindCutCollection}!BlindCutCollection@{BlindCutCollection}}
\subsubsection[{BlindCutCollection}]{\setlength{\rightskip}{0pt plus 5cm}BlindCutCollection::BlindCutCollection (const char $\ast$ {\em collectionName})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classBlindCutCollection_65456bdc6e25ee98acc53ff8c0f9c3a5}


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em collectionName}]The collection's name. \end{description}
\end{Desc}


Definition at line 26 of file BlindCutCollection.h.\hypertarget{classBlindCutCollection_3d7801972fd6d7f5b7da7790d5593259}{
\index{BlindCutCollection@{BlindCutCollection}!$\sim$BlindCutCollection@{$\sim$BlindCutCollection}}
\index{$\sim$BlindCutCollection@{$\sim$BlindCutCollection}!BlindCutCollection@{BlindCutCollection}}
\subsubsection[{$\sim$BlindCutCollection}]{\setlength{\rightskip}{0pt plus 5cm}BlindCutCollection::$\sim$BlindCutCollection ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classBlindCutCollection_3d7801972fd6d7f5b7da7790d5593259}


Destructor. 



Definition at line 31 of file BlindCutCollection.h.

\subsection{Member Function Documentation}
\hypertarget{classBlindCutCollection_8d387de8cbc54ff0eab8cff220b49c20}{
\index{BlindCutCollection@{BlindCutCollection}!ApplyCut@{ApplyCut}}
\index{ApplyCut@{ApplyCut}!BlindCutCollection@{BlindCutCollection}}
\subsubsection[{ApplyCut}]{\setlength{\rightskip}{0pt plus 5cm}int BlindCutCollection::ApplyCut (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{classBlindCutCollection_8d387de8cbc54ff0eab8cff220b49c20}


Applies all the cuts to the current event. 

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.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event}]The event to analyze. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]same return values as \hyperlink{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f}{Check()}. \end{Desc}


Reimplemented from \hyperlink{classPamCutCollection_e7af429a3afef3685cbd5aa076ef96e5}{PamCutCollection}.

Definition at line 29 of file BlindCutCollection.cpp.

References PamCutCollection::\_\-cuts, PamCut::\_\-nEv, PamCut::\_\-nGood, CUTOK, PamCut::OnBad(), and PamCut::OnGood().\hypertarget{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f}{
\index{BlindCutCollection@{BlindCutCollection}!Check@{Check}}
\index{Check@{Check}!BlindCutCollection@{BlindCutCollection}}
\subsubsection[{Check}]{\setlength{\rightskip}{0pt plus 5cm}int BlindCutCollection::Check (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f}


Checks all the cuts. 

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. \begin{Desc}
\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}


Reimplemented from \hyperlink{classPamCutCollection_85f04cef7b560a37061391dd397813a7}{PamCutCollection}.

Definition at line 12 of file BlindCutCollection.cpp.

References PamCutCollection::\_\-cuts, and CUTOK.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
Collections/BlindCutCollection/\hyperlink{BlindCutCollection_8h}{BlindCutCollection.h}\item 
Collections/BlindCutCollection/\hyperlink{BlindCutCollection_8cpp}{BlindCutCollection.cpp}\end{CompactItemize}
