1616#ifndef TRACKINGITSU_INCLUDE_CACLUSTER_H_
1717#define TRACKINGITSU_INCLUDE_CACLUSTER_H_
1818
19- #include < array>
20-
2119#include " GPUCommonRtypes.h"
2220#include " GPUCommonArray.h"
2321
@@ -32,7 +30,7 @@ struct Cluster final {
3230 Cluster (const int , const IndexTableUtils& utils, const Cluster&);
3331 Cluster (const int , const float3&, const IndexTableUtils& utils, const Cluster&);
3432 void Init (const int , const float3&, const IndexTableUtils& utils, const Cluster&);
35- bool operator ==(const Cluster&) const ;
33+ bool operator ==(const Cluster&) const = default ;
3634 GPUhd () void print () const ;
3735
3836 float xCoordinate{-999 .f };
@@ -46,13 +44,6 @@ struct Cluster final {
4644 ClassDefNV (Cluster, 1 );
4745};
4846
49- GPUhdi () void Cluster::print () const
50- {
51- #if !defined(GPUCA_GPUCODE_DEVICE) || (!defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT))
52- printf (" Cluster: %f %f %f %f %f %d %d\n " , xCoordinate, yCoordinate, zCoordinate, phi, radius, clusterId, indexTableBinIndex);
53- #endif
54- }
55-
5647struct TrackingFrameInfo {
5748 TrackingFrameInfo () = default ;
5849 TrackingFrameInfo (float x, float y, float z, float xTF, float alpha, std::array<float , 2 >&& posTF, std::array<float , 3 >&& covTF);
@@ -64,15 +55,7 @@ struct TrackingFrameInfo {
6455 float alphaTrackingFrame{-999 .f };
6556 std::array<float , 2 > positionTrackingFrame = {-1 ., -1 .};
6657 std::array<float , 3 > covarianceTrackingFrame = {999 ., 999 ., 999 .};
67- GPUdi () void print () const
68- {
69- #if !defined(GPUCA_GPUCODE_DEVICE) || (!defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT))
70- printf (" x: %f y: %f z: %f xTF: %f alphaTF: %f posTF: %f %f covTF: %f %f %f\n " ,
71- xCoordinate, yCoordinate, zCoordinate, xTrackingFrame, alphaTrackingFrame,
72- positionTrackingFrame[0 ], positionTrackingFrame[1 ],
73- covarianceTrackingFrame[0 ], covarianceTrackingFrame[1 ], covarianceTrackingFrame[2 ]);
74- #endif
75- }
58+ GPUdi () void print () const ;
7659};
7760
7861} // namespace o2::its
0 commit comments