Skip to content

Commit

Permalink
Merge pull request #44790 from fwyzard/PFRecHitTopologyESProducer_ski…
Browse files Browse the repository at this point in the history
…p_invalid_HCAL_PF_rechits

Skip invalid HCAL PF rechits in PFRecHitTopologyESProducer
  • Loading branch information
cmsbuild authored Apr 22, 2024
2 parents dcbdd1a + 0f67c5c commit 8664037
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 8664037

Please sign in to comment.