Celeritas 0.6.0-67+develop.47f47c88
|
Set up geometry/material model. More...
#include <Model.hh>
Public Attributes | |
std::variant< std::string, G4VPhysicalVolume const * > | geometry |
Path to GDML file, Geant4 world, or loaded geometry. | |
Volumes | volumes |
Surfaces | surfaces |
Set up geometry/material model.
The geometry filename should almost always be a GDML path. As a temporary measure we also support loading from a .org.json file if the
StandaloneInput::physics_import
is a ROOT file with serialized physics data.
Materials, regions, and surfaces may be loaded from the geometry: this is usually done by GeantGeoParams::make_model_input
.