From c1d0bdd6b63cb384410879fce0fdddc9a687c759 Mon Sep 17 00:00:00 2001 From: kochebina Date: Wed, 18 Feb 2026 17:00:40 +0100 Subject: [PATCH 1/2] t3 fix --- source/physics/src/GatePhysicsList.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/physics/src/GatePhysicsList.cc b/source/physics/src/GatePhysicsList.cc index 62d109dcb..0d26b0582 100644 --- a/source/physics/src/GatePhysicsList.cc +++ b/source/physics/src/GatePhysicsList.cc @@ -337,7 +337,10 @@ void GatePhysicsList::ConstructPhysicsList(G4String name) pl = new G4EmStandardPhysics_option3(); } if (mUserPhysicListName == "emstandard_opt4") { - pl = new G4EmStandardPhysics_option4(); + + GateWarning("Since Geant4 11.4.0 it is recommended to use G4EmStandardPhysics_option3 instead of opt4... Switching from opt4 to opt3 automatically for you"); + //pl = new G4EmStandardPhysics_option4(); + pl = new G4EmStandardPhysics_option3(); } if (mUserPhysicListName == "emstandard_SS") { pl = new G4EmStandardPhysicsSS(); From 59e1e0f341a59a65afd192abc0ea0e7435935592 Mon Sep 17 00:00:00 2001 From: kochebina Date: Wed, 18 Feb 2026 17:09:26 +0100 Subject: [PATCH 2/2] t15 fix --- source/physics/src/GatePhysicsList.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/physics/src/GatePhysicsList.cc b/source/physics/src/GatePhysicsList.cc index 0d26b0582..8c89e0943 100644 --- a/source/physics/src/GatePhysicsList.cc +++ b/source/physics/src/GatePhysicsList.cc @@ -59,6 +59,7 @@ #include "G4LossTableManager.hh" #include "G4UAtomicDeexcitation.hh" #include "G4RadioactiveDecayPhysics.hh" +#include "G4QuasiOpticalPhoton.hh" #include "GatePhysicsList.hh" #include "GateUserLimits.hh" @@ -499,6 +500,8 @@ void GatePhysicsList::ConstructParticle() //Construct positroniums GateParaPositronium::ParaPositroniumDefinition(); GateOrthoPositronium::OrthoPositroniumDefinition(); + + G4QuasiOpticalPhoton::QuasiOpticalPhotonDefinition(); } //-----------------------------------------------------------------------------------------