7#include "G4VModularPhysicsList.hh"
40 GPhysics(
const std::shared_ptr<GOptions>& gopts);
48 [[nodiscard]] G4VModularPhysicsList*
getPhysList()
const {
return physList; }
53 void printAvailable()
const;
61 G4VModularPhysicsList* physList;
Builds and exposes a Geant4 modular physics list based on runtime options.
G4VModularPhysicsList * getPhysList() const
Returns the instantiated Geant4 modular physics list.
GPhysics(const std::shared_ptr< GOptions > &gopts)
Constructs the physics list builder and (unless requested otherwise) instantiates the physics list.