Version: SMASH-3.4
setup_particles_decaymodes.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright (c) 2019-2020,2022
4  * SMASH Team
5  *
6  * GNU General Public License (GPLv3 or later)
7  *
8  */
9 
10 #ifndef SRC_INCLUDE_SMASH_SETUP_PARTICLES_DECAYMODES_H_
11 #define SRC_INCLUDE_SMASH_SETUP_PARTICLES_DECAYMODES_H_
12 
13 #include <filesystem>
14 #include <string>
15 #include <utility>
16 
17 namespace smash {
18 /**
19  * Loads particles and decaymodes from provided files
20  * particles_file and decaymodes_file. In case if particles_file
21  * or decaymodes_file are nullptr, the defaults are taken
22  * \param[in] particles_file a file containing particles list.
23  * See \ref doxypage_input_particles.
24  * \param[in] decaymodes_file a file containing decay modes of
25  * the resonances. See \ref doxypage_input_decaymodes.
26  * \return a pair of strings -- the contents of particle
27  * and decaymode files.
28  */
29 std::pair<std::string, std::string> load_particles_and_decaymodes(
30  const std::filesystem::path &particles_file,
31  const std::filesystem::path &decaymodes_file);
32 /// Loads default smash particle list and decaymodes
34 
35 } // namespace smash
36 
37 #endif // SRC_INCLUDE_SMASH_SETUP_PARTICLES_DECAYMODES_H_
Definition: action.h:24
void initialize_default_particles_and_decaymodes()
Loads default smash particle list and decaymodes.
std::pair< std::string, std::string > load_particles_and_decaymodes(const std::filesystem::path &particles_file, const std::filesystem::path &decaymodes_file)
Loads particles and decaymodes from provided files particles_file and decaymodes_file.