Skip to content

Fix crash in StFcsPi0FinderForEcal with MuDst VPD vertex in FastOffli…#299

Merged
jdbrice merged 1 commit intostar-bnl:mainfrom
akioogawa:PR20220211
Feb 14, 2022
Merged

Fix crash in StFcsPi0FinderForEcal with MuDst VPD vertex in FastOffli…#299
jdbrice merged 1 commit intostar-bnl:mainfrom
akioogawa:PR20220211

Conversation

@akioogawa
Copy link
Copy Markdown
Contributor

Fix crash in StFcsPi0FinderForEcal with MuDst VPD vertex in FastOffline/BFC.

StFcsWaveformFitMaker's default for mEnergySelect separated for Ecal,Hcal(gaus fit) & Pres(Sum8) to speed it up. Also when there are too many peaks found, take normalized sum8 instead of just quit fitting.

…ne/BFC.

StFcsWaveformFitMaker's Default for mEnergySelect separated for Ecal,Hcal(gaus fit) & Pres(Sum8)
to speed up. Also When too many peaks are found, take sum8 instead of just quit fitting.
Copy link
Copy Markdown
Contributor

@genevb genevb left a comment

Choose a reason for hiding this comment

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

The checks on null pointers look good to me. I'm guessing that a null StMuDst::btofHeader() was the reason for the crashes we were seeing. Other than those fixes, most of it is details for experts to understand. I don't see anything obviously questionable in this PR, so I don't object.

@veprbl veprbl linked an issue Feb 13, 2022 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@jdbrice jdbrice left a comment

Choose a reason for hiding this comment

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

These changes look good to me. I am approving and merging (since I am second to sign off)

@jdbrice jdbrice merged commit 3d0a14e into star-bnl:main Feb 14, 2022
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.

st_fwd crashing in StFcsPi0FinderForECal after PR #291

5 participants