#include <processbranch.h>
DecayBranch is a derivative of ProcessBranch, which is used to represent decay channels.
It contains additional information like the angular momentum.
Definition at line 366 of file processbranch.h.
Public Member Functions | |
DecayBranch (const DecayType &t, double w) | |
Construct decay branch. More... | |
DecayBranch (DecayBranch &&rhs) | |
The move constructor efficiently moves the particle-type list member. More... | |
int | angular_momentum () const |
const ParticleTypePtrList & | particle_types () const override |
unsigned int | particle_number () const override |
const DecayType & | type () const |
ProcessType | get_type () const override |
Public Member Functions inherited from smash::ProcessBranch | |
ProcessBranch () | |
Create a ProcessBranch without final states and weight. More... | |
ProcessBranch (double w) | |
Create a ProcessBranch with with weight but without final states. More... | |
ProcessBranch (const ProcessBranch &)=delete | |
Copying is disabled. Use std::move or create a new object. More... | |
virtual | ~ProcessBranch ()=default |
Virtual Destructor. More... | |
void | set_weight (double process_weight) |
Set the weight of the branch. More... | |
ParticleList | particle_list () const |
double | weight () const |
double | threshold () const |
Private Attributes | |
const DecayType & | type_ |
Decay type (including final-state particles and angular momentum) More... | |
Additional Inherited Members | |
Protected Attributes inherited from smash::ProcessBranch | |
double | branch_weight_ |
Weight of the branch, typically a cross section or a branching ratio. More... | |
double | threshold_ = -1. |
Threshold of the branch. More... | |
Related Functions inherited from smash::ProcessBranch | |
template<typename Branch > | |
double | total_weight (const ProcessBranchList< Branch > &l) |
|
inline |
Construct decay branch.
[in] | t | DecayType of branch. |
[in] | w | Weight of created branch. |
Definition at line 373 of file processbranch.h.
|
inline |
The move constructor efficiently moves the particle-type list member.
Definition at line 375 of file processbranch.h.
|
inline |
Definition at line 378 of file processbranch.h.
|
inlineoverridevirtual |
Implements smash::ProcessBranch.
Definition at line 379 of file processbranch.h.
|
inlineoverridevirtual |
Implements smash::ProcessBranch.
Definition at line 382 of file processbranch.h.
|
inline |
|
inlineoverridevirtual |
Implements smash::ProcessBranch.
Definition at line 388 of file processbranch.h.
|
private |
Decay type (including final-state particles and angular momentum)
Definition at line 392 of file processbranch.h.