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

Manage imported physics data. More...

#include <ImportedProcessAdapter.hh>

Public Types

Type aliases
using ImportProcessId = OpaqueId< ImportProcess >
 
using key_type = std::pair< PDGNumber, ImportProcessClass >
 
using SPConstParticles = std::shared_ptr< ParticleParams const >
 

Public Member Functions

 ImportedProcesses (std::vector< ImportProcess > io)
 Construct with imported tabular data.
 
ImportProcessId find (key_type) const
 Return physics tables for a particle type and process. More...
 
ImportProcess const & get (ImportProcessId id) const
 Get the table for the given process ID.
 
ImportProcessId::size_type size () const
 Number of imported processes.
 

Static Public Member Functions

static std::shared_ptr< ImportedProcessesfrom_import (ImportData const &data, SPConstParticles particle_params)
 Construct with imported data.
 

Detailed Description

Manage imported physics data.

Member Function Documentation

◆ find()

auto celeritas::ImportedProcesses::find ( key_type  particle_process) const

Return physics tables for a particle type and process.

Returns 'invalid' ID if process is not present for the given particle type.


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