\section{Ki\-Track\-Marlin\-:\-:Sector\-System\-F\-T\-D Class Reference}
\label{classKiTrackMarlin_1_1SectorSystemFTD}\index{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}}


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




{\ttfamily \#include $<$Sector\-System\-F\-T\-D.\-h$>$}

Inheritance diagram for Ki\-Track\-Marlin\-:\-:Sector\-System\-F\-T\-D\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classKiTrackMarlin_1_1SectorSystemFTD}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Sector\-System\-F\-T\-D} (unsigned n\-Layers, unsigned n\-Modules, unsigned n\-Sensors)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
int {\bf get\-Sector} (int side, unsigned layer, unsigned module, unsigned sensor) const   throw ( Out\-Of\-Range )\label{classKiTrackMarlin_1_1SectorSystemFTD_a618c03c7331912f8e887db4cb079caaf}

\begin{DoxyCompactList}\small\item\em Calculates the sector number corresponding to the passed parameters. \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 std\-::string {\bf get\-Info\-On\-Sector} (int sector) const 
\item 
int {\bf get\-Side} (int sector) const   throw ( Out\-Of\-Range )
\item 
unsigned {\bf get\-Module} (int sector) const   throw ( Out\-Of\-Range )
\item 
unsigned {\bf get\-Sensor} (int sector) const   throw ( Out\-Of\-Range )
\item 
unsigned {\bfseries get\-Number\-Of\-Modules} () const \label{classKiTrackMarlin_1_1SectorSystemFTD_a912e7a136d8acd5ea62844e409fd7999}

\item 
unsigned {\bfseries get\-Number\-Of\-Sensors} () const \label{classKiTrackMarlin_1_1SectorSystemFTD_abc3ea0a65a11321fb787cf23da846241}

\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\-F\-T\-D@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}!Sector\-System\-F\-T\-D@{Sector\-System\-F\-T\-D}}
\index{Sector\-System\-F\-T\-D@{Sector\-System\-F\-T\-D}!KiTrackMarlin::SectorSystemFTD@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}}
\subsubsection[{Sector\-System\-F\-T\-D}]{\setlength{\rightskip}{0pt plus 5cm}Sector\-System\-F\-T\-D\-::\-Sector\-System\-F\-T\-D (
\begin{DoxyParamCaption}
\item[{unsigned}]{n\-Layers, }
\item[{unsigned}]{n\-Modules, }
\item[{unsigned}]{n\-Sensors}
\end{DoxyParamCaption}
)}\label{classKiTrackMarlin_1_1SectorSystemFTD_ad1d1d2a513e4167864473eb7ac3f6c53}


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\-F\-T\-D@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}!get\-Info\-On\-Sector@{get\-Info\-On\-Sector}}
\index{get\-Info\-On\-Sector@{get\-Info\-On\-Sector}!KiTrackMarlin::SectorSystemFTD@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}}
\subsubsection[{get\-Info\-On\-Sector}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string Sector\-System\-F\-T\-D\-::get\-Info\-On\-Sector (
\begin{DoxyParamCaption}
\item[{int}]{sector}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classKiTrackMarlin_1_1SectorSystemFTD_adda9e235793982c7ab460661dbde62f5}
\begin{DoxyReturn}{Returns}
some information on the sector as string 
\end{DoxyReturn}


References get\-Layer(), get\-Module(), get\-Sensor(), and get\-Side().

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


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 get\-Info\-On\-Sector(), and Ki\-Track\-Marlin\-::\-F\-T\-D\-Sector\-Connector\-::get\-Target\-Sectors().

\index{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}!get\-Module@{get\-Module}}
\index{get\-Module@{get\-Module}!KiTrackMarlin::SectorSystemFTD@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}}
\subsubsection[{get\-Module}]{\setlength{\rightskip}{0pt plus 5cm}unsigned Sector\-System\-F\-T\-D\-::get\-Module (
\begin{DoxyParamCaption}
\item[{int}]{sector}
\end{DoxyParamCaption}
) const throw  Out\-Of\-Range) }\label{classKiTrackMarlin_1_1SectorSystemFTD_ac66904424549d16b45df04c7bd283bfd}
\begin{DoxyReturn}{Returns}
the module of the sector 
\end{DoxyReturn}


Referenced by get\-Info\-On\-Sector(), and Ki\-Track\-Marlin\-::\-F\-T\-D\-Sector\-Connector\-::get\-Target\-Sectors().

\index{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}!get\-Sensor@{get\-Sensor}}
\index{get\-Sensor@{get\-Sensor}!KiTrackMarlin::SectorSystemFTD@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}}
\subsubsection[{get\-Sensor}]{\setlength{\rightskip}{0pt plus 5cm}unsigned Sector\-System\-F\-T\-D\-::get\-Sensor (
\begin{DoxyParamCaption}
\item[{int}]{sector}
\end{DoxyParamCaption}
) const throw  Out\-Of\-Range) }\label{classKiTrackMarlin_1_1SectorSystemFTD_a71251f316d8c2287e56837fd6f0ad676}
\begin{DoxyReturn}{Returns}
the sensor of the sector 
\end{DoxyReturn}


Referenced by get\-Info\-On\-Sector().

\index{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}!get\-Side@{get\-Side}}
\index{get\-Side@{get\-Side}!KiTrackMarlin::SectorSystemFTD@{Ki\-Track\-Marlin\-::\-Sector\-System\-F\-T\-D}}
\subsubsection[{get\-Side}]{\setlength{\rightskip}{0pt plus 5cm}int Sector\-System\-F\-T\-D\-::get\-Side (
\begin{DoxyParamCaption}
\item[{int}]{sector}
\end{DoxyParamCaption}
) const throw  Out\-Of\-Range) }\label{classKiTrackMarlin_1_1SectorSystemFTD_a6e1cce67608fcbfc7c15859eca664803}
\begin{DoxyReturn}{Returns}
the side the sector is on (+1 = forward, -\/1 = backward) 
\end{DoxyReturn}


Referenced by get\-Info\-On\-Sector(), and Ki\-Track\-Marlin\-::\-F\-T\-D\-Sector\-Connector\-::get\-Target\-Sectors().



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