16#ifndef TRACKINGITSU_INCLUDE_CACLUSTER_H_
17#define TRACKINGITSU_INCLUDE_CACLUSTER_H_
23#ifndef GPUCA_GPUCODE_DEVICE
36 Cluster(
const float x,
const float y,
const float z,
const int idx);
56#if !defined(GPUCA_GPUCODE_DEVICE) || (!defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT))
61struct TrackingFrameInfo {
62 TrackingFrameInfo() =
default;
63 TrackingFrameInfo(
float x,
float y,
float z,
float xTF,
float alpha, std::array<float, 2>&& posTF, std::array<float, 3>&& covTF);
69 float alphaTrackingFrame;
70 std::array<float, 2> positionTrackingFrame = {-1., -1.};
71 std::array<float, 3> covarianceTrackingFrame = {999., 999., 999.};
74#if !defined(GPUCA_GPUCODE_DEVICE) || (!defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT))
75 printf(
"x: %f y: %f z: %f xTF: %f alphaTF: %f posTF: %f %f covTF: %f %f %f\n",
76 xCoordinate, yCoordinate, zCoordinate, xTrackingFrame, alphaTrackingFrame,
77 positionTrackingFrame[0], positionTrackingFrame[1],
78 covarianceTrackingFrame[0], covarianceTrackingFrame[1], covarianceTrackingFrame[2]);
82 ClassDefNV(TrackingFrameInfo, 1);
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.
GPUhd() void print() const
void Init(const int, const float3 &, const IndexTableUtils &utils, const Cluster &)
bool operator==(const Cluster &) const