ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::GeometryObjectSorterT< T > Class Template Reference

#include <Acts/Geometry/GeometryObjectSorter.hpp>

Collaboration diagram for Acts::GeometryObjectSorterT< T >:
[legend]

Public Member Functions

 GeometryObjectSorterT (const GeometryContext &gctx, AxisDirection aDir, std::shared_ptr< const Transform3 > transform=nullptr)
 Constructor from a sorting direction.
bool operator() (T one, T two) const
 Comparison operator.

Protected Attributes

std::reference_wrapper< const GeometryContextm_context
ObjectSorterT< Vector3m_objectSorter
std::shared_ptr< const Transform3m_transform

Constructor & Destructor Documentation

◆ GeometryObjectSorterT()

template<class T>
Acts::GeometryObjectSorterT< T >::GeometryObjectSorterT ( const GeometryContext & gctx,
AxisDirection aDir,
std::shared_ptr< const Transform3 > transform = nullptr )

Constructor from a sorting direction.

Parameters
gctxThe geometry context to use
aDiris the direction in which the sorting is done
transformis an optional transform to be performed

Member Function Documentation

◆ operator()()

template<class T>
bool Acts::GeometryObjectSorterT< T >::operator() ( T one,
T two ) const

Comparison operator.

Template Parameters
oneis the first object
twois the second object
Returns
boolean indicator

Member Data Documentation

◆ m_context

template<class T>
std::reference_wrapper<const GeometryContext> Acts::GeometryObjectSorterT< T >::m_context
protected

◆ m_objectSorter

template<class T>
ObjectSorterT<Vector3> Acts::GeometryObjectSorterT< T >::m_objectSorter
protected

◆ m_transform

template<class T>
std::shared_ptr<const Transform3> Acts::GeometryObjectSorterT< T >::m_transform
protected