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.yml
particle parts.For examples,
config.yml
haveparticle: $include: Resonances.yml Psi4040: float: mg
then
Resonances.yml
itemPsi4040: 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
Particle
object.The particle class is
cls = get_particle_model(item["model"])
, and the object iscls(**item)
.All parameters wull be stored in
config.particle_property[name]
.
All aviable parameters can be devied into the flowowing 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, the those parameters will be pass to model class,
such as the paramthers for __init__(self, **kwargs)
method.
For examples, the default model (BWR
, BaseParticle
) have 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 examples, simple constrains, the following parameters are using by ConfigLoader
as constrains.
name |
default value |
comment |
---|---|---|
|
None |
mass range |
|
None |
width range |
|
float paramsters list |
Another examples 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 common used parameters.
name |
default value |
comment |
---|---|---|
|
control plot legend with latex string, string |