Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
Unique placement/replica of a Geant4 physical volume. More...
#include <GeoParamsInterface.hh>
Public Types | |
using | ReplicaId = OpaqueId< struct Replica_ > |
Public Member Functions | |
constexpr | operator bool () const |
False if no PV is associated. | |
Public Attributes | |
G4VPhysicalVolume const * | pv {nullptr} |
Geant4 physical volume. | |
ReplicaId | replica |
Replica/parameterisation instance. | |
Unique placement/replica of a Geant4 physical volume.
This should correspond to a VolumeInstanceId
and be a unique instantiation of a Geant4 physical volume (PV). Some Geant4 PVs are "parameterised" or "replica" types, which allows a single instance to be mutated at runtime to form a sort of array. If the pointed-to physical volume is not a replica/parameterised volume, replica
is false. Otherwise, it corresponds to the PV's copy number, which can be used to reconstruct the placed volume instance.