EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Core/include/Acts/Surfaces/detail/IntersectionHelper2D.hpp>
Static Public Member Functions | |
static Intersection2D | intersectSegment (const Vector2D &s0, const Vector2D &s1, const Vector2D &origin, const Vector2D &dir) |
static std::pair < Intersection2D, Intersection2D > | intersectEllipse (double Rx, double Ry, const Vector2D &origin, const Vector2D &dir) |
static std::pair < Intersection2D, Intersection2D > | intersectCircle (double R, const Vector2D &origin, const Vector2D &dir) |
Definition at line 19 of file IntersectionHelper2D.hpp.
View newest version in sPHENIX GitHub at line 19 of file IntersectionHelper2D.hpp
|
inlinestatic |
Intersect the circle
R | The radius |
origin | The Start of intersection line |
direction | The Direction of intersection line |
Definition at line 50 of file IntersectionHelper2D.hpp.
View newest version in sPHENIX GitHub at line 50 of file IntersectionHelper2D.hpp
References intersectEllipse().
Referenced by Acts::Test::basicChecks(), and Acts::Test::BOOST_AUTO_TEST_CASE().
|
static |
Intersect ellipses
Rx | The radius in x |
Ry | The radius in y |
origin | The Start of intersection line |
direction | The Direction of intersection line |
Definition at line 35 of file IntersectionHelper2D.cpp.
View newest version in sPHENIX GitHub at line 35 of file IntersectionHelper2D.cpp
References kdfinder::abs(), starlightConstants::alpha, d, Acts::detail::RealQuadraticEquation::first, gamma(), k, Acts::s_epsilon, Acts::detail::RealQuadraticEquation::second, Acts::detail::RealQuadraticEquation::solutions, and x.
Referenced by Acts::Test::basicChecks(), Acts::Test::BOOST_AUTO_TEST_CASE(), and intersectCircle().
|
static |
Intersect two segments
s0 | The Start of the segement |
s1 | The end of the segement |
origin | The Start of intersection line |
direction | The Direction of intersection line |
Definition at line 16 of file IntersectionHelper2D.cpp.
View newest version in sPHENIX GitHub at line 16 of file IntersectionHelper2D.cpp
References kdfinder::abs(), d, and Acts::s_epsilon.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().