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

Functions

 GPUhdi () float computePhi(float x
 
 if (o2::gpu::CAMath::Abs(area)< constants::Tolerance)
 
return farea (d1 *d2 *d3)
 
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 dx1 = x2 - x1
 
const float dy1 = y2 - y1
 
const float dx2 = x3 - x2
 
const float dy2 = y3 - y2
 
const float dx3 = x1 - x3
 
const float dy3 = y1 - y3
 
const float d1 = o2::gpu::CAMath::Sqrt((dx1 * dx1) + (dy1 * dy1))
 
const float d2 = o2::gpu::CAMath::Sqrt((dx2 * dx2) + (dy2 * dy2))
 
const float d3 = o2::gpu::CAMath::Sqrt((dx3 * dx3) + (dy3 * dy3))
 
const float k1 = (y2 - y1) / dx21
 
const float k2 = (y3 - y2) / dx32
 
float float float float z1
 
float float float float float z2
 
float b
 
float w
 
float v
 
float p
 
float float xX0
 

Function Documentation

◆ area()

return f * o2::its::math_utils::area ( d1 *d2 d3)

◆ 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

◆ b

float o2::its::math_utils::b
Initial value:
{
return o2::gpu::CAMath::Remainderf(b - a, o2::constants::math::TwoPI)
GLboolean GLboolean GLboolean b
Definition glcorearb.h:1233
GLboolean GLboolean GLboolean GLboolean a
Definition glcorearb.h:1233
constexpr float TwoPI

Definition at line 87 of file MathUtils.h.

◆ d1

const float o2::its::math_utils::d1 = o2::gpu::CAMath::Sqrt((dx1 * dx1) + (dy1 * dy1))

Definition at line 54 of file MathUtils.h.

◆ d2

const float o2::its::math_utils::d2 = o2::gpu::CAMath::Sqrt((dx2 * dx2) + (dy2 * dy2))

Definition at line 55 of file MathUtils.h.

◆ d3

const float o2::its::math_utils::d3 = o2::gpu::CAMath::Sqrt((dx3 * dx3) + (dy3 * dy3))

Definition at line 56 of file MathUtils.h.

◆ dx1

const float o2::its::math_utils::dx1 = x2 - x1

Definition at line 51 of file MathUtils.h.

◆ dx2

const float o2::its::math_utils::dx2 = x3 - x2

Definition at line 52 of file MathUtils.h.

◆ dx3

const float o2::its::math_utils::dx3 = x1 - x3

Definition at line 53 of file MathUtils.h.

◆ dy1

const float o2::its::math_utils::dy1 = y2 - y1

Definition at line 51 of file MathUtils.h.

◆ dy2

const float o2::its::math_utils::dy2 = y3 - y2

Definition at line 52 of file MathUtils.h.

◆ dy3

const float o2::its::math_utils::dy3 = y1 - y3

Definition at line 53 of file MathUtils.h.

◆ k1

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

Definition at line 70 of file MathUtils.h.

◆ k2

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

Definition at line 70 of file MathUtils.h.

◆ p

float o2::its::math_utils::p

Definition at line 112 of file MathUtils.h.

◆ v

float o2::its::math_utils::v

Definition at line 102 of file MathUtils.h.

◆ w

float float o2::its::math_utils::w
Initial value:
{
return Sq(v) + Sq(w)
const GLdouble * v
Definition glcorearb.h:832
GLubyte GLubyte GLubyte GLubyte w
Definition glcorearb.h:852

Definition at line 97 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 112 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 area = ((x2 - x1) * (y3 - y1)) - ((x3 - x1) * (y2 - y1))
GLuint GLfloat GLfloat GLfloat GLfloat y1
Definition glcorearb.h:5034
GLuint GLfloat GLfloat GLfloat x1
Definition glcorearb.h:5034
float float x2
Definition MathUtils.h:44
float float float y2
Definition MathUtils.h:44

Definition at line 44 of file MathUtils.h.

◆ z1

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

Definition at line 77 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 77 of file MathUtils.h.