CbmRoot
|
Here the ring is fitted with the TAU algorithm from A. Ayriyan/ G. Ososkov. More...
#include <CbmRichRingFitterTAU.h>
Public Member Functions | |
CbmRichRingFitterTAU () | |
Default constructor. More... | |
virtual | ~CbmRichRingFitterTAU () |
Destructor. More... | |
virtual 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 |
Private Attributes | |
int | fRobust |
Here the ring is fitted with the TAU algorithm from A. Ayriyan/ G. Ososkov.
Definition at line 24 of file CbmRichRingFitterTAU.h.
CbmRichRingFitterTAU::CbmRichRingFitterTAU | ( | ) |
Default constructor.
Definition at line 20 of file CbmRichRingFitterTAU.cxx.
|
virtual |
Destructor.
Definition at line 22 of file CbmRichRingFitterTAU.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(), DoFit(), and CbmRichRingFitterCircle::DoFit().
|
virtual |
Inherited from CbmRichRingFitterBase.
Tukey's weight function
Optimal weight function
Implements CbmRichRingFitterBase.
Definition at line 24 of file CbmRichRingFitterTAU.cxx.
References CbmRichRingFitterBase::CalcChi2(), d, exp(), fabs(), fRobust, CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), i, CbmRichRingLight::SetCenterX(), CbmRichRingLight::SetCenterY(), CbmRichRingLight::SetRadius(), sqrt(), x, and y.
|
private |
Definition at line 42 of file CbmRichRingFitterTAU.h.
Referenced by DoFit().
|
staticprotectedinherited |
Definition at line 70 of file CbmRichRingFitterBase.h.
Referenced by CbmRichRingFitterEllipseTau::DoFit().