Project
Loading...
Searching...
No Matches
o2::its::math_utils Namespace Reference

Functions

 GPUhdi () float computePhi(float x
 
 if (o2::gpu::CAMath::Abs(d)< o2::its::constants::Tolerance)
 
return *k1 *k2 *y1 y3 k2 *x1 x2 k1 *x2 x3 (k2 - k1)
 
 return (z1 - z2)/d
 

Variables

float y
 
float y1
 
float float x2
 
float float float y2
 
float float float float x3
 
float float float float float y3
 
const float a
 
const float b
 
const float den = o2::gpu::CAMath::Hypot(d * x1 - a, d * y1 - b)
 
const float k1 = (y2 - y1) / dx21
 
const float k2 = (y3 - y2) / dx32
 
float float float float z1
 
float float float float float z2
 
float p
 
float float xX0
 

Function Documentation

◆ GPUhdi()

o2::its::math_utils::GPUhdi ( )

Definition at line 38 of file MathUtils.h.

◆ if()

o2::its::math_utils::if ( )

Definition at line 48 of file MathUtils.h.

◆ return()

o2::its::math_utils::return ( z1 z2)

◆ x3()

return *k1 *k2 *y1 y3 k2 *x1 x2 k1 *x2 o2::its::math_utils::x3 ( k2 k1)

Variable Documentation

◆ a

const float o2::its::math_utils::a
Initial value:
=
0.5f * ((y3 - y2) * (y2 * y2 - y1 * y1 + x2 * x2 - x1 * x1) - (y2 - y1) * (y3 * y3 - y2 * y2 + x3 * x3 - x2 * x2))
GLuint GLfloat GLfloat GLfloat GLfloat y1
Definition glcorearb.h:5034
GLuint GLfloat GLfloat GLfloat x1
Definition glcorearb.h:5034
float float float float float y3
Definition MathUtils.h:45
float float float y2
Definition MathUtils.h:44

Definition at line 51 of file MathUtils.h.

◆ b

float o2::its::math_utils::b
Initial value:
=
0.5f * ((x2 - x1) * (y3 * y3 - y2 * y2 + x3 * x3 - x2 * x2) - (x3 - x2) * (y2 * y2 - y1 * y1 + x2 * x2 - x1 * x1))
float float x2
Definition MathUtils.h:44
float float float float x3
Definition MathUtils.h:44

Definition at line 53 of file MathUtils.h.

◆ den

return d o2::its::math_utils::den = o2::gpu::CAMath::Hypot(d * x1 - a, d * y1 - b)

Definition at line 55 of file MathUtils.h.

◆ k1

const float o2::its::math_utils::k1 = (y2 - y1) / dx21

Definition at line 72 of file MathUtils.h.

◆ k2

const float o2::its::math_utils::k2 = (y3 - y2) / dx32

Definition at line 72 of file MathUtils.h.

◆ p

float o2::its::math_utils::p

Definition at line 99 of file MathUtils.h.

◆ x2

float float o2::its::math_utils::x2

Definition at line 44 of file MathUtils.h.

◆ x3

float float float float o2::its::math_utils::x3

Definition at line 44 of file MathUtils.h.

◆ xX0

float float o2::its::math_utils::xX0
Initial value:
{
float beta = p / o2::gpu::CAMath::Hypot(mass, p)

Definition at line 99 of file MathUtils.h.

◆ y

float o2::its::math_utils::y
Initial value:
{
return o2::math_utils::fastATan2(-y, -x) + o2::constants::math::PI
GLint GLenum GLint x
Definition glcorearb.h:403
constexpr float PI

Definition at line 28 of file MathUtils.h.

◆ y1

float o2::its::math_utils::y1

Definition at line 44 of file MathUtils.h.

◆ y2

float float float o2::its::math_utils::y2

Definition at line 44 of file MathUtils.h.

◆ y3

float float float float float o2::its::math_utils::y3
Initial value:
{
const float d = (x2 - x1) * (y3 - y2) - (x3 - x2) * (y2 - y1)

Definition at line 44 of file MathUtils.h.

◆ z1

float float float float o2::its::math_utils::z1

Definition at line 79 of file MathUtils.h.

◆ z2

float float float float float o2::its::math_utils::z2
Initial value:
{
const float d = o2::gpu::CAMath::Hypot(x1 - x2, y1 - y2)

Definition at line 79 of file MathUtils.h.