Base data structure for single tracking detector layer geometry parameters.
More...
#include <dataobjects/TrackingDetectorGeoParams.h>
Base data structure for single tracking detector layer geometry parameters.
◆ TrackingDetectorGeoParams()
Herd::TrackingDetectorGeoParams::TrackingDetectorGeoParams |
( |
| ) |
|
|
inline |
◆ ~TrackingDetectorGeoParams()
virtual Herd::TrackingDetectorGeoParams::~TrackingDetectorGeoParams |
( |
| ) |
|
|
virtualdefault |
◆ ElementID()
virtual unsigned int Herd::TrackingDetectorGeoParams::ElementID |
( |
const Point & |
position | ) |
const |
|
pure virtual |
Utility function to get volumeID from a set of coordinates. Reimplemented in derived classes.
- Parameters
-
position | The coordinates of the point (normal coordinate is ignored). |
- Returns
- The ID of the element containing the point.
- Exceptions
-
std::range_error | if the given position does not lie on a element. |
Implemented in Herd::SiliconDetectorGeoParams, and Herd::FitGeoParams.
◆ ElementPitch()
virtual float Herd::TrackingDetectorGeoParams::ElementPitch |
( |
| ) |
const |
|
inlinevirtual |
Get element pitch.
- Returns
- element pitch
◆ ElementPosition()
virtual Point Herd::TrackingDetectorGeoParams::ElementPosition |
( |
unsigned int |
volID | ) |
const |
|
pure virtual |
◆ HasTungsten()
virtual bool Herd::TrackingDetectorGeoParams::HasTungsten |
( |
| ) |
const |
|
inlinevirtual |
Check if layer is preceded by tungsten plane.
◆ LayerNumber()
virtual size_t Herd::TrackingDetectorGeoParams::LayerNumber |
( |
| ) |
const |
|
inlinevirtual |
Return the layer number for this layer in its detector.
- Returns
- layer number
◆ NormalDirection()
Get the normal direction to the detector.
- Returns
- the normal direction.
◆ SegmentationDirections()
Return the segmentation directions of the tracking elements.
The first element of the returned pair is the direction along which the volume ID increases by 1 (the so called "main segmentation direction"), the second element is the other segmentation direction (the "secondary segmentation
direction"). For the tracking element the main segmentation direction is the natural one defined by the element orientation.
- Returns
- the two segmentation directions.
- Exceptions
-
std::runtime_error | if the normal direction setting is not valid. |
◆ SetHasTungsten()
virtual void Herd::TrackingDetectorGeoParams::SetHasTungsten |
( |
bool |
value | ) |
|
|
inlinevirtual |
Set the tungsten flag.
- Parameters
-
value | True if this layer has tungsten. |
◆ SetSideAndMainSegmDir()
◆ SetTungstenThickness()
virtual void Herd::TrackingDetectorGeoParams::SetTungstenThickness |
( |
float |
value | ) |
|
|
inlinevirtual |
Set the tungsten plane thickness.
- Parameters
-
◆ Side()
virtual const RefFrame::Side& Herd::TrackingDetectorGeoParams::Side |
( |
| ) |
const |
|
inlinevirtual |
Return the detector side this layer is in.
- Returns
- const RefFrame::Side&
◆ TungstenThickness()
float Herd::TrackingDetectorGeoParams::TungstenThickness |
( |
| ) |
const |
|
inline |
Get the tungsten layer thickness.
- Returns
- the tungsten layer thickness
◆ _elementPitch
float Herd::TrackingDetectorGeoParams::_elementPitch |
|
protected |
Secondary segmentation direction for elements.
◆ _hasTungsten
bool Herd::TrackingDetectorGeoParams::_hasTungsten |
|
protected |
◆ _layerNumber
size_t Herd::TrackingDetectorGeoParams::_layerNumber |
|
protected |
◆ _mainSegmDir
◆ _normalDir
◆ _secSegmDir
Main segmentation direction for elements.
◆ _side
◆ _tungstenThickness
float Herd::TrackingDetectorGeoParams::_tungstenThickness |
|
protected |
True if layer is preceded by a tungsten plane.
The documentation for this class was generated from the following file: