[PWGLF] Update KF cascade building in strangenessBuilderHelper#17003
[PWGLF] Update KF cascade building in strangenessBuilderHelper#17003creetz16 wants to merge 1 commit into
Conversation
…nstrained V0 and cascade masses
|
O2 linter results: ❌ 12 errors, |
|
Error while checking build/O2Physics/code-check for c97df79 at 2026-07-11 08:24: Full log here. |
|
Hi @creetz16 !
I think there are two possible strategies:
Both approaches work but I personally find the second one more practical, since it keeps the constrained and unconstrained information clearly separated while still making both easily accessible. However, it requires a tiny development (and some testing) on our side regarding this process function ( ) if one wants to use theKFToCascRefs.
Maybe @ddobrigk or you have a different opinion, so please let me know what you think ! :-) In the meantime, I'll start implementing the second approach. It will most likely be next week, though, as I won't have enough time to implement and test it over the weekend 😢 ) Thank you very much! |
|
Many thanks for having a look!! This is not urgent, so please don't worry! :) Thanks again for having a look. I would be happy to discuss next week at some point. :) |
Update LF strangenessbuilderHelper KF cascade building:
Hi @ddobrigk and @romainschotter :)
I noticed that in the KF cascade building I had implemented the computation of the V0 and cascade masses in a way that the constrained masses (PDG masses) are stored in the StoredKFCascCores table in case the mass constraints are enabled. On the one hand this makes sense from the point of view of storing consistently the constrained particle parameters (mom, E, mass) and covariance matrix. But on the other hand it is essential to store the unconstrained invariant mass to for example apply selections on it. In our case of the Xic to Xipipi analysis of triggered data with the KF we indeed need the unconstrained V0 and cascade masses while using the constrained parameters.
I therefore updated the strangenessBuilderHelper accordingly in this PR. I would be happy to have your thoughts on this, maybe there is a better way to do it. :)
I am not aware of any other analysis using the KF cascade building. Do you know of anyone whom we should include in this discussion/update?