Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decay time of excited states may not be transferred to emitted photon #5

Open
jvavrek opened this issue Feb 6, 2023 · 0 comments
Open

Comments

@jvavrek
Copy link
Owner

jvavrek commented Feb 6, 2023

I haven't tested this yet, but I don't think the decay time of the excited state is ever sampled to provide an emission time for the new photon. Most lifetimes are very short (1-100 fs) but it could be interesting to include that correction, likely involving the following lines in G4NRF.cc:

G4DynamicParticle* aGamma = new G4DynamicParticle(G4Gamma::Gamma(), emitted_gamma_direction, E_gamma);
aParticleChange.AddSecondary(aGamma);

Something like (pseudocode):

aGamma->SetProperTime(current_time + G4RandExponential(-pLevel->Lifetime()));

maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant