CbmRoot
CbmRichRingSelectImpl Class Reference

#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
 

Detailed Description

Author
Semen Lebedev
Date
2010

Definition at line 28 of file CbmRichRingSelectImpl.h.

Constructor & Destructor Documentation

◆ CbmRichRingSelectImpl()

CbmRichRingSelectImpl::CbmRichRingSelectImpl ( )
inline

Standard constructor.

Definition at line 36 of file CbmRichRingSelectImpl.h.

References fAlpha, fPhi, and kMAX_NOF_HITS.

◆ ~CbmRichRingSelectImpl()

CbmRichRingSelectImpl::~CbmRichRingSelectImpl ( )
inline

Destructor.

Definition at line 44 of file CbmRichRingSelectImpl.h.

Member Function Documentation

◆ GetAngle()

float CbmRichRingSelectImpl::GetAngle ( CbmRichRingLight ring)
inline

Calculates the sum of 3 biggest angles between neighboring hits.

Parameters
[in]ringFound 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().

◆ GetNofHitsOnRingCircle()

int CbmRichRingSelectImpl::GetNofHitsOnRingCircle ( CbmRichRingLight ring)
inline

Member Data Documentation

◆ fAlpha

std::vector<float> CbmRichRingSelectImpl::fAlpha
protected

Definition at line 113 of file CbmRichRingSelectImpl.h.

Referenced by CbmRichRingSelectImpl(), and GetAngle().

◆ fPhi

std::vector<float> CbmRichRingSelectImpl::fPhi
protected

Definition at line 114 of file CbmRichRingSelectImpl.h.

Referenced by CbmRichRingSelectImpl(), and GetAngle().

◆ kMAX_NOF_HITS

const int CbmRichRingSelectImpl::kMAX_NOF_HITS = 100
staticprivate

Definition at line 30 of file CbmRichRingSelectImpl.h.

Referenced by CbmRichRingSelectImpl(), and GetAngle().


The documentation for this class was generated from the following file: