\section{V\-X\-D\-Geometry Class Reference}
\label{classVXDGeometry}\index{V\-X\-D\-Geometry@{V\-X\-D\-Geometry}}


======= \doxyref{V\-X\-D\-Geometry}{p.}{classVXDGeometry} ========== \par
 Helper class for V\-X\-D geomtry transformations\-: from lab frame to ladder frame coordinates and inverse.  




{\ttfamily \#include $<$V\-X\-D\-Geometry.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries V\-X\-D\-Geometry} (gear\-::\-Gear\-Mgr $\ast$gear\-Mgr)\label{classVXDGeometry_a58687cbcfd2463a8355d664001143c7a}

\item 
std\-::pair$<$ int, int $>$ {\bf get\-Ladder\-I\-D} (gear\-::\-Vector3\-D lab\-Pos, int layer\-I\-D=-\/1)\label{classVXDGeometry_ace5243c7c97c53f38aba476f83afae4b}

\begin{DoxyCompactList}\small\item\em Return the pair (layer\-I\-D, ladder\-I\-D) for the given position, (-\/1,-\/1) if not in sensitive volume (in the given layer). \end{DoxyCompactList}\item 
gear\-::\-Vector3\-D {\bf lab2\-Ladder\-Pos} (gear\-::\-Vector3\-D lab\-Pos, int layer\-I\-D, int ladder\-I\-D)\label{classVXDGeometry_a975bfd94efe3321638b5019ee6059f38}

\begin{DoxyCompactList}\small\item\em Convert a position in the lab frame to local ladder coordinates (x\-\_\-ladder==0 is the middle of the sensitive). \end{DoxyCompactList}\item 
gear\-::\-Vector3\-D {\bf ladder2\-Lab\-Pos} (gear\-::\-Vector3\-D ladder\-Pos, int layer\-I\-D, int ladder\-I\-D)\label{classVXDGeometry_aad6345342357ef1b20528c5c2cbdc97f}

\begin{DoxyCompactList}\small\item\em Convert a position in local ladder coordinates (x\-\_\-ladder==0 is the middle of the sensitive) to the lab frame. \end{DoxyCompactList}\item 
gear\-::\-Vector3\-D {\bf lab2\-Ladder\-Dir} (gear\-::\-Vector3\-D lab\-Pos, int layer\-I\-D, int ladder\-I\-D)\label{classVXDGeometry_a920bc8fbe458f752f70efd717559da2e}

\begin{DoxyCompactList}\small\item\em Convert a direction in the lab frame to local ladder coordinates (x\-\_\-ladder==0 is the middle of the sensitive). \end{DoxyCompactList}\item 
gear\-::\-Vector3\-D {\bf ladder2\-Lab\-Dir} (gear\-::\-Vector3\-D ladder\-Pos, int layer\-I\-D, int ladder\-I\-D)\label{classVXDGeometry_a07abf1c94036382483d94d41f0fbfe2b}

\begin{DoxyCompactList}\small\item\em Convert a direction in local ladder coordinates (x\-\_\-ladder==0 is the middle of the sensitive) to the lab frame. \end{DoxyCompactList}\item 
void {\bfseries test} ()\label{classVXDGeometry_a71c878983e6245936ee71bf51428e0b6}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bfseries init} ()\label{classVXDGeometry_aab68842ec129b20ef0991bc267ac2b15}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
gear\-::\-Gear\-Mgr $\ast$ {\bfseries \-\_\-gear\-Mgr}\label{classVXDGeometry_ac6e02cee7d53911a31c530be0de2feb5}

\item 
V\-X\-D\-Ladders {\bfseries \-\_\-vxd\-Ladders}\label{classVXDGeometry_aa0caf46e8d0c1623888a36e47d9ff16f}

\item 
V\-X\-D\-Layers {\bfseries \-\_\-vxd\-Layers}\label{classVXDGeometry_a4a1ddb52d9e1a4b2ea8faee520acff29}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
======= \doxyref{V\-X\-D\-Geometry}{p.}{classVXDGeometry} ========== \par
 Helper class for V\-X\-D geomtry transformations\-: from lab frame to ladder frame coordinates and inverse. 

The ladder reference system has its origin at the middle of the sensitive box in x and y, where the x-\/coordinate runs along the thickness of the ladder and t he y coordinate runs along its width. The z coordinate is the same as in the lab frame.

\par
 \begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{V\-X\-D\-Geometry.\-h}{p.}{VXDGeometry_8h_source} 2553 2011-\/09-\/20 14\-:50\-:20\-Z gaede 
\end{DoxyParagraph}
\begin{DoxyAuthor}{Author}
F.\-Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
V\-X\-D\-Geometry.\-h\end{DoxyCompactItemize}
