 |
Version: SMASH-1.8
|
|
Go to the documentation of this file.
10 #ifndef SRC_INCLUDE_DECAYACTION_H_
11 #define SRC_INCLUDE_DECAYACTION_H_
63 double kinetic_energy_cm)
const override;
86 using std::invalid_argument::invalid_argument;
111 #endif // SRC_INCLUDE_DECAYACTION_H_
double total_width_
total decay width
int L_
Angular momentum of the decay.
void add_decays(DecayBranchList pv)
Add several new decays at once.
void format_debug_output(std::ostream &out) const override
DecayAction(const ParticleData &p, double time)
Construct a DecayAction from a particle p.
double get_partial_weight() const override
Get partial width of chosen channel.
double get_total_weight() const override
Return the total width of the decay process.
double partial_width_
partial decay width to the chosen outgoing channel
DecayBranchList decay_channels_
List of possible decays.
void generate_final_state() override
Generate the final state of the decay process.
void add_decay(DecayBranchPtr p)
Add one new decay.
double total_width() const
Get total decay width.
std::pair< double, double > sample_masses(double kinetic_energy_cm) const override
Sample the masses of the final particles.