Celeritas
0.5.0-56+6b053cd
|
Convert a Geant4 base LV to an ORANGE temporary LV. More...
#include <LogicalVolumeConverter.hh>
Public Types | |
Type aliases | |
using | arg_type = G4LogicalVolume const & |
using | SPLV = std::shared_ptr< LogicalVolume > |
using | result_type = std::pair< SPLV, bool > |
Public Member Functions | |
LogicalVolumeConverter (SolidConverter &convert_solid) | |
Construct with solid conversion helper. | |
result_type | operator() (arg_type) |
Convert a Geant4 logical volume to an ORANGE LogicalVolume. More... | |
Convert a Geant4 base LV to an ORANGE temporary LV.
This does not convert or add any of the daughters, which must be placed as physical volumes.
auto celeritas::g4org::LogicalVolumeConverter::operator() | ( | arg_type | lv | ) |
Convert a Geant4 logical volume to an ORANGE LogicalVolume.
This uses a cache to look up any previously converted volume.