// physics.cc #include "physics.hh" #include "G4PhysListFactory.hh" #include "G4EmStandardPhysics.hh" MyPhysicsList::MyPhysicsList() : G4VModularPhysicsList() { // Construct the physics list using FTFP_BERT_HP G4PhysListFactory factory; G4VModularPhysicsList* physicsList = factory.GetReferencePhysList("FTFP_BERT_HP"); // Add any additional configurations or modifications if needed // Set the constructed physics list RegisterPhysics (new G4EmStandardPhysics()); } MyPhysicsList::~MyPhysicsList() { // Destructor }