#include <decaytype.h>
ThreeBodyDecay represents a decay type with three final-state particles.
Definition at line 295 of file decaytype.h.
◆ ThreeBodyDecay()
smash::ThreeBodyDecay::ThreeBodyDecay |
( |
ParticleTypePtrList |
part_types, |
|
|
int |
l |
|
) |
| |
Construct a ThreeBodyDecay.
- Parameters
-
[in] | part_types | Final-state particles of the decay. |
[in] | l | Angular momentum of the decay. |
- Returns
- The constructed object.
Definition at line 274 of file decaytype.cc.
276 if (part_types.size() != 3) {
277 throw std::runtime_error(
278 "Wrong number of particles in ThreeBodyDecay constructor: " +
279 std::to_string(part_types.size()));
DecayType(ParticleTypePtrList part_types, int l)
Construct a DecayType.
static ParticleTypePtrList sort_particles(ParticleTypePtrList part_types)
sort the particle list
◆ particle_number()
unsigned int smash::ThreeBodyDecay::particle_number |
( |
| ) |
const |
|
overridevirtual |
◆ has_particles()
bool smash::ThreeBodyDecay::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 285 of file decaytype.cc.
290 std::sort(list.begin(), list.end());
ParticleTypePtrList particle_types_
final-state particles of the decay
unsigned int particle_number() const override
◆ width()
double smash::ThreeBodyDecay::width |
( |
double |
m0, |
|
|
double |
G0, |
|
|
double |
m |
|
) |
| const |
|
overridevirtual |
- Returns
- the mass-dependent width of the decay.
- Parameters
-
[in] | m0 | Pole mass of the decaying particle [GeV]. |
[in] | G0 | Partial width at the pole mass [GeV]. |
[in] | m | Actual mass of the decaying particle [GeV]. |
Implements smash::DecayType.
Reimplemented in smash::ThreeBodyDecayDilepton.
Definition at line 295 of file decaytype.cc.
◆ in_width()
double smash::ThreeBodyDecay::in_width |
( |
double |
m0, |
|
|
double |
G0, |
|
|
double |
m, |
|
|
double |
m1, |
|
|
double |
m2 |
|
) |
| const |
|
overridevirtual |
- Returns
- The mass-dependent in-width for a resonance formation process.
- Parameters
-
[in] | m0 | Pole mass of the produced resonance [GeV]. |
[in] | G0 | Partial width at the pole mass [GeV]. |
[in] | m | Actual mass of the produced resonance [GeV]. |
[in] | m1 | Actual mass of the first incoming particle [GeV]. |
[in] | m2 | Actual mass of the second incoming particle [GeV]. |
Implements smash::DecayType.
Definition at line 299 of file decaytype.cc.
The documentation for this class was generated from the following files: