CbmRoot
|
Test ellipse and circle fitting on toy model. More...
#include <CbmRichRingFitterQa.h>
Public Member Functions | |
CbmRichRingFitterQa () | |
Standard constructor. More... | |
virtual | ~CbmRichRingFitterQa () |
Destructor. More... | |
void | GenerateEllipse () |
Generate ellipse. More... | |
void | Draw (Option_t *="") |
Draw generated and fitted circle/ellipse. More... | |
Private Member Functions | |
void | CalculateFitErrors (CbmRichRingLight *ring, Double_t sigma, TMatrixD &cov) |
CbmRichRingFitterQa (const CbmRichRingFitterQa &) | |
Copy constructor. More... | |
CbmRichRingFitterQa & | operator= (const CbmRichRingFitterQa &) |
Assignment operator. More... | |
ClassDef (CbmRichRingFitterQa, 1) | |
Private Attributes | |
TH1D * | fhErrorA |
TH1D * | fhErrorB |
TH1D * | fhErrorX |
TH1D * | fhErrorY |
TH1D * | fhErrorPhi |
TH1D * | fhA |
TH1D * | fhB |
TH1D * | fhX |
TH1D * | fhY |
TH1D * | fhPhi |
TH1D * | fhRadiusErr |
TH1D * | fhCircleXcErr |
TH1D * | fhCircleYcErr |
TH1D * | fhRadius |
TH1D * | fhCircleXc |
TH1D * | fhCircleYc |
TH1D * | fhRadiusPool |
TH1D * | fhCircleXcPool |
TH1D * | fhCircleYcPool |
Test ellipse and circle fitting on toy model.
Definition at line 30 of file CbmRichRingFitterQa.h.
CbmRichRingFitterQa::CbmRichRingFitterQa | ( | ) |
Standard constructor.
Definition at line 27 of file CbmRichRingFitterQa.cxx.
References fhA, fhB, fhCircleXc, fhCircleXcErr, fhCircleXcPool, fhCircleYc, fhCircleYcErr, fhCircleYcPool, fhErrorA, fhErrorB, fhErrorPhi, fhErrorX, fhErrorY, fhPhi, fhRadius, fhRadiusErr, fhRadiusPool, fhX, fhY, and xMath::Pi().
|
virtual |
Destructor.
Definition at line 93 of file CbmRichRingFitterQa.cxx.
|
private |
Copy constructor.
|
private |
\Calculate errors of the fit.
Definition at line 220 of file CbmRichRingFitterQa.cxx.
References CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), CbmRichRingLight::GetRadius(), i, and sqrt().
Referenced by GenerateEllipse().
|
private |
void CbmRichRingFitterQa::Draw | ( | Option_t * | = "" | ) |
Draw generated and fitted circle/ellipse.
Definition at line 162 of file CbmRichRingFitterQa.cxx.
References fhA, fhB, fhCircleXc, fhCircleXcErr, fhCircleXcPool, fhCircleYc, fhCircleYcErr, fhCircleYcPool, fhErrorA, fhErrorB, fhErrorPhi, fhErrorX, fhErrorY, fhPhi, fhRadius, fhRadiusErr, fhRadiusPool, fhX, and fhY.
Referenced by GenerateEllipse().
void CbmRichRingFitterQa::GenerateEllipse | ( | ) |
Generate ellipse.
Definition at line 95 of file CbmRichRingFitterQa.cxx.
References CbmRichRingLight::AddHit(), CalculateFitErrors(), cos(), CbmRichRingFitterCOP::DoFit(), CbmRichRingFitterEllipseTau::DoFit(), Draw(), fhA, fhB, fhCircleXc, fhCircleXcErr, fhCircleXcPool, fhCircleYc, fhCircleYcErr, fhCircleYcPool, fhErrorA, fhErrorB, fhErrorPhi, fhErrorX, fhErrorY, fhPhi, fhRadius, fhRadiusErr, fhRadiusPool, fhX, fhY, CbmRichRingLight::GetAaxis(), CbmRichRingLight::GetBaxis(), CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmRichRingLight::GetPhi(), CbmRichRingLight::GetRadius(), xMath::Pi(), CbmRichRingLight::SetXYABP(), sin(), and sqrt().
|
private |
Assignment operator.
|
private |
Definition at line 60 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 61 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 71 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 67 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 75 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 72 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 68 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 76 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 54 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 55 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 58 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 56 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 57 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 64 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 70 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 66 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 74 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 62 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 63 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().