Skip to content

Comments

[PWGEM] PhotonMeson: Fix bug in EMNonLin#15137

Open
mhemmer-cern wants to merge 1 commit intoAliceO2Group:masterfrom
mhemmer-cern:PWGEM-36
Open

[PWGEM] PhotonMeson: Fix bug in EMNonLin#15137
mhemmer-cern wants to merge 1 commit intoAliceO2Group:masterfrom
mhemmer-cern:PWGEM-36

Conversation

@mhemmer-cern
Copy link
Collaborator

@mhemmer-cern mhemmer-cern commented Feb 24, 2026

  • Fixed a bug where for higher iterations of the NonLin correction the input for iteration i was not the input value * scale_(i-1) but the unscaled input value
  • Changed the formula of the NonLin from (1 + par0/x + par1/x^2) / (1 + par2/x) to (x + par0 +par1/x) / (x + par2) which is mathematically the same, however, it is more stable since there is no 1/x^2 anymore and has less computations.
  • Optimized the setParams calling inside nonLinProducer.cxx where it now should only be called if the collision and hence the centrality changes. Before this it was called for each photon!

- Fixed a bug where for higher iterations of the NonLin correction the input for iteration i was not the input value * scale_(i-1) but the unscaled input value
- Changed the formluar of the NonLin from (1 + par0/x + par1/x^2) / (1 + par2/x) to (x + par0 +par1/x) / (x + par2) which is mathmatecially the same, however, it is a lot more stable since there is no 1/x^2 anymore.
- Optimized the `setParams` calling inside `nonLinProducer.cxx` where it now should only be called if the collision and hence the centrality changes. Before this it was called for each photon!
@github-actions github-actions bot added the pwgem label Feb 24, 2026
@mhemmer-cern mhemmer-cern added the photon Photon and neutral meson PAG label label Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

photon Photon and neutral meson PAG label pwgem

Development

Successfully merging this pull request may close these issues.

1 participant