#include <decaytype.h>
DecayType is the abstract base class for all decay types.
Definition at line 23 of file decaytype.h.
◆ DecayType()
smash::DecayType::DecayType |
( |
ParticleTypePtrList |
part_types, |
|
|
int |
l |
|
) |
| |
|
inline |
Construct a DecayType.
- Parameters
-
[in] | part_types | Final-state particles of the decay. |
[in] | l | Angular momentum of the decay. |
- Returns
- The constructed object.
Definition at line 32 of file decaytype.h.
int L_
angular momentum of the decay
ParticleTypePtrList particle_types_
final-state particles of the decay
◆ ~DecayType()
virtual smash::DecayType::~DecayType |
( |
| ) |
|
|
virtualdefault |
Virtual Destructor.
The declaration of the destructor is necessary to make it virtual.
◆ particle_number()
virtual unsigned int smash::DecayType::particle_number |
( |
| ) |
const |
|
pure virtual |
◆ has_particles()
virtual bool smash::DecayType::has_particles |
( |
ParticleTypePtrList |
list | ) |
const |
|
pure virtual |
◆ has_mother()
virtual bool smash::DecayType::has_mother |
( |
[[maybe_unused] ] ParticleTypePtr |
mother | ) |
const |
|
inlinevirtual |
- Returns
- if this decay type has the right mother (most decays do not depend on the mother type).
- Parameters
-
[in] | mother | Particle type to be checked. |
Definition at line 54 of file decaytype.h.
◆ particle_types()
const ParticleTypePtrList& smash::DecayType::particle_types |
( |
| ) |
const |
|
inline |
- Returns
- the particle types associated with this branch.
Definition at line 58 of file decaytype.h.
◆ angular_momentum()
int smash::DecayType::angular_momentum |
( |
| ) |
const |
|
inline |
- Returns
- the angular momentum of this branch.
Definition at line 60 of file decaytype.h.
◆ width()
virtual double smash::DecayType::width |
( |
double |
m0, |
|
|
double |
G0, |
|
|
double |
m |
|
) |
| const |
|
pure virtual |
◆ in_width()
virtual double smash::DecayType::in_width |
( |
double |
m0, |
|
|
double |
G0, |
|
|
double |
m, |
|
|
double |
m1, |
|
|
double |
m2 |
|
) |
| const |
|
pure virtual |
◆ is_dilepton_decay()
virtual bool smash::DecayType::is_dilepton_decay |
( |
| ) |
const |
|
inlinevirtual |
◆ particle_types_
ParticleTypePtrList smash::DecayType::particle_types_ |
|
protected |
final-state particles of the decay
Definition at line 86 of file decaytype.h.
◆ L_
angular momentum of the decay
Definition at line 88 of file decaytype.h.
The documentation for this class was generated from the following file: