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. | |
virtual | ~CbmRichRingFitterBase () |
Destructor. | |
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. | |
Protected Member Functions | |
virtual void | CalcChi2 (CbmRichRingLight *ring) |
Calculate chi2 for circle fitting algorithms. | |
Static Protected Attributes | |
static const int | MAX_NOF_HITS_IN_RING = 400 |
Abstract base class for concrete Rich Ring fitting algorithms. Each derived class must implement the method DoFit.
Definition at line 27 of file CbmRichRingFitterBase.h.
|
inline |
Default constructor.
Definition at line 32 of file CbmRichRingFitterBase.h.
|
inlinevirtual |
Destructor.
Definition at line 37 of file CbmRichRingFitterBase.h.
|
inlineprotectedvirtual |
Calculate chi2 for circle fitting algorithms.
[in,out] | ring | Fitted ring. |
Reimplemented in CbmRichRingFitterEllipseBase.
Definition at line 52 of file CbmRichRingFitterBase.h.
References CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), CbmRichRingLight::GetRadius(), CbmRichRingLight::SetChi2(), and sqrt().
Referenced by CbmRichRingFitterCircle::DoFit(), CbmRichRingFitterRobustCOP::DoFit(), CbmRichRingFitterTAU::DoFit(), and CbmRichRingFitterCOP::FitRing().
|
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 CbmRichRingFitterCircle, CbmRichRingFitterCOP, CbmRichRingFitterEllipseMinuit, CbmRichRingFitterEllipseTau, CbmRichRingFitterRobustCOP, and CbmRichRingFitterTAU.
Referenced by CbmRichReconstruction::RunFitter(), and CbmRichReconstruction::RunFitter().
|
staticprotected |
Definition at line 75 of file CbmRichRingFitterBase.h.
Referenced by CbmRichRingFitterEllipseTau::DoFit(), and CbmRichRingFitterCOP::FitRing().