MyMarlinTPC  170316
Public Member Functions | Private Attributes | List of all members
marlintpc::rb_HyperPlane Class Reference

Row based hyperplane. More...

#include <RowBasedFastHoughTransformationProcessor.h>

Public Member Functions

 rb_HyperPlane (int, rb_Hit *, directionsType &, double=0.75)
 Construct row based hyperplane. More...
 
void print () const
 Print hyperplane. More...
 
int getScaleBits () const
 Get scale bits. More...
 
int getRow () const
 Get row number. More...
 
rb_HitgetHit () const
 Get hit (pointer). More...
 
intListType getCut () const
 Get distance cut(s). More...
 
int getCut (int) const
 Get distance cut(s). More...
 
std::vector< intListTypegetSteps () const
 Get steps (distances of child to mother hypercube center). More...
 
int getStep (int, int) const
 Get step (distances of child to mother hypercube center projected on normal). More...
 

Private Attributes

int _scaleBits
 number of scale bits (2^(_scaleBits) = 1.0) More...
 
rb_Hit_hit
 pointers to hit More...
 
intListType _cut
 distance cut for maximal component More...
 
std::vector< intListType_steps
 steps (distance to childs projected on normal) More...
 

Detailed Description

Row based hyperplane.

Has hyperplane directions and hit (pointer). Used to check intersection with hypercubes. The distances to the childs (proected on the normal) and the corresponding cuts are stored as (scaled) integers.

Definition at line 154 of file RowBasedFastHoughTransformationProcessor.h.

Constructor & Destructor Documentation

◆ rb_HyperPlane()

marlintpc::rb_HyperPlane::rb_HyperPlane ( int  scaleBits,
rb_Hit hit,
directionsType dirList,
double  distCut = 0.75 
)

Construct row based hyperplane.

Parameters
[in]scaleBitsnumber of scale bits (2^(_scaleBits) = 1.0)
[in]hit(pointer to) hit
[in]dirListlist of directions (unit normals)
[in]distCutdistance cut (to hypercube center)

Definition at line 424 of file RowBasedFastHoughTransformationProcessor.cc.

References _cut, _scaleBits, and _steps.

Member Function Documentation

◆ getCut() [1/2]

intListType marlintpc::rb_HyperPlane::getCut ( ) const

Get distance cut(s).

Definition at line 466 of file RowBasedFastHoughTransformationProcessor.cc.

References _cut.

Referenced by marlintpc::rb_HyperCube::divide().

◆ getCut() [2/2]

int marlintpc::rb_HyperPlane::getCut ( int  idim) const

Get distance cut(s).

Definition at line 471 of file RowBasedFastHoughTransformationProcessor.cc.

References _cut.

◆ getHit()

rb_Hit * marlintpc::rb_HyperPlane::getHit ( ) const

Get hit (pointer).

Definition at line 461 of file RowBasedFastHoughTransformationProcessor.cc.

References _hit.

◆ getRow()

int marlintpc::rb_HyperPlane::getRow ( ) const

Get row number.

Definition at line 451 of file RowBasedFastHoughTransformationProcessor.cc.

References _hit, and marlintpc::rb_Hit::getRow().

Referenced by marlintpc::rb_HyperCube::divide().

◆ getScaleBits()

int marlintpc::rb_HyperPlane::getScaleBits ( ) const

Get scale bits.

Definition at line 456 of file RowBasedFastHoughTransformationProcessor.cc.

References _scaleBits.

◆ getStep()

int marlintpc::rb_HyperPlane::getStep ( int  idim,
int  b 
) const

Get step (distances of child to mother hypercube center projected on normal).

Definition at line 481 of file RowBasedFastHoughTransformationProcessor.cc.

References _steps.

Referenced by marlintpc::rb_HyperCube::divide().

◆ getSteps()

std::vector< intListType > marlintpc::rb_HyperPlane::getSteps ( ) const

Get steps (distances of child to mother hypercube center).

Definition at line 476 of file RowBasedFastHoughTransformationProcessor.cc.

References _steps.

◆ print()

void marlintpc::rb_HyperPlane::print ( ) const

Member Data Documentation

◆ _cut

intListType marlintpc::rb_HyperPlane::_cut
private

distance cut for maximal component

Definition at line 169 of file RowBasedFastHoughTransformationProcessor.h.

Referenced by getCut(), print(), and rb_HyperPlane().

◆ _hit

rb_Hit* marlintpc::rb_HyperPlane::_hit
private

pointers to hit

Definition at line 168 of file RowBasedFastHoughTransformationProcessor.h.

Referenced by getHit(), getRow(), and print().

◆ _scaleBits

int marlintpc::rb_HyperPlane::_scaleBits
private

number of scale bits (2^(_scaleBits) = 1.0)

Definition at line 167 of file RowBasedFastHoughTransformationProcessor.h.

Referenced by getScaleBits(), and rb_HyperPlane().

◆ _steps

std::vector<intListType> marlintpc::rb_HyperPlane::_steps
private

steps (distance to childs projected on normal)

Definition at line 170 of file RowBasedFastHoughTransformationProcessor.h.

Referenced by getStep(), getSteps(), and rb_HyperPlane().


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