#include <decayactionsfinder.h>
A simple decay finder: Just loops through all particles and checks if they can decay during the next timestep.
Definition at line 26 of file decayactionsfinder.h.
Public Member Functions | |
| DecayActionsFinder (double res_lifetime_factor, bool do_non_strong_decays, bool force_decays_at_end, SpinInteractionType spin_interaction_type=SpinInteractionType::Off) | |
| Initialize the finder. More... | |
| 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. More... | |
| ActionList | find_actions_with_neighbors (const ParticleList &, const ParticleList &, double, const std::vector< FourVector > &) const override |
| Ignore the neighbor searches for decays. More... | |
| ActionList | find_actions_with_surrounding_particles (const ParticleList &, const Particles &, double, const std::vector< FourVector > &) const override |
| Ignore the surrounding searches for decays. More... | |
| ActionList | find_final_actions (const Particles &search_list) const override |
| Force all resonances to decay at the end of the simulation. More... | |
Public Member Functions inherited from smash::ActionFinderInterface | |
| virtual | ~ActionFinderInterface ()=default |
Public Attributes | |
| const double | res_lifetime_factor_ = 1. |
| Multiplicative factor to be applied to resonance lifetimes. More... | |
| const bool | do_final_non_strong_decays_ |
| Do all non-strong decays (including weak and electro-magnetic ones) More... | |
| const bool | find_final_decays_ |
| Whether to find final decay actions. More... | |
| SpinInteractionType | spin_interaction_type_ |
| Spin interaction type. More... | |
| const bool | decay_initial_particles_ |
| Whether to initial state particles can decay. More... | |
|
inlineexplicit |
Initialize the finder.
| [in] | res_lifetime_factor | The multiplicative factor to be applied to resonance lifetimes; default is 1 |
| [in] | do_non_strong_decays | whether to do non-strong decays at the end |
| [in] | force_decays_at_end | whether to enforce decays at the end |
| [in] | spin_interaction_type | Which type of spin interaction to use |
Definition at line 37 of file decayactionsfinder.h.
|
overridevirtual |
Check the whole particle list for decays.
| [in] | search_list | All particles in grid cell. |
| [in] | dt | Size of timestep [fm] |
Implements smash::ActionFinderInterface.
Definition at line 20 of file decayactionsfinder.cc.
|
inlineoverridevirtual |
Ignore the neighbor searches for decays.
Implements smash::ActionFinderInterface.
Definition at line 58 of file decayactionsfinder.h.
|
inlineoverridevirtual |
Ignore the surrounding searches for decays.
Implements smash::ActionFinderInterface.
Definition at line 65 of file decayactionsfinder.h.
|
overridevirtual |
Force all resonances to decay at the end of the simulation.
| [in] | search_list | All particles at the end of simulation. |
Implements smash::ActionFinderInterface.
Definition at line 77 of file decayactionsfinder.cc.
| const double smash::DecayActionsFinder::res_lifetime_factor_ = 1. |
Multiplicative factor to be applied to resonance lifetimes.
Definition at line 80 of file decayactionsfinder.h.
| const bool smash::DecayActionsFinder::do_final_non_strong_decays_ |
Do all non-strong decays (including weak and electro-magnetic ones)
Definition at line 83 of file decayactionsfinder.h.
| const bool smash::DecayActionsFinder::find_final_decays_ |
Whether to find final decay actions.
Definition at line 86 of file decayactionsfinder.h.
| SpinInteractionType smash::DecayActionsFinder::spin_interaction_type_ |
Spin interaction type.
Definition at line 89 of file decayactionsfinder.h.
| const bool smash::DecayActionsFinder::decay_initial_particles_ |
Whether to initial state particles can decay.
Useful for analyzing interactions involving one or more resonances.
Definition at line 95 of file decayactionsfinder.h.