Celeritas 0.6.0-47+develop.b3cbb238
|
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. | |
CELER_DEFAULT_MOVE_DELETE_COPY (GeantSetup) | |
Prevent copying but allow moving. | |
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.