GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
TrackerPlanesParametersImpl.h
1 // -*- C++ -*-
2 #ifndef GEAR_TrackerPlanesParametersImpl_H
3 #define GEAR_TrackerPlanesParametersImpl_H 1
4 
5 #include "gear/TrackerPlanesParameters.h"
6 #include "gearimpl/GearParametersImpl.h"
7 #include "gearimpl/TrackerPlanesLayerLayoutImpl.h"
8 
9 
10 namespace gear {
11 
12 class TrackerPlanesLayerLayout;
13 
20 
21 public:
27  TrackerPlanesParametersImpl(int layoutID, int layoutType, int layoutNumberOfLayers) ;
28 
29  // Destructor.
30  virtual ~TrackerPlanesParametersImpl() { /* nop */; }
31 
32 
35  virtual void addLayer( TrackerPlanesLayerImpl* _layer ){
36 
37  _layerLayout.addLayer( _layer ); // pointer as input
38  }
39 
40 
41 
44  virtual const TrackerPlanesLayerLayout & getTrackerPlanesLayerLayout() const { return _layerLayout ; }
45 
46 
49  virtual int getLayoutID() const { return _layoutID ; }
50 
53  virtual int getLayoutType() const { return _layoutType ; }
54 
57  virtual int getLayoutNumberOfLayers() const { return _layoutNumberOfLayers ; }
58 
61  virtual void setLayoutID(int value) { _layoutID = value ; }
62 
65  virtual void setLayoutType(int value) { _layoutType = value; }
66 
69  virtual void setLayoutNumberOfLayers(int value) { _layoutNumberOfLayers = value; }
70 
71 protected:
72 
73  TrackerPlanesLayerLayoutImpl _layerLayout{} ;
74 
75  int _layoutID{};
76 
77  int _layoutType{} ;
78 
79  int _layoutNumberOfLayers{} ;
80 
81 private:
82 
83 }; // class
84 
85 } // namespace gear
86 
87 #endif /* #ifndef GEAR_TrackerPlanesParametersImpl_H */
88 
virtual void setLayoutID(int value)
Returns the ID of TrackerPlanes detector setup.
virtual void addLayer(TrackerPlanesLayerImpl *layer)
a free parameter string field
Implementation of GearParameters - a set off parameters that can be used to describe the geometrical ...
virtual void setLayoutNumberOfLayers(int value)
Returns the number of Si planes.
virtual void setLayoutType(int value)
Returns the type of TrackerPlanes detector.
virtual int getLayoutNumberOfLayers() const
Returns the number of Si planes.
Abstract description of layers in pixel beam telescope.
virtual int getLayoutType() const
Returns the type of TrackerPlanes detector.
TrackerPlanesParametersImpl(int layoutID, int layoutType, int layoutNumberOfLayers)
C'tor.
a collection of layers = telescope description
virtual void addLayer(TrackerPlanesLayerImpl *_layer)
Adding a Layer to the TrackerPlanes detector (without parameters for layer rotation) ...
Geometry properties of a pixel beam telescope needed for reconstruction code.
virtual int getLayoutID() const
Returns the ID of TrackerPlanes detector setup.
virtual const TrackerPlanesLayerLayout & getTrackerPlanesLayerLayout() const
Returns the layer layout of TrackerPlanes detector.