EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmRichRingFinderHough.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CbmRichRingFinderHough.h
1 
10 #ifndef CBM_RICH_RING_FINDER_HOUGH
11 #define CBM_RICH_RING_FINDER_HOUGH
12 
13 #include "CbmRichRingFinder.h"
14 #include <vector>
15 
16 #include <TClonesArray.h>
17 
20 class CbmRichRing;
21 class CbmRichRingLight;
22 
23 #define HOUGH_SERIAL
24 //#define HOUGH_SIMD
25 
26 using std::vector;
27 
37 {
38 protected:
39  Int_t fNEvent; // event number
40  Int_t fRingCount; // number of found rings
41 
42 // choose between serial and SIMD implementation of the ring finder
43 #ifdef HOUGH_SERIAL
45 #endif
46 
47 #ifdef HOUGH_SIMD
49 #endif
50 
51 public:
52 
57 
61  virtual ~CbmRichRingFinderHough();
62 
66  virtual void Init();
67 
71  virtual Int_t DoFind(
72  TClonesArray* rHitArray,
73  TClonesArray* rProjArray,
74  TClonesArray* rRingArray);
75 
76 private:
83  TClonesArray *rRingArray,
84  const vector<CbmRichRingLight*>& rings);
85 
90 
95 };
96 
97 #endif