\hypertarget{classCaloNucleiZCut}{
\section{CaloNucleiZCut Class Reference}
\label{classCaloNucleiZCut}\index{CaloNucleiZCut@{CaloNucleiZCut}}
}
The CaloNuclei charge cut.  


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

Inheritance diagram for CaloNucleiZCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classCaloNucleiZCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classCaloNucleiZCut_8aae9fd480ce2127ff33d67d7a3c9502}{CaloNucleiZCut} (const char $\ast$cutName, unsigned int Z, float lowerLimit, float upperLimit, unsigned int method=CALONUCLEIZ\_\-SIEGEN)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classCaloNucleiZCut_ff3fe5e884c841fa2d138663ca138b37}{$\sim$CaloNucleiZCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classCaloNucleiZCut_af2ac497ae8c5b356eec8d0cfe8a2c7a}{Check} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em The CaloNucleiZ check. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
unsigned int \hyperlink{classCaloNucleiZCut_546c30cbf8cb5d91de0391b40a78c9bc}{\_\-Z}
\item 
float \hyperlink{classCaloNucleiZCut_f98459195fa9578641561ed9f2b3ddd6}{\_\-lowerLimit}
\item 
float \hyperlink{classCaloNucleiZCut_d80ef8acd9fbf8359e30ee671f9d9430}{\_\-upperLimit}
\item 
CaloNuclei $\ast$ \hyperlink{classCaloNucleiZCut_bdede0955c101d7e424e2cb734933a49}{\_\-caloNuclei}
\item 
unsigned int \hyperlink{classCaloNucleiZCut_65d0469e52da5c6efe4f1b08a3c65029}{\_\-method}
\end{CompactItemize}
\subsection*{Static Private Attributes}
\begin{CompactItemize}
\item 
static const float \hyperlink{classCaloNucleiZCut_4c153a341ed7198ca6e3e88f7ed88803}{\_\-sigmaZ} \mbox{[}$\,$\mbox{]} = \{ 0.11, 0.14, 0.21, 0.28, 0.28, 0.31, 0.32, 0.32 \}
\end{CompactItemize}


\subsection{Detailed Description}
The CaloNuclei charge cut. 

This cut uses the CaloNuclei library to cut events depending on particle's charge value. 

Definition at line 41 of file CaloNucleiZCut.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classCaloNucleiZCut_8aae9fd480ce2127ff33d67d7a3c9502}{
\index{CaloNucleiZCut@{CaloNucleiZCut}!CaloNucleiZCut@{CaloNucleiZCut}}
\index{CaloNucleiZCut@{CaloNucleiZCut}!CaloNucleiZCut@{CaloNucleiZCut}}
\subsubsection[{CaloNucleiZCut}]{\setlength{\rightskip}{0pt plus 5cm}CaloNucleiZCut::CaloNucleiZCut (const char $\ast$ {\em cutName}, \/  unsigned int {\em Z}, \/  float {\em lowerLimit}, \/  float {\em upperLimit}, \/  unsigned int {\em method} = {\tt CALONUCLEIZ\_\-SIEGEN})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCaloNucleiZCut_8aae9fd480ce2127ff33d67d7a3c9502}


Constructor. 

The charge to look for is passed to the \hyperlink{classCaloNucleiZCut}{CaloNucleiZCut} object as Z. For each charge, there is an associated distribution of events, with mean Zmean and standard deviation sigmaZ. These values will be used to check the events.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cutName}]The cut's name. \item[{\em Z}]The charge value. \item[{\em lowerLimit}]The lower bound (in units of sigma\_\-Z) of the desired charge range, defined as Zmean - lowerBound$\ast$sigmaZ. \item[{\em upperLimit}]The upper bound (in units of sigma\_\-Z) of the desired charge range, defined as Zmean + upperBound$\ast$sigmaZ. \item[{\em method}]The method to use to measure the particle's charge (see \hyperlink{CaloNucleiZCut_8h_f52d4ca6dd7142aaf693bf81cca09fd3}{CaloNucleiZ\_\-method}). \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]\end{Desc}


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


Destructor. 



Definition at line 62 of file CaloNucleiZCut.h.

References \_\-caloNuclei.

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


The CaloNucleiZ check. 

The routine selects events whose value of Zmean obtained from the CaloNuclei Class is in the range \mbox{[}Zmean - sigma$\ast$lowerBound, Zmean + sigma$\ast$upperBound\mbox{]}. Zmean and sigma are defined respectively as the mean and the standard deviation of the charge distributions obtained using CaloNuclei. In current implementation, means are taken to be equal to the charge value (Zmean = Z) and sigmas are:

Z $|$ sigma ----------- 1 $|$ 0.11 2 $|$ 0.14 3 $|$ 0.21 4 $|$ 0.28 5 $|$ 0.28 6 $|$ 0.31 7 $|$ 0.32 8 $|$ 0.32

independent of the method used. 

Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}.

Definition at line 16 of file CaloNucleiZCut.cpp.

References \_\-caloNuclei, \_\-lowerLimit, \_\-method, \_\-sigmaZ, \_\-upperLimit, \_\-Z, CALONUCLEIZ\_\-DEDXBETA, CALONUCLEIZ\_\-DEDXDEFL, CALONUCLEIZ\_\-ILLEGALZ, CALONUCLEIZ\_\-OUTOFBOUNDS, CALONUCLEIZ\_\-SIEGEN, and CUTOK.

\subsection{Member Data Documentation}
\hypertarget{classCaloNucleiZCut_bdede0955c101d7e424e2cb734933a49}{
\index{CaloNucleiZCut@{CaloNucleiZCut}!\_\-caloNuclei@{\_\-caloNuclei}}
\index{\_\-caloNuclei@{\_\-caloNuclei}!CaloNucleiZCut@{CaloNucleiZCut}}
\subsubsection[{\_\-caloNuclei}]{\setlength{\rightskip}{0pt plus 5cm}CaloNuclei$\ast$ {\bf CaloNucleiZCut::\_\-caloNuclei}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCaloNucleiZCut_bdede0955c101d7e424e2cb734933a49}




Definition at line 96 of file CaloNucleiZCut.h.

Referenced by Check(), and $\sim$CaloNucleiZCut().\hypertarget{classCaloNucleiZCut_f98459195fa9578641561ed9f2b3ddd6}{
\index{CaloNucleiZCut@{CaloNucleiZCut}!\_\-lowerLimit@{\_\-lowerLimit}}
\index{\_\-lowerLimit@{\_\-lowerLimit}!CaloNucleiZCut@{CaloNucleiZCut}}
\subsubsection[{\_\-lowerLimit}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf CaloNucleiZCut::\_\-lowerLimit}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCaloNucleiZCut_f98459195fa9578641561ed9f2b3ddd6}




Definition at line 94 of file CaloNucleiZCut.h.

Referenced by Check().\hypertarget{classCaloNucleiZCut_65d0469e52da5c6efe4f1b08a3c65029}{
\index{CaloNucleiZCut@{CaloNucleiZCut}!\_\-method@{\_\-method}}
\index{\_\-method@{\_\-method}!CaloNucleiZCut@{CaloNucleiZCut}}
\subsubsection[{\_\-method}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf CaloNucleiZCut::\_\-method}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCaloNucleiZCut_65d0469e52da5c6efe4f1b08a3c65029}




Definition at line 98 of file CaloNucleiZCut.h.

Referenced by Check().\hypertarget{classCaloNucleiZCut_4c153a341ed7198ca6e3e88f7ed88803}{
\index{CaloNucleiZCut@{CaloNucleiZCut}!\_\-sigmaZ@{\_\-sigmaZ}}
\index{\_\-sigmaZ@{\_\-sigmaZ}!CaloNucleiZCut@{CaloNucleiZCut}}
\subsubsection[{\_\-sigmaZ}]{\setlength{\rightskip}{0pt plus 5cm}const float {\bf CaloNucleiZCut::\_\-sigmaZ} = \{ 0.11, 0.14, 0.21, 0.28, 0.28, 0.31, 0.32, 0.32 \}\hspace{0.3cm}{\tt  \mbox{[}static, private\mbox{]}}}}
\label{classCaloNucleiZCut_4c153a341ed7198ca6e3e88f7ed88803}




Definition at line 92 of file CaloNucleiZCut.h.

Referenced by Check().\hypertarget{classCaloNucleiZCut_d80ef8acd9fbf8359e30ee671f9d9430}{
\index{CaloNucleiZCut@{CaloNucleiZCut}!\_\-upperLimit@{\_\-upperLimit}}
\index{\_\-upperLimit@{\_\-upperLimit}!CaloNucleiZCut@{CaloNucleiZCut}}
\subsubsection[{\_\-upperLimit}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf CaloNucleiZCut::\_\-upperLimit}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCaloNucleiZCut_d80ef8acd9fbf8359e30ee671f9d9430}




Definition at line 95 of file CaloNucleiZCut.h.

Referenced by Check().\hypertarget{classCaloNucleiZCut_546c30cbf8cb5d91de0391b40a78c9bc}{
\index{CaloNucleiZCut@{CaloNucleiZCut}!\_\-Z@{\_\-Z}}
\index{\_\-Z@{\_\-Z}!CaloNucleiZCut@{CaloNucleiZCut}}
\subsubsection[{\_\-Z}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf CaloNucleiZCut::\_\-Z}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCaloNucleiZCut_546c30cbf8cb5d91de0391b40a78c9bc}




Definition at line 91 of file CaloNucleiZCut.h.

Referenced by Check().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
CaloCuts/CaloNucleiZCut/\hyperlink{CaloNucleiZCut_8h}{CaloNucleiZCut.h}\item 
CaloCuts/CaloNucleiZCut/\hyperlink{CaloNucleiZCut_8cpp}{CaloNucleiZCut.cpp}\end{CompactItemize}
