Celeritas  0.5.0-86+4a8eea4
Classes | Enumerations | Functions
ImportModel.hh File Reference
#include <string_view>
#include <vector>
#include "ImportPhysicsTable.hh"
#include "ImportUnits.hh"
This graph shows which files directly or indirectly include this file:

Classes

struct  celeritas::ImportModelMaterial
 Imported data for one material in a particular model. More...
 
struct  celeritas::ImportModel
 Imported data for one model of a process. More...
 
struct  celeritas::ImportMscModel
 Store imported data for multiple scattering. More...
 

Enumerations

enum class  celeritas::ImportModelClass {
  other , bragg_ion , bethe_bloch , urban_msc ,
  icru_73_qo , wentzel_vi_uni , h_brems , h_pair_prod ,
  e_coulomb_scattering , bragg , moller_bhabha , e_brems_sb ,
  e_brems_lpm , e_plus_to_gg , livermore_photoelectric , klein_nishina ,
  bethe_heitler , bethe_heitler_lpm , livermore_rayleigh , mu_bethe_bloch ,
  mu_brems , mu_pair_prod , fluo_photoelectric , goudsmit_saunderson ,
  size_
}
 Enumerator for the available physics models. More...
 

Functions

char const * celeritas::to_cstring (ImportModelClass value)
 Enumerator for the available physics models. More...
 
char const * celeritas::to_geant_name (ImportModelClass value)
 Get the default Geant4 process name for an ImportProcessClass.
 
ImportModelClass celeritas::geant_name_to_import_model_class (std::string_view s)
 Convert a Geant4 process name to an IPC. More...
 

Enumeration Type Documentation

◆ ImportModelClass

Enumerator for the available physics models.

This enum was created to safely access the many imported physics tables.

Todo:
reorganize by physics list (major) and particle (minor) so that newly supported models are appended cleanly to the end of the list.

Function Documentation

◆ geant_name_to_import_model_class()

ImportModelClass celeritas::geant_name_to_import_model_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.

◆ to_cstring()

char const * celeritas::to_cstring ( ImportModelClass  value)

Enumerator for the available physics models.

This enum was created to safely access the many imported physics tables.