ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
SampleConsensus::AtSampleConsensus Class Referencefinal

Perform a sample consensus on a cloud of AtHits. More...

#include <AtSampleConsensus.h>

Public Member Functions

 AtSampleConsensus ()
 
 AtSampleConsensus (Estimators estimator, PatternType patternType, SampleMethod sampleMethod)
 
AtPatternEvent Solve (AtEvent *event)
 See Solve(const std::vector<const AtHit *> &hitArray) More...
 
AtPatternEvent Solve (const std::vector< AtHit > &hitArray, AtBaseEvent *event=nullptr)
 See Solve(const std::vector<const AtHit *> &hitArray) More...
 
AtPatternEvent Solve (const std::vector< const AtHit * > &hitArray, AtBaseEvent *event=nullptr)
 
void SetRandomSample (AtSamplePtr mode)
 
void SetPatternType (PatternType type)
 
void SetEstimator (Estimators estimator)
 
void SetNumIterations (Int_t niterations)
 
void SetMinHitsPattern (Int_t nhits)
 
void SetDistanceThreshold (Float_t threshold)
 
void SetChargeThreshold (double value)
 
void SetFitPattern (bool val)
 

Detailed Description

Perform a sample consensus on a cloud of AtHits.

Construct a sample consensus using an estimator, pattern type, and method for randomly sampling AtHit cloud.

Definition at line 46 of file AtSampleConsensus.h.

Constructor & Destructor Documentation

◆ AtSampleConsensus() [1/2]

AtSampleConsensus::AtSampleConsensus ( )

Definition at line 22 of file AtSampleConsensus.cxx.

◆ AtSampleConsensus() [2/2]

AtSampleConsensus::AtSampleConsensus ( Estimators  estimator,
PatternType  patternType,
SampleMethod  sampleMethod 
)

Definition at line 27 of file AtSampleConsensus.cxx.

Member Function Documentation

◆ SetChargeThreshold()

void SampleConsensus::AtSampleConsensus::SetChargeThreshold ( double  value)
inline

Definition at line 88 of file AtSampleConsensus.h.

◆ SetDistanceThreshold()

void SampleConsensus::AtSampleConsensus::SetDistanceThreshold ( Float_t  threshold)
inline

Definition at line 87 of file AtSampleConsensus.h.

◆ SetEstimator()

void SampleConsensus::AtSampleConsensus::SetEstimator ( Estimators  estimator)
inline

Definition at line 83 of file AtSampleConsensus.h.

◆ SetFitPattern()

void SampleConsensus::AtSampleConsensus::SetFitPattern ( bool  val)
inline

Definition at line 89 of file AtSampleConsensus.h.

◆ SetMinHitsPattern()

void SampleConsensus::AtSampleConsensus::SetMinHitsPattern ( Int_t  nhits)
inline

Definition at line 86 of file AtSampleConsensus.h.

◆ SetNumIterations()

void SampleConsensus::AtSampleConsensus::SetNumIterations ( Int_t  niterations)
inline

Definition at line 85 of file AtSampleConsensus.h.

◆ SetPatternType()

void SampleConsensus::AtSampleConsensus::SetPatternType ( PatternType  type)
inline

Definition at line 82 of file AtSampleConsensus.h.

◆ SetRandomSample()

void SampleConsensus::AtSampleConsensus::SetRandomSample ( AtSamplePtr  mode)
inline

Definition at line 81 of file AtSampleConsensus.h.

◆ Solve() [1/3]

AtPatternEvent AtSampleConsensus::Solve ( AtEvent event)

See Solve(const std::vector<const AtHit *> &hitArray)

Definition at line 60 of file AtSampleConsensus.cxx.

◆ Solve() [2/3]

AtPatternEvent AtSampleConsensus::Solve ( const std::vector< AtHit > &  hitArray,
AtBaseEvent event = nullptr 
)

See Solve(const std::vector<const AtHit *> &hitArray)

Definition at line 66 of file AtSampleConsensus.cxx.

◆ Solve() [3/3]

AtPatternEvent AtSampleConsensus::Solve ( const std::vector< const AtHit * > &  hitArray,
AtBaseEvent event = nullptr 
)

Definition at line 72 of file AtSampleConsensus.cxx.


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