Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::g4org::LogicalVolumeConverter Class Reference

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...
 

Detailed Description

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.

Member Function Documentation

◆ operator()()

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.


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