\section{Ki\-Track\-Marlin\-:\-:Sector\-System\-Endcap Class Reference}
\label{classKiTrackMarlin_1_1SectorSystemEndcap}\index{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap@{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap}}


A Sector System class for the Forward Tracking Disks F\-T\-D in the I\-L\-D.  




{\ttfamily \#include $<$Sector\-System\-Endcap.\-h$>$}

Inheritance diagram for Ki\-Track\-Marlin\-:\-:Sector\-System\-Endcap\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classKiTrackMarlin_1_1SectorSystemEndcap}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Sector\-System\-Endcap} (unsigned n\-Layers, unsigned n\-Divisions\-In\-Phi, unsigned n\-Divisions\-In\-Theta)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
virtual unsigned {\bf get\-Layer} (int sector) const   throw ( Out\-Of\-Range )
\begin{DoxyCompactList}\small\item\em Virtual, because this method is demanded by the Interface I\-Sector\-System. \end{DoxyCompactList}\item 
virtual unsigned {\bfseries get\-Phi} (int sector) const   throw ( Out\-Of\-Range )\label{classKiTrackMarlin_1_1SectorSystemEndcap_a9df62efa88d370b42e16a8a5f5316d98}

\item 
virtual unsigned {\bfseries get\-Theta} (int sector) const   throw ( Out\-Of\-Range )\label{classKiTrackMarlin_1_1SectorSystemEndcap_ae94102e0e7bc647f4d4344ebb44d28f3}

\item 
virtual std\-::string {\bf get\-Info\-On\-Sector} (int sector) const 
\item 
int {\bf get\-Sector} (int layer, int phi, int theta) const   throw ( Out\-Of\-Range )\label{classKiTrackMarlin_1_1SectorSystemEndcap_a2cbdc44d99991c42467bbbb0aafc49a9}

\begin{DoxyCompactList}\small\item\em Calculates the sector number corresponding to the passed parameters. \end{DoxyCompactList}\item 
int {\bfseries get\-Sector} (int layer, double phi, double cos\-Theta) const   throw ( Out\-Of\-Range )\label{classKiTrackMarlin_1_1SectorSystemEndcap_a5c19e55a4bd142cc58e6ebbb1b04a80b}

\item 
unsigned {\bfseries get\-Phi\-Sectors} () const \label{classKiTrackMarlin_1_1SectorSystemEndcap_a76502843f68e04ce63b3421e3c8ce88b}

\item 
unsigned {\bfseries get\-Theta\-Sectors} () const \label{classKiTrackMarlin_1_1SectorSystemEndcap_a2006166402736ec8e95353e50b988882}

\item 
unsigned {\bfseries get\-N\-Layers} () const \label{classKiTrackMarlin_1_1SectorSystemEndcap_aa35e4ba52edd6e691df67c638b89407e}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
A Sector System class for the Forward Tracking Disks F\-T\-D in the I\-L\-D. 

It calculates sectors from the side, layer, sensor and module and vice versa.


\begin{DoxyParams}{Parameters}
{\em side} & +1 for forward, -\/1 for backward\\
\hline
{\em layer} & layer of F\-T\-D\-: 0 is the layer of the I\-P, 1 is the first F\-T\-D disk and so on.\\
\hline
{\em module} & module\\
\hline
{\em sensor} & the sensor on the module \\
\hline
\end{DoxyParams}


\subsection{Constructor \& Destructor Documentation}
\index{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap@{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap}!Sector\-System\-Endcap@{Sector\-System\-Endcap}}
\index{Sector\-System\-Endcap@{Sector\-System\-Endcap}!KiTrackMarlin::SectorSystemEndcap@{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap}}
\subsubsection[{Sector\-System\-Endcap}]{\setlength{\rightskip}{0pt plus 5cm}Sector\-System\-Endcap\-::\-Sector\-System\-Endcap (
\begin{DoxyParamCaption}
\item[{unsigned}]{n\-Layers, }
\item[{unsigned}]{n\-Divisions\-In\-Phi, }
\item[{unsigned}]{n\-Divisions\-In\-Theta}
\end{DoxyParamCaption}
)}\label{classKiTrackMarlin_1_1SectorSystemEndcap_a4b4f50fe13aab9c10a58fc8323420b57}


Constructor. 


\begin{DoxyParams}{Parameters}
{\em n\-Layers} & the number of possible layers. The layers from 0 to n-\/1 will be available. Keep in mind, that layer 0 is used for the I\-P.\\
\hline
{\em n\-Modules} & the number of modules per disk.\\
\hline
{\em n\-Sensors} & the number of sensors on one module. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap@{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap}!get\-Info\-On\-Sector@{get\-Info\-On\-Sector}}
\index{get\-Info\-On\-Sector@{get\-Info\-On\-Sector}!KiTrackMarlin::SectorSystemEndcap@{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap}}
\subsubsection[{get\-Info\-On\-Sector}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string Sector\-System\-Endcap\-::get\-Info\-On\-Sector (
\begin{DoxyParamCaption}
\item[{int}]{sector}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classKiTrackMarlin_1_1SectorSystemEndcap_a7647d5159c22658ce8709a0facf8df80}
\begin{DoxyReturn}{Returns}
some information on the sector as string 
\end{DoxyReturn}


References get\-Layer().

\index{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap@{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap}!get\-Layer@{get\-Layer}}
\index{get\-Layer@{get\-Layer}!KiTrackMarlin::SectorSystemEndcap@{Ki\-Track\-Marlin\-::\-Sector\-System\-Endcap}}
\subsubsection[{get\-Layer}]{\setlength{\rightskip}{0pt plus 5cm}unsigned Sector\-System\-Endcap\-::get\-Layer (
\begin{DoxyParamCaption}
\item[{int}]{sector}
\end{DoxyParamCaption}
) const throw  Out\-Of\-Range) \hspace{0.3cm}{\ttfamily [virtual]}}\label{classKiTrackMarlin_1_1SectorSystemEndcap_a377ce691fb12eb97aa17c8b5fcd9021c}


Virtual, because this method is demanded by the Interface I\-Sector\-System. 

\begin{DoxyReturn}{Returns}
the layer corresponding to the passed sector number 
\end{DoxyReturn}


Referenced by D\-D\-Forward\-Tracking\-::get\-Info\-\_\-map\-\_\-sector\-\_\-hits(), and get\-Info\-On\-Sector().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Sector\-System\-Endcap.\-h\item 
Sector\-System\-Endcap.\-cc\end{DoxyCompactItemize}
