#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 25 of file decayactionsfinder.h.
Public Member Functions | |
| DecayActionsFinder (double res_lifetime_factor) | |
| 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, bool only_res=false) 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... | |
|
inline |
Initialize the finder.
| [in] | res_lifetime_factor | The multiplicative factor to be applied to resonance lifetimes; default is 1 |
Definition at line 33 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 22 of file decayactionsfinder.cc.
|
inlineoverridevirtual |
Ignore the neighbor searches for decays.
Implements smash::ActionFinderInterface.
Definition at line 48 of file decayactionsfinder.h.
|
inlineoverridevirtual |
Ignore the surrounding searches for decays.
Implements smash::ActionFinderInterface.
Definition at line 55 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. |
| [in] | only_res | optional parameter that requests that only actions regarding resonances are considered (disregarding stable particles) |
Implements smash::ActionFinderInterface.
Definition at line 73 of file decayactionsfinder.cc.
| const double smash::DecayActionsFinder::res_lifetime_factor_ = 1. |
Multiplicative factor to be applied to resonance lifetimes.
Definition at line 74 of file decayactionsfinder.h.