CbmRoot
|
#include <CbmRichRingSelectImpl.h>
Public Member Functions | |
CbmRichRingSelectImpl () | |
Standard constructor. | |
~CbmRichRingSelectImpl () | |
Destructor. | |
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 32 of file CbmRichRingSelectImpl.h.
|
inline |
Standard constructor.
Definition at line 40 of file CbmRichRingSelectImpl.h.
References fAlpha, fPhi, and kMAX_NOF_HITS.
|
inline |
Destructor.
Definition at line 49 of file CbmRichRingSelectImpl.h.
|
inline |
Calculates the sum of 3 biggest angles between neighboring hits.
[in] | ring | Found and fitted ring. |
Definition at line 73 of file CbmRichRingSelectImpl.h.
References fAlpha, fPhi, CbmRichHitLight::fX, CbmRichHitLight::fY, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmRichRingLight::GetHit(), CbmRichRingLight::GetNofHits(), and kMAX_NOF_HITS.
Referenced by CbmRichTrainAnnSelect::DiffFakeTrueCircle(), and CbmRichRingSelectAnn::DoSelect().
|
inline |
Calculates number of hits on a ring.
[in] | ring | Found and fitted ring. |
Definition at line 55 of file CbmRichRingSelectImpl.h.
References 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 123 of file CbmRichRingSelectImpl.h.
Referenced by CbmRichRingSelectImpl(), and GetAngle().
|
protected |
Definition at line 124 of file CbmRichRingSelectImpl.h.
Referenced by CbmRichRingSelectImpl(), and GetAngle().
|
staticprivate |
Definition at line 34 of file CbmRichRingSelectImpl.h.
Referenced by CbmRichRingSelectImpl(), and GetAngle().