29 lines
589 B
C++
29 lines
589 B
C++
#include "PhysicsList.hh"
|
|
|
|
#include "G4DecayPhysics.hh"
|
|
#include "G4EmStandardPhysics.hh"
|
|
#include "G4RadioactiveDecayPhysics.hh"
|
|
|
|
namespace uLib {
|
|
namespace Geant {
|
|
|
|
PhysicsList::PhysicsList() : G4VModularPhysicsList() {
|
|
SetVerboseLevel(1);
|
|
|
|
// Default physics
|
|
RegisterPhysics(new G4DecayPhysics());
|
|
|
|
// EM physics
|
|
RegisterPhysics(new G4EmStandardPhysics());
|
|
|
|
// Radioactive decay
|
|
RegisterPhysics(new G4RadioactiveDecayPhysics());
|
|
}
|
|
|
|
PhysicsList::~PhysicsList() {}
|
|
|
|
void PhysicsList::SetCuts() { G4VModularPhysicsList::SetCuts(); }
|
|
|
|
} // namespace Geant
|
|
} // namespace uLib
|