ConcentricGap class, associated with all 3D hit types.
More...
#include "DetectorGap.h"
|
bool | IsInGap (const CartesianVector &positionVector, const HitType hitType, const float gapTolerance) const |
| Whether a specified position lies within the gap.
|
|
float | GetMinZCoordinate () const |
| Get the min cylindrical polar z coordinate, origin interaction point.
|
|
float | GetMaxZCoordinate () const |
| Get the max cylindrical polar z coordinate, origin interaction point.
|
|
float | GetInnerRCoordinate () const |
| Get the inner cylindrical polar r coordinate, origin interaction point.
|
|
float | GetInnerPhiCoordinate () const |
| Get the inner cylindrical polar phi coordinate.
|
|
unsigned int | GetInnerSymmetryOrder () const |
| Get the order of symmetry of the innermost edge of gap.
|
|
float | GetOuterRCoordinate () const |
| Get the outer cylindrical polar r coordinate, origin interaction point.
|
|
float | GetOuterPhiCoordinate () const |
| Get the outer cylindrical polar phi coordinate.
|
|
unsigned int | GetOuterSymmetryOrder () const |
| Get the order of symmetry of the outermost edge of gap.
|
|
ConcentricGap class, associated with all 3D hit types.
Definition at line 165 of file DetectorGap.h.
◆ ConcentricGap()
Constructor.
- Parameters
-
parameters | the gap parameters |
Definition at line 96 of file DetectorGap.cc.
◆ GetInnerPhiCoordinate()
float pandora::ConcentricGap::GetInnerPhiCoordinate |
( |
| ) |
const |
|
inline |
Get the inner cylindrical polar phi coordinate.
- Parameters
-
the | inner cylindrical polar phi coordinate |
Definition at line 361 of file DetectorGap.h.
◆ GetInnerRCoordinate()
float pandora::ConcentricGap::GetInnerRCoordinate |
( |
| ) |
const |
|
inline |
Get the inner cylindrical polar r coordinate, origin interaction point.
- Parameters
-
the | inner cylindrical polar r coordinate |
Definition at line 354 of file DetectorGap.h.
◆ GetInnerSymmetryOrder()
unsigned int pandora::ConcentricGap::GetInnerSymmetryOrder |
( |
| ) |
const |
|
inline |
Get the order of symmetry of the innermost edge of gap.
- Parameters
-
the | order of symmetry of the innermost edge of gap |
Definition at line 368 of file DetectorGap.h.
◆ GetMaxZCoordinate()
float pandora::ConcentricGap::GetMaxZCoordinate |
( |
| ) |
const |
|
inline |
Get the max cylindrical polar z coordinate, origin interaction point.
- Parameters
-
the | max cylindrical polar z coordinate |
Definition at line 347 of file DetectorGap.h.
◆ GetMinZCoordinate()
float pandora::ConcentricGap::GetMinZCoordinate |
( |
| ) |
const |
|
inline |
Get the min cylindrical polar z coordinate, origin interaction point.
- Parameters
-
the | min cylindrical polar z coordinate |
Definition at line 340 of file DetectorGap.h.
◆ GetOuterPhiCoordinate()
float pandora::ConcentricGap::GetOuterPhiCoordinate |
( |
| ) |
const |
|
inline |
Get the outer cylindrical polar phi coordinate.
- Parameters
-
the | outer cylindrical polar phi coordinate |
Definition at line 382 of file DetectorGap.h.
◆ GetOuterRCoordinate()
float pandora::ConcentricGap::GetOuterRCoordinate |
( |
| ) |
const |
|
inline |
Get the outer cylindrical polar r coordinate, origin interaction point.
- Parameters
-
the | outer cylindrical polar r coordinate |
Definition at line 375 of file DetectorGap.h.
◆ GetOuterSymmetryOrder()
unsigned int pandora::ConcentricGap::GetOuterSymmetryOrder |
( |
| ) |
const |
|
inline |
Get the order of symmetry of the outermost edge of gap.
- Parameters
-
the | order of symmetry of the outermost edge of gap |
Definition at line 389 of file DetectorGap.h.
◆ GetPolygonVertices()
void pandora::ConcentricGap::GetPolygonVertices |
( |
const float |
rCoordinate, |
|
|
const float |
zCoordinate, |
|
|
const float |
phiCoordinate, |
|
|
const unsigned int |
symmetryOrder, |
|
|
VertexPointList & |
vertexPointList |
|
) |
| const |
|
private |
Populate list of polygon vertices, assuming regular polygon in XY plane at constant z coordinate.
rCoordinate polygon r coordinate
zCoordinate polygon z coordinate
phiCoordinate polygon phi coordinate
symmetryOrder polygon symmetry order
- Parameters
-
vertexPointList | to receive the vertex point list, with vertexPointList[symmetryOrder] = vertexPointList[0] |
Definition at line 149 of file DetectorGap.cc.
◆ IsIn2DPolygon()
bool pandora::ConcentricGap::IsIn2DPolygon |
( |
const CartesianVector & |
point, |
|
|
const VertexPointList & |
vertexPointList, |
|
|
const unsigned int |
symmetryOrder |
|
) |
| const |
|
private |
Winding number test for a point in a 2D polygon in the XY plane (z coordinates are ignored)
- Parameters
-
point | the test point |
vertexPointList | vertex points of a polygon, with vertexPointList[symmetryOrder] = vertexPointList[0] |
symmetryOrder | order of symmetry of polygon |
- Returns
- whether point is inside polygon
Definition at line 170 of file DetectorGap.cc.
◆ IsInGap()
bool pandora::ConcentricGap::IsInGap |
( |
const CartesianVector & |
positionVector, |
|
|
const HitType |
hitType, |
|
|
const float |
gapTolerance |
|
) |
| const |
|
virtual |
Whether a specified position lies within the gap.
- Parameters
-
positionVector | the position vector |
hitType | the hit type, providing context to aid interpretation of provided position vector |
gapTolerance | tolerance allowed when declaring a point to be "in" a gap region, units mm |
- Returns
- boolean
Implements pandora::DetectorGap.
Definition at line 116 of file DetectorGap.cc.
◆ PandoraObjectFactory< object_creation::Geometry::ConcentricGap::Parameters, object_creation::Geometry::ConcentricGap::Object >
◆ m_innerPhiCoordinate
const float pandora::ConcentricGap::m_innerPhiCoordinate |
|
private |
Inner cylindrical polar phi coordinate (angle wrt cartesian x axis)
Definition at line 260 of file DetectorGap.h.
◆ m_innerRCoordinate
const float pandora::ConcentricGap::m_innerRCoordinate |
|
private |
Inner cylindrical polar r coordinate, origin interaction point, units mm.
Definition at line 259 of file DetectorGap.h.
◆ m_innerSymmetryOrder
const unsigned int pandora::ConcentricGap::m_innerSymmetryOrder |
|
private |
Order of symmetry of the innermost edge of gap.
Definition at line 261 of file DetectorGap.h.
◆ m_innerVertexPointList
The vertex points of the inner polygon.
Definition at line 266 of file DetectorGap.h.
◆ m_maxZCoordinate
const float pandora::ConcentricGap::m_maxZCoordinate |
|
private |
Max cylindrical polar z coordinate, origin interaction point, units mm.
Definition at line 258 of file DetectorGap.h.
◆ m_minZCoordinate
const float pandora::ConcentricGap::m_minZCoordinate |
|
private |
Min cylindrical polar z coordinate, origin interaction point, units mm.
Definition at line 257 of file DetectorGap.h.
◆ m_outerPhiCoordinate
const float pandora::ConcentricGap::m_outerPhiCoordinate |
|
private |
Outer cylindrical polar phi coordinate (angle wrt cartesian x axis)
Definition at line 263 of file DetectorGap.h.
◆ m_outerRCoordinate
const float pandora::ConcentricGap::m_outerRCoordinate |
|
private |
Outer cylindrical polar r coordinate, origin interaction point, units mm.
Definition at line 262 of file DetectorGap.h.
◆ m_outerSymmetryOrder
const unsigned int pandora::ConcentricGap::m_outerSymmetryOrder |
|
private |
Order of symmetry of the outermost edge of gap.
Definition at line 264 of file DetectorGap.h.
◆ m_outerVertexPointList
The vertex points of the outer polygon.
Definition at line 267 of file DetectorGap.h.
The documentation for this class was generated from the following files: