Celeritas 0.6.0-rc.2.10+develop.de0a3a05
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::GeantPhysicalInstance Struct Reference

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 constpv {nullptr}
 Geant4 physical volume.
 
ReplicaId replica
 Replica/parameterisation instance.
 

Detailed Description

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.


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