Skip to content

Add a check for when there isn't a trackerHitRelationCollection#147

Open
jmcarcell wants to merge 1 commit intoiLCSoft:masterfrom
jmcarcell:add-nullptr-check
Open

Add a check for when there isn't a trackerHitRelationCollection#147
jmcarcell wants to merge 1 commit intoiLCSoft:masterfrom
jmcarcell:add-nullptr-check

Conversation

@jmcarcell
Copy link
Copy Markdown
Contributor

@jmcarcell jmcarcell commented Apr 29, 2026

BEGINRELEASENOTES

  • Add a check for when there isn't a trackerHitRelationCollection, like for all the other collections

ENDRELEASENOTES

A crash came up in the FCC Full Sim meeting: https://indico.cern.ch/event/1676587/contributions/7055559/attachments/3265903/5832831/FCC_Full-SIMMeeting_29_04_26.pdf
Having a look at the stack trace (backup of the slides), it could be a dereference of a nullptr, and this is the only collection that is not being checked. So this may be a good improvement by itself.

@jessy-daniel, do you think this could be the fix? (what does your digitizer change in terms of output collections compared to DDPlanarDigi?) You could test it locally by building this package, then running k4_local_repo if you are using the stack. We also have a debug build if you pass -d when sourcing the setup script in the stack. It will be much slower, but if it crashes it will give us the line number in the file.

@jmcarcell jmcarcell changed the title Add a check for when there aren't trackerHitRelationCollection Add a check for when there isn't a trackerHitRelationCollection Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant