CbmRoot
Loading...
Searching...
No Matches
CbmRichRingSelectImpl Class Reference

#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
 

Detailed Description

Author
Semen Lebedev
Date
2010

Definition at line 32 of file CbmRichRingSelectImpl.h.

Constructor & Destructor Documentation

◆ CbmRichRingSelectImpl()

CbmRichRingSelectImpl::CbmRichRingSelectImpl ( )
inline

Standard constructor.

Definition at line 40 of file CbmRichRingSelectImpl.h.

References fAlpha, fPhi, and kMAX_NOF_HITS.

◆ ~CbmRichRingSelectImpl()

CbmRichRingSelectImpl::~CbmRichRingSelectImpl ( )
inline

Destructor.

Definition at line 49 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 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().

◆ GetNofHitsOnRingCircle()

int CbmRichRingSelectImpl::GetNofHitsOnRingCircle ( CbmRichRingLight * ring)
inline

Member Data Documentation

◆ fAlpha

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

Definition at line 123 of file CbmRichRingSelectImpl.h.

Referenced by CbmRichRingSelectImpl(), and GetAngle().

◆ fPhi

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

Definition at line 124 of file CbmRichRingSelectImpl.h.

Referenced by CbmRichRingSelectImpl(), and GetAngle().

◆ kMAX_NOF_HITS

const int CbmRichRingSelectImpl::kMAX_NOF_HITS = 100
staticprivate

Definition at line 34 of file CbmRichRingSelectImpl.h.

Referenced by CbmRichRingSelectImpl(), and GetAngle().


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