33GPUhdi() constexpr
float hypot(
float x,
float y)
35 return o2::gpu::CAMath::Hypot(
x,
y);
38GPUhdi() constexpr
float getNormalizedPhi(
float phi)
55 const float den = o2::gpu::CAMath::Hypot(d *
x1 -
a, d *
y1 -
b);
62GPUhdi() float computeCurvatureCentreX(
float x1,
float y1,
float x2,
float y2,
float x3,
float y3)
65 float dx21 =
x2 -
x1, dx32 =
x3 -
x2;
82 const float d = o2::gpu::CAMath::Hypot(
x1 -
x2,
y1 -
y2);
89GPUhdi() float smallestAngleDifference(
float a,
float b)
101 float beta =
p / o2::gpu::CAMath::Hypot(mass,
p);
102 return 0.0136f * o2::gpu::CAMath::Sqrt(
xX0) * (1.f + 0.038f * o2::gpu::CAMath::Log(
xX0)) / (beta *
p);