#include <LayerLayoutImpl.h>
Inheritance diagram for gear::LayerLayoutImpl:
Public Types | |
typedef std::vector< Layer > | LayerVec |
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 |
|
Add a new layer right after the last layer - at distance 0. mm if first layer. |