25using math_utils::computePhi;
26using math_utils::getNormalizedPhi;
27using math_utils::hypot;
33 phi{getNormalizedPhi(computePhi(
x,
y))},
34 radius{
o2::gpu::GPUCommonMath::Hypot(
x,
y)},
42 : xCoordinate{
other.xCoordinate},
43 yCoordinate{
other.yCoordinate},
45 phi{getNormalizedPhi(computePhi(
other.xCoordinate,
other.yCoordinate))},
46 radius{
o2::gpu::GPUCommonMath::Hypot(
other.xCoordinate,
other.yCoordinate)},
47 clusterId{
other.clusterId},
56 : xCoordinate{
other.xCoordinate},
57 yCoordinate{
other.yCoordinate},
62 clusterId{
other.clusterId},
71#if !defined(GPUCA_GPUCODE_DEVICE) || (!defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT))
72 printf(
"Cluster: %f %f %f %f %f %d %d\n", xCoordinate, yCoordinate, zCoordinate, phi, radius, clusterId, indexTableBinIndex);
76TrackingFrameInfo::TrackingFrameInfo(
float x,
float y,
float z,
float xTF,
float alpha, std::array<float, 2>&& posTF,
77 std::array<float, 3>&& covTF)
78 : xCoordinate{
x}, yCoordinate{
y},
zCoordinate{
z}, xTrackingFrame{xTF}, alphaTrackingFrame{
alpha}, positionTrackingFrame{posTF}, covarianceTrackingFrame{covTF}
85#if !defined(GPUCA_GPUCODE_DEVICE) || (!defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT))
86 printf(
"x: %f y: %f z: %f xTF: %f alphaTF: %f posTF: %f %f covTF: %f %f %f\n",
87 xCoordinate, yCoordinate, zCoordinate, xTrackingFrame, alphaTrackingFrame,
88 positionTrackingFrame[0], positionTrackingFrame[1],
89 covarianceTrackingFrame[0], covarianceTrackingFrame[1], covarianceTrackingFrame[2]);
GLfloat GLfloat GLfloat alpha
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Common utility functions.
VectorOfTObjectPtrs other