|
Celeritas 0.7.0-dev.164+develop.929c81eeb
|
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 |
| Detectors | detectors |
| Regions | regions |
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 .