Skip to content

Conversation

@ilyalarin
Copy link
Contributor

This PR fixes a crash in DEventWriterREST.cc observed when processing
2020 GlueX REST data. The code assumed that the SYS_DIRC entry always exists in the
DTrackFitter::extrapolations map and accessed it via .at(SYS_DIRC),
which can throw when the key is missing. The problematic variable was unused, so it has been removed,
preventing the crash.

Copy link
Contributor

@jrstevenjlab jrstevenjlab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem to remove the unused variable. This should be merge once it passes the usual build test. That may need to wait until Alex returns next week.

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.

2 participants