\section{gear\-:\-:Versatile\-Disk\-Row\-Layout\-X\-M\-L Class Reference}
\label{classgear_1_1VersatileDiskRowLayoutXML}\index{gear\-::\-Versatile\-Disk\-Row\-Layout\-X\-M\-L@{gear\-::\-Versatile\-Disk\-Row\-Layout\-X\-M\-L}}


X\-M\-L handler for \doxyref{Versatile\-Disk\-Row\-Layout\-X\-M\-L}{p.}{classgear_1_1VersatileDiskRowLayoutXML}.  




{\ttfamily \#include $<$Versatile\-Disk\-Row\-Layout\-X\-M\-L.\-h$>$}

Inheritance diagram for gear\-:\-:Versatile\-Disk\-Row\-Layout\-X\-M\-L\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classgear_1_1VersatileDiskRowLayoutXML}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf Ti\-Xml\-Element} {\bf to\-X\-M\-L} (const {\bf Pad\-Row\-Layout2\-D} $\ast$layout) const \label{classgear_1_1VersatileDiskRowLayoutXML_a513af491fd102db27c8804e210903391}

\begin{DoxyCompactList}\small\item\em Creates an X\-M\-L node for the given \doxyref{Pad\-Row\-Layout2\-D}{p.}{classgear_1_1PadRowLayout2D}. \end{DoxyCompactList}\item 
virtual {\bf Pad\-Row\-Layout2\-D} $\ast$ {\bf from\-X\-M\-L} (const {\bf Ti\-Xml\-Element} $\ast$xml\-Element) const \label{classgear_1_1VersatileDiskRowLayoutXML_a6f478f07b00c98083968c03a644656ce}

\begin{DoxyCompactList}\small\item\em Creates the appropriate \doxyref{Pad\-Row\-Layout2\-D}{p.}{classgear_1_1PadRowLayout2D} subclass from the given X\-M\-L element (node) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
X\-M\-L handler for \doxyref{Versatile\-Disk\-Row\-Layout\-X\-M\-L}{p.}{classgear_1_1VersatileDiskRowLayoutXML}. 

The layout is created row wise, starting from the inner radius, which is the lower edge of the first pad row. The pad geometry is always described by {\ttfamily row\-Height} and {\ttfamily pad\-Pitch}, which describe the effective pad dimensions. {\ttfamily pad\-Width} and {\ttfamily pad\-Height} are the dimensions of the metal, without the gaps. They are kept only for backwards compatibility and are irrelevant for the reconstruction.

All values are given im mm. {\ttfamily pad\-Pitch}, {\ttfamily offset} (and {\ttfamily pad\-Width}) are measured in the middle of the pad row. All offsets are measured with respect to phi=0, which is the zero of the local coordinate phi. The pads are arranged in positive phi direction, starting at $ \phi = offset / r_i$ (where $ r_i$ is the central radius of row i) for the \char`\"{}right\char`\"{} edge of the first pad (pitch).

The parameters are visualised below. For visualisation purposes the phi=0 line (local coordinate system) has been rotated. In \doxyref{G\-E\-A\-R}{p.}{classgear_1_1GEAR}, this rotation with respect to the horizontal axis is the  parameter of the module (not shown in the picture because it is not a parameter of the \doxyref{Versatile\-Disk\-Row\-Layout}{p.}{classgear_1_1VersatileDiskRowLayout}).

Please note that {\ttfamily phi\-Min} coincides with phi=0 in this example because the first row does not have an offset, and the second offset is positive. This is not necessarily the case. phi\-Min reported by the plain extent is $ \min( [ offset_i / r_i ] )$, phi\-Max is $ \max( [ (offset_i + nPads_i\cdot padPitch_i) / r_i ] )$. The central angle {\ttfamily phi\-Module\-Centre} = ({\ttfamily phi\-Max+} {\ttfamily phi\-Min})/2 is only shown for illustration. It is never used or calculated.

Parameters for the layout itself 
\begin{DoxyParams}{Parameters}
{\em r\-Min} & The radius of the inner edge of the first pad row in mm.\\
\hline
\end{DoxyParams}
Parameter for the rows 
\begin{DoxyParams}{Parameters}
{\em n\-Pad} & Number of pads in the row \\
\hline
{\em row\-Height} & Height of the row in mm \\
\hline
{\em pad\-Pitch} & Pitch of the pad in mm, measured at the radius at the pad centre \\
\hline
{\em pad\-Width} & (optional) Width of the metal of the pad at the central radius in mm. Has to be $<$ {\ttfamily pad\-Pitch}. If not given it is {\ttfamily pad\-Pitch}. \\
\hline
{\em pad\-Height} & (optional) Height of the metal of the pad in mm. Has to be $<$ {\ttfamily row\-Height}. If not given it is {\ttfamily row\-Height}. \\
\hline
{\em offset} & (optional) Offset in mm with respect to the alignment axis phi=0. Measured at the central radius of the pad. \\
\hline
{\em repeat} & (optional) Insert {\ttfamily }\char`\"{}repeat\char`\"{} identical rows instead of only one.\\
\hline
\end{DoxyParams}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{VersatileDiskRowLayoutXML}}
\end{DoxyImageNoCaption}


The X\-M\-L syntax (numbers not consistent with the drawing, sorry)\-: \begin{DoxyVerb}<!-- Within the module section -->
<PadRowLayout2D type="VersatileDiskRowLayout" rMin="1439.96">

  <!-- Add the individual rows -->
  <!-- nPad, rowHeight and padPitch are obligatory -->
  <!-- offset (staggering), padWidth, padHeight and repeat are optional -->

  <!-- row 0 -->
  <row nPad="176" padPitch="1.18511" rowHeight="5.36"
   padWidth="1.085106" padHeight="5.26" />

  <!-- rows 1 to 3 -->
  <row nPad="176" padPitch="1.18951" rowHeight="5.36"
   padWidth="1.08951" padHeight="5.26"  offset="0.594754" repeat="3"/>

</PadRowLayout2D>\end{DoxyVerb}


\begin{DoxyAuthor}{Author}
Martin Killenberg, C\-E\-R\-N 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Versatile\-Disk\-Row\-Layout\-X\-M\-L.\-h}{p.}{VersatileDiskRowLayoutXML_8h_source} 441 2012-\/11-\/08 02\-:30\-:06\-Z killenb 
\end{DoxyParagraph}


Definition at line 73 of file Versatile\-Disk\-Row\-Layout\-X\-M\-L.\-h.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Versatile\-Disk\-Row\-Layout\-X\-M\-L.\-h\item 
Versatile\-Disk\-Row\-Layout\-X\-M\-L.\-cc\end{DoxyCompactItemize}
