Project
Loading...
Searching...
No Matches
o2::its::LineFit Class Reference

#include <ClusterLines.h>

Inherited by o2::its::ClusterLines.

Public Member Functions

 GPUhdi () bool add(const Line &line)
 Accumulate one line.
 
 GPUhdi () bool solve(float vertex[3]) const
 Solve the symmetric 3x3 system into vertex (= -A^-1 B); false if it is singular.
 
 GPUhdi () void computeClusterCentroid()
 Solve into the stored vertex, setting the validity flag.
 
 GPUhdi () bool isValid() const noexcept
 
 GPUhdi () const float *getVertex() const noexcept
 
 GPUhdi () int getSize() const noexcept
 
 GPUhdi () int getNContributors() const noexcept
 
 GPUhdi () const TimeEstBC &getTimeStamp() const noexcept
 
 GPUhdi () float getR2() const noexcept
 
 GPUhdi () float getR() const noexcept
 
 GPUhdi () const float *getRMS2() const noexcept
 
 GPUhdi () float getAvgDistance2() const noexcept
 

Protected Attributes

double mA [6] = {0., 0., 0., 0., 0., 0.}
 
double mB [3] = {0., 0., 0.}
 
float mVertex [3] = {0.f, 0.f, 0.f}
 
float mRMS2 [6] = {0.f, 0.f, 0.f, 0.f, 0.f, 0.f}
 
float mAvgDistance2 = 0.f
 
int mNContributors = 0
 
bool mIsValid = false
 
TimeEstBC mTime
 

Detailed Description

Normal equations AX = -B of the point closest to a set of lines, and their solution. Base of the sequential fit (ClusterLines) and of the device warp-parallel fit (WarpFit), which only differ in how they accumulate.

Definition at line 148 of file ClusterLines.h.

Member Function Documentation

◆ GPUhdi() [1/12]

o2::its::LineFit::GPUhdi ( ) const &
inline

Accumulate one line.

Definition at line 152 of file ClusterLines.h.

◆ GPUhdi() [2/12]

o2::its::LineFit::GPUhdi ( ) const
inlinenoexcept

Definition at line 199 of file ClusterLines.h.

◆ GPUhdi() [3/12]

o2::its::LineFit::GPUhdi ( ) const
inline

Solve the symmetric 3x3 system into vertex (= -A^-1 B); false if it is singular.

Definition at line 174 of file ClusterLines.h.

◆ GPUhdi() [4/12]

o2::its::LineFit::GPUhdi ( ) const
inlinenoexcept

Definition at line 206 of file ClusterLines.h.

◆ GPUhdi() [5/12]

o2::its::LineFit::GPUhdi ( ) const
inlinenoexcept

Definition at line 200 of file ClusterLines.h.

◆ GPUhdi() [6/12]

o2::its::LineFit::GPUhdi ( ) const &
inlinenoexcept

Definition at line 203 of file ClusterLines.h.

◆ GPUhdi() [7/12]

o2::its::LineFit::GPUhdi ( ) const
inlinenoexcept

Definition at line 207 of file ClusterLines.h.

◆ GPUhdi() [8/12]

o2::its::LineFit::GPUhdi ( ) const
inlinenoexcept

Definition at line 205 of file ClusterLines.h.

◆ GPUhdi() [9/12]

o2::its::LineFit::GPUhdi ( ) const
inlinenoexcept

Definition at line 204 of file ClusterLines.h.

◆ GPUhdi() [10/12]

o2::its::LineFit::GPUhdi ( ) const
inlinenoexcept

Definition at line 202 of file ClusterLines.h.

◆ GPUhdi() [11/12]

o2::its::LineFit::GPUhdi ( ) const
inlinenoexcept

Definition at line 201 of file ClusterLines.h.

◆ GPUhdi() [12/12]

o2::its::LineFit::GPUhdi ( )
inline

Solve into the stored vertex, setting the validity flag.

Definition at line 197 of file ClusterLines.h.

Member Data Documentation

◆ mA

double o2::its::LineFit::mA[6] = {0., 0., 0., 0., 0., 0.}
protected

Definition at line 210 of file ClusterLines.h.

◆ mAvgDistance2

float o2::its::LineFit::mAvgDistance2 = 0.f
protected

Definition at line 214 of file ClusterLines.h.

◆ mB

double o2::its::LineFit::mB[3] = {0., 0., 0.}
protected

Definition at line 211 of file ClusterLines.h.

◆ mIsValid

bool o2::its::LineFit::mIsValid = false
protected

Definition at line 216 of file ClusterLines.h.

◆ mNContributors

int o2::its::LineFit::mNContributors = 0
protected

Definition at line 215 of file ClusterLines.h.

◆ mRMS2

float o2::its::LineFit::mRMS2[6] = {0.f, 0.f, 0.f, 0.f, 0.f, 0.f}
protected

Definition at line 213 of file ClusterLines.h.

◆ mTime

TimeEstBC o2::its::LineFit::mTime
protected

Definition at line 217 of file ClusterLines.h.

◆ mVertex

float o2::its::LineFit::mVertex[3] = {0.f, 0.f, 0.f}
protected

Definition at line 212 of file ClusterLines.h.


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