CbmRoot
|
Here the ring is fitted with the COP algorithm from A. Ayriyan/G. Ososkov. More...
#include <CbmRichRingFitterCOP.h>
Public Member Functions | |
CbmRichRingFitterCOP () | |
Standard constructor. More... | |
~CbmRichRingFitterCOP () | |
Destructor. More... | |
virtual void | DoFit (CbmRichRingLight *ring) |
Inherited from CbmRichRingFitterBase. More... | |
Protected Member Functions | |
virtual void | CalcChi2 (CbmRichRingLight *ring) |
Calculate chi2 for circle fitting algorithms. More... | |
Static Protected Attributes | |
static const int | MAX_NOF_HITS_IN_RING |
Private Member Functions | |
void | FitRing (CbmRichRingLight *ring) |
Execute ring fitting algorithm. More... | |
Here the ring is fitted with the COP algorithm from A. Ayriyan/G. Ososkov.
Definition at line 28 of file CbmRichRingFitterCOP.h.
CbmRichRingFitterCOP::CbmRichRingFitterCOP | ( | ) |
Standard constructor.
Definition at line 15 of file CbmRichRingFitterCOP.cxx.
CbmRichRingFitterCOP::~CbmRichRingFitterCOP | ( | ) |
Destructor.
Definition at line 17 of file CbmRichRingFitterCOP.cxx.
|
inlineprotectedvirtualinherited |
Calculate chi2 for circle fitting algorithms.
[in,out] | ring | Fitted ring. |
Reimplemented in CbmRichRingFitterEllipseBase.
Definition at line 48 of file CbmRichRingFitterBase.h.
References d, CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), CbmRichRingLight::GetRadius(), i, CbmRichRingLight::SetChi2(), and sqrt().
Referenced by CbmRichRingFitterRobustCOP::DoFit(), CbmRichRingFitterTAU::DoFit(), and CbmRichRingFitterCircle::DoFit().
|
virtual |
Inherited from CbmRichRingFitterBase.
Implements CbmRichRingFitterBase.
Definition at line 19 of file CbmRichRingFitterCOP.cxx.
Referenced by CbmRichAlignment::CalculateAnglesAndDrawDistrib(), CbmRichCorrectionVector::CalculateAnglesAndDrawDistrib(), CbmRichTrainAnnSelect::DiffFakeTrueCircle(), CbmRichMirrorSortingAlignment::Exec(), CbmRichMirrorSortingCorrection::Exec(), CbmRichCorrection::FillHistProjection(), CbmRichCorrectionVector::FillHistProjection(), CbmRichRingFinderHoughImpl::FindPeak(), CbmRichGeoTest::FitAndFillHistCircle(), CbmRichRingFitterQa::GenerateEllipse(), and CbmRichPMTMapping::ProjectionProducer2().
|
private |
Execute ring fitting algorithm.
[in,out] | ring | RICH ring to be fitted. |
Definition at line 21 of file CbmRichRingFitterCOP.cxx.
References fabs(), CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), i, CbmRichRingLight::SetCenterX(), CbmRichRingLight::SetCenterY(), CbmRichRingLight::SetRadius(), and sqrt().
|
staticprotectedinherited |
Definition at line 70 of file CbmRichRingFitterBase.h.
Referenced by CbmRichRingFitterEllipseTau::DoFit().