7 #ifndef ATSAMPLECONSENSUS_H
8 #define ATSAMPLECONSENSUS_H
52 using PatternPtr = std::unique_ptr<AtPattern>;
53 using AtSamplePtr = std::unique_ptr<RandomSample::AtSample>;
57 AtSamplePtr fRandSampler;
59 float fIterations{500};
60 float fMinPatternPoints{30};
61 float fDistanceThreshold{15};
62 bool fFitPattern{
true};
69 double fChargeThres{-1};
92 PatternPtr GeneratePatternFromHits(
const std::vector<const AtHit *> &hitArray);
93 std::vector<const AtHit *> movePointsInPattern(AtPattern *pattern, std::vector<const AtHit *> &indexes);
95 AtTrack CreateTrack(AtPattern *pattern, std::vector<const AtHit *> &indexes);