Celeritas  0.5.0-56+6b053cd
Functions
ImportProcess.cc File Reference
#include "ImportProcess.hh"
#include "corecel/io/EnumStringMapper.hh"
#include "corecel/io/StringEnumMapper.hh"

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...
 

Function Documentation

◆ geant_name_to_import_process_class()

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.

◆ to_cstring()

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.