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

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.
 

Detailed Description

Map a Geant4 logical volume to a Celeritas volume ID.

Member Function Documentation

◆ operator()()

VolumeId celeritas::GeantVolumeMapper::operator() ( G4LogicalVolume const lv)
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.


The documentation for this class was generated from the following files: