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

Functions

 GPUhdi () const expr float computePhi(float x
 
 if (o2::gpu::CAMath::Abs(area)< constants::Tolerance)
 
return f * area (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
 
const float phiB
 
const float const float phiCut
 
float w
 
float v
 
float p
 
float float xX0
 
return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float ptMin
 
return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float const float rIn
 
return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float const float const float rMid
 
return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float const float const float const float rOut
 
return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float const float const float const float const float msAngle
 
const float sA = o2::gpu::CAMath::Min(0.25f * (rIn + rMid) * oneOverR, 1.f - 1.e-6f)
 
const float sB = o2::gpu::CAMath::Min(0.25f * (rMid + rOut) * oneOverR, 1.f - 1.e-6f)
 
const float bound = 2.f * (o2::gpu::CAMath::ASin(sB) - o2::gpu::CAMath::ASin(sA)) + 2.f * msAngle
 

Function Documentation

◆ area()

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

◆ GPUhdi()

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

Definition at line 38 of file MathUtils.h.

◆ if()

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

Definition at line 53 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

Definition at line 92 of file MathUtils.h.

◆ bound

const float o2::its::math_utils::bound = 2.f * (o2::gpu::CAMath::ASin(sB) - o2::gpu::CAMath::ASin(sA)) + 2.f * msAngle

Definition at line 142 of file MathUtils.h.

◆ d1

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

Definition at line 59 of file MathUtils.h.

◆ d2

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

Definition at line 60 of file MathUtils.h.

◆ d3

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

Definition at line 61 of file MathUtils.h.

◆ dx1

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

Definition at line 56 of file MathUtils.h.

◆ dx2

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

Definition at line 57 of file MathUtils.h.

◆ dx3

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

Definition at line 58 of file MathUtils.h.

◆ dy1

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

Definition at line 56 of file MathUtils.h.

◆ dy2

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

Definition at line 57 of file MathUtils.h.

◆ dy3

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

Definition at line 58 of file MathUtils.h.

◆ k1

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

Definition at line 75 of file MathUtils.h.

◆ k2

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

Definition at line 75 of file MathUtils.h.

◆ msAngle

return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float const float const float const float const float o2::its::math_utils::msAngle
Initial value:
{
if (ptMin <= 0.f) {
return o2::constants::math::TwoPI;
}
const float oneOverR = 0.001f * 0.3f * o2::gpu::CAMath::Abs(bz) / ptMin
return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float ptMin
Definition MathUtils.h:132

Definition at line 134 of file MathUtils.h.

◆ p

float o2::its::math_utils::p

Definition at line 123 of file MathUtils.h.

◆ phiB

const float o2::its::math_utils::phiB

Definition at line 97 of file MathUtils.h.

◆ phiCut

return deltaPhi< phiCut||deltaPhi > o2::constants::math::TwoPI o2::its::math_utils::phiCut
Initial value:
{
const float deltaPhi = o2::gpu::CAMath::Abs(phiA - phiB)

Definition at line 97 of file MathUtils.h.

◆ ptMin

return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float o2::its::math_utils::ptMin

Definition at line 132 of file MathUtils.h.

◆ rIn

return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float const float o2::its::math_utils::rIn

Definition at line 133 of file MathUtils.h.

◆ rMid

return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float const float const float o2::its::math_utils::rMid

Definition at line 133 of file MathUtils.h.

◆ rOut

return *o2::gpu::CAMath::Sqrt(xX0) *(1.f+0.038f *o2 const float const float const float const float o2::its::math_utils::rOut

Definition at line 133 of file MathUtils.h.

◆ sA

const float o2::its::math_utils::sA = o2::gpu::CAMath::Min(0.25f * (rIn + rMid) * oneOverR, 1.f - 1.e-6f)

Definition at line 140 of file MathUtils.h.

◆ sB

const float o2::its::math_utils::sB = o2::gpu::CAMath::Min(0.25f * (rMid + rOut) * oneOverR, 1.f - 1.e-6f)

Definition at line 141 of file MathUtils.h.

◆ v

float o2::its::math_utils::v

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

◆ x2

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

Definition at line 49 of file MathUtils.h.

◆ x3

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

Definition at line 49 of file MathUtils.h.

◆ xX0

float float o2::its::math_utils::xX0
Initial value:
{
if (xX0 <= 0.f) {
return 0.f;
}
float beta = p / o2::gpu::CAMath::Hypot(mass, p)

Definition at line 123 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
GLint y
Definition glcorearb.h:270

Definition at line 28 of file MathUtils.h.

◆ y1

float o2::its::math_utils::y1

Definition at line 49 of file MathUtils.h.

◆ y2

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

Definition at line 49 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:49
float float float y2
Definition MathUtils.h:49

Definition at line 49 of file MathUtils.h.

◆ z1

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

Definition at line 82 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)
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events d

Definition at line 82 of file MathUtils.h.