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

Construct step limits from imported physics data. More...

#include <ImportedProcessAdapter.hh>

Public Types

Type aliases
using SPConstImported = std::shared_ptr< ImportedProcesses const >
 
using SPConstParticles = std::shared_ptr< ParticleParams const >
 
using StepLimitBuilders = Process::StepLimitBuilders
 
using SpanConstPDG = Span< PDGNumber const >
 

Public Member Functions

 ImportedProcessAdapter (SPConstImported imported, SPConstParticles const &particles, ImportProcessClass process_class, SpanConstPDG pdg_numbers)
 Construct from shared process data.
 
 ImportedProcessAdapter (SPConstImported imported, SPConstParticles const &particles, ImportProcessClass process_class, std::initializer_list< PDGNumber > pdg_numbers)
 Delegating constructor for a list of particles.
 
StepLimitBuilders step_limits (Applicability const &applic) const
 Get the interaction cross sections for the given material and particle.
 
ImportPhysicsTable const & get_lambda (ParticleId id) const
 Get cross sections for the given particle ID. More...
 
SPConstImported const & processes () const
 
bool has_model (PDGNumber, ImportModelClass) const
 Whether the given model is present in the process.
 

Detailed Description

Construct step limits from imported physics data.

Member Function Documentation

◆ get_lambda()

ImportPhysicsTable const & celeritas::ImportedProcessAdapter::get_lambda ( ParticleId  id) const
inline

Get cross sections for the given particle ID.

This is currently used for loading MSC data for calculating mean free paths.


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