ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4KDTree::HyperRect Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/dna/management/include/G4KDTree.hh>

Public Member Functions

 HyperRect (size_t dim)
 
template<typename Position >
void SetMinMax (const Position &min, const Position &max)
 
 ~HyperRect ()
 
 HyperRect (const HyperRect &rect)
 
template<typename Position >
void Extend (const Position &pos)
 
template<typename Position >
bool CompareDistSqr (const Position &pos, const double *bestmatch)
 
size_t GetDim ()
 
double * GetMin ()
 
double * GetMax ()
 

Protected Attributes

size_t fDim
 
double * fMin
 
double * fMax
 

Private Member Functions

HyperRectoperator= (const HyperRect &rhs)
 

Detailed Description

Definition at line 133 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 133 of file G4KDTree.hh

Constructor & Destructor Documentation

G4KDTree::HyperRect::HyperRect ( size_t  dim)
inline

Definition at line 136 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 136 of file G4KDTree.hh

References Acts::Test::dim, fDim, fMax, and fMin.

G4KDTree::HyperRect::~HyperRect ( )
inline

Definition at line 153 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 153 of file G4KDTree.hh

References fMax, and fMin.

G4KDTree::HyperRect::HyperRect ( const HyperRect rect)
inline

Definition at line 159 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 159 of file G4KDTree.hh

References fDim, fMax, and fMin.

Member Function Documentation

template<typename Position >
bool G4KDTree::HyperRect::CompareDistSqr ( const Position &  pos,
const double *  bestmatch 
)
inline

Definition at line 189 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 189 of file G4KDTree.hh

References fDim, fMax, fMin, and sqr().

+ Here is the call graph for this function:

template<typename Position >
void G4KDTree::HyperRect::Extend ( const Position &  pos)
inline

Definition at line 173 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 173 of file G4KDTree.hh

References fDim, fMax, and fMin.

Referenced by G4KDTree::Build().

+ Here is the caller graph for this function:

size_t G4KDTree::HyperRect::GetDim ( )
inline

Definition at line 210 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 210 of file G4KDTree.hh

References fDim.

double* G4KDTree::HyperRect::GetMax ( )
inline

Definition at line 218 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 218 of file G4KDTree.hh

References fMax.

double* G4KDTree::HyperRect::GetMin ( )
inline

Definition at line 214 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 214 of file G4KDTree.hh

References fMin.

HyperRect& G4KDTree::HyperRect::operator= ( const HyperRect rhs)
inlineprivate

Definition at line 229 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 229 of file G4KDTree.hh

template<typename Position >
void G4KDTree::HyperRect::SetMinMax ( const Position &  min,
const Position &  max 
)
inline

Definition at line 144 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 144 of file G4KDTree.hh

References fDim, fMax, and fMin.

Referenced by G4KDTree::Build().

+ Here is the caller graph for this function:

Member Data Documentation

size_t G4KDTree::HyperRect::fDim
protected

Definition at line 224 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 224 of file G4KDTree.hh

Referenced by CompareDistSqr(), Extend(), GetDim(), HyperRect(), and SetMinMax().

double * G4KDTree::HyperRect::fMax
protected

Definition at line 225 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 225 of file G4KDTree.hh

Referenced by CompareDistSqr(), Extend(), GetMax(), HyperRect(), SetMinMax(), and ~HyperRect().

double* G4KDTree::HyperRect::fMin
protected

Definition at line 225 of file G4KDTree.hh.

View newest version in sPHENIX GitHub at line 225 of file G4KDTree.hh

Referenced by CompareDistSqr(), Extend(), GetMin(), HyperRect(), SetMinMax(), and ~HyperRect().


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