|
ACTS
Experiment-independent tracking
|
Class to describe the bounds for a planar DiscSurface. More...
#include <Acts/Surfaces/DiscTrapezoidBounds.hpp>
Public Types | |
| enum | BoundValues : int { eHalfLengthXminR = 0 , eHalfLengthXmaxR = 1 , eMinR = 2 , eMaxR = 3 , eAveragePhi = 4 , eStereo = 5 , eSize = 6 } |
| Enumeration for the bound values. More... | |
| Public Types inherited from Acts::SurfaceBounds | |
| enum | BoundsType : int { eCone = 0 , eCylinder = 1 , eDiamond = 2 , eDisc = 3 , eEllipse = 4 , eLine = 5 , eRectangle = 6 , eTrapezoid = 7 , eTriangle = 8 , eDiscTrapezoid = 9 , eConvexPolygon = 10 , eAnnulus = 11 , eBoundless = 12 , eOther = 13 } |
| This is nested to the SurfaceBounds, as also VolumeBounds will have Bounds Type. More... | |
Public Member Functions | |
| DiscTrapezoidBounds (const std::array< double, eSize > &values) noexcept(false) | |
| Constructor - from fixed size array. | |
| DiscTrapezoidBounds (double halfXminR, double halfXmaxR, double minR, double maxR, double avgPhi=std::numbers::pi/2., double stereo=0.) noexcept(false) | |
| Constructor for a symmetric Trapezoid giving min X length, max X length, Rmin and R max. | |
| double | binningValuePhi () const final |
| Return a reference phi for binning. | |
| double | binningValueR () const final |
| Return a reference radius for binning. | |
| SquareMatrix2 | boundToCartesianJacobian (const Vector2 &lposition) const final |
| Computes the bound to cartesian jacobian at a given local position. | |
| SquareMatrix2 | boundToCartesianMetric (const Vector2 &lposition) const final |
| Computes the bound to cartesian metric at a given local position. | |
| Vector2 | center () const final |
| Calculate the center of the surface bounds in local coordinates. | |
| Vector2 | closestPoint (const Vector2 &lposition, const SquareMatrix2 &metric) const final |
| Calculates the closest point on the bounds to a given local position. | |
| bool | coversFullAzimuth () const final |
| Returns true for full phi coverage - obviously false here. | |
| double | get (BoundValues bValue) const |
| Access to the bound values. | |
| double | halfLengthY () const |
| This method returns the half length in Y (this is Rmax -Rmin). | |
| double | halfPhiSector () const |
| This method returns the halfPhiSector which is covered by the disc. | |
| bool | inside (const Vector2 &lposition) const final |
| Inside check for the bounds object. | |
| virtual bool | inside (const Vector2 &lposition, const BoundaryTolerance &boundaryTolerance) const |
| Inside check for the bounds object given a boundary tolerance. | |
| bool | insideRadialBounds (double R, double tolerance=0.) const final |
| Checks if this is inside the radial coverage given the a tolerance. | |
| bool | isCartesian () const final |
| Check if the bound coordinates are cartesian. | |
| double | rCenter () const |
| This method returns the center radius. | |
| double | rMax () const final |
| This method returns outer radius. | |
| double | rMin () const final |
| This method returns inner radius. | |
| double | stereo () const |
| This method returns the stereo angle. | |
| std::ostream & | toStream (std::ostream &sl) const final |
| Output Method for std::ostream. | |
| BoundsType | type () const final |
| Return the bounds type - for persistency optimization. | |
| std::vector< double > | values () const final |
| Return the bound values as dynamically sized vector. | |
| std::vector< Vector2 > | vertices (unsigned int ignoredSegments=0u) const final |
| This method returns the xy coordinates of the four corners of the bounds in module coorindates (in xy). | |
| Public Member Functions inherited from Acts::SurfaceBounds | |
| virtual | ~SurfaceBounds ()=default |
| virtual double | distance (const Vector2 &lposition) const |
| Calculates the distance to the bounds from a given local position. | |
Class to describe the bounds for a planar DiscSurface.
By providing an argument for hphisec, the bounds can be restricted to a phi-range around the center position.
| enum Acts::DiscTrapezoidBounds::BoundValues : int |
|
explicit |
Constructor for a symmetric Trapezoid giving min X length, max X length, Rmin and R max.
| halfXminR | half length in X at min radius |
| halfXmaxR | half length in X at maximum radius |
| minR | inner radius |
| maxR | outer radius |
| avgPhi | average phi value |
| stereo | optional stero angle applied |
|
explicit |
Constructor - from fixed size array.
| values | The parameter values |
|
finalvirtual |
Return a reference phi for binning.
Implements Acts::DiscBounds.
|
finalvirtual |
Return a reference radius for binning.
Implements Acts::DiscBounds.
|
finalvirtual |
Computes the bound to cartesian jacobian at a given local position.
| lposition | is the local position at which the jacobian is computed |
Implements Acts::SurfaceBounds.
|
finalvirtual |
Computes the bound to cartesian metric at a given local position.
| lposition | is the local position at which the metric is computed |
Implements Acts::SurfaceBounds.
|
finalvirtual |
Calculate the center of the surface bounds in local coordinates.
This method returns a representative center point of the bounds region. The exact definition varies by bounds type and coordinate system:
Cartesian bounds (Rectangle, Diamond, Trapezoid):
Polar/Cylindrical bounds (Radial, Cylinder, Cone):
Complex bounds (Annulus, ConvexPolygon):
Infinite bounds: Returns conceptual center at (0,0)
Implements Acts::SurfaceBounds.
|
finalvirtual |
Calculates the closest point on the bounds to a given local position.
| lposition | is the local position |
| metric | to be used for the distance calculation |
Implements Acts::SurfaceBounds.
|
finalvirtual |
Returns true for full phi coverage - obviously false here.
Implements Acts::DiscBounds.
| double Acts::DiscTrapezoidBounds::get | ( | BoundValues | bValue | ) | const |
Access to the bound values.
| bValue | the class nested enum for the array access |
| double Acts::DiscTrapezoidBounds::halfLengthY | ( | ) | const |
This method returns the half length in Y (this is Rmax -Rmin).
| double Acts::DiscTrapezoidBounds::halfPhiSector | ( | ) | const |
This method returns the halfPhiSector which is covered by the disc.
|
finalvirtual |
Inside check for the bounds object.
| lposition | is the local position |
Implements Acts::SurfaceBounds.
|
virtual |
Inside check for the bounds object given a boundary tolerance.
| lposition | is the local position |
| boundaryTolerance | is the boundary tolerance object |
Reimplemented from Acts::SurfaceBounds.
|
finalvirtual |
Checks if this is inside the radial coverage given the a tolerance.
| R | The radius value to check |
| tolerance | The tolerance for the check |
Implements Acts::DiscBounds.
|
finalvirtual |
Check if the bound coordinates are cartesian.
Implements Acts::SurfaceBounds.
| double Acts::DiscTrapezoidBounds::rCenter | ( | ) | const |
This method returns the center radius.
|
finalvirtual |
This method returns outer radius.
Implements Acts::DiscBounds.
|
finalvirtual |
This method returns inner radius.
Implements Acts::DiscBounds.
| double Acts::DiscTrapezoidBounds::stereo | ( | ) | const |
This method returns the stereo angle.
|
finalvirtual |
Output Method for std::ostream.
| sl | The output stream to write to |
Implements Acts::SurfaceBounds.
|
finalvirtual |
Return the bounds type - for persistency optimization.
Implements Acts::SurfaceBounds.
|
finalvirtual |
Return the bound values as dynamically sized vector.
Implements Acts::SurfaceBounds.
|
finalvirtual |
This method returns the xy coordinates of the four corners of the bounds in module coorindates (in xy).
| ignoredSegments | is an ignored parameter only used for curved bound segments |
Implements Acts::DiscBounds.