Version: SMASH-1.7
decayactionsfinder.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright (c) 2014-2019
4  * SMASH Team
5  *
6  * GNU General Public License (GPLv3 or later)
7  *
8  */
9 
10 #ifndef SRC_INCLUDE_DECAYACTIONSFINDER_H_
11 #define SRC_INCLUDE_DECAYACTIONSFINDER_H_
12 
13 #include <vector>
14 
15 #include "actionfinderfactory.h"
16 
17 namespace smash {
18 
26  public:
29 
37  ActionList find_actions_in_cell(
38  const ParticleList &search_list, double dt, const double,
39  const std::vector<FourVector> &) const override;
40 
43  const ParticleList &, const ParticleList &, double,
44  const std::vector<FourVector> &) const override {
45  return {};
46  }
47 
50  const ParticleList &, const Particles &, double,
51  const std::vector<FourVector> &) const override {
52  return {};
53  }
54 
64  ActionList find_final_actions(const Particles &search_list,
65  bool only_res = false) const override;
66 };
67 
68 } // namespace smash
69 
70 #endif // SRC_INCLUDE_DECAYACTIONSFINDER_H_
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_with_surrounding_particles(const ParticleList &, const Particles &, double, const std::vector< FourVector > &) const override
Ignore the surrounding searches for decays.
ActionList find_actions_with_neighbors(const ParticleList &, const ParticleList &, double, const std::vector< FourVector > &) const override
Ignore the neighbor searches for decays.
DecayActionsFinder()
Initialize the finder.
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.
A simple decay finder: Just loops through all particles and checks if they can decay during the next ...
ActionFinderInterface is the abstract base class for all action finders, i.e.
The Particles class abstracts the storage and manipulation of particles.
Definition: particles.h:33
Definition: action.h:24