Class SurfaceBounds¶
Defined in File SurfaceBounds.hpp
Inheritance Relationships¶
Derived Types¶
public Acts::ConeBounds
(Class ConeBounds)public Acts::CylinderBounds
(Class CylinderBounds)public Acts::DiscBounds
(Class DiscBounds)public Acts::InfiniteBounds
(Class InfiniteBounds)public Acts::LineBounds
(Class LineBounds)public Acts::PlanarBounds
(Class PlanarBounds)
Class Documentation¶
-
class
Acts
::
SurfaceBounds
¶ Interface for surface bounds.
Surface bounds provide:
inside() checks
distance to boundary calculations
the BoundsType and a set of parameters to simplify persistency
Subclassed by Acts::ConeBounds, Acts::CylinderBounds, Acts::DiscBounds, Acts::InfiniteBounds, Acts::LineBounds, Acts::PlanarBounds
Public Types
-
enum
BoundsType
¶ This is nested to the SurfaceBounds, as also VolumeBounds will have Bounds Type.
Values:
-
enumerator
eCone
= 0¶
-
enumerator
eCylinder
= 1¶
-
enumerator
eDiamond
= 2¶
-
enumerator
eDisc
= 3¶
-
enumerator
eEllipse
= 5¶
-
enumerator
eLine
= 6¶
-
enumerator
eRectangle
= 7¶
-
enumerator
eTrapezoid
= 8¶
-
enumerator
eTriangle
= 9¶
-
enumerator
eDiscTrapezoid
= 10¶
-
enumerator
eConvexPolygon
= 11¶
-
enumerator
eAnnulus
= 12¶
-
enumerator
eBoundless
= 13¶
-
enumerator
eOther
= 14¶
-
enumerator
Public Functions
-
~SurfaceBounds
() = default¶
-
bool
inside
(const Vector2D &lposition, const BoundaryCheck &bcheck) const = 0¶ Inside check for the bounds object driven by the boundary check directive Each Bounds has a method inside, which checks if a LocalPosition is inside the bounds Inside can be called without/with tolerances.
- Return
boolean indicator for the success of this operation
- Parameters
lposition
: Local position (assumed to be in right surface frame)bcheck
: boundary check directive
-
std::ostream &
toStream
(std::ostream &os) const = 0¶ Output Method for std::ostream, to be overloaded by child classes.
- Parameters
sl
: is the outstream in which the string dump is done
-
BoundsType
type
() const = 0¶ Return the bounds type - for persistency optimization.
- Return
is a BoundsType enum
-
std::vector<double>
values
() const = 0¶ Access method for bound values, this is a dynamically sized vector containing the parameters needed to describe these bounds.
- Return
of the stored values for this SurfaceBounds object