Skip to content

Skip events where truth tracks do not leave hits in the detector

Pierfrancesco Butti requested to merge pibutti/acorn:dev into dev

In some events of single mu pt 10 GeV files I notices some particles that do not leave hits in the detector. This leads to empty np arrays which cause a crash during data reader stage. This MR checks if the hits/track features arrays are not empty otherwise it skips the event.

Merge request reports