core
Basic Amplitude Calculations. A partial wave analysis process has following structure:
- DecayGroup: addition (+)
- DecayChain: multiplication (x)
Decay, Particle(Propagator)
- class AmpDecay(core, outs, name=None, disable=False, p_break=False, c_break=True, curve_style=None, **kwargs)[source]
-
base class for decay with amplitude
- class AmpDecayChain(*args, is_cp=False, aligned=True, **kwargs)[source]
Bases:
DecayChain
,AmpBase
- class AngSam3Decay(core, outs, name=None, disable=False, p_break=False, c_break=True, curve_style=None, **kwargs)[source]
-
- model_name = 'default'
- class DecayChain(*args, is_cp=False, aligned=True, **kwargs)[source]
Bases:
AmpDecayChain
A list of Decay as a chain decay
- model_name = 'default'
- class DecayGroup(chains)[source]
Bases:
DecayGroup
,AmpBase
A Group of Decay Chains with the same final particles.
- class HelicityDecay(*args, has_barrier_factor=True, l_list=None, barrier_factor_mass=False, has_ql=True, has_bprime=True, aligned=False, allow_cc=True, ls_list=None, barrier_factor_norm=False, params_polar=None, below_threshold=False, force_min_l=False, params_head=None, no_q0=False, helicity_inner_full=False, ls_selector=None, **kwargs)[source]
Bases:
AmpDecay
default decay model
The total amplitude is
\[A = H_{\lambda_{B},\lambda_{C}}^{A \rightarrow B+C} D^{J_A*}_{\lambda_{A}, \lambda_{B}-\lambda_{C}} (\varphi,\theta,0)\]The helicity coupling is
\[H_{\lambda_{B},\lambda_{C}}^{A \rightarrow B+C} = \sum_{ls} g_{ls} \sqrt{\frac{2l+1}{2 J_{A}+1}} \langle l 0; s \delta|J_{A} \delta\rangle \langle J_{B} \lambda_{B} ;J_{C} -\lambda_{C} | s \delta \rangle q^{l} B_{l}'(q, q_0, d)\]The fit parameters is \(g_{ls}\)
There are some options
(1).
has_bprime=False
will remove the \(B_{l}'(q, q_0, d)\) part.(2).
has_barrier_factor=False
will remove the \(q^{l} B_{l}'(q, q_0, d)\) part.(3).
barrier_factor_norm=True
will replace \(q^l\) with \((q/q_{0})^l\)(4).
below_threshold=True
will replace the mass used to calculate \(q_0\) with\[m_0^{eff} = m^{min} + \frac{m^{max} - m^{min}}{2}(1+tanh \frac{m_0 - \frac{m^{max} + m^{min}}{2}}{m^{max} - m^{min}})\](5).
l_list=[l1, l2]
andls_list=[[l1, s1], [l2, s2]]
options give the list of all possible LS used in the decay.(6).
no_q0=True
will set the \(q_0=1\).- get_cg_matrix(out_sym=False)[source]
The matrix indexed by \([(l,s),(\lambda_b,\lambda_c)]\). The matrix element is
\[\sqrt{\frac{ 2 l + 1 }{ 2 j_a + 1 }} \langle j_b, j_c, \lambda_b, - \lambda_c | s, \lambda_b - \lambda_c \rangle \langle l, s, 0, \lambda_b - \lambda_c | j_a, \lambda_b - \lambda_c \rangle\]This is actually the pre-factor of \(g_ls\) in the amplitude formula.
- Returns:
2-d array of real numbers
- model_name = 'default'
- class Particle(*args, running_width=True, bw_l=None, width_norm=False, params_head=None, **kwargs)[source]
Bases:
BaseParticle
,AmpBase
\[R(m) = \frac{1}{m_0^2 - m^2 - i m_0 \Gamma(m)}\]Argand diagram
(
Source code
,png
,hires.png
,pdf
)Pole position
(
Source code
,png
,hires.png
,pdf
)- model_name = 'BWR'
- class ParticleX(*args, running_width=True, bw_l=None, width_norm=False, params_head=None, **kwargs)[source]
Bases:
Particle
simple particle model for mass, (used in expr)
\[R(m) = m\](
Source code
,png
,hires.png
,pdf
)- model_name = 'x'
- regist_decay(name=None, num_outs=2, f=None)
register a decay model
- Params name:
model name used in configuration
- Params f:
Model class
- regist_particle(name=None, f=None)
register a particle model
- Params name:
model name used in configuration
- Params f:
Model class
- register_decay(name=None, num_outs=2, f=None)[source]
register a decay model
- Params name:
model name used in configuration
- Params f:
Model class
- register_decay_chain(name=None, f=None)[source]
register a decay model
- Params name:
model name used in configuration
- Params f:
Model class
- register_particle(name=None, f=None)[source]
register a particle model
- Params name:
model name used in configuration
- Params f:
Model class