CbmRoot
|
Implementation of a ring fitting algorithm with equation of a circle. Algorithm from F77 subroutine of S.Sadovsky. More...
#include <CbmRichRingFitterCircle.h>
Public Member Functions | |
CbmRichRingFitterCircle () | |
Default constructor. More... | |
virtual | ~CbmRichRingFitterCircle () |
Destructor. More... | |
void | DoFit (CbmRichRingLight *ring) |
Inherited from CbmRichRingFitterBase. More... | |
Protected Member Functions | |
virtual void | CalcChi2 (CbmRichRingLight *ring) |
Calculate chi2 for circle fitting algorithms. More... | |
Static Protected Attributes | |
static const int | MAX_NOF_HITS_IN_RING |
Implementation of a ring fitting algorithm with equation of a circle. Algorithm from F77 subroutine of S.Sadovsky.
Definition at line 25 of file CbmRichRingFitterCircle.h.
CbmRichRingFitterCircle::CbmRichRingFitterCircle | ( | ) |
Default constructor.
Definition at line 11 of file CbmRichRingFitterCircle.cxx.
|
virtual |
Destructor.
Definition at line 13 of file CbmRichRingFitterCircle.cxx.
|
inlineprotectedvirtualinherited |
Calculate chi2 for circle fitting algorithms.
[in,out] | ring | Fitted ring. |
Reimplemented in CbmRichRingFitterEllipseBase.
Definition at line 48 of file CbmRichRingFitterBase.h.
References d, CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), CbmRichRingLight::GetRadius(), i, CbmRichRingLight::SetChi2(), and sqrt().
Referenced by CbmRichRingFitterRobustCOP::DoFit(), CbmRichRingFitterTAU::DoFit(), and DoFit().
|
virtual |
Inherited from CbmRichRingFitterBase.
Implements CbmRichRingFitterBase.
Definition at line 15 of file CbmRichRingFitterCircle.cxx.
References CbmRichRingFitterBase::CalcChi2(), CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), CbmRichRingLight::SetCenterX(), CbmRichRingLight::SetCenterY(), CbmRichRingLight::SetRadius(), and sqrt().
|
staticprotectedinherited |
Definition at line 70 of file CbmRichRingFitterBase.h.
Referenced by CbmRichRingFitterEllipseTau::DoFit().