23 const ParticleList &search_list,
double dt,
const double,
24 const std::vector<FourVector> &)
const {
30 for (
const auto &
p : search_list) {
31 if (
p.type().is_stable()) {
35 DecayBranchList processes =
p.type().get_partial_widths(
38 const double width = total_weight<DecayBranch>(processes);
45 constexpr
double one_over_hbarc = 1. /
hbarc;
56 one_over_hbarc *
p.inverse_gamma() * width);
59 if (
p.xsec_scaling_factor() < 1.0) {
60 decay_time +=
p.formation_time() -
p.position().x0();
62 if (decay_time < dt) {
65 auto act = make_unique<DecayAction>(
p, decay_time);
66 act->add_decays(std::move(processes));
67 actions.emplace_back(std::move(act));
77 for (
const auto &
p : search_list) {
78 if (
p.type().is_stable()) {
81 auto act = make_unique<DecayAction>(
p, 0.);
82 act->add_decays(
p.type().get_partial_widths(
84 actions.emplace_back(std::move(act));