EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CoordinateDescriptor Class Reference

#include <EicRoot/blob/master/eic/htree/HoughNodeGroup.h>

Public Member Functions

 CoordinateDescriptor (double min, double max, double gra, unsigned shift)
 
double GetMin () const
 
double GetGra () const
 
unsigned GetBitWidth () const
 
t_hough_range UnpackCoord (t_hough_range value) const
 
t_hough_range PackCoord (int coord) const
 
t_hough_range OffsetThisValueComponent (t_hough_range value, int offset)
 

Private Member Functions

unsigned bits (t_hough_range value)
 

Private Attributes

unsigned mShift
 
unsigned mWidth
 
t_hough_range mMask
 
double mMin
 
double mGra
 
unsigned mWdim
 

Detailed Description

Definition at line 97 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 97 of file HoughNodeGroup.h

Constructor & Destructor Documentation

CoordinateDescriptor::CoordinateDescriptor ( double  min,
double  max,
double  gra,
unsigned  shift 
)
inline

Definition at line 99 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 99 of file HoughNodeGroup.h

References bits(), mMask, mWdim, and mWidth.

+ Here is the call graph for this function:

Member Function Documentation

unsigned CoordinateDescriptor::bits ( t_hough_range  value)
inlineprivate

Definition at line 144 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 144 of file HoughNodeGroup.h

References value.

Referenced by CoordinateDescriptor().

+ Here is the caller graph for this function:

unsigned CoordinateDescriptor::GetBitWidth ( ) const
inline

Definition at line 111 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 111 of file HoughNodeGroup.h

References mWidth.

double CoordinateDescriptor::GetGra ( ) const
inline

Definition at line 109 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 109 of file HoughNodeGroup.h

References mGra.

double CoordinateDescriptor::GetMin ( ) const
inline

Definition at line 108 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 108 of file HoughNodeGroup.h

References mMin.

t_hough_range CoordinateDescriptor::OffsetThisValueComponent ( t_hough_range  value,
int  offset 
)
inline

Definition at line 128 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 128 of file HoughNodeGroup.h

References mMask, mShift, mWdim, offset, and value.

t_hough_range CoordinateDescriptor::PackCoord ( int  coord) const
inline

Definition at line 117 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 117 of file HoughNodeGroup.h

References __OUT_OF_RANGE_BIT_, mShift, and mWdim.

Referenced by HoughCell::UpdateRanges().

+ Here is the caller graph for this function:

t_hough_range CoordinateDescriptor::UnpackCoord ( t_hough_range  value) const
inline

Definition at line 114 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 114 of file HoughNodeGroup.h

References mMask, and mShift.

Referenced by HoughNodeGroup::Overlap(), and HoughCell::UpdateRanges().

+ Here is the caller graph for this function:

Member Data Documentation

double CoordinateDescriptor::mGra
private

Definition at line 162 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 162 of file HoughNodeGroup.h

Referenced by GetGra().

t_hough_range CoordinateDescriptor::mMask
private

Definition at line 160 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 160 of file HoughNodeGroup.h

Referenced by CoordinateDescriptor(), OffsetThisValueComponent(), and UnpackCoord().

double CoordinateDescriptor::mMin
private

Definition at line 162 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 162 of file HoughNodeGroup.h

Referenced by GetMin().

unsigned CoordinateDescriptor::mShift
private

Definition at line 155 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 155 of file HoughNodeGroup.h

Referenced by OffsetThisValueComponent(), PackCoord(), and UnpackCoord().

unsigned CoordinateDescriptor::mWdim
private

Definition at line 164 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 164 of file HoughNodeGroup.h

Referenced by CoordinateDescriptor(), OffsetThisValueComponent(), and PackCoord().

unsigned CoordinateDescriptor::mWidth
private

Definition at line 155 of file HoughNodeGroup.h.

View newest version in sPHENIX GitHub at line 155 of file HoughNodeGroup.h

Referenced by CoordinateDescriptor(), and GetBitWidth().


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