Celeritas
0.5.0-56+6b053cd
|
#include <map>
#include <string_view>
#include <vector>
#include "corecel/Macros.hh"
#include "ImportModel.hh"
#include "ImportPhysicsTable.hh"
#include "ImportPhysicsVector.hh"
Classes | |
struct | celeritas::ImportProcess |
Store physics process data. More... | |
Enumerations | |
enum class | celeritas::ImportProcessType { other , transportation , electromagnetic , optical , hadronic , photolepton_hadron , decay , general , parameterisation , user_defined , parallel , phonon , ucn , size_ } |
Category of physics process. More... | |
enum class | celeritas::ImportProcessClass { other , ion_ioni , msc , h_ioni , h_brems , h_pair_prod , coulomb_scat , e_ioni , e_brems , photoelectric , compton , conversion , rayleigh , annihilation , mu_ioni , mu_brems , mu_pair_prod , gamma_general , neutron_elastic , size_ } |
Enumerator for the available physics processes. More... | |
Functions | |
char const * | celeritas::to_cstring (ImportProcessType value) |
Get the string value for a table type. | |
char const * | celeritas::to_cstring (ImportProcessClass value) |
Enumerator for the available physics processes. More... | |
char const * | celeritas::to_geant_name (ImportProcessClass value) |
Get the default Geant4 process name for an ImportProcessClass. | |
ImportProcessClass | celeritas::geant_name_to_import_process_class (std::string_view s) |
Convert a Geant4 process name to an IPC. More... | |
|
strong |
Enumerator for the available physics processes.
This enum was created to safely access the many physics tables imported.
|
strong |
Category of physics process.
See Geant4's G4ProcessType.hh for the equivalent enum.
ImportProcessClass celeritas::geant_name_to_import_process_class | ( | std::string_view | s | ) |
Convert a Geant4 process name to an IPC.
This will throw a celeritas::RuntimeError
if the string is not known to us.
char const * celeritas::to_cstring | ( | ImportProcessClass | value | ) |
Enumerator for the available physics processes.
This enum was created to safely access the many physics tables imported.