#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_weak_decays) | |
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... | |
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 as well. 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_weak_decays | whether to perform weak decays at the end |
Definition at line 35 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 51 of file decayactionsfinder.h.
|
inlineoverridevirtual |
Ignore the surrounding searches for decays.
Implements smash::ActionFinderInterface.
Definition at line 58 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 76 of file decayactionsfinder.cc.
const double smash::DecayActionsFinder::res_lifetime_factor_ = 1. |
Multiplicative factor to be applied to resonance lifetimes.
Definition at line 77 of file decayactionsfinder.h.
const bool smash::DecayActionsFinder::do_final_weak_decays_ |
Do weak decays at the end? Weak here means all non-strong decays, so electro-magnetic decays are done as well.
Definition at line 83 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 89 of file decayactionsfinder.h.