[PWGHF] Protect daughter index access in selectEvent to prevent segmentation faults#2281
[PWGHF] Protect daughter index access in selectEvent to prevent segmentation faults#2281alcaliva merged 2 commits intoAliceO2Group:masterfrom
Conversation
|
REQUEST FOR PRODUCTION RELEASES: This will add The following labels are available |
|
Hi @ktf, the build fails with the following message. Alberto ======================================================================================== Git command for package 'Eigen3' failed. |
| continue; | ||
| } | ||
|
|
||
| // Swap order |
There was a problem hiding this comment.
Hi @alcaliva ! Thanks for the update! I don't have any major comment. Just for my understanding though, does it really happens to have unsorted daughter indices? If I am not mistaken, the first and last daughter indices correspond to the first and last daughter index in the decay tree
There was a problem hiding this comment.
Hi @stefanopolitano,
honestly, I don't know. I've seen this kind of protection in other codes so I decided to include it also here.
If it doesn't happen, it should be harmless.
No description provided.