CbmRoot
|
Main class for ring finder based on Hough Transform implementation. More...
#include <CbmRichRingFinderHough.h>
Public Member Functions | |
CbmRichRingFinderHough () | |
Standard constructor. | |
virtual | ~CbmRichRingFinderHough () |
Destructor. | |
virtual void | Init () |
Inherited from CbmRichRingFinder. | |
virtual Int_t | DoFind (CbmEvent *event, TClonesArray *rHitArray, TClonesArray *rProjArray, TClonesArray *rRingArray) |
Inherited from CbmRichRingFinder. | |
void | SetUseAnnSelect (bool use) |
void | SetUseSubdivide (bool use) |
Private Member Functions | |
void | AddRingsToOutputArray (CbmEvent *event, TClonesArray *rRingArray, TClonesArray *rHitArray, const vector< CbmRichRingLight * > &rings) |
Add found rings to the output TClonesArray. | |
CbmRichRingFinderHough (const CbmRichRingFinderHough &) | |
Copy constructor. | |
CbmRichRingFinderHough & | operator= (const CbmRichRingFinderHough &) |
Assignment operator. | |
ClassDef (CbmRichRingFinder, 1) | |
Private Attributes | |
Int_t | fEventNum = 0 |
Bool_t | fUseAnnSelect = true |
Bool_t | fUseSubdivide = true |
CbmRichRingFinderHoughImpl * | fHTImpl = nullptr |
Main class for ring finder based on Hough Transform implementation.
Definition at line 39 of file CbmRichRingFinderHough.h.
CbmRichRingFinderHough::CbmRichRingFinderHough | ( | ) |
|
virtual |
|
private |
Copy constructor.
|
private |
Add found rings to the output TClonesArray.
[out] | rRingArray | Output array of CbmRichRing. |
[in] | rHitArray | Array of CbmRichHit. |
[in] | rings | Found rings. |
Definition at line 130 of file CbmRichRingFinderHough.cxx.
References CbmRichRing::AddHit(), CbmHit::GetTime(), kRichRing, rings, and CbmRichRing::SetTime().
Referenced by DoFind().
|
privateinherited |
|
virtual |
Inherited from CbmRichRingFinder.
Implements CbmRichRingFinder.
Definition at line 50 of file CbmRichRingFinderHough.cxx.
References AddRingsToOutputArray(), CbmRichRingFinderHoughImpl::DoFind(), fEventNum, CbmRichHoughHit::fHit, fHTImpl, CbmRichHitLight::fId, CbmRichHoughHit::fIsUsed, CbmRichHoughHit::fTime, fUseSubdivide, CbmRichHitLight::fX, CbmRichHoughHit::fX2plusY2, CbmRichHitLight::fY, CbmRichRingFinderHoughImpl::GetFoundRings(), CbmRichHit::GetIsNoiseNN(), CbmHit::GetTime(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), kRichHit, kRichRing, and CbmRichRingFinderHoughImpl::SetData().
|
virtual |
Inherited from CbmRichRingFinder.
Reimplemented from CbmRichRingFinder.
Definition at line 42 of file CbmRichRingFinderHough.cxx.
References fHTImpl, fUseAnnSelect, CbmRichRingFinderHoughImpl::Init(), and CbmRichRingFinderHoughImpl::SetUseAnnSelect().
|
private |
Assignment operator.
|
inline |
Definition at line 62 of file CbmRichRingFinderHough.h.
References fUseAnnSelect.
|
inline |
Definition at line 63 of file CbmRichRingFinderHough.h.
References fUseSubdivide.
|
private |
Definition at line 66 of file CbmRichRingFinderHough.h.
Referenced by DoFind().
|
private |
Definition at line 72 of file CbmRichRingFinderHough.h.
Referenced by CbmRichRingFinderHough(), DoFind(), Init(), and ~CbmRichRingFinderHough().
|
private |
Definition at line 67 of file CbmRichRingFinderHough.h.
Referenced by Init(), and SetUseAnnSelect().
|
private |
Definition at line 68 of file CbmRichRingFinderHough.h.
Referenced by DoFind(), and SetUseSubdivide().