|
Celeritas 0.7.0-dev.169+develop.bdc0041f6
|

Classes | |
| class | celeritas::GeantGdmlLoader |
| Load a GDML file into memory. More... | |
| struct | celeritas::GeantGdmlLoader::Options |
| struct | celeritas::GeantGdmlLoader::Result |
Functions | |
| G4VPhysicalVolume * | celeritas::load_gdml (std::string const &filename) |
| Load a Geant4 geometry, excising pointers. | |
| void | celeritas::save_gdml (G4VPhysicalVolume const *world, std::string const &out_filename) |
| Write a GDML file to the given filename. | |
| template<class F > | |
| void | celeritas::foreach_detector (GeantGdmlLoader::MapDetectors const &dets, F &&apply_to_range) |
| Apply a function to each sensitive detector name with a range of volumes. | |
|
inline |
Apply a function to each sensitive detector name with a range of volumes.
The input function should have a signature
where
.
In C++23 this is equivalent to:
|
inline |
Load a Geant4 geometry, excising pointers.
This provides a good default for using GDML in Celeritas.