#include <decaytype.h>
TwoBodyDecay represents a decay type with two final-state particles.
Definition at line 94 of file decaytype.h.
|
virtual double | rho ([[maybe_unused]] double mass) const |
| This is a virtual helper method which is used to write the width as Gamma(m) = Gamma_0 * rho(m) / rho(m_0). More...
|
|
◆ TwoBodyDecay()
smash::TwoBodyDecay::TwoBodyDecay |
( |
ParticleTypePtrList |
part_types, |
|
|
int |
l |
|
) |
| |
Construct a TwoBodyDecay.
- Parameters
-
[in] | part_types | Final-state particles of the decay. |
[in] | l | Angular momentum of the decay. |
- Returns
- The constructed object.
Definition at line 51 of file decaytype.cc.
53 if (part_types.size() != 2) {
54 throw std::runtime_error(
55 "Wrong number of particles in TwoBodyDecay constructor: " +
56 std::to_string(part_types.size()));
DecayType(ParticleTypePtrList part_types, int l)
Construct a DecayType.
◆ particle_number()
unsigned int smash::TwoBodyDecay::particle_number |
( |
| ) |
const |
|
overridevirtual |
◆ has_particles()
bool smash::TwoBodyDecay::has_particles |
( |
ParticleTypePtrList |
list | ) |
const |
|
overridevirtual |
- Returns
- if the final state consists of the given particle list.
- Parameters
-
[in] | list | Final state particle types to be checked. |
Implements smash::DecayType.
Definition at line 62 of file decaytype.cc.
ParticleTypePtrList particle_types_
final-state particles of the decay
unsigned int particle_number() const override
◆ threshold()
double smash::TwoBodyDecay::threshold |
( |
| ) |
const |
|
inline |
- Returns
- The kinematic energy threshold of the decay in GeV.
Definition at line 107 of file decaytype.h.
◆ rho()
virtual double smash::TwoBodyDecay::rho |
( |
[[maybe_unused] ] double |
mass | ) |
const |
|
inlineprotectedvirtual |
This is a virtual helper method which is used to write the width as Gamma(m) = Gamma_0 * rho(m) / rho(m_0).
This ensures that the width is properly normalized at the pole mass to Gamma(m_0) = Gamma_0. By default rho simply equals one, which corresponds to a constant width.
- Parameters
-
[in] | mass | Resonance mass of the decay. |
- Returns
- Width of the decay at the given
mass
.
Definition at line 122 of file decaytype.h.
The documentation for this class was generated from the following files: