Celeritas
0.5.0-86+4a8eea4
|
Read Seltzer-Berger data from Geant4's $G4LEDATA files. More...
#include <SeltzerBergerReader.hh>
Public Types | |
Type aliases | |
using | result_type = ImportSBTable |
Public Member Functions | |
SeltzerBergerReader () | |
Construct using environmental variable $G4LEDATA. | |
SeltzerBergerReader (char const *path) | |
Construct using a user defined path to the folder containing the data. More... | |
result_type | operator() (AtomicNumber atomic_number) const |
Fetch data for a given atomic number. More... | |
Read Seltzer-Berger data from Geant4's $G4LEDATA files.
Use operator()
to retrieve data for different atomic numbers.
|
explicit |
Construct using a user defined path to the folder containing the data.
The path should point to the files that are usually stored in [Geant4-install]/share/Geant4-10.7.0/data/G4EMLOW7.12/brem_SB/.
SeltzerBergerReader::result_type celeritas::SeltzerBergerReader::operator() | ( | AtomicNumber | atomic_number | ) | const |
Fetch data for a given atomic number.
Standard data files encompass Z = [1, 100].