CbmRoot
|
Abstract base class for concrete Rich Ring fitting algorithms. Each derived class must implement the method DoFit. More...
#include <CbmRichRingFitterBase.h>
Public Member Functions | |
CbmRichRingFitterBase () | |
Default constructor. More... | |
virtual | ~CbmRichRingFitterBase () |
Destructor. More... | |
virtual void | DoFit (CbmRichRingLight *ring)=0 |
Abstract method DoFit. To be implemented in the concrete class. Perform a fit to the hits attached to the ring by a ring finder. Fill the ring parameters member variables. 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 |
Abstract base class for concrete Rich Ring fitting algorithms. Each derived class must implement the method DoFit.
Definition at line 23 of file CbmRichRingFitterBase.h.
|
inline |
Default constructor.
Definition at line 28 of file CbmRichRingFitterBase.h.
|
inlinevirtual |
Destructor.
Definition at line 33 of file CbmRichRingFitterBase.h.
|
inlineprotectedvirtual |
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 CbmRichRingFitterCircle::DoFit().
|
pure virtual |
Abstract method DoFit. To be implemented in the concrete class. Perform a fit to the hits attached to the ring by a ring finder. Fill the ring parameters member variables.
[in,out] | ring | Pointer to CbmRichRingLight |
Implemented in CbmRichRingFitterEllipseMinuit, CbmRichRingFitterEllipseTau, CbmRichRingFitterCOP, CbmRichRingFitterCircle, CbmRichRingFitterTAU, and CbmRichRingFitterRobustCOP.
Referenced by CbmRichReconstruction::RunFitter().
|
staticprotected |
Definition at line 70 of file CbmRichRingFitterBase.h.
Referenced by CbmRichRingFitterEllipseTau::DoFit().