25using math_utils::computePhi;
26using math_utils::getNormalizedPhi;
32 phi{getNormalizedPhi(computePhi(
x,
y))},
33 radius{
o2::gpu::GPUCommonMath::Hypot(
x,
y)},
42 : xCoordinate{
other.xCoordinate},
43 yCoordinate{
other.yCoordinate},
44 zCoordinate{
other.zCoordinate},
45 phi{getNormalizedPhi(computePhi(
other.xCoordinate,
other.yCoordinate))},
46 radius{
o2::gpu::GPUCommonMath::Hypot(
other.xCoordinate,
other.yCoordinate)},
47 clusterId{
other.clusterId},
48 indexTableBinIndex{
utils.getBinIndex(
utils.getZBinIndex(layerIndex, zCoordinate),
57 : xCoordinate{
other.xCoordinate},
58 yCoordinate{
other.yCoordinate},
59 zCoordinate{
other.zCoordinate},
63 clusterId{
other.clusterId},
64 indexTableBinIndex{
utils.getBinIndex(
utils.getZBinIndex(layerIndex, zCoordinate),
72#if !defined(GPUCA_GPUCODE_DEVICE) || (!defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT))
73 printf(
"Cluster: %f %f %f %f %f %d %d\n", xCoordinate, yCoordinate, zCoordinate, phi, radius, clusterId, indexTableBinIndex);
77TrackingFrameInfo::TrackingFrameInfo(
float x,
float y,
float z,
float xTF,
float alpha, std::array<float, 2>&& posTF,
78 std::array<float, 3>&& covTF)
79 : xCoordinate{
x}, yCoordinate{
y}, zCoordinate{
z}, xTrackingFrame{xTF}, alphaTrackingFrame{
alpha}, positionTrackingFrame{posTF}, covarianceTrackingFrame{covTF}
86#if !defined(GPUCA_GPUCODE_DEVICE) || (!defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT))
87 printf(
"x: %f y: %f z: %f xTF: %f alphaTF: %f posTF: %f %f covTF: %f %f %f\n",
88 xCoordinate, yCoordinate, zCoordinate, xTrackingFrame, alphaTrackingFrame,
89 positionTrackingFrame[0], positionTrackingFrame[1],
90 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