-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: use algorithms properties in CalorimeterClusterRecoCoG #1154
Conversation
This is ready for review and merging. |
7fce302
to
b1def68
Compare
b1def68
to
2490ea0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This worked out nice. Having a map of properties helped a bunch.
The full error message is 4 gigabytes, but can be summarized as:
|
Actually, this is more curious (and tl;dr no memory leaks). What happened is that within a pipeline one job checked the geometry version in eic-shell and then decided it didn't need to regenerate the simulation file (cache hit). Then the reconstruction job started in the next job, in its own eic-shell, and it had a newer geometry version due to the cvmfs sync, so it continued to run with the older simulation geometry input file but against newer geometry in memory. The geometry difference was https://github.com/eic/epic/pull/603/files -> i.e. r,phi segmentation to x,y segmentation. That probably caused many warnings about missing cellIDs (including MaxCellIDerrors failures), and memory errors are probably associated with that. Probably ok to let this slide... Last checks indicate no memory issues anymore: https://github.com/eic/EICrecon/actions/runs/7038493136/job/19156610394?pr=1154#step:8:2091 |
And no diffs, e.g. https://github.com/eic/EICrecon/actions/runs/7050567792/job/19192283374?pr=1154#step:11:106. After 9ee8a85 we should get a clean clang-tidy-iwyu check too. And the eicmkplugin fix is in the merge queue. So, good for review and merge, as far as I'm concerned. |
9ee8a85
to
8ea29b5
Compare
Co-authored-by: Dmitry Kalinkin <[email protected]>
8ea29b5
to
8190f3d
Compare
Pull request was converted to draft
This PR has become a bit more difficult now that #865 |
Deferred to #1165 |
Briefly, what does this PR introduce?
This PR converts CalorimeterClusterRecoCoG to using properties defined as algorithms::Property.
TODO:
Cherry-picked d498abe from #1161.
What kind of change does this PR introduce?
Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
No.
Does this PR change default behavior?
No.