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