|
ACTS
Experiment-independent tracking
|
A brief struct that allows to apply a surface bound mask. More...
#include <ActsFatras/Digitization/PlanarSurfaceMask.hpp>
Public Types | |
| using | Segment2D = std::array<Acts::Vector2, 2> |
| Shorthand for a 2-d segment;. | |
Public Member Functions | |
| Acts::Result< Segment2D > | annulusMask (const Acts::AnnulusBounds &aBounds, const Segment2D &segment, bool firstInside) const |
| Apply the mask of an annulus disk. | |
| Acts::Result< Segment2D > | apply (const Acts::Surface &surface, const Segment2D &segment) const |
| Apply the mask on the segment. | |
| Acts::Result< Segment2D > | polygonMask (const std::vector< Acts::Vector2 > &vertices, const Segment2D &segment, bool firstInside) const |
| Apply the mask of a polygon. | |
| Acts::Result< Segment2D > | radialMask (const Acts::RadialBounds &rBounds, const Segment2D &segment, const Segment2D &polarSegment, bool firstInside) const |
| Apply the mask of a Radial disk. | |
Public Attributes | |
| Acts::detail::IntersectionHelper2D | intersector {} |
| 2D intersection helper for geometric calculations | |
A brief struct that allows to apply a surface bound mask.
| using ActsFatras::PlanarSurfaceMask::Segment2D = std::array<Acts::Vector2, 2> |
Shorthand for a 2-d segment;.
| Acts::Result< Segment2D > ActsFatras::PlanarSurfaceMask::annulusMask | ( | const Acts::AnnulusBounds & | aBounds, |
| const Segment2D & | segment, | ||
| bool | firstInside ) const |
Apply the mask of an annulus disk.
| aBounds | The annulus disc for the masking |
| segment | The track segment (on surface) |
| firstInside | The indicator if the first is inside |
| Acts::Result< Segment2D > ActsFatras::PlanarSurfaceMask::apply | ( | const Acts::Surface & | surface, |
| const Segment2D & | segment ) const |
Apply the mask on the segment.
| surface | The surface in question |
| segment | The track segment (on surface) |
| Acts::Result< Segment2D > ActsFatras::PlanarSurfaceMask::polygonMask | ( | const std::vector< Acts::Vector2 > & | vertices, |
| const Segment2D & | segment, | ||
| bool | firstInside ) const |
Apply the mask of a polygon.
| vertices | The vertices of the polygon |
| segment | The track segment (on surface) |
| firstInside | The indicator if the first is inside |
| Acts::Result< Segment2D > ActsFatras::PlanarSurfaceMask::radialMask | ( | const Acts::RadialBounds & | rBounds, |
| const Segment2D & | segment, | ||
| const Segment2D & | polarSegment, | ||
| bool | firstInside ) const |
Apply the mask of a Radial disk.
| rBounds | The radial disc for the masking |
| segment | The track segment (on surface) |
| polarSegment | The track segment (on surface, in polar) |
| firstInside | The indicator if the first is inside |
| Acts::detail::IntersectionHelper2D ActsFatras::PlanarSurfaceMask::intersector {} |
2D intersection helper for geometric calculations