Analysis Software
Documentation for sPHENIX simulation 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>

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

Public Member Functions

 DistanceSorterT (BinningValue bValue, Vector3 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 85 of file GeometryObjectSorter.hpp.

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

Constructor & Destructor Documentation

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

Constructor from a binning value

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

Definition at line 91 of file GeometryObjectSorter.hpp.

View newest version in sPHENIX GitHub at line 91 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
boolean indicator

Definition at line 104 of file GeometryObjectSorter.hpp.

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

References Acts::binEta, Acts::binPhi, Acts::binR, Acts::binX, Acts::binY, Acts::binZ, eta, 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(), ActsTests::PropagationDatasets::phi, Acts::VectorHelpers::phi(), and Acts::UnitConstants::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 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 >
T Acts::DistanceSorterT< T >::m_reference
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()().

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

Definition at line 161 of file GeometryObjectSorter.hpp.

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

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

template<class T >
double Acts::DistanceSorterT< T >::m_refPhi
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_refR
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()().


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