EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::DistanceSorterT< T > Class Template Reference

This will check on absolute distance. More...

#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/GeometryObjectSorter.hpp>

+ Inheritance diagram for Acts::DistanceSorterT< T >:
+ Collaboration diagram for Acts::DistanceSorterT< T >:

Public Member Functions

 DistanceSorterT (BinningValue bValue, Vector3D reference)
 
bool operator() (T one, T two) const
 

Private Attributes

BinningValue m_binningValue
 the binning value
 
T m_reference
 
double m_refR
 
double m_refPhi
 
double m_refEta
 

Detailed Description

template<class T>
class Acts::DistanceSorterT< T >

This will check on absolute distance.

Definition at line 84 of file GeometryObjectSorter.hpp.

View newest version in sPHENIX GitHub at line 84 of file GeometryObjectSorter.hpp

Constructor & Destructor Documentation

template<class T >
Acts::DistanceSorterT< T >::DistanceSorterT ( BinningValue  bValue,
Vector3D  reference 
)
inline

Constructor from a binning value

Parameters
bValueis the value in which the binning is done
referenceis the reference point

Definition at line 90 of file GeometryObjectSorter.hpp.

View newest version in sPHENIX GitHub at line 90 of file GeometryObjectSorter.hpp

Member Function Documentation

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

Comparison operator

Template Parameters
onefirst object
twosecond object
Returns
boolen indicator

Definition at line 103 of file GeometryObjectSorter.hpp.

View newest version in sPHENIX GitHub at line 103 of file GeometryObjectSorter.hpp

References Acts::binEta, Acts::binPhi, Acts::binR, Acts::binX, Acts::binY, Acts::binZ, Acts::VectorHelpers::eta(), Acts::DistanceSorterT< T >::m_binningValue, Acts::DistanceSorterT< T >::m_reference, Acts::DistanceSorterT< T >::m_refEta, Acts::DistanceSorterT< T >::m_refPhi, Acts::DistanceSorterT< T >::m_refR, Acts::VectorHelpers::perp(), Acts::VectorHelpers::phi(), phi, and T.

+ Here is the call graph for this function:

Member Data Documentation

template<class T >
BinningValue Acts::DistanceSorterT< T >::m_binningValue
private

the binning value

Definition at line 156 of file GeometryObjectSorter.hpp.

View newest version in sPHENIX GitHub at line 156 of file GeometryObjectSorter.hpp

Referenced by Acts::DistanceSorterT< T >::operator()().

template<class T >
T Acts::DistanceSorterT< T >::m_reference
private

Definition at line 157 of file GeometryObjectSorter.hpp.

View newest version in sPHENIX GitHub at line 157 of file GeometryObjectSorter.hpp

Referenced by Acts::DistanceSorterT< T >::operator()().

template<class T >
double Acts::DistanceSorterT< T >::m_refEta
private

Definition at line 160 of file GeometryObjectSorter.hpp.

View newest version in sPHENIX GitHub at line 160 of file GeometryObjectSorter.hpp

Referenced by Acts::DistanceSorterT< T >::operator()().

template<class T >
double Acts::DistanceSorterT< T >::m_refPhi
private

Definition at line 159 of file GeometryObjectSorter.hpp.

View newest version in sPHENIX GitHub at line 159 of file GeometryObjectSorter.hpp

Referenced by Acts::DistanceSorterT< T >::operator()().

template<class T >
double Acts::DistanceSorterT< T >::m_refR
private

Definition at line 158 of file GeometryObjectSorter.hpp.

View newest version in sPHENIX GitHub at line 158 of file GeometryObjectSorter.hpp

Referenced by Acts::DistanceSorterT< T >::operator()().


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