CbmRoot
|
#include <CbmRichRingSelectImpl.h>
Public Member Functions | |
CbmRichRingSelectImpl () | |
Standard constructor. More... | |
~CbmRichRingSelectImpl () | |
Destructor. More... | |
int | GetNofHitsOnRingCircle (CbmRichRingLight *ring) |
float | GetAngle (CbmRichRingLight *ring) |
Protected Attributes | |
std::vector< float > | fAlpha |
std::vector< float > | fPhi |
Static Private Attributes | |
static const int | kMAX_NOF_HITS = 100 |
Definition at line 28 of file CbmRichRingSelectImpl.h.
|
inline |
Standard constructor.
Definition at line 36 of file CbmRichRingSelectImpl.h.
References fAlpha, fPhi, and kMAX_NOF_HITS.
|
inline |
Destructor.
Definition at line 44 of file CbmRichRingSelectImpl.h.
|
inline |
Calculates the sum of 3 biggest angles between neighboring hits.
[in] | ring | Found and fitted ring. |
Definition at line 67 of file CbmRichRingSelectImpl.h.
References fabs(), fAlpha, fPhi, CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), i, kMAX_NOF_HITS, and xMath::Pi().
Referenced by CbmRichTrainAnnSelect::DiffFakeTrueCircle(), and CbmRichRingSelectAnn::DoSelect().
|
inline |
Calculates number of hits on a ring.
[in] | ring | Found and fitted ring. |
Definition at line 50 of file CbmRichRingSelectImpl.h.
References f, CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), CbmRichRingLight::GetRadius(), and sqrt().
Referenced by CbmRichTrainAnnSelect::DiffFakeTrueCircle(), and CbmRichRingSelectAnn::DoSelect().
|
protected |
Definition at line 113 of file CbmRichRingSelectImpl.h.
Referenced by CbmRichRingSelectImpl(), and GetAngle().
|
protected |
Definition at line 114 of file CbmRichRingSelectImpl.h.
Referenced by CbmRichRingSelectImpl(), and GetAngle().
|
staticprivate |
Definition at line 30 of file CbmRichRingSelectImpl.h.
Referenced by CbmRichRingSelectImpl(), and GetAngle().