CbmRoot
Loading...
Searching...
No Matches
CbmRichRingFitterQa.h
Go to the documentation of this file.
1/* Copyright (C) 2009-2016 UGiessen/JINR-LIT, Giessen/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Semen Lebedev [committer] */
4
14#ifndef CBM_RICH_RING_FITTER_QA
15#define CBM_RICH_RING_FITTER_QA
16
17#include "TMatrixD.h"
18#include "TObject.h"
19
20#include <vector>
21class TH1D;
23//class TMatrixD;
24
25using std::vector;
26
35class CbmRichRingFitterQa : public TObject {
36 public:
41
45 virtual ~CbmRichRingFitterQa();
46
50 void GenerateEllipse();
51
55 void Draw(Option_t* = "");
56
57 private:
58 // ellipse fitting algorithm, errors
59 TH1D* fhErrorA;
60 TH1D* fhErrorB;
61 TH1D* fhErrorX;
62 TH1D* fhErrorY;
64 // ellipse fitting algorithm, parameters
65 TH1D* fhA;
66 TH1D* fhB;
67 TH1D* fhX;
68 TH1D* fhY;
69 TH1D* fhPhi;
70 // circle fitting algorithm, errors
74 // circle fitting algorithm, parameters
75 TH1D* fhRadius;
78 // circle fitting algorithm, pools
82
86 void CalculateFitErrors(CbmRichRingLight* ring, Double_t sigma, TMatrixD& cov);
87
92
97
99};
100#endif
Test ellipse and circle fitting on toy model.
CbmRichRingFitterQa()
Standard constructor.
void GenerateEllipse()
Generate ellipse.
void Draw(Option_t *="")
Draw generated and fitted circle/ellipse.
virtual ~CbmRichRingFitterQa()
Destructor.
CbmRichRingFitterQa(const CbmRichRingFitterQa &)
Copy constructor.
void CalculateFitErrors(CbmRichRingLight *ring, Double_t sigma, TMatrixD &cov)
CbmRichRingFitterQa & operator=(const CbmRichRingFitterQa &)
Assignment operator.
ClassDef(CbmRichRingFitterQa, 1)