Analysis Software
Documentation for sPHENIX simulation software
|
class extensions to return also the object and a representation More...
#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/Intersection.hpp>
Public Member Functions | |
template<typename T = representation_t, std::enable_if_t< std::is_same< T, object_t >::value, int > = 0> | |
constexpr | ObjectIntersection (const Intersection3D &intersection, const object_t *object, std::uint8_t index=0) |
constexpr | ObjectIntersection (const Intersection3D &intersection, const object_t *object, const representation_t *representation, std::uint8_t index=0) |
constexpr | operator bool () const |
Returns whether the intersection was successful or not. | |
constexpr const Intersection3D & | intersection () const |
constexpr const Intersection3D::Position & | position () const |
constexpr ActsScalar | pathLength () const |
constexpr Intersection3D::Status | status () const |
constexpr const object_t * | object () const |
constexpr const representation_t * | representation () const |
constexpr std::uint8_t | index () const |
Static Public Member Functions | |
static constexpr ObjectIntersection | invalid () |
static constexpr bool | forwardOrder (const ObjectIntersection &aIntersection, const ObjectIntersection &bIntersection) |
static constexpr bool | closestOrder (const ObjectIntersection &aIntersection, const ObjectIntersection &bIntersection) |
Private Member Functions | |
constexpr | ObjectIntersection ()=default |
Private Attributes | |
Intersection3D | m_intersection = Intersection3D::invalid() |
The intersection itself. | |
const object_t * | m_object = nullptr |
The object that was (tried to be) intersected. | |
const representation_t * | m_representation = nullptr |
The representation of this object. | |
std::uint8_t | m_index = 0 |
The intersection index. | |
class extensions to return also the object and a representation
Definition at line 122 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 122 of file Intersection.hpp
|
inline |
Object intersection - symmetric setup
intersection | is the intersection |
object | is the object to be instersected |
index | is the intersection index |
Definition at line 131 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 131 of file Intersection.hpp
|
inline |
Object intersection
intersection | is the intersection |
object | is the object to be instersected |
representation | is the object representation |
index | is the intersection index |
Definition at line 144 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 144 of file Intersection.hpp
|
privatedefault |
Referenced by Acts::ObjectIntersection< Surface >::invalid().
|
inlinestatic |
Definition at line 190 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 190 of file Intersection.hpp
|
inlinestatic |
Definition at line 184 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 184 of file Intersection.hpp
Referenced by Acts::TrackingVolume::compatibleLayers().
|
inline |
Definition at line 180 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 180 of file Intersection.hpp
|
inline |
Definition at line 158 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 158 of file Intersection.hpp
Referenced by Acts::ObjectIntersection< Surface >::closestOrder(), and Acts::ObjectIntersection< Surface >::forwardOrder().
|
inlinestatic |
Definition at line 182 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 182 of file Intersection.hpp
Referenced by Acts::TrackingVolume::compatibleBoundaries(), Acts::Experimental::SurfacesFiller::fill(), and Acts::Experimental::PortalsFiller::fill().
|
inline |
Definition at line 174 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 174 of file Intersection.hpp
Referenced by Acts::Layer::compatibleSurfaces().
|
inlineexplicit |
Returns whether the intersection was successful or not.
Definition at line 154 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 154 of file Intersection.hpp
|
inline |
Definition at line 166 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 166 of file Intersection.hpp
Referenced by BOOST_AUTO_TEST_CASE(), and Acts::Layer::compatibleSurfaces().
|
inline |
Definition at line 162 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 162 of file Intersection.hpp
Referenced by BOOST_AUTO_TEST_CASE(), and Acts::detail::CorrectedFreeToBoundTransformer::operator()().
|
inline |
Definition at line 176 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 176 of file Intersection.hpp
|
inline |
Definition at line 170 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 170 of file Intersection.hpp
|
private |
The intersection index.
Definition at line 204 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 204 of file Intersection.hpp
Referenced by Acts::ObjectIntersection< Surface >::index().
|
private |
The intersection itself.
Definition at line 198 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 198 of file Intersection.hpp
Referenced by Acts::ObjectIntersection< Surface >::intersection(), Acts::ObjectIntersection< Surface >::operator bool(), Acts::ObjectIntersection< Surface >::pathLength(), Acts::ObjectIntersection< Surface >::position(), and Acts::ObjectIntersection< Surface >::status().
|
private |
The object that was (tried to be) intersected.
Definition at line 200 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 200 of file Intersection.hpp
Referenced by Acts::ObjectIntersection< Surface >::object().
|
private |
The representation of this object.
Definition at line 202 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 202 of file Intersection.hpp
Referenced by Acts::ObjectIntersection< Surface >::representation().