CbmRoot
CbmRichRingFinderHough.h
Go to the documentation of this file.
1 
10 #ifndef CBM_RICH_RING_FINDER_HOUGH
11 #define CBM_RICH_RING_FINDER_HOUGH
12 
13 #include "CbmRichRingFinder.h"
14 #include <vector>
15 
18 class CbmRichRing;
19 class CbmRichRingLight;
20 
21 #define HOUGH_SERIAL
22 //#define HOUGH_SIMD
23 
24 using std::vector;
25 
35 protected:
36  Int_t fNEvent; // event number
37  Int_t fRingCount; // number of found rings
38 
39 // choose between serial and SIMD implementation of the ring finder
40 #ifdef HOUGH_SERIAL
42 #endif
43 
44 #ifdef HOUGH_SIMD
46 #endif
47 
48 public:
53 
57  virtual ~CbmRichRingFinderHough();
58 
62  virtual void Init();
63 
67  virtual Int_t DoFind(TClonesArray* rHitArray,
68  TClonesArray* rProjArray,
69  TClonesArray* rRingArray);
70 
71  void SetUseAnnSelect(bool use) { fUseAnnSelect = use; }
72 
73 private:
81  void AddRingsToOutputArray(TClonesArray* rRingArray,
82  TClonesArray* rHitArray,
83  const vector<CbmRichRingLight*>& rings);
84 
89 
94 };
95 
96 #endif
CbmRichRingFinderHough::SetUseAnnSelect
void SetUseAnnSelect(bool use)
Definition: CbmRichRingFinderHough.h:71
CbmRichRingFinder.h
CbmRichRingFinderHough::DoFind
virtual Int_t DoFind(TClonesArray *rHitArray, TClonesArray *rProjArray, TClonesArray *rRingArray)
Inherited from CbmRichRingFinder.
Definition: CbmRichRingFinderHough.cxx:43
CbmRichRing
Definition: CbmRichRing.h:17
CbmRichRingFinderHough::fNEvent
Int_t fNEvent
Definition: CbmRichRingFinderHough.h:36
CbmRichRingFinderHough
Main class for ring finder based on Hough Transform implementation.
Definition: CbmRichRingFinderHough.h:34
CbmRichRingFinderHough::CbmRichRingFinderHough
CbmRichRingFinderHough(const CbmRichRingFinderHough &)
Copy constructor.
CbmRichRingFinderHough::fUseAnnSelect
bool fUseAnnSelect
Definition: CbmRichRingFinderHough.h:74
CbmRichRingFinderHoughSimd
SIMDized ring finder based on Hough Transform method.
Definition: CbmRichRingFinderHoughSimd.h:34
CbmRichRingFinderHough::fRingCount
Int_t fRingCount
Definition: CbmRichRingFinderHough.h:37
CbmRichRingFinderHough::fHTImpl
CbmRichRingFinderHoughImpl * fHTImpl
Definition: CbmRichRingFinderHough.h:41
CbmRichRingFinderHough::~CbmRichRingFinderHough
virtual ~CbmRichRingFinderHough()
Destructor.
Definition: CbmRichRingFinderHough.cxx:41
CbmRichRingFinderHough::operator=
CbmRichRingFinderHough & operator=(const CbmRichRingFinderHough &)
Assignment operator.
CbmRichRingFinderHough::CbmRichRingFinderHough
CbmRichRingFinderHough()
Standard constructor.
Definition: CbmRichRingFinderHough.cxx:25
CbmRichRingFinder
Definition: CbmRichRingFinder.h:32
CbmRichRingFinderHoughImpl
Ring finder implementation based on Hough Transform method.
Definition: CbmRichRingFinderHoughImpl.h:33
CbmRichRingFinderHough::Init
virtual void Init()
Inherited from CbmRichRingFinder.
Definition: CbmRichRingFinderHough.cxx:36
CbmRichRingLight
Definition: CbmRichRingLight.h:39
CbmRichRingFinderHough::AddRingsToOutputArray
void AddRingsToOutputArray(TClonesArray *rRingArray, TClonesArray *rHitArray, const vector< CbmRichRingLight * > &rings)
Add found rings to the output TClonesArray.
Definition: CbmRichRingFinderHough.cxx:125
rings
TClonesArray * rings
Definition: Analyze_matching.h:21