Version: SMASH-3.4
decayactionsfinderdilepton.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright (c) 2014-2018,2020,2026
4  * SMASH Team
5  *
6  * GNU General Public License (GPLv3 or later)
7  *
8  */
9 
10 #ifndef SRC_INCLUDE_SMASH_DECAYACTIONSFINDERDILEPTON_H_
11 #define SRC_INCLUDE_SMASH_DECAYACTIONSFINDERDILEPTON_H_
12 
13 #include "outputinterface.h"
14 
15 namespace smash {
16 
17 /**
18  * \ingroup action
19  * A dilepton decay finder:
20  * Loops through all particles and if they can decay into dileptons, it
21  * treats the decays with the shining method. This means in every timestep
22  * it stores every possible decay in an extra action and later in the
23  * write_dilepton_action routine in experiment.cc these decays are written
24  * in the DileptonOutput. Because too many dileptons are produced this way,
25  * every decay is weighted with the so called "shining_weight".
26  * See \iref{Schmidt:2008hm}, chapter 2D.
27  * The finder works with two body dilepton decays as well as with dalitz
28  * dilepton decays.
29  */
31  public:
32  /// Initialize the finder
34 
35  /**
36  * Check the whole particles list and print out possible dilepton decays.
37  *
38  * \param[in] search_list List of all particles.
39  * \param[in] output Pointer to the dilepton output.
40  * \param[in] dt Length of timestep [fm]
41  */
42  void shine(const Particles& search_list, OutputInterface* output,
43  double dt) const;
44 
45  /**
46  * Shine dileptons from resonances at the end of the simulation.
47  *
48  * This is special, because the shining time is now until the resonance would
49  * decay and not for some fixed dt interval.
50  *
51  * \param[in] search_list List of all particles.
52  * \param[in] output Pointer to the dilepton output.
53  * \param[in] only_res optional parameter that requests that only actions
54  * regarding resonances are considered (disregarding
55  * stable particles)
56  */
57  void shine_final(const Particles& search_list, OutputInterface* output,
58  bool only_res = false) const;
59 };
60 
61 } // namespace smash
62 
63 #endif // SRC_INCLUDE_SMASH_DECAYACTIONSFINDERDILEPTON_H_
A dilepton decay finder: Loops through all particles and if they can decay into dileptons,...
void shine(const Particles &search_list, OutputInterface *output, double dt) const
Check the whole particles list and print out possible dilepton decays.
DecayActionsFinderDilepton()
Initialize the finder.
void shine_final(const Particles &search_list, OutputInterface *output, bool only_res=false) const
Shine dileptons from resonances at the end of the simulation.
Abstraction of generic output.
The Particles class abstracts the storage and manipulation of particles.
Definition: particles.h:33
constexpr Section output
Section for the output information.
Definition: input_keys.h:205
Definition: action.h:24