Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Document upKaons
Browse files Browse the repository at this point in the history
  • Loading branch information
EinarElen committed Nov 19, 2023
1 parent 1f8db2e commit eb0b803
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/kaon_physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,15 @@ def __init__(self):
self.kplus_lifetime_factor = 1.
self.kminus_lifetime_factor = 1.


def upKaons():
"""Returns a configuration of the kaon physics corresponding
to the changes that were made in
https://github.com/ldmx-software/geant4/tree/LDMX.upKaons_mod
Reduces the charged kaon lifetimes by a factor 1/50 and forces
decays to be into one of the leptonic decay modes.
"""
kaon_physics = KaonPhysics()
kaon_physics.kplus_branching_ratios = [
0.8831, # K^+ -> mu^+ + nu_mu
Expand Down

0 comments on commit eb0b803

Please sign in to comment.