Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::NeutronXsReader Class Reference

Load the neutron cross section (G4PARTICLEXSDATA/neutron) data by the interaction type (capture, elastic, and inelastic). More...

#include <NeutronXsReader.hh>

Public Types

Type aliases
using result_type = ImportPhysicsVector
 
using MmSqMicroXs = Quantity< UnitProduct< units::Millimeter, units::Millimeter >, double >
 

Public Member Functions

 NeutronXsReader (NeutronXsType type)
 Construct the reader using the G4PARTICLEXSDATA environment variable to get the path to the data.
 
 NeutronXsReader (NeutronXsType type, char const *path)
 Construct the reader with the path to the directory containing the data.
 
result_type operator() (AtomicNumber atomic_number) const
 Read the data for the given element.
 

Detailed Description

Load the neutron cross section (G4PARTICLEXSDATA/neutron) data by the interaction type (capture, elastic, and inelastic).


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