Skip to content

Raise the threshold of decay time from 1 yr to 1e+60 year#506

Merged
fhagemann merged 1 commit intoJuliaPhysics:mainfrom
Yuan-Ru-Lin:raise-decay-time-threshold
Jun 27, 2025
Merged

Raise the threshold of decay time from 1 yr to 1e+60 year#506
fhagemann merged 1 commit intoJuliaPhysics:mainfrom
Yuan-Ru-Lin:raise-decay-time-threshold

Conversation

@Yuan-Ru-Lin
Copy link
Contributor

One of the undergrads in our lab, @JunwenDiao, found that 207Bi didn't have beta decay as expected with the latest version of SolidStateDetectors.jl.

image (1)

It was later found that the issue is the same I had when I simulated events for the HADES dataset with Geant4.jl, which is that since v11.2, the time for decay threshold has been changed to 1 year.

image

This PR could prevent others from stumbling on this in the future :)


The script and the config file used to generate the two plots are attached here.

@fhagemann fhagemann added enhancement Improvement of existing features convenience Improve user-friendliness geant4 Anything related to the Geant4 support labels Jun 27, 2025
Copy link
Collaborator

@fhagemann fhagemann left a comment

Choose a reason for hiding this comment

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

This looks pretty straight-forward to me, thanks so much! If the Geant4 tests pass, this should be good to be merged.

@fhagemann fhagemann merged commit 8ec9a78 into JuliaPhysics:main Jun 27, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

convenience Improve user-friendliness enhancement Improvement of existing features geant4 Anything related to the Geant4 support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants