[PWGDQ] fix MFT momentum rescaling - #17461
Conversation
|
O2 linter results: ❌ 0 errors, |
|
why not use the common tool for rescaling introduced in |
Mostly to have the freedom of experimenting without affecting the common tools used in analysis. Once the fix is confirmed we can see how to properly propagate it to the common code. What do you think? |
Indeed |
3c6fe8c to
e458622
Compare
e458622 to
617c499
Compare
|
Error while checking build/O2Physics/code-check for 617c499 at 2026-08-20 08:34: Full log here. |
The MCH tracks are extrapolated to the first measured MFT point using TrackExtrap::extrapToVertex() instead of TrackExtrap::extrapToVertexWithoutBranson(), which cures large inaccuracies in the MCH momentum estimation at the MFT front for some tracks. Those inaccuracies were contributing to high-mass tails in the di-muon invariant mass distribution reconstructed from global forward tracks with rescaled momentum.
617c499 to
c49d6d5
Compare
|
Error while checking build/O2Physics/code-check for c49d6d5 at 2026-08-20 18:19: Full log here. |
|
@mcoquet642 I have replaced my custom code by I have also fixed all the code-check errors (except the two remaining ones that really look like false positives). There are still several warnings, but I propose to fix them in a separate PR to avoid making lots of cosmetic changes in this one. @iarsene @mcoquet642 @XiaozhiBai @mguilbau given that the changes here are relevant and needed for all the ongoing muon alignment studies, could you please have a look and merge if there are no more objections? Thanks a lot! |
The MCH tracks are extrapolated to the first measured MFT point using
TrackExtrap::extrapToVertex()instead ofTrackExtrap::extrapToVertexWithoutBranson(), which cures large inaccuracies in the MCH momentum estimation at the MFT front for some tracks.Those inaccuracies were contributing to high-mass tails in the di-muon invariant mass forward tracks with rescaled momentum.
Below is a comparison of the J/psi invariant mass before and after the fix, estimated from the same AO2Ds of LHC25i4 (OO MC simulation with injected J/psi and psi(2S)).
Before:

After:
