|
Celeritas 0.7.0-dev.242+develop.62c3034b
|
Construct a Geant 4 run manager and populate internal Geant4 physics. More...
#include <GeantSetup.hh>
Public Types | |
Type aliases | |
| using | Options = GeantPhysicsOptions |
| using | SPGeantGeo = std::shared_ptr< GeantGeoParams > |
Public Member Functions | |
| GeantSetup (std::string const &gdml_filename, Options options) | |
| Construct from a GDML file and physics options. | |
| ~GeantSetup () | |
| Terminate the run manager on destruction. | |
| GeantSetup (GeantSetup const &)=delete | |
| Prevent copying but allow moving. | |
| GeantSetup & | operator= (GeantSetup const &)=delete |
| GeantSetup (GeantSetup &&)=default | |
| GeantSetup & | operator= (GeantSetup &&)=default |
| SPGeantGeo const & | geo_params () const |
| Get the constructed geometry. | |
| operator bool () const | |
| True if we own a run manager. | |
Construct a Geant 4 run manager and populate internal Geant4 physics.
This is usually passed directly into GeantImporter . It hides Geant4 implementation details (including header files) from the rest of the code. It is safe to include even when Geant4 is unavailable!
The setup is targeted specifically for physics that Celeritas supports.