Skip to content

Commit

Permalink
Add new models in use in LHCb (#441)
Browse files Browse the repository at this point in the history
* Add 3 new EvtGen models used in LHCb

* Add corresponding test decfiles

* Add models to list of known models

* Add 1 more model
  • Loading branch information
eduardo-rodrigues authored May 29, 2024
1 parent 1c74d3b commit 5fa0fc3
Showing 6 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/decaylanguage/dec/enums.py
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@ class PhotosEnum(IntEnum):
"BC_TMN",
"BC_VHAD",
"BC_VMN",
"BC_VPPHAD",
"BCL",
"BGL",
"BLLNUL",
@@ -60,6 +61,7 @@ class PhotosEnum(IntEnum):
"D0GAMMADALITZ",
"D0MIXDALITZ",
"DToKpienu",
"ETA2MUMUGAMMA",
"ETAPRIME_DALITZ",
"ETA_DALITZ",
"ETA_FULLDALITZ",
@@ -103,6 +105,7 @@ class PhotosEnum(IntEnum):
"PYCONT",
"PYTHIA",
"RareLbToLll",
"SHD",
"SLBKPOLE",
"SLL",
"SLN",
@@ -145,6 +148,7 @@ class PhotosEnum(IntEnum):
"VTOSLL",
"VUB_BLNP",
"VUB",
"VVPIPI_WEIGHTED",
"VVPIPI",
"VVP",
"VVS_PWAVE",
7 changes: 7 additions & 0 deletions tests/data/models/model-BC_VPPHAD.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Decay B_c+sig
1.0 MyJ/psi p+ anti-p- pi+ BC_VPPHAD 2;
Enddecay

End
7 changes: 7 additions & 0 deletions tests/data/models/model-ETA2MUMUGAMMA.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Decay eta
1.0 mu+ mu- gamma ETA2MUMUGAMMA;
Enddecay

End
7 changes: 7 additions & 0 deletions tests/data/models/model-SHD.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Decay Lambda0sig
1.0 p+ mu- anti-nu_mu SHD;
Enddecay

End
7 changes: 7 additions & 0 deletions tests/data/models/model-VVPIPI_WEIGHTED.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Decay psi(2S)
1.0 J/psi pi+ pi- PHOTOS VVPIPI_WEIGHTED;
Enddecay

End
4 changes: 4 additions & 0 deletions tests/dec/test_known_decay_models.py
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@
("BC_TMN", [3.0]),
("BC_VHAD", [1.0]),
("BC_VMN", [2.0]),
("BC_VPPHAD", [2.0]),
("BCL", [0.419, -0.495, -0.43, 0.22, 0.51, -1.70, 1.53, 4.52]),
("BGL", [0.02596, -0.06049, 0.01311, 0.01713, 0.00753, -0.09346]),
("BLLNUL", [0.026, 0.01, 2.9]),
@@ -125,6 +126,7 @@
("D0GAMMADALITZ", ""),
("D0MIXDALITZ", [0.0, 0.0, 1.0, 0.0, 0.0]),
("DToKpienu", ""),
("ETA2MUMUGAMMA", ""),
("ETAPRIME_DALITZ", [-0.047, -0.069, 0.0, 0.073]),
("ETA_DALITZ", ""),
("ETA_FULLDALITZ", [-1.128, 0.153, 0.0, 0.085, 0.0, 0.173]),
@@ -288,6 +290,7 @@
("PYCONT", ""),
("PYTHIA", [21]),
("RareLbToLll", ["LQCD"]),
("SHD", ""),
("SLBKPOLE", [1.0, 0.25, 1.0]),
("SLL", ""),
("SLN", ""),
@@ -410,6 +413,7 @@
("VTOSLL", ""),
("VUB_BLNP", [4.2281, 0.7535, 0.4366, 1.5, 1.5, 1, 1, 1, 1, 1]),
("VUB", [4.691, 1.869, 0.22, 1.0, 0.28, 1.0]),
("VVPIPI_WEIGHTED", ""),
("VVPIPI", ""),
("VVP", [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]),
("VVS_PWAVE", [0.9788, 0.0, 0.0, 0.0, 0.0212, 0.0]),

0 comments on commit 5fa0fc3

Please sign in to comment.