Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
Map a Geant4 logical volume to a Celeritas volume ID. More...
#include <GeantVolumeMapper.hh>
Public Member Functions | |
GeantVolumeMapper (GeoParamsInterface const &tgt) | |
Convert to target geometry from geant4 transportation world. | |
GeantVolumeMapper (G4VPhysicalVolume const &world, GeoParamsInterface const &tgt) | |
Convert from Geant4 world to geometry interface ID. | |
VolumeId | operator() (G4LogicalVolume const &) |
Find the celeritas (VecGeom/ORANGE) volume ID for a Geant4 volume. | |
Map a Geant4 logical volume to a Celeritas volume ID.
|
inline |
Find the celeritas (VecGeom/ORANGE) volume ID for a Geant4 volume.
This will warn if the name's extension had to be changed to match the volume; and it will return an empty ID if no match was found.