Base class for concrete ellipse fitting algorithms. Each derived class must implement the method DoFit. More...
#include <CbmRichRingFitterEllipseBase.h>
Public Member Functions | |
CbmRichRingFitterEllipseBase () | |
Default constructor. | |
virtual | ~CbmRichRingFitterEllipseBase () |
Destructor. | |
CbmRichRingFitterEllipseBase () | |
Default constructor. | |
virtual | ~CbmRichRingFitterEllipseBase () |
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. | |
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 of the ellipse fit. | |
virtual void | CalcChi2 (double A, double B, double C, double D, double E, double F, CbmRichRingLight *ring) |
Calculate chi2 of the ellipse fitting using parameters of 2D curve. | |
virtual void | CalcChi2 (CbmRichRingLight *ring) |
Calculate chi2 of the ellipse fit. | |
virtual void | CalcChi2 (double A, double B, double C, double D, double E, double F, CbmRichRingLight *ring) |
Calculate chi2 of the ellipse fitting using parameters of 2D curve. | |
Static Protected Attributes | |
static const int | MAX_NOF_HITS_IN_RING = 400 |
Base class for concrete ellipse fitting algorithms. Each derived class must implement the method DoFit.
Definition at line 25 of file CbmRichRingFitterEllipseBase.h.
CbmRichRingFitterEllipseBase::CbmRichRingFitterEllipseBase | ( | ) | [inline] |
Default constructor.
Definition at line 30 of file CbmRichRingFitterEllipseBase.h.
virtual CbmRichRingFitterEllipseBase::~CbmRichRingFitterEllipseBase | ( | ) | [inline, virtual] |
Destructor.
Definition at line 35 of file CbmRichRingFitterEllipseBase.h.
CbmRichRingFitterEllipseBase::CbmRichRingFitterEllipseBase | ( | ) | [inline] |
Default constructor.
Definition at line 30 of file CbmRichRingFitterEllipseBase.h.
virtual CbmRichRingFitterEllipseBase::~CbmRichRingFitterEllipseBase | ( | ) | [inline, virtual] |
Destructor.
Definition at line 35 of file CbmRichRingFitterEllipseBase.h.
virtual void CbmRichRingFitterEllipseBase::CalcChi2 | ( | CbmRichRingLight * | ring | ) | [inline, protected, virtual] |
Calculate chi2 of the ellipse fit.
[in,out] | ring | Fitted RICH ring with ellipse fitter. |
Reimplemented from CbmRichRingFitterBase.
Definition at line 43 of file CbmRichRingFitterEllipseBase.h.
References CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetAaxis(), CbmRichRingLight::GetBaxis(), CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), CbmRichRingLight::GetXF1(), CbmRichRingLight::GetXF2(), CbmRichRingLight::GetYF1(), CbmRichRingLight::GetYF2(), and CbmRichRingLight::SetChi2().
Referenced by CbmRichRingFitterEllipseTau::DoFit(), and CbmRichRingFitterEllipseTau::TransformEllipse().
virtual void CbmRichRingFitterEllipseBase::CalcChi2 | ( | double | A, | |
double | B, | |||
double | C, | |||
double | D, | |||
double | E, | |||
double | F, | |||
CbmRichRingLight * | ring | |||
) | [inline, protected, virtual] |
Calculate chi2 of the ellipse fitting using parameters of 2D curve.
[in] | A | A parameter of curve. |
[in] | B | B parameter of curve. |
[in] | C | C parameter of curve. |
[in] | D | D parameter of curve. |
[in] | E | E parameter of curve. |
[in] | F | F parameter of curve. |
[in] | ring | Fitted RICH ring with ellipse fitter. |
Definition at line 90 of file CbmRichRingFitterEllipseBase.h.
References CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), and CbmRichRingLight::SetChi2().
virtual void CbmRichRingFitterEllipseBase::CalcChi2 | ( | double | A, | |
double | B, | |||
double | C, | |||
double | D, | |||
double | E, | |||
double | F, | |||
CbmRichRingLight * | ring | |||
) | [inline, protected, virtual] |
Calculate chi2 of the ellipse fitting using parameters of 2D curve.
[in] | A | A parameter of curve. |
[in] | B | B parameter of curve. |
[in] | C | C parameter of curve. |
[in] | D | D parameter of curve. |
[in] | E | E parameter of curve. |
[in] | F | F parameter of curve. |
[in] | ring | Fitted RICH ring with ellipse fitter. |
Definition at line 90 of file CbmRichRingFitterEllipseBase.h.
References CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), and CbmRichRingLight::SetChi2().
virtual void CbmRichRingFitterEllipseBase::CalcChi2 | ( | CbmRichRingLight * | ring | ) | [inline, protected, virtual] |
Calculate chi2 of the ellipse fit.
[in,out] | ring | Fitted RICH ring with ellipse fitter. |
Reimplemented from CbmRichRingFitterBase.
Definition at line 43 of file CbmRichRingFitterEllipseBase.h.
References CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetAaxis(), CbmRichRingLight::GetBaxis(), CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), CbmRichRingLight::GetXF1(), CbmRichRingLight::GetXF2(), CbmRichRingLight::GetYF1(), CbmRichRingLight::GetYF2(), and CbmRichRingLight::SetChi2().
virtual void CbmRichRingFitterBase::DoFit | ( | CbmRichRingLight * | ring | ) | [pure virtual, inherited] |
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 CbmRichRingFitterCOP, CbmRichRingFitterEllipseTau, CbmRichRingFitterCOP, and CbmRichRingFitterEllipseTau.
virtual void CbmRichRingFitterBase::DoFit | ( | CbmRichRingLight * | ring | ) | [pure virtual, inherited] |
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 CbmRichRingFitterCOP, CbmRichRingFitterEllipseTau, CbmRichRingFitterCOP, and CbmRichRingFitterEllipseTau.
static const int CbmRichRingFitterBase::MAX_NOF_HITS_IN_RING = 400 [static, protected, inherited] |
Definition at line 76 of file CbmRichRingFitterBase.h.
Referenced by CbmRichRingFitterCOP::FitRing().