Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::SeltzerBergerReader Class Reference

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

Detailed Description

Read Seltzer-Berger data from Geant4's $G4LEDATA files.

Use operator() to retrieve data for different atomic numbers.

SeltzerBergerReader sb_reader();
auto sb_data_vector = sb_reader(1); // Hydrogen
SeltzerBergerReader()
Construct using environmental variable $G4LEDATA.
Definition: SeltzerBergerReader.cc:24

Constructor & Destructor Documentation

◆ SeltzerBergerReader()

celeritas::SeltzerBergerReader::SeltzerBergerReader ( char const *  path)
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/.

Member Function Documentation

◆ operator()()

SeltzerBergerReader::result_type celeritas::SeltzerBergerReader::operator() ( AtomicNumber  atomic_number) const

Fetch data for a given atomic number.

Standard data files encompass Z = [1, 100].


The documentation for this class was generated from the following files: