#include <decaytype.h>
ThreeBodyDecay represents a decay type with three final-state particles.
Definition at line 248 of file decaytype.h.
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 278 of file decaytype.cc.
280 if (part_types.size() != 3) {
281 throw std::runtime_error(
282 "Wrong number of particles in ThreeBodyDecay constructor: " +
283 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
unsigned int smash::ThreeBodyDecay::particle_number |
( |
| ) |
const |
|
overridevirtual |
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 289 of file decaytype.cc.
294 std::sort(list.begin(), list.end());
295 return particle_types_[0] == list[0] && particle_types_[1] == list[1] &&
296 particle_types_[2] == list[2];
ParticleTypePtrList particle_types_
final-state particles of the decay
unsigned int particle_number() const override
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 299 of file decaytype.cc.
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 303 of file decaytype.cc.
The documentation for this class was generated from the following files: