EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmRichRingFitterQa.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CbmRichRingFitterQa.h
1 
10 #ifndef CBM_RICH_RING_FITTER_QA
11 #define CBM_RICH_RING_FITTER_QA
12 
13 #include "TObject.h"
14 #include <vector>
15 #include "TMatrixD.h"
16 class TH1D;
17 class CbmRichRingLight;
18 //class TMatrixD;
19 
20 using std::vector;
21 
31 {
32 public:
33 
38 
42  virtual ~CbmRichRingFitterQa();
43 
47  void GenerateEllipse();
48 
52  void Draw();
53 
54 private:
55  // ellipse fitting algorithm, errors
56  TH1D* fhErrorA;
57  TH1D* fhErrorB;
58  TH1D* fhErrorX;
59  TH1D* fhErrorY;
60  TH1D* fhErrorPhi;
61  // ellipse fitting algorithm, parameters
62  TH1D* fhA;
63  TH1D* fhB;
64  TH1D* fhX;
65  TH1D* fhY;
66  TH1D* fhPhi;
67  // circle fitting algorithm, errors
68  TH1D* fhRadiusErr;
71  // circle fitting algorithm, parameters
72  TH1D* fhRadius;
73  TH1D* fhCircleXc;
74  TH1D* fhCircleYc;
75  // circle fitting algorithm, pools
76  TH1D* fhRadiusPool;
79 
83  void CalculateFitErrors(
84  CbmRichRingLight* ring,
85  Double_t sigma,
86  TMatrixD& cov);
87 
92 
97 
99 };
100 #endif