GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
LayerLayout.h
1 // -*- C++ -*-
2 #ifndef GEAR_LAYERLAYOUT_H
3 #define GEAR_LAYERLAYOUT_H 1
4 
5 // -*- Java -*-
6 
7 namespace gear {
8 
15 class LayerLayout {
16 
17 public:
19  virtual ~LayerLayout() { /* nop */; }
20 
23  virtual int getNLayers() const = 0;
24 
28  virtual double getDistance(int layerIndex) const = 0;
29 
33  virtual double getThickness(int layerIndex) const = 0;
34 
38  virtual double getAbsorberThickness(int layerIndex) const = 0;
39 
43  virtual double getCellSize0(int layerIndex) const = 0;
44 
47  virtual double getCellSize1(int layerIndex) const = 0;
48 }; // class
49 } // namespace gear
50 #endif /* ifndef GEAR_LAYERLAYOUT_H */
virtual double getDistance(int layerIndex) const =0
The distance of the layer layerIndex from the origin - layer indexing starts at 0 for the layer close...
virtual double getAbsorberThickness(int layerIndex) const =0
The thickness of the absorber part of the layer layerIndex - layer indexing starts at 0 for the layer...
Abstract description of a layered layout detector - typically a a sampling calorimeter.
Definition: LayerLayout.h:15
virtual double getCellSize0(int layerIndex) const =0
The cell size along the first axis where first is either along the beam (barrel type) or up (endcap) ...
virtual double getThickness(int layerIndex) const =0
The thickness of the layer layerIndex - layer indexing starts at 0 for the layer closest to the origi...
virtual int getNLayers() const =0
The total number of layers.
virtual ~LayerLayout()
Destructor.
Definition: LayerLayout.h:19
virtual double getCellSize1(int layerIndex) const =0
The second cell size, perpendicular to the first direction (getCellSize0()) and the depth of the laye...