\section{gear\-:\-:Z\-Planar\-Parameters Class Reference}
\label{classgear_1_1ZPlanarParameters}\index{gear\-::\-Z\-Planar\-Parameters@{gear\-::\-Z\-Planar\-Parameters}}


Geometry properties of a vertex detector needed for reconstruction code.  




{\ttfamily \#include $<$Z\-Planar\-Parameters.\-h$>$}

Inheritance diagram for gear\-:\-:Z\-Planar\-Parameters\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classgear_1_1ZPlanarParameters}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf $\sim$\-Z\-Planar\-Parameters} ()\label{classgear_1_1ZPlanarParameters_a4d57a8bba5fe882361b44f36157ad9f7}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual const {\bf Z\-Planar\-Layer\-Layout} \& {\bf get\-Z\-Planar\-Layer\-Layout} () const =0\label{classgear_1_1ZPlanarParameters_a308f1ccd9daf06e953d8e69f2e38ba27}

\begin{DoxyCompactList}\small\item\em The layer layout in the detector. \end{DoxyCompactList}\item 
const {\bf Z\-Planar\-Layer\-Layout} \& {\bf get\-V\-X\-D\-Layer\-Layout} () const \label{classgear_1_1ZPlanarParameters_a0237448392df304bba4227ab0b48b61a}

\begin{DoxyCompactList}\small\item\em fix for backward compatibility \end{DoxyCompactList}\item 
virtual int {\bf get\-Type} () const =0\label{classgear_1_1ZPlanarParameters_a9f7255e4f228c9eb05d60ac8b7c8fd14}

\begin{DoxyCompactList}\small\item\em The type of detector -\/ to be defined by users... \end{DoxyCompactList}\item 
virtual int {\bf get\-V\-X\-D\-Type} () const \label{classgear_1_1ZPlanarParameters_a7fa8b401548b6ddc669b10463ec11927}

\begin{DoxyCompactList}\small\item\em For backward compatibility\-: The type of detector\-: Z\-Planar\-Parameters.\-C\-C\-D, Z\-Planar\-Parameters.\-C\-M\-O\-S or Z\-Planar\-Parameters.\-H\-Y\-B\-R\-I\-D. \end{DoxyCompactList}\item 
virtual double {\bf get\-Shell\-Half\-Length} () const =0\label{classgear_1_1ZPlanarParameters_a993ef3ab0a58fe6b2d8313725b6c070b}

\begin{DoxyCompactList}\small\item\em The half length (z) of the support shell in mm (w/o gap). \end{DoxyCompactList}\item 
virtual double {\bf get\-Shell\-Gap} () const =0\label{classgear_1_1ZPlanarParameters_aa1d43fc9ba149013abb24e6ceca32b17}

\begin{DoxyCompactList}\small\item\em The length of the gap in mm (gap position at z=0) \end{DoxyCompactList}\item 
virtual double {\bf get\-Shell\-Inner\-Radius} () const =0\label{classgear_1_1ZPlanarParameters_aa58ef2a20bb62c74f62dba9aed5a588c}

\begin{DoxyCompactList}\small\item\em The inner radius of the support shell in mm. \end{DoxyCompactList}\item 
virtual double {\bf get\-Shell\-Outer\-Radius} () const =0\label{classgear_1_1ZPlanarParameters_a2e206dff3f92ee3134340690763c9e13}

\begin{DoxyCompactList}\small\item\em The outer radius of the support shell in mm. \end{DoxyCompactList}\item 
virtual double {\bf get\-Shell\-Rad\-Length} () const =0\label{classgear_1_1ZPlanarParameters_a0e9da658b63449dc4c37e45f89dc3aa4}

\begin{DoxyCompactList}\small\item\em The radiation length in the support shell. \end{DoxyCompactList}\item 
virtual bool {\bf is\-Point\-In\-Ladder} ({\bf Vector3\-D} p) const =0\label{classgear_1_1ZPlanarParameters_a0b2480cbab2c71a47a06d92accbdc515}

\begin{DoxyCompactList}\small\item\em returns whether a point is inside a ladder \end{DoxyCompactList}\item 
virtual bool {\bf is\-Point\-In\-Sensitive} ({\bf Vector3\-D} p, {\bf Sensor\-I\-D} $\ast$sensor\-I\-D=0) const =0\label{classgear_1_1ZPlanarParameters_ac8fcb72d936384be87f641e52737dd4c}

\begin{DoxyCompactList}\small\item\em returns wheter a point is inside a sensitive volume-\/ if sensor\-I\-D != 0 the sensor\-I\-D is returned in case the point is inside the sensitive \end{DoxyCompactList}\item 
virtual {\bf Vector3\-D} {\bf distance\-To\-Nearest\-Ladder} ({\bf Vector3\-D} p) const =0\label{classgear_1_1ZPlanarParameters_a7148ab1ea7cf8ac1f23eec7cce811e48}

\begin{DoxyCompactList}\small\item\em returns vector from point to nearest ladder \end{DoxyCompactList}\item 
virtual {\bf Vector3\-D} {\bf distance\-To\-Nearest\-Sensitive} ({\bf Vector3\-D} p) const =0\label{classgear_1_1ZPlanarParameters_acad7493b212c85dce8fbd1fb574fc8e2}

\begin{DoxyCompactList}\small\item\em returns vector from point to nearest sensitive volume \end{DoxyCompactList}\item 
virtual {\bf Vector3\-D} {\bf intersection\-Ladder} ({\bf Vector3\-D} p, {\bf Vector3\-D} v) const =0
\begin{DoxyCompactList}\small\item\em returns the first point where a given straight line (parameters point p and direction v) crosses a ladder (0,0,0) is returned if no intersection can be found. \end{DoxyCompactList}\item 
virtual {\bf Vector3\-D} {\bf intersection\-Sensitive} ({\bf Vector3\-D} p, {\bf Vector3\-D} v) const =0
\begin{DoxyCompactList}\small\item\em returns the first point where a given strainght line (parameters point p and direction v) crosses a sensitive volume (0,0,0) is returned if no intersection can be found. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const int {\bfseries C\-C\-D} = 1\label{classgear_1_1ZPlanarParameters_a85bbb64893d36cdb2594a387f38e48bb}

\item 
static const int {\bfseries C\-M\-O\-S} = 2\label{classgear_1_1ZPlanarParameters_acb440374c02725ba9847178ef21902c1}

\item 
static const int {\bfseries H\-Y\-B\-R\-I\-D} = 3\label{classgear_1_1ZPlanarParameters_a2feb74f5843e5cc680ac8bb76facdc1e}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Geometry properties of a vertex detector needed for reconstruction code. 

\par
 

The vertex is assumed to consist of a number of layers. Each layer consists of a number of rectangular ladders that are uniformly distributed in a circle around the I\-P.\par
 The sensitive volumes can be placed relative to the (insensitive) ladders. \begin{DoxySeeAlso}{See Also}
add\-Layer .
\end{DoxySeeAlso}


The shell is described by outer and inner radius and it's half length in z.

The gap is assumed to be symetrical around z==0 and goes through all layers and ladders.

\begin{DoxyAuthor}{Author}
R. Lippe, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
\$\-Id\-: 
\end{DoxyVersion}


Definition at line 26 of file Z\-Planar\-Parameters.\-h.



\subsection{Member Function Documentation}
\index{gear\-::\-Z\-Planar\-Parameters@{gear\-::\-Z\-Planar\-Parameters}!intersection\-Ladder@{intersection\-Ladder}}
\index{intersection\-Ladder@{intersection\-Ladder}!gear::ZPlanarParameters@{gear\-::\-Z\-Planar\-Parameters}}
\subsubsection[{intersection\-Ladder}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf Vector3\-D} gear\-::\-Z\-Planar\-Parameters\-::intersection\-Ladder (
\begin{DoxyParamCaption}
\item[{{\bf Vector3\-D}}]{p, }
\item[{{\bf Vector3\-D}}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classgear_1_1ZPlanarParameters_a0aabe949456d2340d46c32b72f21bb17}


returns the first point where a given straight line (parameters point p and direction v) crosses a ladder (0,0,0) is returned if no intersection can be found. 


\begin{DoxyParams}{Parameters}
{\em p} & a point on the line. This will be the starting point. \\
\hline
{\em v} & a vector along the line \\
\hline
\end{DoxyParams}


Implemented in {\bf gear\-::\-Z\-Planar\-Parameters\-Impl} \doxyref{}{p.}{classgear_1_1ZPlanarParametersImpl_a20eda2140d2027001c47ba20f621e5c3}.

\index{gear\-::\-Z\-Planar\-Parameters@{gear\-::\-Z\-Planar\-Parameters}!intersection\-Sensitive@{intersection\-Sensitive}}
\index{intersection\-Sensitive@{intersection\-Sensitive}!gear::ZPlanarParameters@{gear\-::\-Z\-Planar\-Parameters}}
\subsubsection[{intersection\-Sensitive}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf Vector3\-D} gear\-::\-Z\-Planar\-Parameters\-::intersection\-Sensitive (
\begin{DoxyParamCaption}
\item[{{\bf Vector3\-D}}]{p, }
\item[{{\bf Vector3\-D}}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classgear_1_1ZPlanarParameters_a6879cb0758e7d1ac6f14a91d70c4ae78}


returns the first point where a given strainght line (parameters point p and direction v) crosses a sensitive volume (0,0,0) is returned if no intersection can be found. 


\begin{DoxyParams}{Parameters}
{\em p} & a point on the line. This will be the starting point. \\
\hline
{\em v} & a vector along the line \\
\hline
\end{DoxyParams}


Implemented in {\bf gear\-::\-Z\-Planar\-Parameters\-Impl} \doxyref{}{p.}{classgear_1_1ZPlanarParametersImpl_a83764cd0b3244c0ab5d7b32417d1736f}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-Planar\-Parameters.\-h\end{DoxyCompactItemize}
