Celeritas 0.6.0-110+develop.c7dc37d1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
celeritas::ImportVolume Struct Reference

Store logical volume properties. More...

#include <ImportVolume.hh>

Public Types

Type aliases
using Index = unsigned int
 

Public Member Functions

 operator bool () const
 Whether this represents a physical volume or is just a placeholder.
 

Public Attributes

Index geo_material_id {unspecified}
 Material defined by geometry.
 
Index region_id {unspecified}
 Optional region associated.
 
Index phys_material_id {unspecified}
 Material modified by physics.
 
std::string name
 
std::string solid_name
 

Static Public Attributes

static constexpr Index unspecified = -1
 

Detailed Description

Store logical volume properties.

Note
The "phys material ID" is the index of the MaterialCutsCouple, and the "geo material ID" is the index of the G4Material (physical properties). (TODO: these should be indexed using a future GeantModel class, not using the internal GetIndex method).
The index of this volume in the volumes vector is the canonical VolumeId created by the Geant4 geometry model.

The documentation for this struct was generated from the following file: