21 const ParticleList &search_list,
double dt,
const double,
22 const std::vector<FourVector> &)
const {
28 for (
const auto &
p : search_list) {
29 if (
p.type().is_stable()) {
33 p.get_history().collisions_per_particle == 0) {
41 p.type().pdgcode().frac_charm() != 0) ||
43 p.type().pdgcode().is_Dstar2007())) {
47 DecayBranchList processes =
p.type().get_partial_widths(
50 const double width = total_weight<DecayBranch>(processes);
57 constexpr
double one_over_hbarc = 1. /
hbarc;
67 one_over_hbarc *
p.inverse_gamma() * width);
70 if (
p.xsec_scaling_factor() < 1.0) {
71 decay_time +=
p.formation_time() -
p.position().x0();
73 if (decay_time < dt) {
78 act->add_decays(std::move(processes));
79 actions.emplace_back(std::move(act));
89 for (
const auto &
p : search_list) {
94 p.get_history().collisions_per_particle == 0) {
97 if (
p.type().decay_modes().is_empty()) {
102 act->add_decays(
p.type().get_partial_widths(
104 actions.emplace_back(std::move(act));
const bool ignore_minimum_width_at_end_
Do all non-strong decays (including weak and electro-magnetic ones)
const bool decay_initial_particles_
Whether to initial state particles can decay.
const CharmRescattering charm_rescattering_method_
Charm rescattering method.
const double res_lifetime_factor_
Multiplicative factor to be applied to resonance lifetimes.
const bool force_decays_at_end_
Whether to find final decay actions.
ActionList find_actions_in_cell(const ParticleList &search_list, double dt, const double, const std::vector< FourVector > &) const override
Check the whole particle list for decays.
const SpinInteractionType spin_interaction_type_
Spin interaction type.
ActionList find_final_actions(const Particles &search_list) const override
Force all resonances to decay at the end of the simulation.
The Particles class abstracts the storage and manipulation of particles.
Collection of useful constants that are known at compile time.
@ T_Matrix
Charm interactions via T-matrix approach.
@ None
Disable charm interactions.
constexpr double hbarc
GeV <-> fm conversion factor.
@ Hadronic
Ignore dilepton decay modes widths.
@ All
All decay mode widths.