10 #ifndef SRC_INCLUDE_SMASH_DECAYACTIONSFINDER_H_
11 #define SRC_INCLUDE_SMASH_DECAYACTIONSFINDER_H_
47 const ParticleList &search_list,
double dt,
const double,
48 const std::vector<FourVector> &)
const override;
52 const ParticleList &,
const ParticleList &,
double,
53 const std::vector<FourVector> &)
const override {
59 const ParticleList &,
const Particles &,
double,
60 const std::vector<FourVector> &)
const override {
74 bool only_res =
false)
const override;
ActionFinderInterface is the abstract base class for all action finders, i.e.
A simple decay finder: Just loops through all particles and checks if they can decay during the next ...
const bool decay_initial_particles_
Whether to initial state particles can decay.
ActionList find_actions_with_surrounding_particles(const ParticleList &, const Particles &, double, const std::vector< FourVector > &) const override
Ignore the surrounding searches for decays.
const double res_lifetime_factor_
Multiplicative factor to be applied to resonance lifetimes.
const bool do_final_weak_decays_
Do weak decays at the end? Weak here means all non-strong decays, so electro-magnetic decays are done...
ActionList find_final_actions(const Particles &search_list, bool only_res=false) const override
Force all resonances to decay at the end of the simulation.
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.
DecayActionsFinder(double res_lifetime_factor, bool do_weak_decays)
Initialize the finder.
ActionList find_actions_with_neighbors(const ParticleList &, const ParticleList &, double, const std::vector< FourVector > &) const override
Ignore the neighbor searches for decays.
default_type default_value() const
Get the default value of the key.
The Particles class abstracts the storage and manipulation of particles.