EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmRichRingFitterEllipseBase Class Reference

Base class for concrete ellipse fitting algorithms. Each derived class must implement the method DoFit. More...

#include <EicRoot/blob/master/rich/fitter/CbmRichRingFitterEllipseBase.h>

+ Inheritance diagram for CbmRichRingFitterEllipseBase:
+ Collaboration diagram for CbmRichRingFitterEllipseBase:

Public Member Functions

 CbmRichRingFitterEllipseBase ()
 Default constructor.
 
virtual ~CbmRichRingFitterEllipseBase ()
 Destructor.
 
- Public Member Functions inherited from CbmRichRingFitterBase
 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 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.
 

Additional Inherited Members

- Static Protected Attributes inherited from CbmRichRingFitterBase
static const int MAX_NOF_HITS_IN_RING = 400
 

Detailed Description

Base class for concrete ellipse fitting algorithms. Each derived class must implement the method DoFit.

Author
Semen Lebedev s.leb.nosp@m.edev.nosp@m.@gsi..nosp@m.de
Date
2011

Definition at line 25 of file CbmRichRingFitterEllipseBase.h.

View newest version in sPHENIX GitHub at line 25 of file CbmRichRingFitterEllipseBase.h

Constructor & Destructor Documentation

CbmRichRingFitterEllipseBase::CbmRichRingFitterEllipseBase ( )
inline

Default constructor.

Definition at line 30 of file CbmRichRingFitterEllipseBase.h.

View newest version in sPHENIX GitHub at line 30 of file CbmRichRingFitterEllipseBase.h

virtual CbmRichRingFitterEllipseBase::~CbmRichRingFitterEllipseBase ( )
inlinevirtual

Destructor.

Definition at line 35 of file CbmRichRingFitterEllipseBase.h.

View newest version in sPHENIX GitHub at line 35 of file CbmRichRingFitterEllipseBase.h

Member Function Documentation

virtual void CbmRichRingFitterEllipseBase::CalcChi2 ( CbmRichRingLight ring)
inlineprotectedvirtual

Calculate chi2 of the ellipse fit.

Parameters
[in,out]ringFitted RICH ring with ellipse fitter.

Reimplemented from CbmRichRingFitterBase.

Definition at line 43 of file CbmRichRingFitterEllipseBase.h.

View newest version in sPHENIX GitHub 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(), CbmRichRingLight::SetChi2(), x, and y.

Referenced by CbmRichRingFitterEllipseTau::DoFit(), CbmRichRingFitterEllipseMinuit::DoFit(), and CbmRichRingFitterEllipseTau::TransformEllipse().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void CbmRichRingFitterEllipseBase::CalcChi2 ( double  A,
double  B,
double  C,
double  D,
double  E,
double  F,
CbmRichRingLight ring 
)
inlineprotectedvirtual

Calculate chi2 of the ellipse fitting using parameters of 2D curve.

Parameters
[in]AA parameter of curve.
[in]BB parameter of curve.
[in]CC parameter of curve.
[in]DD parameter of curve.
[in]EE parameter of curve.
[in]FF parameter of curve.
[in]ringFitted RICH ring with ellipse fitter.

Definition at line 90 of file CbmRichRingFitterEllipseBase.h.

View newest version in sPHENIX GitHub at line 90 of file CbmRichRingFitterEllipseBase.h

References CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), CbmRichRingLight::SetChi2(), x, and y.

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: