Skip to content

Commit

Permalink
Skip invalid HCAL PF rechits
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Apr 21, 2024
1 parent f1dac78 commit 0f67c5c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
for (auto const detId : geom.getValidDetIds(CAL::kDetectorId, subdet)) {
const uint32_t denseId = CAL::detId2denseId(detId);
for (uint32_t n = 0; n < 8; n++) {
if (view.neighbours(denseId)[n] == 0xffffffff)
continue;
const ::reco::PFRecHitsTopologyNeighbours& neighboursOfNeighbour =
view.neighbours(view.neighbours(denseId)[n]);
if (std::find(neighboursOfNeighbour.begin(), neighboursOfNeighbour.end(), denseId) ==
Expand Down

0 comments on commit 0f67c5c

Please sign in to comment.