LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin Class Reference

Public Member Functions

 AccumulatorBin ()
 A utility class used to accumulate the above values. More...
 
 AccumulatorBin (AccumulatorValues &values)
 
void setVisited ()
 
void setNoise ()
 
void setInCluster ()
 
void addAccumulatorValue (AccumulatorValues &value)
 
bool isVisited () const
 
bool isNoise () const
 
bool isInCluster () const
 
const AccumulatorValuesVecgetAccumulatorValues () const
 

Private Attributes

bool m_visited
 
bool m_noise
 
bool m_inCluster
 
AccumulatorValuesVec m_accumulatorValuesVec
 

Detailed Description

Definition at line 100 of file HoughSeedFinderAlg.cxx.

Constructor & Destructor Documentation

lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::AccumulatorBin ( )
inline

A utility class used to accumulate the above values.

One of these objects will exist for each "bin" in rho-theta space and this will be used to accumulate the 3D hits which contribute to this bin

Definition at line 108 of file HoughSeedFinderAlg.cxx.

lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::AccumulatorBin ( AccumulatorValues values)
inline

Definition at line 109 of file HoughSeedFinderAlg.cxx.

109  : m_visited(false), m_noise(false), m_inCluster(false)
110  {
111  m_accumulatorValuesVec.push_back(values);
112  }
decltype(auto) values(Coll &&coll)
Range-for loop helper iterating across the values of the specified collection.

Member Function Documentation

void lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::addAccumulatorValue ( AccumulatorValues value)
inline

Definition at line 118 of file HoughSeedFinderAlg.cxx.

118 { m_accumulatorValuesVec.push_back(value); }
double value
Definition: spectrum.C:18
const AccumulatorValuesVec& lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::getAccumulatorValues ( ) const
inline

Definition at line 124 of file HoughSeedFinderAlg.cxx.

bool lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::isInCluster ( ) const
inline
bool lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::isNoise ( ) const
inline
bool lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::isVisited ( ) const
inline
void lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::setInCluster ( )
inline
void lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::setNoise ( )
inline
void lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::setVisited ( )
inline

Member Data Documentation

AccumulatorValuesVec lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::m_accumulatorValuesVec
private

Definition at line 130 of file HoughSeedFinderAlg.cxx.

bool lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::m_inCluster
private

Definition at line 129 of file HoughSeedFinderAlg.cxx.

bool lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::m_noise
private

Definition at line 128 of file HoughSeedFinderAlg.cxx.

bool lar_cluster3d::HoughSeedFinderAlg::AccumulatorBin::m_visited
private

Definition at line 127 of file HoughSeedFinderAlg.cxx.


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