CbmRoot
CbmRichRingFitterQa.h
Go to the documentation of this file.
1 
10 #ifndef CBM_RICH_RING_FITTER_QA
11 #define CBM_RICH_RING_FITTER_QA
12 
13 #include "TMatrixD.h"
14 #include "TObject.h"
15 #include <vector>
16 class TH1D;
17 class CbmRichRingLight;
18 //class TMatrixD;
19 
20 using std::vector;
21 
30 class CbmRichRingFitterQa : public TObject {
31 public:
36 
40  virtual ~CbmRichRingFitterQa();
41 
45  void GenerateEllipse();
46 
50  void Draw(Option_t* = "");
51 
52 private:
53  // ellipse fitting algorithm, errors
54  TH1D* fhErrorA;
55  TH1D* fhErrorB;
56  TH1D* fhErrorX;
57  TH1D* fhErrorY;
58  TH1D* fhErrorPhi;
59  // ellipse fitting algorithm, parameters
60  TH1D* fhA;
61  TH1D* fhB;
62  TH1D* fhX;
63  TH1D* fhY;
64  TH1D* fhPhi;
65  // circle fitting algorithm, errors
66  TH1D* fhRadiusErr;
69  // circle fitting algorithm, parameters
70  TH1D* fhRadius;
71  TH1D* fhCircleXc;
72  TH1D* fhCircleYc;
73  // circle fitting algorithm, pools
74  TH1D* fhRadiusPool;
77 
81  void
82  CalculateFitErrors(CbmRichRingLight* ring, Double_t sigma, TMatrixD& cov);
83 
88 
93 
95 };
96 #endif
CbmRichRingFitterQa
Test ellipse and circle fitting on toy model.
Definition: CbmRichRingFitterQa.h:30
CbmRichRingFitterQa::fhErrorA
TH1D * fhErrorA
Definition: CbmRichRingFitterQa.h:54
CbmRichRingFitterQa::fhY
TH1D * fhY
Definition: CbmRichRingFitterQa.h:63
CbmRichRingFitterQa::ClassDef
ClassDef(CbmRichRingFitterQa, 1)
CbmRichRingFitterQa::fhErrorY
TH1D * fhErrorY
Definition: CbmRichRingFitterQa.h:57
CbmRichRingFitterQa::fhRadius
TH1D * fhRadius
Definition: CbmRichRingFitterQa.h:70
CbmRichRingFitterQa::fhA
TH1D * fhA
Definition: CbmRichRingFitterQa.h:60
CbmRichRingFitterQa::GenerateEllipse
void GenerateEllipse()
Generate ellipse.
Definition: CbmRichRingFitterQa.cxx:95
CbmRichRingFitterQa::fhCircleYcErr
TH1D * fhCircleYcErr
Definition: CbmRichRingFitterQa.h:68
CbmRichRingFitterQa::fhErrorB
TH1D * fhErrorB
Definition: CbmRichRingFitterQa.h:55
CbmRichRingFitterQa::fhCircleXc
TH1D * fhCircleXc
Definition: CbmRichRingFitterQa.h:71
CbmRichRingFitterQa::Draw
void Draw(Option_t *="")
Draw generated and fitted circle/ellipse.
Definition: CbmRichRingFitterQa.cxx:162
CbmRichRingFitterQa::fhErrorX
TH1D * fhErrorX
Definition: CbmRichRingFitterQa.h:56
CbmRichRingFitterQa::fhPhi
TH1D * fhPhi
Definition: CbmRichRingFitterQa.h:64
CbmRichRingFitterQa::fhX
TH1D * fhX
Definition: CbmRichRingFitterQa.h:62
CbmRichRingFitterQa::fhErrorPhi
TH1D * fhErrorPhi
Definition: CbmRichRingFitterQa.h:58
CbmRichRingFitterQa::fhCircleYc
TH1D * fhCircleYc
Definition: CbmRichRingFitterQa.h:72
CbmRichRingFitterQa::fhCircleXcErr
TH1D * fhCircleXcErr
Definition: CbmRichRingFitterQa.h:67
CbmRichRingFitterQa::operator=
CbmRichRingFitterQa & operator=(const CbmRichRingFitterQa &)
Assignment operator.
CbmRichRingFitterQa::CalculateFitErrors
void CalculateFitErrors(CbmRichRingLight *ring, Double_t sigma, TMatrixD &cov)
Definition: CbmRichRingFitterQa.cxx:220
CbmRichRingFitterQa::fhB
TH1D * fhB
Definition: CbmRichRingFitterQa.h:61
CbmRichRingFitterQa::fhCircleXcPool
TH1D * fhCircleXcPool
Definition: CbmRichRingFitterQa.h:75
CbmRichRingFitterQa::fhRadiusPool
TH1D * fhRadiusPool
Definition: CbmRichRingFitterQa.h:74
CbmRichRingFitterQa::fhRadiusErr
TH1D * fhRadiusErr
Definition: CbmRichRingFitterQa.h:66
CbmRichRingFitterQa::CbmRichRingFitterQa
CbmRichRingFitterQa()
Standard constructor.
Definition: CbmRichRingFitterQa.cxx:27
CbmRichRingFitterQa::CbmRichRingFitterQa
CbmRichRingFitterQa(const CbmRichRingFitterQa &)
Copy constructor.
CbmRichRingFitterQa::~CbmRichRingFitterQa
virtual ~CbmRichRingFitterQa()
Destructor.
Definition: CbmRichRingFitterQa.cxx:93
CbmRichRingLight
Definition: CbmRichRingLight.h:39
CbmRichRingFitterQa::fhCircleYcPool
TH1D * fhCircleYcPool
Definition: CbmRichRingFitterQa.h:76