\hypertarget{classRigFillCut}{
\section{RigFillCut Class Reference}
\label{classRigFillCut}\index{RigFillCut@{RigFillCut}}
}
The rigidity vs threshold rigidity histogram filling.  


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

Inheritance diagram for RigFillCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classRigFillCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classRigFillCut_db50b4fec5f11499db9039baea8a4392}{RigFillCut} (const char $\ast$cutName, std::vector$<$ float $>$ binning, float thresholdCoeff)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classRigFillCut_3e1f3f9df6e8c684060ccd76da9edaad}{$\sim$RigFillCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classRigFillCut_5441206a7a24f1f5d19dc1a64685fcd4}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The rigidity and cutoff rigidity check. \item\end{CompactList}\item 
void \hyperlink{classRigFillCut_537f1b31f208ebe8f190f254be1fdc6c}{OnGood} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The histogram filling. \item\end{CompactList}\item 
\hyperlink{classSimpleMatrix}{SimpleMatrix}$<$ UInt\_\-t $>$ \& \hyperlink{classRigFillCut_532f3bb2e39f3c9da3a70e72eae8389d}{GetHisto} ()
\begin{CompactList}\small\item\em Returns the histogram. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
std::vector$<$ float $>$ \hyperlink{classRigFillCut_24c7fece1b02c4222dc2fd9d0d13bcc0}{\_\-binning}
\item 
\hyperlink{classSimpleMatrix}{SimpleMatrix}$<$ UInt\_\-t $>$ \hyperlink{classRigFillCut_9c0b18d019325388ab4d99cd304a5909}{\_\-histogram}
\item 
float \hyperlink{classRigFillCut_5634e95eb75291fd866f995a324a3a0a}{\_\-thresholdCoeff}
\end{CompactItemize}


\subsection{Detailed Description}
The rigidity vs threshold rigidity histogram filling. 

This class checks the events and builds a 2D histogram binned in rigidity modulus and threshold rigidity. Each 2D bin will contain the number of events whose rigidity modulus and threshold rigidity (eg., Stoermer cutoff rigidity times a threshold coefficient) lie in that bin. Note that the meaning of this threshold coefficient is the same as in \hyperlink{classTrkRigGeoCut}{TrkRigGeoCut}, so it must have the same value used for \hyperlink{classTrkRigGeoCut}{TrkRigGeoCut} (consider using \hyperlink{classTrkRigGeoCut_5b3e2d3037d140ae852bd02975842eb4}{TrkRigGeoCut::GetThresholdCoeff()} to retrieve its value). Events are discarded only if their rigidity modulus or cutoff rigidity lies outside the histogram bounds.

CUT DEPENDECIES: \hyperlink{classTrkPhSinCut}{TrkPhSinCut} for single physical track, \hyperlink{classTrkRigGeoCut}{TrkRigGeoCut} for galactic event. 

Definition at line 37 of file RigFillCut.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classRigFillCut_db50b4fec5f11499db9039baea8a4392}{
\index{RigFillCut@{RigFillCut}!RigFillCut@{RigFillCut}}
\index{RigFillCut@{RigFillCut}!RigFillCut@{RigFillCut}}
\subsubsection[{RigFillCut}]{\setlength{\rightskip}{0pt plus 5cm}RigFillCut::RigFillCut (const char $\ast$ {\em cutName}, \/  std::vector$<$ float $>$ {\em binning}, \/  float {\em thresholdCoeff})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classRigFillCut_db50b4fec5f11499db9039baea8a4392}


Constructor. 

The binning vectors must contain both the upper and lower limits, and the elements must be ordered (ie., lowest value in the first element and so on) and positive, so that charge sign will be irrelevant.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cutName}]The cut's name. \item[{\em binning}]A vector containing the histogram binning in rigidity modulus (X axis) and cutoff rigidity (Y axis). \item[{\em thresholdCoeff}]The threshold rigidity coefficient for the event selection. \end{description}
\end{Desc}


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


Destructor. 



Definition at line 57 of file RigFillCut.h.

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


The rigidity and cutoff rigidity check. 

The event is discarded if its rigidity modulus or threshold rigidity are outside the limits of the binnings. Please note that only absolute rigidity is considered.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event}]The event to analyze. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]\hyperlink{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}{CUTOK} if both rigidity modulus and threshold rigidity is contained in the histogram limits. 

0 otherwise. \end{Desc}


Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 12 of file RigFillCut.cpp.

References \_\-binning, \_\-thresholdCoeff, CUTOK, RIGOUT, and THRESHRIGOUT.\hypertarget{classRigFillCut_532f3bb2e39f3c9da3a70e72eae8389d}{
\index{RigFillCut@{RigFillCut}!GetHisto@{GetHisto}}
\index{GetHisto@{GetHisto}!RigFillCut@{RigFillCut}}
\subsubsection[{GetHisto}]{\setlength{\rightskip}{0pt plus 5cm}{\bf SimpleMatrix}$<$UInt\_\-t$>$\& RigFillCut::GetHisto ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classRigFillCut_532f3bb2e39f3c9da3a70e72eae8389d}


Returns the histogram. 

This method returns a \hyperlink{classSimpleMatrix}{SimpleMatrix}. Its \mbox{[}i\mbox{]}\mbox{[}j\mbox{]} element contain the number of analyzed events whose rigidity modulus falls in the i-th rigidity bin and whose threshold rigidity falls in the j-th rigidity bin.

\begin{Desc}
\item[Returns:]The rigidity modulus - threshold rigidity 2D histogram \end{Desc}


Definition at line 86 of file RigFillCut.h.

References \_\-histogram.\hypertarget{classRigFillCut_537f1b31f208ebe8f190f254be1fdc6c}{
\index{RigFillCut@{RigFillCut}!OnGood@{OnGood}}
\index{OnGood@{OnGood}!RigFillCut@{RigFillCut}}
\subsubsection[{OnGood}]{\setlength{\rightskip}{0pt plus 5cm}void RigFillCut::OnGood (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{classRigFillCut_537f1b31f208ebe8f190f254be1fdc6c}


The histogram filling. 

The method fills the histogram with the currently selected event.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event}]The currently selected event. \end{description}
\end{Desc}


Reimplemented from \hyperlink{classPamCut_56021e959232270c12528ddec3062985}{PamCut}.

Definition at line 29 of file RigFillCut.cpp.

References \_\-binning, \_\-histogram, and \_\-thresholdCoeff.

\subsection{Member Data Documentation}
\hypertarget{classRigFillCut_24c7fece1b02c4222dc2fd9d0d13bcc0}{
\index{RigFillCut@{RigFillCut}!\_\-binning@{\_\-binning}}
\index{\_\-binning@{\_\-binning}!RigFillCut@{RigFillCut}}
\subsubsection[{\_\-binning}]{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$float$>$ {\bf RigFillCut::\_\-binning}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classRigFillCut_24c7fece1b02c4222dc2fd9d0d13bcc0}




Definition at line 92 of file RigFillCut.h.

Referenced by Check(), and OnGood().\hypertarget{classRigFillCut_9c0b18d019325388ab4d99cd304a5909}{
\index{RigFillCut@{RigFillCut}!\_\-histogram@{\_\-histogram}}
\index{\_\-histogram@{\_\-histogram}!RigFillCut@{RigFillCut}}
\subsubsection[{\_\-histogram}]{\setlength{\rightskip}{0pt plus 5cm}{\bf SimpleMatrix}$<$UInt\_\-t$>$ {\bf RigFillCut::\_\-histogram}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classRigFillCut_9c0b18d019325388ab4d99cd304a5909}




Definition at line 93 of file RigFillCut.h.

Referenced by GetHisto(), and OnGood().\hypertarget{classRigFillCut_5634e95eb75291fd866f995a324a3a0a}{
\index{RigFillCut@{RigFillCut}!\_\-thresholdCoeff@{\_\-thresholdCoeff}}
\index{\_\-thresholdCoeff@{\_\-thresholdCoeff}!RigFillCut@{RigFillCut}}
\subsubsection[{\_\-thresholdCoeff}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf RigFillCut::\_\-thresholdCoeff}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classRigFillCut_5634e95eb75291fd866f995a324a3a0a}




Definition at line 94 of file RigFillCut.h.

Referenced by Check(), and OnGood().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
TrkCuts/RigFillCut/\hyperlink{RigFillCut_8h}{RigFillCut.h}\item 
TrkCuts/RigFillCut/\hyperlink{RigFillCut_8cpp}{RigFillCut.cpp}\end{CompactItemize}
