54 const auto hitMask = cs.getHitLayerMask();
56 for (
int position = 0; position <
MaxSurfaces; ++position) {
57 if (hitMask.has(position)) {
58 mClusters[position] = cs.getClusters()[slot++];
87 GPUhd() int getFirstClusterIndex() const
noexcept {
return getClusterBySlot(0); }
88 GPUhd() int getSecondClusterIndex() const
noexcept {
return getClusterBySlot(1); }
89 GPUhd() int getThirdClusterIndex() const
noexcept {
return getClusterBySlot(2); }
113 GPUhd() int getClusterBySlot(
int requestedSlot) const
noexcept
116 for (
int position = 0; position <
MaxSurfaces; ++position) {
117 if (hasCluster(position)) {
118 if (slot++ == requestedSlot) {
126 SurfaceTrackState mState{};
130 std::array<int, 2>
mTracklets = o2::its::constants::helpers::initArray<int, 2, o2::its::constants::UnusedIndex>();
131 std::array<int, MaxSurfaces>
mClusters = o2::its::constants::helpers::initArray<int, MaxSurfaces, o2::its::constants::UnusedIndex>();