8 #ifndef HoughFinder2DAlgo_H_ 9 #define HoughFinder2DAlgo_H_ 21 #include "algorithm/Algorithm.h" 95 int GetVotingIndex(
float R,
float Theta);
101 std::pair<float, float> GetRTheta(
int votingIndex);
107 template <RefFrame::View T>
void FindTracks(
const HFClusters &clusters);
134 template <RefFrame::View T>
void FillVotingSpace(
const HFClusters &clusters);
139 void RemoveFromVotingSpace(
const Cluster &cluster);
142 int FindCandidateTrack();
145 std::vector<HoughTrackStub> AccumulateVotes(
int votingIndex);
148 void SearchVotes(
int votingIndex, std::vector<int> &vIndexes);
151 std::pair<bool, HFCluster> FindClusterFromSeedIndex(
const HFClusters &clColl,
unsigned int clID);
154 std::pair<float, float> GetAvRTheta(
const std::vector<HoughTrackStub> &votes);
157 void BuildTrackFromVotes(std::vector<HoughTrackStub> &votes,
const HFClusters &clusters);
161 std::tuple<StkClustersColl, ScdClustersColl, FitClustersColl>
162 FillClusterCollections(
const std::vector<HoughTrackStub> &votes,
const HFClusters &clColl);
std::vector< Track2D > _trackColl
Definition: HoughFinder2DAlgo.h:170
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
DetectorType
Definition: HFCluster.h:23
std::unordered_map< int, std::vector< HoughTrackStub > > _votingSpace
Definition: HoughFinder2DAlgo.h:165
Finds tracks from a collection of 2D hits.
Definition: HoughFinder2DAlgo.h:63
Tracker cluster object for transient data model.
Definition: Cluster.h:30
std::vector< std::vector< HFCluster > > HFClusters
Definition: HoughFinder2DAlgo.h:61
void ClearVotingSpace()
Definition: HoughFinder2DAlgo.h:130
HFClusters _clXY
Definition: HoughFinder2DAlgo.h:117
EA::observer_ptr< ScdGeoParamsColl > _scdGeoParamsColl
Definition: HoughFinder2DAlgo.h:168
EA::observer_ptr< FitGeoParamsColl > _fitGeoParamsColl
Definition: HoughFinder2DAlgo.h:169
float _RMax
Definition: HoughFinder2DAlgo.h:112
EA::observer_ptr< StkGeoParamsColl > _stkGeoParamsColl
Definition: HoughFinder2DAlgo.h:167
HFClusters _clYZ
Definition: HoughFinder2DAlgo.h:116
HFClusters _clXZ
Definition: HoughFinder2DAlgo.h:115
unsigned int _nRDiv
Definition: HoughFinder2DAlgo.h:111
Collection of containers for the clusters of all the FIT detectors.
Definition: FitClustersColl.h:23
unsigned int _nThetaDiv
Definition: HoughFinder2DAlgo.h:110
unsigned int _nVotes
Definition: HoughFinder2DAlgo.h:113
StorePtr _globStore
Definition: HoughFinder2DAlgo.h:171
StorePtr _evStore
Definition: HoughFinder2DAlgo.h:172