CbmRoot
Loading...
Searching...
No Matches
CbmRichRingFinderHough.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2021 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Semen Lebedev [committer] */
4
13
14#ifndef CBM_RICH_RING_FINDER_HOUGH
15#define CBM_RICH_RING_FINDER_HOUGH
16
17#include "CbmRichRingFinder.h"
18
19#include <vector>
20
23class CbmRichRing;
25
26#define HOUGH_SERIAL
27//#define HOUGH_SIMD
28
29using std::vector;
30
40
41 public:
46
51
55 virtual void Init();
56
60 virtual Int_t DoFind(CbmEvent* event, TClonesArray* rHitArray, TClonesArray* rProjArray, TClonesArray* rRingArray);
61
62 void SetUseAnnSelect(bool use) { fUseAnnSelect = use; }
63 void SetUseSubdivide(bool use) { fUseSubdivide = use; }
64
65 private:
69
70// choose between serial and SIMD implementation of the ring finder
71#ifdef HOUGH_SERIAL
73#endif
74
75#ifdef HOUGH_SIMD
77#endif
78
85 void AddRingsToOutputArray(CbmEvent* event, TClonesArray* rRingArray, TClonesArray* rHitArray,
87
92
97};
98
99#endif
TClonesArray * rings
int Int_t
bool Bool_t
Class characterising one event by a collection of links (indices) to data objects,...
Definition CbmEvent.h:34
Ring finder implementation based on Hough Transform method.
SIMDized ring finder based on Hough Transform method.
virtual void Init()
Inherited from CbmRichRingFinder.
CbmRichRingFinderHough()
Standard constructor.
CbmRichRingFinderHough & operator=(const CbmRichRingFinderHough &)
Assignment operator.
CbmRichRingFinderHough(const CbmRichRingFinderHough &)
Copy constructor.
virtual ~CbmRichRingFinderHough()
Destructor.
void AddRingsToOutputArray(CbmEvent *event, TClonesArray *rRingArray, TClonesArray *rHitArray, const vector< CbmRichRingLight * > &rings)
Add found rings to the output TClonesArray.
CbmRichRingFinderHoughImpl * fHTImpl
virtual Int_t DoFind(CbmEvent *event, TClonesArray *rHitArray, TClonesArray *rProjArray, TClonesArray *rRingArray)
Inherited from CbmRichRingFinder.