Celeritas
0.5.0-86+4a8eea4
|
Distinct materials as modified by physics. More...
#include <ImportMaterial.hh>
Public Types | |
Type aliases | |
using | Index = unsigned int |
using | PdgInt = int |
using | MapIntCutoff = std::map< PdgInt, ImportProductionCut > |
Public Attributes | |
Index | geo_material_id {} |
Index in geo_materials list. | |
Index | optical_material_id {unspecified} |
Optional index in optical mat. | |
MapIntCutoff | pdg_cutoffs |
Cutoff per PDG. | |
Static Public Attributes | |
static constexpr Index | unspecified = -1 |
Distinct materials as modified by physics.
User-selected regions can alter physics properties so that the same "geometry material" can correspond to multiple "physics materials". These include the behavior of the material as an optical region.
geo_material_id
is a geometry material corresponding to the index in the ImportData.geo_materials
optical_material_id
is an optional optical material corresponding to the index in the ImportData.optical_materials
Geant4 requires an optical material to correspond to a single geo material, but we may relax this restriction in the future.