1 |
\hypertarget{classCaloTrackChi2Cut}{ |
2 |
\section{CaloTrackChi2Cut Class Reference} |
3 |
\label{classCaloTrackChi2Cut}\index{CaloTrackChi2Cut@{CaloTrackChi2Cut}} |
4 |
} |
5 |
The calorimeter track chi2 quality cut. |
6 |
|
7 |
|
8 |
{\tt \#include $<$CaloTrackChi2Cut.h$>$} |
9 |
|
10 |
Inheritance diagram for CaloTrackChi2Cut::\begin{figure}[H] |
11 |
\begin{center} |
12 |
\leavevmode |
13 |
\includegraphics[height=2cm]{classCaloTrackChi2Cut} |
14 |
\end{center} |
15 |
\end{figure} |
16 |
\subsection*{Public Member Functions} |
17 |
\begin{CompactItemize} |
18 |
\item |
19 |
\hyperlink{classCaloTrackChi2Cut_1712b4e3701101c9937236e7499d384f}{CaloTrackChi2Cut} (const char $\ast$cutName, CaloAxis $\ast$xCaloAxis, CaloAxis $\ast$yCaloAxis, float maxChi2=0.03, float minChi2=0.005) |
20 |
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item |
21 |
\hypertarget{classCaloTrackChi2Cut_ffe40e5c6ec00d23fedd58a04470e5bc}{ |
22 |
\hyperlink{classCaloTrackChi2Cut_ffe40e5c6ec00d23fedd58a04470e5bc}{$\sim$CaloTrackChi2Cut} ()} |
23 |
\label{classCaloTrackChi2Cut_ffe40e5c6ec00d23fedd58a04470e5bc} |
24 |
|
25 |
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item |
26 |
int \hyperlink{classCaloTrackChi2Cut_63fe6418b40b1908a4a9df6ee2920909}{Check} (PamLevel2 $\ast$event) |
27 |
\begin{CompactList}\small\item\em The calorimeter chi2 quality check. \item\end{CompactList}\end{CompactItemize} |
28 |
|
29 |
|
30 |
\subsection{Detailed Description} |
31 |
The calorimeter track chi2 quality cut. |
32 |
|
33 |
This cut performs a check on chi2 of the calorimeter track. The current implementation uses the CaloAxis objects; to save computing time, the class assumes that the track is externally computed for each event and stored in CaloAxis objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 $\ast$event and assume that the current content of the CaloAxis objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called. |
34 |
|
35 |
CUT DEPENDENCIES: \hyperlink{classCaloTrackCut}{CaloTrackCut} for the existence of the track (it can also provide the CaloAxis objects). |
36 |
|
37 |
\subsection{Constructor \& Destructor Documentation} |
38 |
\hypertarget{classCaloTrackChi2Cut_1712b4e3701101c9937236e7499d384f}{ |
39 |
\index{CaloTrackChi2Cut@{CaloTrackChi2Cut}!CaloTrackChi2Cut@{CaloTrackChi2Cut}} |
40 |
\index{CaloTrackChi2Cut@{CaloTrackChi2Cut}!CaloTrackChi2Cut@{CaloTrackChi2Cut}} |
41 |
\subsubsection[{CaloTrackChi2Cut}]{\setlength{\rightskip}{0pt plus 5cm}CaloTrackChi2Cut::CaloTrackChi2Cut (const char $\ast$ {\em cutName}, \/ CaloAxis $\ast$ {\em xCaloAxis}, \/ CaloAxis $\ast$ {\em yCaloAxis}, \/ float {\em maxChi2} = {\tt 0.03}, \/ float {\em minChi2} = {\tt 0.005})\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} |
42 |
\label{classCaloTrackChi2Cut_1712b4e3701101c9937236e7499d384f} |
43 |
|
44 |
|
45 |
Constructor. |
46 |
|
47 |
The CaloAxis arguments are pointers to objects which contain the calorimeter track information for current event. |
48 |
|
49 |
\begin{Desc} |
50 |
\item[Parameters:] |
51 |
\begin{description} |
52 |
\item[{\em cutName}]The cut name. \item[{\em xCaloAxis}]Pointer to the CaloAxis object for X axis. \item[{\em yCaloAxis}]Pointer to the CaloAxis object for Y axis. \item[{\em maxChi2}]The maximum allowed Chi2. \item[{\em minChi2}]The minimum allowed Chi2. \end{description} |
53 |
\end{Desc} |
54 |
|
55 |
|
56 |
\subsection{Member Function Documentation} |
57 |
\hypertarget{classCaloTrackChi2Cut_63fe6418b40b1908a4a9df6ee2920909}{ |
58 |
\index{CaloTrackChi2Cut@{CaloTrackChi2Cut}!Check@{Check}} |
59 |
\index{Check@{Check}!CaloTrackChi2Cut@{CaloTrackChi2Cut}} |
60 |
\subsubsection[{Check}]{\setlength{\rightskip}{0pt plus 5cm}int CaloTrackChi2Cut::Check (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} |
61 |
\label{classCaloTrackChi2Cut_63fe6418b40b1908a4a9df6ee2920909} |
62 |
|
63 |
|
64 |
The calorimeter chi2 quality check. |
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:]\hyperlink{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}{CUTOK} if Chi2 from CaloAxis is strictly greater than minChi2 and strictly lesser than maxChi2. |
73 |
|
74 |
0 otherwise \end{Desc} |
75 |
|
76 |
|
77 |
Implements \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut}. |
78 |
|
79 |
The documentation for this class was generated from the following files:\begin{CompactItemize} |
80 |
\item |
81 |
CaloCuts/CaloTrackChi2Cut/\hyperlink{CaloTrackChi2Cut_8h}{CaloTrackChi2Cut.h}\item |
82 |
CaloCuts/CaloTrackChi2Cut/\hyperlink{CaloTrackChi2Cut_8cpp}{CaloTrackChi2Cut.cpp}\end{CompactItemize} |