Celeritas  0.5.0-86+4a8eea4
Public Member Functions | Public Attributes | List of all members
celeritas::GeantVolumeMapper Struct Reference

Map a Geant4 logical volume to a Celeritas volume ID. More...

#include <GeantVolumeMapper.hh>

Public Member Functions

VolumeId operator() (G4LogicalVolume const &) const
 Find the celeritas (VecGeom/ORANGE) volume ID for a Geant4 volume. More...
 

Public Attributes

GeoParamsInterface const & geo
 

Detailed Description

Map a Geant4 logical volume to a Celeritas volume ID.

Member Function Documentation

◆ operator()()

VolumeId celeritas::GeantVolumeMapper::operator() ( G4LogicalVolume const &  lv) const
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 struct was generated from the following files: