Main Page | Class Hierarchy | Class List | File List | Class Members

gear::LayerLayoutImpl Class Reference

Implementation of layered layout detector - typically a a sampling calorimeter. More...

#include <LayerLayoutImpl.h>

Inheritance diagram for gear::LayerLayoutImpl:

gear::LayerLayout List of all members.

Public Types

typedef std::vector< LayerLayerVec

Public Member Functions

virtual ~LayerLayoutImpl ()
 Destructor.

virtual int getNLayers () const
 The total number of layers.

virtual double getDistance (int layerIndex) const
 The distance of the layer layerIndex from the origin - layer indexing starts at 0 for the layer closest to the origin.

virtual double getThickness (int layerIndex) const
 The thickness of the layer layerIndex - layer indexing starts at 0 for the layer closest to the origin.

virtual double getAbsorberThickness (int layerIndex) const
 The thickness of the absorber part of the layer layerIndex - layer indexing starts at 0 for the layer closest to the origin.

virtual double getCellSize0 (int layerIndex) const
 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.

virtual double getCellSize1 (int layerIndex) const
 The second cell size, perpendicular to the first direction (getCellSize0()) and the depth of the layers.

virtual void positionLayer (double distance, double thickness, double cellSize0, double cellSize1, double absorberThickness=0.)
 Position new layer at the given distance (after the last layer) - typically this will be used for the first layer.

virtual void addLayer (double thickness, double cellSize0, double cellSize1, double absorberThickness=0.)
 Add a new layer right after the last layer - at distance 0.


Protected Attributes

LayerVec _vec

Detailed Description

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

Author:
F. Gaede, DESY
Version:
Id
LayerLayoutImpl.h,v 1.1.1.1 2005/09/13 14:41:03 gaede Exp


Member Function Documentation

virtual void gear::LayerLayoutImpl::addLayer double  thickness,
double  cellSize0,
double  cellSize1,
double  absorberThickness = 0.
[virtual]
 

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

mm if first layer.


The documentation for this class was generated from the following file:
Generated on Tue Sep 5 11:36:31 2006 for Gear by doxygen 1.3.5