Skip to content

Fix creator process for stopped annihilation#490

Merged
SeverinDiederichs merged 3 commits intoapt-sim:masterfrom
SeverinDiederichs:fix_creator_process
Feb 20, 2026
Merged

Fix creator process for stopped annihilation#490
SeverinDiederichs merged 3 commits intoapt-sim:masterfrom
SeverinDiederichs:fix_creator_process

Conversation

@SeverinDiederichs
Copy link
Collaborator

@SeverinDiederichs SeverinDiederichs commented Feb 19, 2026

Before, the creator process was always set to be the step limiting process of the parent. However, this is not true for positrons that are stopped due to continuous energy loss:
The emerging gammas should have the creator process of stopped annihilation, not MSC. Therefore, both variables are separated and the creator process is set properly.

It was verified that this PR

  • Changes physics results
  • Does not change physics results

@SeverinDiederichs SeverinDiederichs added the bug Type: Something isn't working label Feb 19, 2026
@phsft-bot
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

@JuanGonzalezCaminero JuanGonzalezCaminero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@SeverinDiederichs SeverinDiederichs merged commit 6ab9642 into apt-sim:master Feb 20, 2026
3 checks passed
@SeverinDiederichs SeverinDiederichs deleted the fix_creator_process branch February 20, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Type: Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants