Resonances Parameters
This section is about how do the Resonances.yml work.
From Resonacces.yml to the real model, there will be following steps.
loaded by config.yml, it is will be combined the defination in
config.ymlparticle parts.For examples,
config.ymlhaveparticle: $include: Resonances.yml Psi4040: float: mgthen
Resonances.ymlitemPsi4040: J: 1 float: m
will become
{"Psi4040": {"J": 1, "float": "mg"}}replace some alias, (
m0 -> mass,g0 -> width, …)If it is used in decay chain, then create
Particleobject.The particle class is
cls = get_particle_model(item["model"]), and the object iscls(**item).All parameters will be stored in
config.particle_property[name].
All available parameters can be divided into the following 3 sets.
Common Parameters
Parameters defined in BaseParticle are common parameters including spin, parity, mass and width.
name |
default value |
comment |
|---|---|---|
|
0 |
spin, int or half-integral |
|
-1 |
P-parity, +1 or -1 |
|
None |
C-Parity, +1 or -1 |
|
None |
mass, float, it is always required because of the calcultion of \(q_0\) |
|
None |
width, float |
|
None |
possible spin projections,`[-J, …, J]`, list |
Model Parameters
Parameters defined in the real model. Available Resonances Model
There are many parameters defined by the user, then those parameters will be passed to the model class,
such as the paramthers for __init__(self, **kwargs) method.
For example, the default model (BWR, BaseParticle) has the following parameters:
name |
default value |
comment |
|---|---|---|
|
True |
if using running width, bool |
|
None, auto deteminated |
running width angular momentum, int |
Other Parameters
There are also some other parameters which is used to control the program running.
For example, simple constraints, the following parameters are used by ConfigLoader as constraints.
name |
default value |
comment |
|---|---|---|
|
None |
mass range |
|
None |
width range |
|
float paramsters list |
Another example are parameters to build decay chain for particle R.
name |
default value |
comment |
|---|---|---|
|
|
parameters pass to |
|
|
parameters pass to |
|
|
Particle model for |
There are also other commonly used parameters.
name |
default value |
comment |
|---|---|---|
|
control plot legend with latex string, string |