20#ifndef GPUCA_GPUCODE_DEVICE
29using math_utils::computePhi;
30using math_utils::getNormalizedPhi;
31using math_utils::hypot;
37 phi{getNormalizedPhi(computePhi(
x,
y))},
46 : xCoordinate{
other.xCoordinate},
47 yCoordinate{
other.yCoordinate},
48 zCoordinate{
other.zCoordinate},
49 phi{getNormalizedPhi(computePhi(
other.xCoordinate,
other.yCoordinate))},
50 radius{hypot(
other.xCoordinate,
other.yCoordinate)},
51 clusterId{
other.clusterId},
52 indexTableBinIndex{
utils.getBinIndex(
utils.getZBinIndex(layerIndex, zCoordinate),
53 utils.getPhiBinIndex(phi))}
60 : xCoordinate{
other.xCoordinate},
61 yCoordinate{
other.yCoordinate},
62 zCoordinate{
other.zCoordinate},
64 computePhi(xCoordinate - primaryVertex.
x, yCoordinate - primaryVertex.
y))},
65 radius{hypot(xCoordinate - primaryVertex.
x, yCoordinate - primaryVertex.
y)},
66 clusterId{
other.clusterId},
67 indexTableBinIndex{
utils.getBinIndex(
utils.getZBinIndex(layerIndex, zCoordinate),
68 utils.getPhiBinIndex(phi))}
78 phi = getNormalizedPhi(
86bool Cluster::operator==(
const Cluster& rhs)
const
97TrackingFrameInfo::TrackingFrameInfo(
float x,
float y,
float z,
float xTF,
float alpha, std::array<float, 2>&& posTF,
98 std::array<float, 3>&& covTF)
99 : xCoordinate{
x}, yCoordinate{
y}, zCoordinate{
z}, xTrackingFrame{xTF}, alphaTrackingFrame{
alpha}, positionTrackingFrame{posTF}, covarianceTrackingFrame{covTF}
GLfloat GLfloat GLfloat alpha
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