CbmRoot
|
Test ellipse and circle fitting on toy model. More...
#include <CbmRichRingFitterQa.h>
Public Member Functions | |
CbmRichRingFitterQa () | |
Standard constructor. | |
virtual | ~CbmRichRingFitterQa () |
Destructor. | |
void | GenerateEllipse () |
Generate ellipse. | |
void | Draw (Option_t *="") |
Draw generated and fitted circle/ellipse. | |
Private Member Functions | |
void | CalculateFitErrors (CbmRichRingLight *ring, Double_t sigma, TMatrixD &cov) |
CbmRichRingFitterQa (const CbmRichRingFitterQa &) | |
Copy constructor. | |
CbmRichRingFitterQa & | operator= (const CbmRichRingFitterQa &) |
Assignment operator. | |
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 35 of file CbmRichRingFitterQa.h.
CbmRichRingFitterQa::CbmRichRingFitterQa | ( | ) |
Standard constructor.
Definition at line 31 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 pi.
|
virtual |
Destructor.
Definition at line 85 of file CbmRichRingFitterQa.cxx.
|
private |
Copy constructor.
|
private |
\Calculate errors of the fit.
Definition at line 210 of file CbmRichRingFitterQa.cxx.
References CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), CbmRichRingLight::GetRadius(), and sqrt().
Referenced by GenerateEllipse().
|
private |
void CbmRichRingFitterQa::Draw | ( | Option_t * | = "" | ) |
Draw generated and fitted circle/ellipse.
Definition at line 154 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 87 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(), CbmRichRingLight::SetXYABP(), and sin().
|
private |
Assignment operator.
|
private |
Definition at line 65 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 76 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 80 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 77 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 73 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 81 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 59 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 60 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().
|
private |
Definition at line 61 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 69 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 71 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().
|
private |
Definition at line 79 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 68 of file CbmRichRingFitterQa.h.
Referenced by CbmRichRingFitterQa(), Draw(), and GenerateEllipse().