Go to the documentation of this file.
10 #ifndef CBM_RICH_RING_FINDER_HOUGH_IMPL
11 #define CBM_RICH_RING_FINDER_HOUGH_IMPL
84 vector<vector<unsigned int>>
139 virtual void HoughTransform(
unsigned int indmin,
unsigned int indmax);
155 void FindPeak(
int indmin,
int indmax);
197 void SetData(
const vector<CbmRichHoughHit>& data) {
int GetHitIndexById(unsigned int hitId)
Return hit indez in the internal Array.
vector< vector< unsigned int > > fHitInd
Implementation for concrete RICH ring selection algorithm: reject rings using a trained neural net (i...
virtual void HoughTransformReconstruction()
Run HT for each hit.
virtual void HoughTransform(unsigned int indmin, unsigned int indmax)
Run HoughTransformGroup for each group of hits.
CbmRichRingSelectAnn * fANNSelect
void RemoveHitsAroundRing(int indmin, int indmax, CbmRichRingLight *ring)
Set fIsUsed flag to true for hits attached to the ring.
void ReAssignSharedHits(int ringInd1, int ringInd2)
Reassign shared hits from two rings to only one of the rings.
void SetParameters()
Set parameters of the algorithm.
CbmRichRingFinderHoughImpl()
Standard constructor.
Here the ring is fitted with the COP algorithm from A. Ayriyan/G. Ososkov.
unsigned short fMinNofHitsInArea
void SetUseAnnSelect(bool use)
unsigned short fNofBinsXY
virtual void DefineLocalAreaAndHits(float x0, float y0, int *indmin, int *indmax)
Find hits in a local area.
virtual void HoughTransformGroup(unsigned int indmin, unsigned int indmax, int iPart)
virtual ~CbmRichRingFinderHoughImpl()
Distructor.
vector< unsigned short > fHist
void FindPeak(int indmin, int indmax)
vector< unsigned short > fHistR
void SetData(const vector< CbmRichHoughHit > &data)
Set array of hits.
vector< CbmRichRingLight * > fFoundRings
void DoFind()
Start point to run algorithm.
void CalculateRingParameters(float x[], float y[], float *xc, float *yc, float *r)
Calculate circle center and radius.
CbmRichRingFinderHoughImpl & operator=(const CbmRichRingFinderHoughImpl &)
Assignment operator.
CbmRichRingFitterCOP * fFitCOP
Ring finder implementation based on Hough Transform method.
void RingSelection()
Ring selection procedure.
static const unsigned short MAX_NOF_HITS
vector< CbmRichHoughHit > fData
CbmRichRingFinderHoughImpl(const CbmRichRingFinderHoughImpl &)
Copy constructor.
vector< CbmRichRingLight * > & GetFoundRings()
Return vector of found rings.