\hypertarget{CommonDefs_8h}{
\section{CommonDefs.h File Reference}
\label{CommonDefs_8h}\index{CommonDefs.h@{CommonDefs.h}}
}
\subsection*{Classes}
\begin{CompactItemize}
\item 
class \hyperlink{classSimpleMatrix}{SimpleMatrix$<$ T $>$}
\begin{CompactList}\small\item\em A simple matrix class. \item\end{CompactList}\end{CompactItemize}
\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum \hyperlink{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c}{DETECTORCODE} \{ \par
\hyperlink{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3ca35aac3cb4f8be8dfc8c5c471d537511}{TRK} =  1, 
\hyperlink{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c81bd89f7ff2c29f0171c22f7c47c3e9f}{CALO} =  2, 
\hyperlink{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3cc18e0fdb830eeb3a7f657a75000744db}{TOF} =  4, 
\hyperlink{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c3e553562ab1f48e96e9d0640526237b8}{AC} =  8, 
\par
\hyperlink{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c55e5ba1b4d86a4bcc4c1789a8f7b75e5}{TRIG} =  16, 
\hyperlink{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3cad58394ab5225c7978a38cc22fdbfa35}{ORB} =  32, 
\hyperlink{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3cb1d5eac4b1dca480c8056eaea7663b7a}{ALL} =  63, 
\hyperlink{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3ca7f5c1a17fce9b3e67e6e07a5e4c11b6}{CALO\_\-L1} =  64
 \}
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
const int \hyperlink{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}{CUTOK} = -1
\begin{CompactList}\small\item\em The implementations of \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut::Check()} must return this value if the event satisfy the cut. \item\end{CompactList}\item 
const int \hyperlink{CommonDefs_8h_e489f30e0fdafca4835125256a44dce0}{TOFNPADLAYER} \mbox{[}6\mbox{]} = \{ 8, 6, 2, 2, 3, 3 \}
\end{CompactItemize}


\label{_details}
\hypertarget{_details}{}
\subsection{Detailed Description}
A header file with all the common definitions for the \hyperlink{classPamCut}{PamCut} framework. 

Definition in file \hyperlink{CommonDefs_8h_source}{CommonDefs.h}.

\subsection{Enumeration Type Documentation}
\hypertarget{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c}{
\index{CommonDefs.h@{CommonDefs.h}!DETECTORCODE@{DETECTORCODE}}
\index{DETECTORCODE@{DETECTORCODE}!CommonDefs.h@{CommonDefs.h}}
\subsubsection[{DETECTORCODE}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf DETECTORCODE}}}
\label{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c}


The values for each detector correspond to a binary code associated to that detector. These can be arithmetically added to create a binary code for a set of detectors. \begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{TRK@{TRK}!CommonDefs.h@{CommonDefs.h}}\index{CommonDefs.h@{CommonDefs.h}!TRK@{TRK}}\item[{\em 
\hypertarget{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3ca35aac3cb4f8be8dfc8c5c471d537511}{
TRK}
\label{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3ca35aac3cb4f8be8dfc8c5c471d537511}
}]Code for Tracker. \index{CALO@{CALO}!CommonDefs.h@{CommonDefs.h}}\index{CommonDefs.h@{CommonDefs.h}!CALO@{CALO}}\item[{\em 
\hypertarget{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c81bd89f7ff2c29f0171c22f7c47c3e9f}{
CALO}
\label{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c81bd89f7ff2c29f0171c22f7c47c3e9f}
}]Code for Calorimeter level2. \index{TOF@{TOF}!CommonDefs.h@{CommonDefs.h}}\index{CommonDefs.h@{CommonDefs.h}!TOF@{TOF}}\item[{\em 
\hypertarget{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3cc18e0fdb830eeb3a7f657a75000744db}{
TOF}
\label{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3cc18e0fdb830eeb3a7f657a75000744db}
}]Code for ToF. \index{AC@{AC}!CommonDefs.h@{CommonDefs.h}}\index{CommonDefs.h@{CommonDefs.h}!AC@{AC}}\item[{\em 
\hypertarget{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c3e553562ab1f48e96e9d0640526237b8}{
AC}
\label{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c3e553562ab1f48e96e9d0640526237b8}
}]Code for AntiCoincidence. \index{TRIG@{TRIG}!CommonDefs.h@{CommonDefs.h}}\index{CommonDefs.h@{CommonDefs.h}!TRIG@{TRIG}}\item[{\em 
\hypertarget{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c55e5ba1b4d86a4bcc4c1789a8f7b75e5}{
TRIG}
\label{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3c55e5ba1b4d86a4bcc4c1789a8f7b75e5}
}]Code for Trigger. \index{ORB@{ORB}!CommonDefs.h@{CommonDefs.h}}\index{CommonDefs.h@{CommonDefs.h}!ORB@{ORB}}\item[{\em 
\hypertarget{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3cad58394ab5225c7978a38cc22fdbfa35}{
ORB}
\label{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3cad58394ab5225c7978a38cc22fdbfa35}
}]Code for Orbital Info. \index{ALL@{ALL}!CommonDefs.h@{CommonDefs.h}}\index{CommonDefs.h@{CommonDefs.h}!ALL@{ALL}}\item[{\em 
\hypertarget{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3cb1d5eac4b1dca480c8056eaea7663b7a}{
ALL}
\label{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3cb1d5eac4b1dca480c8056eaea7663b7a}
}]Sum of all the above codes. \index{CALO\_\-L1@{CALO\_\-L1}!CommonDefs.h@{CommonDefs.h}}\index{CommonDefs.h@{CommonDefs.h}!CALO\_\-L1@{CALO\_\-L1}}\item[{\em 
\hypertarget{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3ca7f5c1a17fce9b3e67e6e07a5e4c11b6}{
CALO\_\-L1}
\label{CommonDefs_8h_0fda80c273d9a34e86f5f4a24f9a7b3ca7f5c1a17fce9b3e67e6e07a5e4c11b6}
}]Code for Calorimeter level1. \end{description}
\end{Desc}



Definition at line 21 of file CommonDefs.h.

\subsection{Variable Documentation}
\hypertarget{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}{
\index{CommonDefs.h@{CommonDefs.h}!CUTOK@{CUTOK}}
\index{CUTOK@{CUTOK}!CommonDefs.h@{CommonDefs.h}}
\subsubsection[{CUTOK}]{\setlength{\rightskip}{0pt plus 5cm}const int {\bf CUTOK} = -1}}
\label{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}


The implementations of \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{PamCut::Check()} must return this value if the event satisfy the cut. 



Definition at line 15 of file CommonDefs.h.

Referenced by PamCutCollection::ApplyCut(), PamCut::ApplyCut(), BlindCutCollection::ApplyCut(), TrkSigmaDeflCut::Check(), TrkRunValCut::Check(), TrkRigRangeCut::Check(), TrkRigGeoCut::Check(), TrkRigCut::Check(), TrkPhSinCut::Check(), TrkNucleiZCut::Check(), TrkIonCut::Check(), TrkIdCut::Check(), TrkHitQualCut::Check(), TrkGeomCut::Check(), TrkDedxHCut::Check(), TrkChi2QualCut::Check(), TrkChi2DeflCut::Check(), TrkCalQualCut::Check(), RigFillCut::Check(), TofTopS1Cut::Check(), TofQualCut::Check(), TofPatternCut::Check(), TofNucleiZCut::Check(), TofDedxS1Cut::Check(), TofBetaRigCut::Check(), TofBetaRangeCut::Check(), TofBetaCut::Check(), PamCutCollection::Check(), TrgConfCut::Check(), PktQualCut::Check(), OBTQualCut::Check(), LTQualCut::Check(), LTGeoFillCut::Check(), GeoFieldCut::Check(), EvRateS11Cut::Check(), DataQualCut::Check(), AbsTimeCut::Check(), BlindCutCollection::Check(), CaloTrackCut::Check(), CaloTrackChi2Cut::Check(), CaloNucleiZCut::Check(), CaloNotIntCut::Check(), CaloNHitCut::Check(), CaloIonCut::Check(), CaloGeomCut::Check(), CaloCrossCut::Check(), CATCut::Check(), and CARDCut::Check().\hypertarget{CommonDefs_8h_e489f30e0fdafca4835125256a44dce0}{
\index{CommonDefs.h@{CommonDefs.h}!TOFNPADLAYER@{TOFNPADLAYER}}
\index{TOFNPADLAYER@{TOFNPADLAYER}!CommonDefs.h@{CommonDefs.h}}
\subsubsection[{TOFNPADLAYER}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TOFNPADLAYER} = \{ 8, 6, 2, 2, 3, 3 \}}}
\label{CommonDefs_8h_e489f30e0fdafca4835125256a44dce0}


The number of pads in each ToF layer. S11 corresponds to element 0, S12 to element 1 and so on. 

Definition at line 35 of file CommonDefs.h.

Referenced by TofDedxS1Cut::Check().