\section{gear\-:\-:Layer\-Layout\-Impl Class Reference}
\label{classgear_1_1LayerLayoutImpl}\index{gear\-::\-Layer\-Layout\-Impl@{gear\-::\-Layer\-Layout\-Impl}}


Implementation of layered layout detector -\/ typically a a sampling calorimeter.  




{\ttfamily \#include $<$Layer\-Layout\-Impl.\-h$>$}

Inheritance diagram for gear\-:\-:Layer\-Layout\-Impl\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classgear_1_1LayerLayoutImpl}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct {\bf Layer}
\begin{DoxyCompactList}\small\item\em Helper class for layer properties. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\-::vector$<$ {\bf Layer} $>$ {\bfseries Layer\-Vec}\label{classgear_1_1LayerLayoutImpl_a3681544e083e757df852f162ac9caa74}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf $\sim$\-Layer\-Layout\-Impl} ()\label{classgear_1_1LayerLayoutImpl_a5f733e770ce26e758092ef70af2e6a0d}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual int {\bf get\-N\-Layers} () const \label{classgear_1_1LayerLayoutImpl_ab2ed611db8556c2d4a95d78a92c005ed}

\begin{DoxyCompactList}\small\item\em The total number of layers. \end{DoxyCompactList}\item 
virtual double {\bf get\-Distance} (int layer\-Index) const \label{classgear_1_1LayerLayoutImpl_affa02532af2f0a09e8d307a03c80420e}

\begin{DoxyCompactList}\small\item\em The distance of the layer layer\-Index from the origin -\/ layer indexing starts at 0 for the layer closest to the origin. \end{DoxyCompactList}\item 
virtual double {\bf get\-Thickness} (int layer\-Index) const \label{classgear_1_1LayerLayoutImpl_a58207bec8e839e091ed817c12341b6e1}

\begin{DoxyCompactList}\small\item\em The thickness of the layer layer\-Index -\/ layer indexing starts at 0 for the layer closest to the origin. \end{DoxyCompactList}\item 
virtual double {\bf get\-Absorber\-Thickness} (int layer\-Index) const \label{classgear_1_1LayerLayoutImpl_a26bdb578b104a35964f7a3910b952e73}

\begin{DoxyCompactList}\small\item\em The thickness of the absorber part of the layer layer\-Index -\/ layer indexing starts at 0 for the layer closest to the origin. \end{DoxyCompactList}\item 
virtual double {\bf get\-Cell\-Size0} (int layer\-Index) const \label{classgear_1_1LayerLayoutImpl_af6f21ba2405028e91c1ef2d16f249b74}

\begin{DoxyCompactList}\small\item\em The cell size along the first axis where first is either along the beam (barrel type) or up (endcap) or the direction closest to that. \end{DoxyCompactList}\item 
virtual double {\bf get\-Cell\-Size1} (int layer\-Index) const \label{classgear_1_1LayerLayoutImpl_a75d41f9bd0794ca845d46092f71c02f2}

\begin{DoxyCompactList}\small\item\em The second cell size, perpendicular to the first direction (\doxyref{get\-Cell\-Size0()}{p.}{classgear_1_1LayerLayoutImpl_af6f21ba2405028e91c1ef2d16f249b74}) and the depth of the layers. \end{DoxyCompactList}\item 
virtual void {\bf position\-Layer} (double distance, double thickness, double cell\-Size0, double cell\-Size1, double absorber\-Thickness=0.)\label{classgear_1_1LayerLayoutImpl_a906f1b28e37b40086f7b6c57de4ea563}

\begin{DoxyCompactList}\small\item\em Position new layer at the given distance (after the last layer) -\/ typically this will be used for the first layer. \end{DoxyCompactList}\item 
virtual void {\bf add\-Layer} (double thickness, double cell\-Size0, double cell\-Size1, double absorber\-Thickness=0.)
\begin{DoxyCompactList}\small\item\em Add a new layer right after the last layer -\/ at distance 0. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
Layer\-Vec {\bfseries \-\_\-vec}\label{classgear_1_1LayerLayoutImpl_a382242413da2cdd80e8ffd9093ec3656}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation of layered layout detector -\/ typically a a sampling calorimeter. 

\begin{DoxyAuthor}{Author}
F. Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Layer\-Layout\-Impl.\-h}{p.}{LayerLayoutImpl_8h_source} 380 2011-\/08-\/26 12\-:24\-:46\-Z gaede 
\end{DoxyParagraph}


Definition at line 24 of file Layer\-Layout\-Impl.\-h.



\subsection{Member Function Documentation}
\index{gear\-::\-Layer\-Layout\-Impl@{gear\-::\-Layer\-Layout\-Impl}!add\-Layer@{add\-Layer}}
\index{add\-Layer@{add\-Layer}!gear::LayerLayoutImpl@{gear\-::\-Layer\-Layout\-Impl}}
\subsubsection[{add\-Layer}]{\setlength{\rightskip}{0pt plus 5cm}void gear\-::\-Layer\-Layout\-Impl\-::add\-Layer (
\begin{DoxyParamCaption}
\item[{double}]{thickness, }
\item[{double}]{cell\-Size0, }
\item[{double}]{cell\-Size1, }
\item[{double}]{absorber\-Thickness = {\ttfamily 0.}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classgear_1_1LayerLayoutImpl_ab63e55952fede0cb307b724e92922c5f}


Add a new layer right after the last layer -\/ at distance 0. 

mm if first layer. 

Definition at line 8 of file Layer\-Layout\-Impl.\-cc.



Referenced by gear\-::\-Calorimeter\-Parameters\-X\-M\-L\-::from\-X\-M\-L().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Layer\-Layout\-Impl.\-h\item 
Layer\-Layout\-Impl.\-cc\end{DoxyCompactItemize}
