Implementation of layered layout detector - typically a a sampling calorimeter. More...
#include <LayerLayoutImpl.h>
Classes | |
struct | Layer |
Helper class for layer properties. More... | |
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. More... | |
Public Member Functions inherited from gear::LayerLayout | |
virtual | ~LayerLayout () |
Destructor. | |
Protected Attributes | |
LayerVec | _vec {} |
Implementation of layered layout detector - typically a a sampling calorimeter.
Definition at line 24 of file LayerLayoutImpl.h.
|
virtual |
Add a new layer right after the last layer - at distance 0.
mm if first layer.
Definition at line 8 of file LayerLayoutImpl.cc.
Referenced by gear::CalorimeterParametersXML::fromXML().