Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions RecoTracker/PixelSeeding/plugins/alpaka/CACell.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,13 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
if (last) { // if long enough save...
if ((unsigned int)(tmpNtuplet.size()) >= minHitsPerNtuplet - 1) {
{
hindex_type hits[TrackerTraits::maxDepth + 2];
constexpr int maxFB = 2; // for the time being let's limit this - fishbone extra hits limit
// maxDepth is the number of CACells. So +maxFB for the fishbone and +1 to properly count the number of hits
hindex_type hits
[TrackerTraits::maxDepth + maxFB +
1]; // maxDepth is the number of CACells. So +maxFB for the fishbone and +1 to properly count the number of hits

auto nh = 0U;
constexpr int maxFB = 2; // for the time being let's limit this
int nfb = 0;
for (auto c : tmpNtuplet) {
hits[nh++] = cells[c].theInnerHitId_;
Expand Down