ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Classes | |
class | AtEstimator |
class | AtSampleConsensus |
Perform a sample consensus on a cloud of AtHits. More... | |
Enumerations | |
enum | Estimators { Estimators::kRANSAC, Estimators::kLMedS, Estimators::kMLESAC, Estimators::kWRANSAC, Estimators::kChi2, Estimators::kYRANSAC } |
Estimators for AtSampleConsensus. More... | |
Functions | |
int | EvaluateRansac (AtPatterns::AtPattern *model, const std::vector< const AtHit * > &hitArray, double distanceThreshold) |
Implementation of RANSAC estimator. More... | |
int | EvaluateYRansac (AtPatterns::AtPattern *model, const std::vector< const AtHit * > &hitArray, double distanceThreshold) |
Implementation of RANSAC estimator ignoring beam component of y. More... | |
int | EvaluateChi2 (AtPatterns::AtPattern *model, const std::vector< const AtHit * > &hitArray, double distanceThreshold) |
Implementation of estimator that minimizes chi2. More... | |
int | EvaluateMlesac (AtPatterns::AtPattern *model, const std::vector< const AtHit * > &hitArray, double distanceThreshold) |
Implementation of MLESAC estimator. More... | |
int | EvaluateLmeds (AtPatterns::AtPattern *model, const std::vector< const AtHit * > &hitArray, double distanceThreshold) |
Implementation of LMedS estimator. More... | |
int | EvaluateWeightedRansac (AtPatterns::AtPattern *model, const std::vector< const AtHit * > &hitArray, double distanceThreshold) |
Implementation of RANSAC estimator using charge weighting. More... | |
int SampleConsensus::EvaluateChi2 | ( | AtPatterns::AtPattern * | model, |
const std::vector< const AtHit * > & | hitArray, | ||
double | distanceThreshold | ||
) |
Implementation of estimator that minimizes chi2.
Used to minimize avg(error^2) for all inliers.
Definition at line 13 of file AtEstimatorMethods.cxx.
int SampleConsensus::EvaluateLmeds | ( | AtPatterns::AtPattern * | model, |
const std::vector< const AtHit * > & | hitArray, | ||
double | distanceThreshold | ||
) |
Implementation of LMedS estimator.
Definition at line 126 of file AtEstimatorMethods.cxx.
int SampleConsensus::EvaluateMlesac | ( | AtPatterns::AtPattern * | model, |
const std::vector< const AtHit * > & | hitArray, | ||
double | distanceThreshold | ||
) |
Implementation of MLESAC estimator.
Definition at line 68 of file AtEstimatorMethods.cxx.
int SampleConsensus::EvaluateRansac | ( | AtPatterns::AtPattern * | model, |
const std::vector< const AtHit * > & | hitArray, | ||
double | distanceThreshold | ||
) |
Implementation of RANSAC estimator.
Maximizes the number of inliers.
Definition at line 31 of file AtEstimatorMethods.cxx.
int SampleConsensus::EvaluateWeightedRansac | ( | AtPatterns::AtPattern * | model, |
const std::vector< const AtHit * > & | hitArray, | ||
double | distanceThreshold | ||
) |
Implementation of RANSAC estimator using charge weighting.
Definition at line 142 of file AtEstimatorMethods.cxx.
int SampleConsensus::EvaluateYRansac | ( | AtPatterns::AtPattern * | model, |
const std::vector< const AtHit * > & | hitArray, | ||
double | distanceThreshold | ||
) |
Implementation of RANSAC estimator ignoring beam component of y.
Maximizes the number of inliers on the non-beam rays of the Y pattern.
Definition at line 47 of file AtEstimatorMethods.cxx.