EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::ObjectIntersection< object_t, representation_t > Class Template Reference

class extensions to return also the object and a representation More...

#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/Intersection.hpp>

+ Collaboration diagram for Acts::ObjectIntersection< object_t, representation_t >:

Public Member Functions

 ObjectIntersection ()=default
 Default constructor.
 
template<typename T = representation_t, std::enable_if_t< std::is_same< T, object_t >::value, int > = 0>
 ObjectIntersection (const Intersection3D &sInter, const object_t *sObject)
 
 ObjectIntersection (const Intersection3D &sInter, const object_t *sObject, const representation_t *sRepresentation)
 
 operator bool () const
 Bool() operator for validity checking.
 
bool operator< (const ObjectIntersection< object_t, representation_t > &oi) const
 Smaller operator for ordering & sorting.
 
bool operator> (const ObjectIntersection< object_t, representation_t > &oi) const
 Greater operator for ordering & sorting.
 

Public Attributes

Intersection3D intersection {}
 The intersection itself.
 
const object_t * object {nullptr}
 The object that was (tried to be) intersected.
 
const representation_t * representation {nullptr}
 The representation of this object.
 
Intersection3D alternative {}
 The alternative intersections.
 

Detailed Description

template<typename object_t, typename representation_t = object_t>
class Acts::ObjectIntersection< object_t, representation_t >

class extensions to return also the object and a representation

Definition at line 92 of file Intersection.hpp.

View newest version in sPHENIX GitHub at line 92 of file Intersection.hpp

Constructor & Destructor Documentation

template<typename object_t, typename representation_t = object_t>
Acts::ObjectIntersection< object_t, representation_t >::ObjectIntersection ( )
default

Default constructor.

template<typename object_t, typename representation_t = object_t>
template<typename T = representation_t, std::enable_if_t< std::is_same< T, object_t >::value, int > = 0>
Acts::ObjectIntersection< object_t, representation_t >::ObjectIntersection ( const Intersection3D sInter,
const object_t *  sObject 
)
inline

Object intersection - symmetric setup

Parameters
sInteris the intersection
sObjectis the object to be instersected
sRepresentationis the object represenatation

Definition at line 114 of file Intersection.hpp.

View newest version in sPHENIX GitHub at line 114 of file Intersection.hpp

template<typename object_t, typename representation_t = object_t>
Acts::ObjectIntersection< object_t, representation_t >::ObjectIntersection ( const Intersection3D sInter,
const object_t *  sObject,
const representation_t *  sRepresentation 
)
inline

Object intersection

Parameters
sInteris the intersection
sObjectis the object to be instersected
sRepresentationis the object represenatation

Definition at line 122 of file Intersection.hpp.

View newest version in sPHENIX GitHub at line 122 of file Intersection.hpp

Member Function Documentation

template<typename object_t, typename representation_t = object_t>
Acts::ObjectIntersection< object_t, representation_t >::operator bool ( ) const
inlineexplicit

Bool() operator for validity checking.

Definition at line 129 of file Intersection.hpp.

View newest version in sPHENIX GitHub at line 129 of file Intersection.hpp

References Acts::ObjectIntersection< object_t, representation_t >::intersection.

template<typename object_t, typename representation_t = object_t>
bool Acts::ObjectIntersection< object_t, representation_t >::operator< ( const ObjectIntersection< object_t, representation_t > &  oi) const
inline

Smaller operator for ordering & sorting.

This operator will ignore the alternative, but simply order the representing intersection

Parameters
oiis the source intersection for comparison

Definition at line 137 of file Intersection.hpp.

View newest version in sPHENIX GitHub at line 137 of file Intersection.hpp

References Acts::ObjectIntersection< object_t, representation_t >::intersection.

template<typename object_t, typename representation_t = object_t>
bool Acts::ObjectIntersection< object_t, representation_t >::operator> ( const ObjectIntersection< object_t, representation_t > &  oi) const
inline

Greater operator for ordering & sorting.

This operator will ignore the alternative, but simply order the representing intersection

Parameters
oiis the source intersection for comparison

Definition at line 148 of file Intersection.hpp.

View newest version in sPHENIX GitHub at line 148 of file Intersection.hpp

References Acts::ObjectIntersection< object_t, representation_t >::intersection.

Member Data Documentation

template<typename object_t, typename representation_t = object_t>
Intersection3D Acts::ObjectIntersection< object_t, representation_t >::alternative {}

The alternative intersections.

Definition at line 102 of file Intersection.hpp.

View newest version in sPHENIX GitHub at line 102 of file Intersection.hpp

Referenced by Acts::TrackingVolume::compatibleBoundaries(), Acts::ConeSurface::intersect(), and Acts::CylinderSurface::intersect().

template<typename object_t, typename representation_t = object_t>
const object_t* Acts::ObjectIntersection< object_t, representation_t >::object {nullptr}

The object that was (tried to be) intersected.

Definition at line 97 of file Intersection.hpp.

View newest version in sPHENIX GitHub at line 97 of file Intersection.hpp

Referenced by Acts::TrackingVolume::compatibleBoundaries().

template<typename object_t, typename representation_t = object_t>
const representation_t* Acts::ObjectIntersection< object_t, representation_t >::representation {nullptr}

The representation of this object.

Definition at line 99 of file Intersection.hpp.

View newest version in sPHENIX GitHub at line 99 of file Intersection.hpp


The documentation for this class was generated from the following file: