Skip to content

Commit

Permalink
Make available the list of known decay models
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-rodrigues committed May 3, 2019
1 parent df5d188 commit cbb5a87
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
2 changes: 2 additions & 0 deletions decaylanguage/dec/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import absolute_import

from .dec import DecFileParser

from .enums import known_decay_models
48 changes: 47 additions & 1 deletion decaylanguage/dec/enums.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Collection of enums to help characterising .dec decay files.
Collection of enums and info to help characterising .dec decay files.
"""

# Backport needed if Python 2 is used
Expand All @@ -9,3 +9,49 @@
class PhotosEnum(IntEnum):
no = 0
yes = 1


# This list should match the list specified in the decay file parser file
# 'decaylanguage/data/decfile.lark'!
known_decay_models = (
"BaryonPCR",
"BTO3PI_CP",
"BTOSLLALI",
"BTOSLLBALL",
"BTOXSGAMMA",
"BTOXSLL",
"CB3PI-MPP",
"CB3PI-P00",
"D_DALITZ",
"ETA_DALITZ",
"GOITY_ROBERTS",
"HELAMP",
"HQET",
"ISGW2",
"LbAmpGen",
"OMEGA_DALITZ",
"PARTWAVE",
"PHSP",
"PI0_DALITZ",
"PYTHIA",
"SLN",
"SSD_CP",
"STS",
"SVP_HELAMP",
"SVS",
"SVV_HELAMP",
"TAUHADNU",
"TAULNUNU",
"TAUSCALARNU",
"TAUVECTORNU",
"TSS",
"TVS_PWAVE",
"VLL",
"VSP_PWAVE",
"VSS",
"VSS_BMIX",
"VUB",
"VVP",
"VVPIPI",
"VVS_PWAVE",
)

0 comments on commit cbb5a87

Please sign in to comment.